Method and information processing device

By sending and receiving information for obtaining machine learning model parameters between information processing devices, calculating and updating the model, the problem of large communication volume in joint learning is solved, and the amount of data is reduced and privacy protection is enhanced.

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

Patent Information

Application Number
CN202410251408.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-08
Filing Date
2024-03-06
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

In federated learning, the larger the size of the machine learning model, the greater the communication volume, which leads to an increase in the amount of data flowing between information processing devices, affecting efficiency and privacy protection.

Method used

By sending first information for acquiring machine learning model parameters between information processing devices, acquiring and applying parameter values, calculating evaluation values, and performing statistics and updates of evaluation values, the amount of data flowing between information processing devices is reduced.

Benefits of technology

It effectively reduces the amount of communication data between information processing devices, improves learning efficiency, and enhances data privacy protection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118627592A
    Figure CN118627592A
Patent Text Reader

Abstract

The invention relates to a method and an information processing apparatus. The purpose of the present invention is to reduce the amount of data flowing between information processing devices when learning of a machine learning model is performed by a plurality of information processing devices. A first information processing device transmits first information for acquiring values of parameters of a machine learning model to a plurality of second information processing devices. The plurality of second information processing devices acquire an evaluation value of the machine learning model when the value of the parameter obtained on the basis of the first information is applied to the machine learning model, and transmit the evaluation value to the first information processing device. The first information processing device performs statistics of the plurality of evaluation values received from the plurality of second information processing devices, and transmits the result of the statistics 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 update the machine learning model on the basis of the statistical results of the evaluation values.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to learning of machine learning models. Background Art

[0002] Generally, when a machine learning model is made to learn learning data held by multiple devices, the learning data is concentrated in one place such as a server, and the machine learning model is learned in the server. However, in this case, the confidentiality of the learning data cannot be protected. As a learning method of a machine learning model that protects the confidentiality of the learning data, there is federated learning. Federated learning is a method of making a machine learning model learn while distributing the distributed learning data.

[0003] In federated learning, each client has a machine learning model, which is learned through the learning data it holds, and the learned machine learning model is sent to the server. The server merges the learned machine learning models collected from each client and sends the merged machine learning model to the client again.

[0004] Prior art literature

[0005] Patent Literature

[0006] Patent Document 1: Japanese Patent Application Publication No. 2022-136234

[0007] Patent Document 2: U.S. Patent Application Publication No. 2020 / 0242514

[0008] Non-patent literature

[0009] Non-patent literature 1: H. Brendan McMahan, 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

[0010] Non-Patent Literature 2: Tim Salimans, 4 others, “Evolution Strategies as a Scalable Alternative to Reinforcement Learning”, [online], September 2017, [retrieved on November 14, 2017], Internet<URL:https: / / arxiv.org / abs / 1703.03864>

[0011] Non-Patent Document 3: “A Visual Guide to Evolution Strategies”, [online], October 29, 2017, [retrieved on November 14, 2017], Internet<URL:https: / / blog.otoro.net / 2017 / 10 / 29 / visual-evolution-strategies / > Summary of the invention

[0012] Problem that the invention aims to solve

[0013] However, in federated learning, the machine learning model itself and / or the 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 communication volume.

[0014] One of the disclosed methods is to provide a method and an information processing device that can reduce the amount of data flowing between information processing devices when learning a machine learning model is performed by multiple information processing devices.

[0015] Solutions for solving problems

[0016] One of the aspects of the present disclosure is a method, wherein:

[0017] The first information processing device sends first information for obtaining a value of a parameter of a machine learning model to a plurality of second information processing devices.

[0018] The plurality of second information processing devices obtain 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,

[0019] The plurality of second information processing devices transmit the evaluation value to the first information processing device,

[0020] The first information processing device performs statistics on the plurality of evaluation values ​​received from the plurality of second information processing devices,

[0021] The first information processing device sends the statistical results of the evaluation values ​​to the plurality of second information processing devices,

[0022] The first information processing device and the plurality of second information processing devices update the machine learning model based on statistical results of the evaluation values.

[0023] Another aspect of the present disclosure is an information processing device, wherein the information processing device includes a control unit that performs the following operations:

[0024] Sending first information for obtaining values ​​of parameters of a machine learning model to a plurality of information processing devices;

[0025] 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;

[0026] Performing statistics on the plurality of evaluation values ​​received from the plurality of information processing devices;

[0027] sending statistical results of the evaluation values ​​to the plurality of information processing devices; and

[0028] Based on the statistical results of the evaluation values, the machine learning model is updated.

[0029] Another aspect of the present disclosure is an information processing device, wherein the information processing device includes a control unit that performs the following operations:

[0030] receiving, from a first information processing device, first information for obtaining a value of a parameter of a machine learning model;

[0031] 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;

[0032] sending the evaluation value to the first information processing device;

[0033] receiving, from the first information processing device, statistical results of a plurality of the evaluation values ​​obtained by a plurality of information processing devices that have received the first information; and

[0034] Based on the statistical results of the evaluation values, the machine learning model is updated.

[0035] Effects of the Invention

[0036] According to one embodiment of the present disclosure, when a machine learning model is learned by a plurality of information processing devices, the amount of data flowing between the information processing devices can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 This is a diagram showing an example of the system configuration of the joint learning system according to the first embodiment.

[0038] Figure 2 This is a diagram showing an example of the configuration of a server and a client.

[0039] Figure 3 This is a diagram showing an example of a sequence of processes in the joint learning system.

[0040] Figure 4 This is a diagram showing an example of a system configuration of a joint learning system according to a second embodiment.

[0041] Description of Reference Numerals

[0042] 1…server; 2…client; 11…processor; 12…memory; 13…auxiliary storage device; 14…communication unit; 21…processor; 22…memory; 23…auxiliary storage device; 24…communication unit; 100…joint learning system; 111…random number seed generation unit; 112…statistics unit; 113…model management unit; 121…machine learning model; 122…parameters; 123…evaluation value data; 211…random number generation unit; 212…evaluation unit; 213…model management unit; 221…machine learning model; 222…parameters; 231…evaluation data DETAILED DESCRIPTION

[0043] One of the methods disclosed herein is a method for learning a machine learning model in 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 terminal such as a PC (Personal Computer), a smart phone, a tablet terminal, and a vehicle-mounted device. However, it is not limited to this. The first information processing device may also be a terminal like the second information processing device. The vehicle-mounted device is, for example, a data communication device, a car navigation system, a driving recorder, and other ECUs (Electronic Control Units).

[0044] The first information processing device sends the first information for obtaining the value of the parameter of the machine learning model to the plurality of second information processing devices. The first information is, for example, a random number seed and a predetermined number of character strings such as a code corresponding to the parameter. The plurality of second information processing devices obtain 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, and send the evaluation value to the first information processing device. For example, when the first information is a random number seed, the plurality of second information processing devices generate a random number based on the received random number seed by a common random number generation method, and obtain the parameter of the machine learning model based on the random number. For example, when the first information is a code, the plurality of second information processing devices obtain the value of the parameter corresponding to the received code from a pre-held correspondence table of codes and parameter values.

[0045] The first information processing device collects statistics on a plurality of evaluation values ​​of the machine learning model on the first information received from the plurality of second information processing devices, and sends the statistics 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 statistics of the evaluation values.

[0046] In one of the methods disclosed herein, the data flowing between a first information processing device and a plurality of second information processing devices is the first information and an evaluation value and a statistical value of a machine learning model related to the first information. The first information, the evaluation value, and the statistical value are all a predetermined number of character strings. Therefore, the size of the first information, the evaluation value, and the statistical value are each about several bytes. Therefore, according to one of the methods disclosed herein, 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.

[0047] It should be noted that the machine learning model of the first information processing device and the machine learning models of each of the plurality of second information processing devices may be the same model or different models. In addition, the content of the first information sent to the plurality of second information processing devices may be the same or different between the plurality of information processing devices. In addition, one piece of the first information may be sent to each of the plurality of second information processing devices, or a plurality of first information may be sent.

[0048] Hereinafter, embodiments of the present disclosure will be described based on the drawings. The structures of the following embodiments are illustrative only, and the present disclosure is not limited to the structures of the embodiments.

[0049] <First Embodiment>

[0050] Figure 11 is a diagram showing an example of a system structure of a joint learning system 100 according to a first embodiment. The joint learning system 100 is a system for learning a machine learning model in a state where learning data is distributed across multiple devices. The joint learning system 100 includes a server 1 and multiple clients 2. The server 1 and the multiple clients 2 are respectively connected to a network N1 and can communicate via the network N1. The network N1 is, for example, a public line network such as the Internet, a LAN (Local Area Network), and a virtual or physical dedicated line network.

[0051] In the first embodiment, it is assumed that the server 1 and the plurality of clients 2 have the same machine learning model. In addition, it is assumed that the server 1 and the plurality of clients 2 also share the values ​​of the parameters applied to the machine learning model. Therefore, when a new client 2 joins the joint learning system 100, the server 1 publishes the machine learning model and the latest parameter values ​​to the new client 2. Hereinafter, when a parameter is referred to, the value of the parameter is indicated.

[0052] In the joint learning system 100, the following processing is performed. (1) The server 1 sends parameter generation information, which is information that serves as a seed for generating parameters, to each client 2. The parameter generation information is, for example, a random number seed, and a code that establishes a correspondence with a parameter or a variable value of a parameter. The parameter generation information is a predetermined number of character strings. 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".

[0053] (2) Each client 2 acquires a parameter based on the received parameter generation information, acquires an evaluation value of the machine learning model when the parameter is applied, and sends the evaluation value to the server 1.

[0054] The evaluation value is a value indicating the accuracy of the machine learning model when the parameters obtained 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 also be a similarity indicating how close the output value of the machine learning model is to the correct value. For example, in the case of reinforcement learning, the evaluation value may also be a value indicating to what extent the output value of the machine learning model meets the required benchmark. Hereinafter, the evaluation value of the machine learning model when the parameters obtained based on the parameter generation information are applied to the machine learning model will be referred to as the evaluation value of the parameter generation information. The evaluation value is a column of a predetermined number of digits, so its size is about a few bytes. It should be noted that the evaluation value of the machine learning model can also be said to be a value indicating the performance of the machine learning model. The performance of the machine learning model includes, for example, "accuracy" such as how close the output value of the machine learning model is to the correct value, or to what extent the output value of the machine learning model meets the required benchmark, and also includes how much operating costs such as labor and expenses are spent.

[0055] (3) The server 1 collects statistics on the evaluation values ​​of the parameter generation information received from each client 2, and sends the statistical results to each client 2. (4) The server 1 and each client 2 update the machine learning models they maintain based on the statistical results of the evaluation values. In the first embodiment, the updating of the machine learning model refers to updating the values ​​of the parameters of the machine learning model. In the first embodiment, in (4), when the statistical results of the evaluation values ​​are better than the evaluation values ​​of the currently applied parameters, the server 1 and each client 2 apply the parameters obtained based on the parameter generation information sent from the server 1 in (1) to update the machine learning model.

[0056] In the joint learning system 100, (1) to (2) are executed for a predetermined number of random number seeds.

[0057] The machine learning model is learned by repeatedly performing the processing of (1) to (4) until the statistical value of the evaluation value satisfies a predetermined condition. The server 1 is an example of a "first information processing device". The client 2 is an example of a "second information processing device".

[0058] Each client 2 holds different evaluation data. Therefore, as in the first embodiment, even if each client 2 uses the same machine learning model and the same parameter value, the evaluation value of each client 2 is different. However, by updating the parameter value of the machine learning model to the parameter value with a better statistical result of the evaluation value of each client 2, a machine learning model with better accuracy is obtained when the client 2 is viewed as a whole. A machine learning model with the same degree of accuracy as the learning of a normal machine learning model can be obtained.

[0059] In the joint learning system 100, the data flowing between the server 1 and each client 2 is parameter generation information of about several bytes, evaluation values, and statistical results of the evaluation values. Therefore, according to the first embodiment, when learning a machine learning model in a state where learning data is distributed in multiple devices, the amount of communication data can be reduced. In the following description, it is assumed that a random number seed is used as parameter generation information in the joint learning system 100.

[0060] Figure 2 1 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 joint learning system 100. However, the server 1 is not limited thereto. The server 1 includes, for example, a processor 11, a memory 12, an auxiliary storage device 13, and a communication unit 14 as a hardware configuration.

[0061] The auxiliary storage device 13 stores, for example, an OS (Operation System) and other multiple programs, as well as data used by the processor 11 when executing each program. Examples of the auxiliary storage device 13 include a HDD (Hard Disk Drive) and an SSD (Solid State Drive). The memory 12 is a storage device that provides a storage area and a work area for loading programs stored in the auxiliary storage device 13 to the processor 11, or is used as a buffer. The memory 12 includes, for example, a semiconductor memory such as a ROM (Read Only Memory) or a RAM (Random Access Memory).

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

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

[0064] The processor 11 executes a predetermined program stored in the auxiliary storage device 13 to realize the processing of the functional structure of the random number seed generation unit 111, the statistics unit 112 and the model management unit 113. The random number seed generation unit 111 sends a pseudo-random number seed to each client 2. The random number seed is a column of a predetermined number of numbers that is the basis of the pseudo-random number. The random number seeds sent can be determined randomly or sent in order from the random number seeds with smaller values.

[0065] The statistics unit 112 receives the evaluation value about the random number seed from each client 2 and performs statistics. The evaluation value about the random number seed can also be said to be an evaluation value representing the performance of the machine learning model when the parameters obtained based on the random number seed are applied to the machine learning model. The statistical method of the evaluation value can also be any method of calculating the total value, average value, median value, standard deviation value, etc. of the evaluation values ​​from each client 2. The statistical method of the evaluation value from each client 2 is not limited to a predetermined method. The statistics unit 112 sends the statistical value of the evaluation value to each client 2.

[0066] The model management unit 113 updates the machine learning model 121, for example, based on the statistical value of the evaluation value obtained by the statistics unit 112. For example, when the statistical value of the evaluation value obtained by the statistics unit 112 is better than the statistical value of the evaluation value regarding 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 applies a parameter using a pseudo-random number obtained from the random number seed corresponding to the statistical value of the evaluation value obtained by the statistics unit 112 to update the machine learning model 121.

[0067] The memory 12 stores a machine learning model 121, a parameter 122, and evaluation value data 123. The machine learning model 121 may be, for example, any network or model such as a neural network, a deep learning model, a convolutional neural network, or a recursive neural network. The machine learning model 121 is not limited to a model according to a specific algorithm. The parameter 122 is the value of the parameter currently applied to the machine learning model 121. In the first embodiment, the evaluation value data 123 is, for example, the evaluation value and statistical value of each client 2 for each random number seed.

[0068] Next, the client 2 is, for example, a PC, a smartphone, a tablet terminal, and an in-vehicle device. The in-vehicle device is, for example, a data communication device, a car navigation system, a driving recorder, and an ECU dedicated to the joint learning system 100. The client 2 is, for example, provided with a processor 21, a memory 22, an auxiliary storage device 23, and a communication unit 24 as a hardware structure.

[0069] The processor 21, the memory 22, the auxiliary storage device 23 and the communication unit 24 are respectively the same as the processor 11, the memory 12, the auxiliary storage device 13 and the communication unit 14. Among them, the communication unit 24 can also be a circuit that can be connected to a wired network and a wireless network. In addition, when the communication unit 24 is a circuit that can be connected to a wireless network, the communication unit 24 can also be a wireless communication circuit corresponding to mobile communication methods such as 5G, 4G, 3G or 6G, wireless communication methods such as Wi-Fi, or DSRC (Dedicated Short Range Communications). It should be noted that in Figure 2 In FIG. 1 , regarding the hardware configuration of the client 2 , only elements related to the processing of the joint learning system 100 are extracted and shown.

[0070] The processor 21 executes a predetermined program stored in the auxiliary storage device 23 to implement the processing of the functional structure 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 a pseudo-random number based on the random number seed. The generated pseudo-random number has the same dimension as the machine learning model 221 described later. It should be noted that there may also be a method of generating the same number of pseudo-random numbers as the dimension (number) of the input value (or explanatory variable) of the machine learning model 221 for use. The pseudo-random number generation algorithm is not limited to a specific algorithm. In addition, in the first embodiment, in the server 1 and multiple clients 2, it is assumed that the pseudo-random number generation algorithm uses the same pseudo-random number generation algorithm.

[0071] The evaluation unit 212 calculates an evaluation value for the random number seed received from the server 1, and sends the evaluation value to the server 1. When i=1 to M represents the index of the client 2, the evaluation data maintained by the i-th client 2 is set to Di. When all clients 2 use the same random number seed, the random number generated based on the random number seed received for the t-th time (t is a positive integer) is set to εt. εt is a value that does not depend on the index i. With respect to the evaluation data Di, the objective function used to evaluate the machine learning model 221 when the parameter x is applied is expressed as f(x, Di).

[0072] The parameter currently applied to the machine learning model 221 is represented as xt. The parameter obtained 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 obtain the parameter xt+εt. However, the method of obtaining the parameter based on the random number εt is not limited to a specific method. In the first embodiment, it is assumed that the method of obtaining the parameter based on the random number εt is common in the server 1 and each client 2.

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

[0074] For example, when the machine learning model 221 is a supervised or unsupervised learning model, the objective function f(x, Di) is a function for finding the similarity or hit rate between the output value of the machine learning model 221 and the correct value of the evaluation data Di with respect to the input value of 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 for finding a value indicating how much the output value of the machine learning model 221 satisfies the benchmark with respect to the input of the evaluation data Di.

[0075] It should be noted that, when there are a plurality of evaluation data, the evaluation unit 212 obtains an evaluation value for each evaluation data, and sends a statistical value of the plurality of evaluation values ​​to the server 1. The statistical method of the evaluation values ​​of the plurality of evaluation data may be, for example, a method of obtaining any value such as an average value, a median value, and a standard deviation value, and is not limited to a specific method.

[0076] The model management unit 213 manages the machine learning model 221. When the model management unit 213 receives the statistical value of the evaluation value of the random number seed from the server 1, it updates the machine learning model 221 based on the statistical value of the evaluation value. The updating method of the machine learning model 221 of the model management unit 213 is the same as that of the model management unit 113.

[0077] The memory 22 stores a machine learning model 221 and a parameter 222. In the first embodiment, the machine learning model 221 is the same model as the machine learning model 121. The same machine learning model in this specification means that the algorithm, dimension, and parameter values ​​used are the same. The parameter 222 is the value of the parameter currently applied to the machine learning model 221.

[0078] The auxiliary storage device 23 stores evaluation data 231. The evaluation data 231 is data acquired by the client 2 through 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 the learning of a general machine learning model.

[0079] It should be noted that Figure 2 The hardware structure and functional structure of the server 1 and the client 2 shown are examples, and the server 1 and the client 2 are not limited to Figure 2The client 2, for example, is a smart phone and includes a touch panel display, a microphone, a speaker, a GPS (Global Positioning System) receiver, a camera, and other various sensors.

[0080] <Processing Flow>

[0081] Figure 3 1 is a diagram showing an example of a sequence of processes in the joint learning system 100. Figure 3 In order to simplify the description, only the server 1 and one client 2 are shown. However, the other clients 2 also perform the same operation.

[0082] In S1, the random number seed generation unit 111 of the server 1 obtains a random number seed. In S2, the random number seed generation unit 111 of the server 1 sends a random number seed to each client 2. In S3, the random number generation unit 211 of the client 2 generates a pseudo-random number based on the random number seed received from the server 1. In S4, the evaluation unit 212 of the client 2 obtains the value of a parameter using the pseudo-random number generated based on the random number seed received from the server 1, and calculates the evaluation value of the machine learning model 221 when the value of the parameter is applied. In S5, the evaluation unit 212 of the client 2 sends the evaluation value of the random number seed to the server 1. Thus, the server 1 receives the evaluation value of each client 2 regarding the random number seed sent in S2 from each client 2.

[0083] In S6, the statistics unit 112 of the server 1 counts the evaluation values ​​of each client 2 regarding the random number seed sent in S2. In S7, the statistics unit 112 of the server 1 sends the statistics of the evaluation values ​​of each client 2 regarding the random number seed sent in S2 to each client 2.

[0084] In S8, the model management unit 113 of the server 1 and the model management unit 213 of each client 2 perform model update processing. In the first embodiment, the model update processing is common in the model management unit 113 of the server 1 and the model management unit 213 of each client 2, so the processing of the model management unit 213 of the client 2 is used as an example for description. In OP81, the model management unit 213 determines whether the statistical value of the evaluation value received from the server 1 is improved compared with the statistical value of the evaluation value of the random number seed corresponding to the value of the parameter currently applied to the machine learning model 221. It should be noted that the evaluation value of the random number seed corresponding to the value of the parameter currently applied to the machine learning model 221 can be maintained by the client 2 or sent by the server 1 to each client 2 in S7. It should be noted that, with respect to the random number seed, if the larger the evaluation value, the higher the evaluation of the machine learning model when the random number seed is used, if the statistical value of the evaluation value received from the server 1 also becomes larger, it means that it has been improved. It should be noted that regarding the random number seed, if a smaller evaluation value indicates a higher evaluation of the machine learning model when the random number seed is used, then if the statistical value of the evaluation value received from server 1 also decreases, it indicates improvement.

[0085] When the statistics of the evaluation values ​​received from the server 1 are improved (OP81: Yes), the processing enters OP82. In OP82, the model management unit 213 of the client 2 applies the parameters obtained based on the random number seed received from the server 1 in S2 to update the machine learning model 221. In addition, the model management unit 213 rewrites the parameters 222 with the parameters obtained based on the random number seed received from the server 1 in S2 and saves them. When the statistics of the evaluation values ​​received from the server 1 are not improved (OP81: No), the model management unit 213 does not update the machine learning model 221. It should be noted that Figure 3 The model updating process of S8 shown is an example, and the model updating process is not limited to Figure 3 Processing shown.

[0086] The first learning of the machine learning model in the joint learning system 100 is performed, for example, by performing Figure 3 The processing shown in the figure is terminated by the statistical value of the evaluation value of the random number seed becoming above or below a predetermined threshold. In addition, each client 2 uses different evaluation data during the next learning. In addition, the set of random number seeds used during the next learning may also use a different set of random number seeds.

[0087] <Effects of the First Embodiment>

[0088] In the first embodiment, when the learning of the machine learning model is performed in a distributed manner in multiple devices, for example, the data flowing between the server 1 and each client 2 is a random number seed, an evaluation value for the random number seed, and a statistical value of the evaluation value. These data are all of a few bytes in size. In previous joint learning, the machine learning model itself or the parameters of the machine learning model flowed between the server and the client. These sizes are in megabytes or gigabytes. Therefore, according to the joint learning system 100 of the first embodiment, when the learning of the machine learning model is performed in a distributed manner in multiple devices, the amount of communication data flowing between the server 1 and each client 2 and the communication load of the server 1 and each client 2 can be reduced. Thus, for example, even if a part of the clients 2 is in an area where only a low communication speed can be ensured, or there is a difference in communication speed between the clients 2, the time spent on learning the machine learning model in the joint learning system 100 can be shortened without being affected by it. Thus, the machine learning model can also be learned for data in areas with communication difficulties such as disaster areas and digital divides. Furthermore, since the transmitted data (random number seed, evaluation value related to the random number seed, and statistical value of the evaluation value) is not processed by compression or the like, the processing load caused by data transmission can be suppressed in the server 1 and each client 2 .

[0089] In the first embodiment, it is difficult to restore the evaluation data held by each client 2 based on the random number seed, the evaluation value related to the random number seed, and the statistical value of the evaluation value flowing between the server 1 and each client 2. Therefore, according to the joint learning system 100 of the first embodiment, privacy protection can be further strengthened.

[0090] <Second Embodiment>

[0091] The joint learning system according to the second embodiment is a system that does not include a server and is composed only of the client 2 . Figure 4 It is a diagram showing an example of the system structure of the joint learning system 100B of the second embodiment. The joint learning system 100B includes a plurality of clients 2. In the joint learning system 100B, one of the plurality of clients 2 performs processing such as generation of random number seeds and statistics of evaluation values, similar to the server 1 of the first embodiment. It should be noted that the client 2 that plays the role of the server 1 may be changed each time learning is performed. The method for 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".

[0092] <Other Modifications>

[0093] The above-described embodiment is merely an example, and the present disclosure can be implemented with appropriate changes without departing from the gist of the disclosure.

[0094] In the first embodiment, the description is made on the premise that there is one random number seed sent from the server 1 to each client 2. This is not limiting, and there may be multiple random number seeds sent from the server 1 to each client 2. In this case, each client 2 obtains evaluation values ​​for each of the multiple random number seeds received from the server 1, and sends them to the server 1. The server 1 obtains the statistical value of the evaluation values ​​from each client 2 for each of the multiple random number seeds. The server 1 sends to each client 2 a random number seed having the best statistical value of the evaluation values ​​among the multiple random number seeds and the statistical value of the evaluation values ​​of the random number seed. For example, the server 1 and each client 2 may also use the statistical value of the best evaluation value among the multiple random number seeds to perform a model update process in the same manner as in the first embodiment (see Figure 3 S8).

[0095] In the first embodiment, the description is based on the premise that a random number seed is sent from the server 1 to each client 2. This is not limited to this, and in addition to the random number seed, supplementary information may be sent from the server 1 to each client 2. The supplementary information is information that specifies a pseudo-random number used to obtain a parameter. For example, the supplementary information is information that specifies a pseudo-random number obtained by repeating the generation of pseudo-random numbers 100 times starting from the random number seed sent together. Even in the case where the parameter generation information is information other than the random number seed, the parameter generation information and the supplementary information are sent from the server 1 to each client 2. It should be noted that the supplementary information is also text data, and its size is about several bytes.

[0096] In the first embodiment, the description is based on the premise that the server 1 and the multiple clients 2 have the same machine learning model and the same parameters. This is not limited to the above, and the server 1 and the multiple clients 2 may also 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 they each have. In addition, the algorithm for generating pseudo-random numbers may also be different in the server 1 and each of the multiple clients 2.

[0097] In the first embodiment, the server 1 is described on the premise that it sends the same random number seed to multiple clients 2. This is not limited to this, and the server 1 may also send a different random number seed to each client 2. For example, when executing 1 Figure 3In the case of the processing shown, the server 1 may also perform statistics on each of the multiple random number seeds sent to each client 2, together with the evaluation values ​​collected from the client 2 so far, each time an evaluation value is received from each client 2, and send the random number seed with the best statistical value at that time point and its statistical 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 statistical value at that time point and the statistical value.

[0098] In addition, they can also be merged, where the server 1 and multiple clients 2 have different machine learning models, and the server 1 sends a different random number seed to each client 2.

[0099] The processes and components described in the present disclosure can be freely combined and implemented as long as no technical contradiction occurs.

[0100] In addition, 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, it is possible to flexibly change which hardware structure (server structure) implements each function.

[0101] The present disclosure can also be implemented in the following manner: a computer program having the functions described in the above embodiments is supplied to a computer, and one or more processors of the computer read and execute the program. Such a computer program can be provided to the computer by a non-temporary computer-readable storage medium that can be connected to the system bus of the computer, or provided to the computer via a network. Non-temporary computer-readable storage media include, for example, any type of disk (floppy disk (registered trademark), hard disk drive (HDD)), optical disk (CD-ROM, DVD disk, Blu-ray disk, etc.), read-only memory (ROM), random access memory (RAM), EPROM, EEPROM, magnetic card, flash memory, optical card, and any type of medium suitable for storing electronic instructions.

Claims

1. A method, wherein: The first information processing device sends first information for obtaining a value of a parameter of a machine learning model to a plurality of second information processing devices. The plurality of second information processing devices obtain 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, The plurality of second information processing devices transmit the evaluation value to the first information processing device, The first information processing device performs statistics on the plurality of evaluation values ​​received from the plurality of second information processing devices, The first information processing device sends the statistical results 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 update the machine learning model based on statistical results of the evaluation values.

2. The method according to claim 1, wherein: The first information is a predetermined number of character strings.

3. The method according to claim 1 or 2, wherein: The first information processing device and the plurality of second information processing devices set parameters obtained based on the first information having the best statistical result of the evaluation value among the plurality of first information, and update the machine learning model.

4. An information processing device, wherein: The information processing device includes a control unit that performs the following operations: Sending first information for obtaining values ​​of parameters 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; Performing statistics on the plurality of evaluation values ​​received from the plurality of information processing devices; sending statistical results of the evaluation values ​​to the plurality of information processing devices; as well as Based on the statistical results of the evaluation values, the machine learning model is updated.

5. An information processing device, wherein: The information processing device includes a control unit that performs the following operations: receiving, from a first information processing device, first information for obtaining a value of a parameter of a machine learning model; 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; sending the evaluation value to the first information processing device; receiving, from the first information processing device, statistical results of a plurality of evaluation values ​​obtained by a plurality of information processing devices that have received the first information; as well as Based on the statistical results of the evaluation values, the machine learning model is updated.

Citation Information

Patent Citations

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

    JP2022136234A

  • Communication Efficient Federated Learning

    US20200242514A1