Method and information processing device

By using parameter generation information to facilitate local evaluation and collective updates, federated learning systems effectively reduce data exchange and enhance privacy while training machine learning models across multiple devices.

JP2024126930AActive Publication Date: 2024-09-20TOYOTA JIDOSHA KK
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023035702
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-08
Publication Date
2024-09-20
Estimated Expiration
2043-03-08

AI Technical Summary

Technical Problem

In federated learning, the large size of the machine learning model and its parameters necessitate significant communication between the server and clients, leading to increased data flow and potential privacy concerns.

Method used

A method and device that reduce data flow by transmitting parameter generation information, such as random number seeds, to multiple devices, allowing them to evaluate and update the model locally, with aggregated results shared to update the model collectively.

Benefits of technology

Reduces communication data volume and enhances privacy by minimizing the exchange of large model parameters, enabling efficient and secure model training across distributed devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024126930000001
    Figure 2024126930000001
Patent Text Reader

Abstract

To reduce the amount of data flowing between information processing devices when training a machine learning model on multiple information processing devices.SOLUTION: A first information processing device transmits first information used to obtain parameter values of a machine learning model to multiple second information processing devices. The multiple second information processing devices obtain evaluation values of the machine learning model when the parameter values obtained on the basis of the first information are applied to the machine learning model and transmit the evaluation values to the first information processing device. The first information processing device aggregates the multiple evaluation values received from the multiple second information processing devices and transmits an aggregation result of the evaluation values to the multiple second information processing devices. The first information processing device and the multiple second information processing devices update the machine learning model on the basis of the aggregation result of the evaluation values.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to training machine learning models. [Background technology]

[0002] Usually, when training data held by multiple devices is trained on a machine learning model, the training data is collected in one place, such as a server, and the machine learning model is trained on the server. However, in this case, confidentiality of the training data is not protected. As a training method for a machine learning model that protects confidentiality of the training data, there is federated learning. Federated learning is a method of training a machine learning model with distributed training data while keeping it distributed.

[0003] In federated learning, each client has a machine learning model, learns the machine learning model using the training data it holds, and transmits the trained machine learning model to a server. The server merges the trained machine learning models collected from each client and transmits the merged machine learning model back to the client. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2022-136234 A [Patent Document 2] US Patent Application Publication No. 2020 / 024251 [Non-patent literature]

[0005] [Non-Patent Document 1] H. Brendan McMahan and 4 others, “Communication-Efficient Learning of Deep Networks from Decentralized Data”, Proceedings of Machine Learning Research, Artificial intelligence and statistics, April 2017, Volume 54, p.1273-p.1282 [Non-Patent Document 2] Tim Salimans and 4 others, “Evolution Strategies as a Scalable Alternative to Reinforcement Learning”, [online], September 2017, [Retrieved November 14, 2020], Internet<URL:https: / / arxiv.org / abs / 1703.03864> [Non-Patent Document 3] “A Visual Guide to Evolution Strategies”, [online], October 29, 2017, [Retrieved November 14, 2022], Internet<URL:https: / / blog.otoro.net / 2017 / 10 / 29 / visual-evolution-strategies / > Summary of the Invention [Problem to be solved by the invention]

[0006] However, in federated learning, the machine learning model itself and / or parameters of the machine learning model flow between the server and each client, so the larger the size of the machine learning model, the greater the amount of communication.

[0007] One aspect of the disclosure aims to provide a method and an information processing device that can reduce the amount of data flowing between information processing devices when a machine learning model is trained by multiple information processing devices. [Means for solving the problem]

[0008] One aspect of the present disclosure is A first information processing device, Transmitting first information used to obtain parameter values ​​of the machine learning model to a plurality of second information processing devices; The plurality of second information processing devices, obtaining an evaluation value of the machine learning model when the value of the parameter obtained based on the first information is applied to the machine learning model; transmitting the evaluation value to the first information processing device; The first information processing device, aggregating the evaluation values ​​received from the second information processing devices; Transmitting the aggregation result of the evaluation values ​​to the plurality of second information processing devices; The first information processing device and the plurality of second information processing devices, updating the machine learning model based on the aggregation result of the evaluation values; This is the method.

[0009] Another aspect of the present disclosure is Transmitting first information used to obtain parameter values ​​of a machine learning model to a plurality of information processing devices; receiving, from the plurality of information processing devices, an evaluation value of the machine learning model when the value of the parameter obtained based on the first information is applied to the machine learning model; aggregating the evaluation values ​​received from the information processing devices; and transmitting a result of the evaluation values ​​to the plurality of information processing devices; updating the machine learning model based on the aggregation result of the evaluation values; A control unit that executes The information processing device includes:

[0010] Another aspect of the present disclosure is receiving first information used to obtain parameter values ​​of a machine learning model from a first information processing device; obtaining an evaluation value of the machine learning model when the value of the parameter obtained based on the first information is applied to the machine learning model; transmitting the evaluation value to the first information processing device; receiving, from the first information processing device, a result of tallying the evaluation values ​​by the plurality of information processing devices that have received the first information; updating the machine learning model based on the aggregation result of the evaluation values; A control unit that executes The information processing device includes: Effect of the Invention

[0011] According to one aspect of the present disclosure, when a machine learning model is trained in multiple information processing devices, the amount of data flowing between the information processing devices can be reduced. [Brief description of the drawings]

[0012] [Figure 1] 1 is a diagram illustrating an example of a system configuration of a federated learning system according to a first embodiment. [Diagram 2] FIG. 2 illustrates an example of a configuration of a server and a client. [Diagram 3] FIG. 1 is a diagram illustrating an example of a processing sequence in a federated learning system. [Figure 4] FIG. 11 is a diagram illustrating an example of a system configuration of a federated learning system according to a second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] One aspect of the present disclosure is a method for performing learning of a machine learning model by a first information processing device and a plurality of second information processing devices. The first information processing device is, for example, a server. The second information processing device is, for example, a personal computer (PC), a smartphone, or a tablet terminal. The first information processing device may be, for example, a terminal, an in-vehicle device, or the like. However, the present invention is not limited to this. The first information processing device may be, for example, a terminal, like the second information processing device. The in-vehicle device may be, for example, a data communication device, a car navigation system, a drive recorder, or other ECU (Electronic Control Unit).

[0014] The first information processing device transmits, to the second information processing devices, first information used to acquire parameter values ​​of the machine learning model. The first information is, for example, a random number seed and a character string of a predetermined number, such as a code associated with a parameter. The second information processing devices acquire an evaluation value of the machine learning model when the parameter value obtained based on the first information is applied to the machine learning model, and transmit the evaluation value to the first information processing device. For example, when the first information is a random number seed, the second information processing devices generate random numbers from the received random number seed by a common random number generation method, and acquire parameters of the machine learning model based on the random numbers. For example, when the first information is a code, the second information processing devices acquire the parameter value corresponding to the received code from a correspondence table of codes and parameter values ​​stored in advance.

[0015] The first information processing device aggregates a plurality of evaluation values ​​of the machine learning model for the first information received from the plurality of second information processing devices, and transmits the aggregation result to the plurality of second information processing devices. The first information processing device and the plurality of second information processing devices update the machine learning model based on the aggregation result of the evaluation values.

[0016] In one aspect of the present disclosure, data flowing between a first information processing device and a plurality of second information processing devices is first information and an evaluation value and an aggregate value of a machine learning model for the first information. The first information, the evaluation value, and the aggregate value are all character strings of a predetermined number. Therefore, the size of the first information, the evaluation value, and the aggregate value is about several bytes, respectively. Therefore, according to one aspect of the present disclosure, when learning a machine learning model in a plurality of information processing devices, the amount of communication data flowing between the information processing devices can be reduced.

[0017] The machine learning model of the first information processing device and the machine learning model of each of the second information processing devices may be the same model or different models. The content of the first information transmitted to each of the second information processing devices may be the same or different among the information processing devices. One piece of first information or multiple pieces of first information may be transmitted to each of the second information processing devices.

[0018] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. The configurations of the following embodiments are merely examples, and the present disclosure is not limited to the configurations of the embodiments.

[0019] First Embodiment FIG. 1 is a diagram showing an example of a system configuration of a federated learning system 100 according to the first embodiment. The federated learning system 100 is a system that performs learning of a machine learning model in a state where learning data is distributed among a plurality of devices. The federated learning system 100 includes a server 1 and a plurality of clients 2. The server 1 and the plurality of clients 2 are each connected to a network N1 and are capable of communicating through the network N1. The network N1 is, for example, a public line network such as the Internet, a LAN (Local Area Network), a virtual or physical dedicated line network, or the like.

[0020] In the first embodiment, it is assumed that the server 1 and the multiple clients 2 have the same machine learning model. It is also assumed that the server 1 and the multiple clients 2 share the parameter values ​​applied to the machine learning model. Therefore, When a new client 2 joins the federated learning system 100, the server 1 distributes the machine learning model and the latest parameter values ​​to the new client 2. Hereinafter, when a parameter is referred to, it refers to the parameter value.

[0021] In the federated learning system 100, the following process is performed. (1) The server 1 transmits parameter generation information, which is seed information for generating parameters, to each client 2. The parameter generation information is, for example, a random number seed and a code associated with a parameter or a variable value of a parameter. The parameter generation information is a character string of a predetermined number. Therefore, the size of the parameter generation information is, for example, about 1 byte to 100 bytes. The parameter generation information is an example of "first information."

[0022] (2) Each client 2 acquires parameters based on the received parameter generation information, acquires an evaluation value of the machine learning model when the parameters are applied, and transmits the evaluation value to the server 1.

[0023] The evaluation value is a value that represents the accuracy of the machine learning model when the parameters acquired based on the received parameter generation information are applied to the machine learning model. For example, in the case of supervised learning, the evaluation value may be a similarity indicating how close the output value of the machine learning model is to the correct answer value. For example, in the case of reinforcement learning, the evaluation value may be a value indicating to what extent the output value of the machine learning model meets the required criteria. Hereinafter, the evaluation value of the machine learning model when the parameters acquired based on the parameter generation information are applied to the machine learning model is simply referred to as the evaluation value for the parameter generation information. Since the evaluation value is a string of a predetermined number of numbers, its size is about several bytes. The evaluation value of the machine learning model can also be said to be a value that represents the performance of the machine learning model. The performance of the machine learning model includes, for example, "accuracy" that is how close the output value of the machine learning model is to the correct answer value or to what extent the output value of the machine learning model meets the required criteria, and further includes how much operational costs such as human resources and expenses are required.

[0024] (3) The server 1 aggregates the evaluation values ​​for the parameter generation information received from each client 2, and transmits the aggregation result to each client 2. (4) The server 1 and each client 2 update the machine learning model held by each of them based on the aggregation result of the evaluation values. In the first embodiment, updating the machine learning model means updating the parameter values ​​of the machine learning model. In the first embodiment, if the aggregation result of the evaluation values ​​in (4) is better than the evaluation values ​​of the currently applied parameters, the server 1 and each client 2 update the machine learning model by applying parameters acquired based on the parameter generation information transmitted from the server 1 in (1).

[0025] In the federated learning system 100, the processes (1) to (4) are executed for a predetermined number of random number seeds, or are executed repeatedly until the aggregated value of the evaluation values ​​satisfies a predetermined condition, thereby learning a machine learning model. The server 1 is an example of a "first information processing device." The client 2 is an example of a "second information processing device."

[0026] Each client 2 holds different evaluation data. Therefore, even if each client 2 uses the same machine learning model and the same parameters as in the first embodiment, the evaluation value is different for each client 2. However, by updating the parameter values ​​of the machine learning model to parameter values ​​that provide better aggregated results of the evaluation values ​​of each client 2, the machine learning model becomes more accurate when viewed as a whole of the clients 2. A machine learning model with the same level of accuracy as learning of a normal machine learning model can be obtained.

[0027] In the federated learning system 100, the data flowing between the server 1 and each client 2 is as follows: The parameter generation information, the evaluation value, and the aggregated result of the evaluation value are about several bytes. Therefore, according to the first embodiment, when learning a machine learning model while the learning data is distributed among a plurality of devices, the amount of communication data can be reduced. In the following description, it is assumed that the federated learning system 100 employs a random number seed as the parameter generation information.

[0028] 2 is a diagram showing an example of the configuration of the server 1 and the client 2. The server 1 is, for example, a computer dedicated to the federated learning system 100. However, the server 1 is not limited to this. The server 1 includes, as a hardware configuration, a processor 11, a memory 12, an auxiliary storage device 13, and a communication unit 14, for example.

[0029] The auxiliary storage device 13 stores, for example, an OS (Operating System), a plurality of other programs, and data used by the processor 11 when executing each program. The auxiliary storage device 13 is, for example, a hard disk drive (HDD) and a solid state drive (SSD). The memory 12 is a storage device that provides the processor 11 with a storage area and a working area for loading programs stored in the auxiliary storage device 13, and is used as a buffer. The memory 12 includes, for example, semiconductor memory such as a read only memory (ROM) and a random access memory (RAM).

[0030] The processor 11 executes various processes by loading a program stored in the auxiliary storage device 13 into the memory 12 and executing the program. The number of processors 11 is not limited to one, and multiple processors 11 may be provided. The processor 11 is an example of a "control unit."

[0031] The communication unit 14 is, for example, a module that is connected to a network cable such as a LAN (Local Area Network) card and an optical module and includes a signal processing circuit. The communication unit 14 is not limited to a circuit that can be connected to a wired network, and may be a wireless signal processing circuit that can process wireless signals of a wireless communication network such as WiFi.

[0032] The processor 11 executes a predetermined program stored in the auxiliary storage device 13 to achieve processing of the functional configurations of a random number seed generation unit 111, a counting unit 112, and a model management unit 113. The random number seed generation unit 111 transmits a pseudo-random number seed to each client 2. The random number seed is a string of a predetermined number of digits that are the base of the pseudo-random number. The random number seeds transmitted may be determined randomly, or may be transmitted in ascending order of value.

[0033] The counting unit 112 receives evaluation values ​​for the random number seeds from each client 2 and counts them. The evaluation value for the random number seeds can be said to be an evaluation value that represents the performance of a machine learning model when parameters acquired based on the random number seeds are applied to the machine learning model. The method of counting the evaluation values ​​may be any method that calculates, for example, the sum, average, median, standard deviation, etc. of the evaluation values ​​from each client 2. The method of counting the evaluation values ​​from each client 2 is not limited to a predetermined method. The counting unit 112 transmits the counted value of the evaluation values ​​to each client 2.

[0034] The model management unit 113 updates the machine learning model 121 based on, for example, the aggregated value of the evaluation values ​​acquired by the aggregation unit 112. For example, when the aggregated value of the evaluation values ​​acquired by the aggregation unit 112 is better than the aggregated value of the evaluation values ​​for the random number seed corresponding to the value of the parameter 122 currently applied to the machine learning model 121, the model management unit 113 updates the machine learning model 121 by applying parameters using pseudo-random numbers acquired from the random number seed corresponding to the aggregated value of the evaluation values ​​acquired by the aggregation unit 112.

[0035] The memory 12 stores a machine learning model 121, parameters 122, and evaluation value data 123. The machine learning model 121 may be, for example, a neural network, a deep learning The machine learning model 121 may be any of a learning model, a convolutional neural network, a recurrent neural network, etc. The machine learning model 121 is not limited to a model according to a specific algorithm. The parameters 122 are parameter values ​​currently applied to the machine learning model 121. In the first embodiment, the evaluation value data 123 is, for example, the evaluation value and the aggregate value of each client 2 for each random number seed.

[0036] Next, the client 2 is, for example, a PC, a smartphone, a tablet terminal, or an in-vehicle device. The in-vehicle device is, for example, a data communication device, a car navigation system, a drive recorder, or an ECU dedicated to the federated learning system 100. The client 2 includes, as a hardware configuration, a processor 21, a memory 22, an auxiliary storage device 23, and a communication unit 24.

[0037] The processor 21, the memory 22, the auxiliary storage device 23, and the communication unit 24 are the same as the processor 11, the memory 12, the auxiliary storage device 13, and the communication unit 14, respectively. However, the communication unit 24 may be a circuit connectable to a wired network and a wireless network. In addition, when the communication unit 24 is a circuit connectable to a wireless network, the communication unit 24 may be a wireless communication circuit corresponding to a mobile communication method such as 5G, 4G, 3G, or 6G, a wireless communication method such as Wi-Fi, or DSRC (Dedicated Short Range Communications). Note that in FIG. 2, only elements related to the processing of the federated learning system 100 are extracted from the hardware configuration of the client 2 and shown.

[0038] The processor 21 executes a predetermined program stored in the auxiliary storage device 23, thereby achieving the processing of the functional configurations of the random number generation unit 211, the evaluation unit 212, and the model management unit 213. The random number generation unit 211 receives a random number seed from the server 1, and generates pseudo-random numbers from the random number seed. The generated pseudo-random numbers have the same dimensions as the machine learning model 221 described later. Note that there may also be a usage in which pseudo-random numbers are generated and used in the same number as the dimensions (number) of the input values ​​(or explanatory variables) of the machine learning model 221. The pseudo-random number generation algorithm is not limited to a specific one. In the first embodiment, it is assumed that the server 1 and the multiple clients 2 use the same pseudo-random number generation algorithm.

[0039] The evaluation unit 212 calculates an evaluation value for the random number seed received from the server 1, and transmits the evaluation value to the server 1. When the index of the client 2 is expressed as i=1 to M, the evaluation data held by the i-th client 2 is denoted as Di. When all clients 2 use the same random number seed, the random number created from the random number seed received the tth time (t is a positive integer) is denoted as εt. εt is a value independent of the index i. For the evaluation data Di, the objective function for evaluating the machine learning model 221 when the parameter x is applied is represented as f(x,Di).

[0040] The parameter currently applied to the machine learning model 221 is represented as xt. The parameter acquired by the evaluation unit 212 based on the random number εt is represented as xt+εt. xt+εt means that the parameter xt currently applied to the machine learning model 221 is moved by the random number εt to acquire the parameter xt+εt. However, the method of acquiring the parameter based on the random number εt is not limited to a specific method. However, in the first embodiment, it is assumed that the method of acquiring the parameter based on the random number εt is common to the server 1 and each client 2.

[0041] The evaluation unit 212 obtains y(t,i)=f(xt+εt,Di) as an evaluation value for the parameter xt+εt obtained from the random number seed received from the server 1.

[0042] For example, if the machine learning model 221 is a supervised or unsupervised learning model, The objective function f(x, Di) is a function that determines the similarity or hit rate between the output value of the machine learning model 221 for the input value of the evaluation data Di and the correct answer value for the evaluation data Di. For example, when the machine learning model 221 is a reinforcement learning model, the objective function f(x, Di) is a function that determines the degree to which the output value of the machine learning model 221 for the input of the evaluation data Di satisfies a criterion.

[0043] When there are multiple pieces of evaluation data, the evaluation unit 212 calculates an evaluation value for each piece of evaluation data and transmits an aggregated value of the multiple evaluation values ​​to the server 1. The method of tallying up the evaluation values ​​of the multiple pieces of evaluation data is not limited to a specific method and may be, for example, a method of calculating an average value, a median value, a standard deviation value, or the like.

[0044] The model management unit 213 manages the machine learning model 221. When the model management unit 213 receives an aggregated value of evaluation values ​​for the random number seeds from the server 1, the model management unit 213 updates the machine learning model 221 based on the aggregated value of the evaluation values. The method of updating the machine learning model 221 of the model management unit 213 is the same as that of the model management unit 113.

[0045] The memory 22 holds a machine learning model 221 and parameters 222. In the first embodiment, the machine learning model 221 is the same model as the machine learning model 121. In this specification, the machine learning model being the same means that the algorithm, dimensions, and parameter values ​​used are the same. The parameters 222 are parameter values ​​currently applied to the machine learning model 221.

[0046] The auxiliary storage device 23 holds evaluation data 231. The evaluation data 231 is data acquired by the client 2 using a predetermined sensor. The evaluation data 231 includes, for example, image data, operation data, temperature data, and speed data. The evaluation data corresponds to learning data in learning a normal machine learning model.

[0047] Note that the hardware configuration and functional configuration of the server 1 and the client 2 shown in FIG. 2 are merely an example, and the server 1 and the client 2 are not limited to the configuration shown in FIG. 2. For example, if the client 2 is a smartphone, it may include a touch panel display, a microphone, a speaker, a GPS (Global Positioning System) receiver, a camera, and It is also equipped with various other sensors.

[0048] <Processing flow> Fig. 3 is a diagram showing an example of a processing sequence in the federated learning system 100. For the sake of simplicity, only the server 1 and one client 2 are shown in Fig. 3. However, the other clients 2 also perform the same operations.

[0049] In S1, the random number seed generation unit 111 of the server 1 acquires a random number seed. In S2, the random number seed generation unit 111 of the server 1 transmits the random number seed to each client 2. In S3, the random number generation unit 211 of the client 2 generates a pseudo-random number from the random number seed received from the server 1. In S4, the evaluation unit 212 of the client 2 acquires a parameter value using the pseudo-random number generated from the random number seed received from the server 1, and calculates an evaluation value for the machine learning model 221 when the parameter value is applied. In S5, the evaluation unit 212 of the client 2 transmits an evaluation value for the random number seed to the processor 11. As a result, the server 1 receives, from each client 2, the evaluation value of each client 2 for the random number seed transmitted in S2.

[0050] In S6, the tabulation unit 112 of the server 1 tabulates the evaluation value of each client 2 for the random number seed transmitted in S2. In S7, the tabulation unit 112 of the server 1 tabulates the evaluation value of each client 2 for the random number seed transmitted in S2. The evaluation score of each client 2 for the random number seed sent in S2 is sent to the client 2.

[0051] In S8, the model management unit 113 of the server 1 and the model management unit 213 of each client 2 perform a model update process. In the first embodiment, the model update process is common to the model management unit 113 of the server 1 and the model management unit 213 of each client 2, so the process of the model management unit 213 of the client 2 will be described as an example. In OP81, the model management unit 213 determines whether or not the aggregated value of the evaluation value received from the server 1 has improved compared to the aggregated value of the evaluation value for the random number seed corresponding to the parameter value currently applied to the machine learning model 221. The evaluation value for the random number seed corresponding to the parameter value currently applied to the machine learning model 221 may be held by the client 2, or may be transmitted to each client 2 by the server 1 in S7. In addition, in a case where a larger evaluation value for the random number seed indicates a higher evaluation of the machine learning model when the random number seed is used, if the aggregated value of the evaluation value received from the server 1 is also larger, it indicates an improvement. In addition, if the smaller the evaluation value for the random number seed, the higher the evaluation of the machine learning model when using that random number seed, then if the aggregated evaluation value received from server 1 is also smaller, this indicates an improvement.

[0052] If the aggregated value of the evaluation values ​​received from the server 1 has improved (OP81: YES), the process proceeds to OP82. In OP82, the model management unit 213 of the client 2 updates the machine learning model 221 by applying parameters acquired based on the random number seed received from the server 1 in S2. The model management unit 213 also overwrites and saves the parameters 222 with parameters acquired based on the random number seed received from the server 1 in S2. If the aggregated value of the evaluation values ​​received from the server 1 has not improved (OP81: NO), the model management unit 213 does not update the machine learning model 221. Note that the model update process in S8 shown in FIG. 3 is an example, and the model update process is not limited to the process shown in FIG. 3.

[0053] A single learning of the machine learning model in the federated learning system 100 ends, for example, when the process shown in FIG. 3 is executed for a predetermined number of random number seeds, or when the aggregate value of the evaluation values ​​for the random number seeds becomes equal to or greater than a predetermined threshold. In addition, in the next learning, each x2 uses different evaluation data. In addition, in the next learning, a different set of random number seeds may be used.

[0054] <Effects of the First Embodiment> In the first embodiment, when a machine learning model is learned in a distributed manner among a plurality of devices, for example, data flowing between the server 1 and each client 2 is a random number seed, an evaluation value for the random number seed, and an aggregated value of the evaluation values. All of these data are about several bytes in size. In conventional federated learning, the machine learning model itself or parameters of the machine learning model flow between the server and the client. The size of these is in megabytes or gigabytes. Therefore, according to the federated learning system 100 according to the first embodiment, when a machine learning model is learned in a distributed manner among a plurality of devices, the amount of communication data flowing between the server 1 and each client 2 and the communication load on the server 1 and each client 2 can be reduced. As a result, even if some of the clients 2 are in an area where only a low communication speed can be secured and there is a gap in communication speed between the clients 2, the time required for learning the machine learning model in the federated learning system 100 can be shortened without being affected by this. As a result, the machine learning model can learn data from areas where communication is difficult, such as disaster areas and digital divides. In addition, compression, etc. can be applied to the transmission data (random number seed, evaluation value for the random number seed, and aggregated value of the evaluation values). Since no processing is performed on the data, the processing load due to data transmission can be reduced in the server 1 and each client 2.

[0055] In the first embodiment, it is difficult to restore the evaluation data held by each client 2 from the random number seed, the evaluation value for the random number seed, and the aggregated value of the evaluation values ​​that flow between the server 1 and each client 2. Therefore, according to the federated learning system 100 according to the first embodiment, it is possible to further strengthen the protection of privacy.

[0056] <Second embodiment> The federated learning system according to the second embodiment is a system that does not include a server and is composed of only a client 2. FIG. 4 is a diagram showing an example of the system configuration of a federated learning system 100B according to the second embodiment. The federated learning system 100B includes multiple clients 2. In the federated learning system 100B, one of the multiple clients 2 executes processes such as generating random number seeds and aggregating evaluation values, similar to the server 1 according to the first embodiment. Note that the client 2 that plays the role of the server 1 may change each time learning is performed. The method of selecting the client 2 that plays the role of the server 1 is not limited to a specific method. For example, information such as communication throughput and processor performance may be exchanged between the clients 2, and the client 2 with the best performance may be selected as the client 2 that plays the role of the server 1. In the second embodiment, the client 2 that plays the role of the server 1 is an example of a "first information processing device". It is.

[0057] <Other Modifications> The above-described embodiment is merely an example, and the present disclosure can be modified and implemented as appropriate without departing from the spirit and scope of the present disclosure.

[0058] In the first embodiment, it has been described on the assumption that the number of random number seeds transmitted from the server 1 to each client 2 is one. However, this is not limited to the above, and multiple random number seeds may be transmitted from the server 1 to each client 2. In this case, each client 2 acquires an evaluation value for each of the multiple random number seeds received from the server 1 and transmits it to the server 1. The server 1 acquires an aggregate value of evaluation values ​​from each client 2 for each of the multiple random number seeds. The server 1 transmits to each client 2 the random number seed with the best aggregate value of evaluation values ​​among the multiple random number seeds and the aggregate value of evaluation values ​​of the random number seeds. For example, the server 1 and each client 2 may perform a model update process (see S8 in FIG. 3) using the best aggregate value of evaluation values ​​among the multiple random number seeds, as in the first embodiment.

[0059] In the first embodiment, it has been described on the assumption that a random number seed is transmitted from the server 1 to each client 2. This is not limiting, and supplementary information may also be transmitted from the server 1 to each client 2 in addition to the random number seed. The supplementary information is information that specifies a pseudo-random number to be used for acquiring parameters. For example, the supplementary information is information that specifies that the pseudo-random number generated after repeating the generation of the pseudo-random number 100 times starting from the random number seed transmitted together is to be used. Even if the parameter generation information is information other than the random number seed, the parameter generation information and the supplementary information may be transmitted from the server 1 to each client 2. The supplementary information is also text data, and its size is about several bytes.

[0060] In the first embodiment, the server 1 and the multiple clients 2 are described on the assumption that they have the same machine learning model and the same parameters. However, this is not limited to the above, and the server 1 and the multiple clients 2 may have different machine learning models. In this case, even if the server 1 and the multiple clients 2 use the same random number seed, they generate pseudo-random numbers of different dimensions that match the machine learning models that they each have. In addition, the algorithm for generating pseudo-random numbers may be The algorithm may be different for the server 1 and each of the multiple clients 2.

[0061] In the first embodiment, the server 1 has been described on the assumption that it transmits the same random number seed to the multiple clients 2. This is not limiting, and the server 1 may transmit a different random number seed to each client 2. For example, when the process shown in FIG. 3 is executed once, the server 1 may tally up each of the multiple random number seeds transmitted to each client 2 together with the evaluation values ​​collected from the client 2 up to that point, each time the server 1 receives an evaluation value from each client 2, and transmit the random number seed with the best aggregated value at that time and the aggregated value to each client 2. The server 1 and each client 2 update the machine learning model based on the random number seed with the best aggregated value at that time and the aggregated value.

[0062] In addition, in combination with these, the server 1 and the multiple clients 2 may be equipped with different machine learning models, and the server 1 may send a different random number seed to each client 2.

[0063] The processes and means described in this disclosure can be freely combined and implemented as long as no technical contradiction occurs.

[0064] Furthermore, a process described as being performed by one device may be shared and executed by multiple devices. Alternatively, a process described as being performed by different devices may be executed by one device. In a computer system, the hardware configuration (server configuration) by which each function is realized can be flexibly changed.

[0065] The present disclosure can also be realized by supplying a computer program implementing the functions described in the above embodiments to a computer, and having one or more processors of the computer read and execute the program. Such a computer program may be provided to the computer by a non-transitory computer-readable storage medium connectable to the system bus of the computer, or may be provided to the computer via a network. Non-transitory computer-readable storage media include, for example, any type of disk, such as a magnetic disk (floppy disk, hard disk drive (HDD), etc.), an optical disk (CD-ROM, DVD disk, Blu-ray disk, etc.), a read-only memory (ROM), a random access memory (RAM), an EPROM, an EEPROM, a magnetic card, a flash memory, an optical card, and any type of medium suitable for storing electronic instructions. [Explanation of symbols]

[0066] 1··Server 2. Client 11. Processor 12. Memory 13...Auxiliary storage device 14. Communications Department 21 Processor 22. Memory 23...Auxiliary storage device 24. Communications Department 100··Associative Learning System 111··Random number seed generator 112 Counting section 113··Model Management Department 121 Machine Learning Models 122 Parameters 123 Evaluation value data 211 Random number generator 212 Evaluation section 213··Model Management Department 221··Machine learning model 222··Parameter 231 Evaluation Data

Claims

1. A first information processing device, Transmitting first information used to acquire parameter values ​​of the machine learning model to a plurality of second information processing devices; The plurality of second information processing devices, obtaining an evaluation value of the machine learning model when the value of the parameter obtained based on the first information is applied to the machine learning model; transmitting the evaluation value to the first information processing device; The first information processing device, aggregating the evaluation values ​​received from the second information processing devices; Transmitting the aggregation result of the evaluation values ​​to the plurality of second information processing devices; The first information processing device and the plurality of second information processing devices, updating the machine learning model based on the aggregation result of the evaluation values; method.

2. The first information is a character string of a predetermined number. The method of claim 1.

3. The first information processing device and the plurality of second information processing devices, updating the machine learning model by setting parameters obtained based on the first information having the best aggregated result of the evaluation value among a plurality of pieces of first information; The method according to claim 1 or 2.

4. Transmitting first information used to obtain parameter values ​​of the machine learning model to a plurality of information processing devices; receiving, from the plurality of information processing devices, an evaluation value of the machine learning model when the value of the parameter obtained based on the first information is applied to the machine learning model; aggregating the evaluation values ​​received from the information processing devices; and transmitting a result of the evaluation values ​​to the plurality of information processing devices; updating the machine learning model based on the aggregation result of the evaluation values; A control unit that executes An information processing device comprising:

5. receiving first information used to obtain values ​​of parameters of a machine learning model from a first information processing device; obtaining an evaluation value of the machine learning model when the value of the parameter obtained based on the first information is applied to the machine learning model; transmitting the evaluation value to the first information processing device; receiving, from the first information processing device, a result of tallying the evaluation values ​​by the plurality of information processing devices that have received the first information; updating the machine learning model based on the aggregation result of the evaluation values; A control unit that executes An information processing device comprising:

Citation Information

Patent Citations

  • Federated learning method and apparatus, electronic apparatus, storage medium, and computer program

    JP2022136234A

  • Compositions and methods comprising substituted 2-aminoimidazoles

    US20200024251A1