Model learning method, model learning system, and computer program

The method addresses data security concerns in distributed deep learning by using local data for model updates and performance evaluation, enhancing training efficiency and accuracy while protecting sensitive information.

JP7561005B2Active Publication Date: 2024-10-03JSOL
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2020186618
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-11-09
Publication Date
2024-10-03
Estimated Expiration
2040-11-09

AI Technical Summary

Technical Problem

Existing deep learning methods using distributed processing face challenges in aggregating sensitive data such as personal information in fields like medicine and finance, requiring consent and posing security risks due to data management.

Method used

A model learning method that distributes global model data to multiple nodes for local learning, updates the global model based on local data, and associates performance evaluation values with update information, allowing secure and efficient model training without transmitting sensitive data.

Benefits of technology

Enables secure and efficient model training by utilizing local data for learning, providing performance evaluation and update history visualization, enabling selection of optimal models and improving accuracy without exposing sensitive data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007561005000001
    Figure 0007561005000001
  • Figure 0007561005000002
    Figure 0007561005000002
  • Figure 0007561005000003
    Figure 0007561005000003
Patent Text Reader

Abstract

To provide a model learning method, a model learning system, and a computer program.SOLUTION: A model learning method includes: distributing data of a global model stored in a server to a plurality of nodes; acquiring data of local models learned based on the global model with local data processed in the nodes; updating the data of the global model on the basis of the data of learned local models acquired from the nodes; storing the data of the updated global model in association with update information corresponding to the number of updates; calculating a performance evaluation value of the global model; storing the calculated performance evaluation value in association with the update information of the global model; receiving a request for referring to the global model with a designation of the update information of the global model; and outputting the data of the global model and the performance evaluation value associated with the designated update information.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a model learning method, a model learning system, and a computer program for practical application of distributed learning. [Background technology]

[0002] Judgment, recognition, etc. using learning models based on deep learning have been put to practical use. It has been confirmed that learning models can be used in a variety of technical fields. Even if a huge amount of training data is used to improve the accuracy of the learning models to a level that can be used in various fields, it takes a long time for the parameters to converge, and the accuracy is not necessarily improved.

[0003] Patent Document 1 discloses a method in which multiple replicas of a learning model to be learned are prepared, and the multiple model replicas learn independently and asynchronously. In Patent Document 1, a parameter server is fragmented into multiple parts, and the multiple replicas of the learning model each asynchronously acquire parameters from the fragmented parameter servers, learn, and return the parameters to each parameter server, repeating this process. It is said that such distributed processing allows the parameters of the learning model to converge quickly. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] U.S. Patent No. 8,768,870 Summary of the Invention [Problem to be solved by the invention]

[0005] Even in the deep learning method using distributed processing as disclosed in Patent Document 1, training data is aggregated. However, data in fields such as medicine, finance, and authentication is personal data and is highly confidential. In order to aggregate data as training data to improve the accuracy of the model, each individual's consent is required to provide the data, and even if consent is obtained, there is always a risk to the security of data management.

[0006] The present invention has been made in consideration of the above circumstances, and has an object to provide a model learning method, a model learning system, and a computer program that promote practical application of a learning model based on distributed learning. [Means for solving the problem]

[0007] A model learning method according to an embodiment of the present disclosure includes processes of distributing global model data stored in a server to a plurality of nodes, acquiring local model data learned based on the global model by local data processed by the plurality of nodes, updating the global model data based on the learned local model data acquired from each of the plurality of nodes, storing the updated global model data in association with update information corresponding to the number of updates, calculating a performance evaluation value of the global model, storing the calculated performance evaluation value in association with the update information of the global model, accepting a reference request for the global model together with specification of the update information of the global model, and outputting the global model data and performance evaluation value associated with the specified update information.

[0008] A model learning system according to an embodiment of the present disclosure includes a plurality of nodes each processing local data, and a server connected to communication with the plurality of nodes, wherein the server distributes global model data to the plurality of nodes, and each of the plurality of nodes progresses learning of a local model from the global model using the local data to be processed, and a processing unit provided in the server acquires learned data of the local model from the plurality of nodes, updates the global model data based on the learned local model data acquired from each of the plurality of nodes, stores the updated global model data in association with update information corresponding to the number of updates, calculates a performance evaluation value of the global model, stores the calculated performance evaluation value in association with the update information of the global model, accepts a reference request for the global model together with specification of the update information of the global model, and outputs the global model data and performance evaluation value associated with the specified update information.

[0009] A computer program according to an embodiment of the present disclosure causes a computer capable of communication with a plurality of nodes to execute a process of distributing stored global model data to the plurality of nodes, acquiring local model data learned at each of the plurality of nodes, updating the global model data based on the learned local model data acquired from each of the plurality of nodes, storing the updated global model data in association with update information corresponding to the number of updates, calculating a performance evaluation value of the global model, storing the calculated performance evaluation value in association with the update information of the global model, accepting a reference request for the global model together with specification of the update information of the global model, and outputting the global model data and performance evaluation value associated with the specified update information.

[0010] A computer program according to an embodiment of the present disclosure causes a computer that is communicatively connected to a server to execute a process of learning a local model using local data to be processed based on a global model distributed from the server, transmitting data of the learned local model to the server, receiving screen data from the server including a list of updated global models associated with different update information, displaying the list on a display unit provided in the computer based on the received screen data, accepting designation of any one of the update information in the list, and acquiring and displaying a performance evaluation value of the global model corresponding to the designated update information from the server.

[0011] In the model learning method, model learning system, and computer program disclosed herein, when a global model is updated, the model data and the performance evaluation value at each stage are stored as history in association with update information corresponding to the number of updates. The data of the global model is acquired from a node or another information processing device together with the performance evaluation value, and a list can be displayed.

[0012] In a model learning method according to an embodiment of the present disclosure, the server repeats multiple rounds of distributing global model data, acquiring local model data, and updating the global model data, and each time the global model data is updated, stores the global model data and a performance evaluation value in association with update information.

[0013] During the update process, which involves multiple rounds of global model data distribution, global model data distribution, local model data acquisition, and global model data update, the global model data and performance evaluation values ​​are stored in association with different update information. This makes it possible to trace back to past models in the update history and visualize a comparison of performance with the past models.

[0014] In the model learning method according to an embodiment of the present disclosure, the server, in response to the reference request, creates and outputs screen data indicating the performance of the global model based on the performance evaluation value.

[0015] The performance evaluation of the global model is visualized as screen data. The operator can check the update process and decide to select a model, change the update method, stop the update, etc.

[0016] In the model learning method according to an embodiment of the present disclosure, the server receives a designation of the number of updates to the data of the global model and an instruction to stop updating the data of the global model.

[0017] The performance evaluation value of the model being updated can be output, and data on the global model at each stage is stored and can be obtained from the node or other information processing device. The number of updates can be specified with reference to the performance evaluation value, and an instruction to stop updating can be accepted. Distributed learning can be appropriately carried out according to changes in the performance evaluation value.

[0018] In one embodiment of the model learning method of the present disclosure, the server acquires an evaluation value of the accuracy of the global model calculated based on local data from each of the multiple nodes, and calculates a performance evaluation value of the global model based on the evaluation value.

[0019] The performance evaluation value may be calculated based on the accuracy using the local data at each node. The performance evaluation value of the global model may be an average of the accuracy calculated at each node, or may be a weighted average based on the amount of local data. The distribution of the data of the global model, the learning of the local model, and the updating of the data of the global model based on the learned local model may be repeated until the accuracy at each node reaches a level that is practical.

[0020] A model learning method according to an embodiment of the present disclosure accepts selection of a global model to be redistributed, and redistributes data of the selected global model to the multiple nodes regardless of the progress of learning.

[0021] It is possible to select one of the models in the update history. The operator can compare the performance evaluation values ​​and then select the model to be redistributed, i.e., to proceed with learning.

[0022] In a model learning method of one embodiment of the present disclosure, the multiple nodes store data of the local model in association with update information, calculate an evaluation value of the local model, and store the calculated evaluation value in association with the update information of the local model.

[0023] The performance history of the local model itself trained at each node is also aggregated on the server. By making the performance and history of the local model aggregated from each node available for viewing on the server, the operator can select the nodes to participate in distributed learning.

[0024] A model learning method of one embodiment of the present disclosure causes the multiple nodes to store the amount of local data used in learning the local model or characteristics of the local data in association with update information of the local model, and the server acquires the amount of data or characteristics of the data from the multiple nodes in association with the data of the local model.

[0025] The amount of data, the amount of learning, or the characteristics of the data used for learning of the local models used to update the global model are aggregated in the server. It becomes possible to select which local model to use for updating the data of the global model according to the characteristics of the local model. Effect of the Invention

[0026] According to the model learning method, the model learning system, and the computer program of the present disclosure, the performance evaluation value of the model is visualized and can be confirmed by an operator. It is also possible to compare the performance with a model in the process of being updated, select a model that is expected to have higher performance, and proceed with learning. [Brief description of the drawings]

[0027] [Figure 1] FIG. 1 is a schematic diagram of a model learning system according to a first embodiment. [Diagram 2] FIG. 2 is a block diagram showing a configuration of a node. [Diagram 3] FIG. 2 is a block diagram showing a configuration of a server. [Figure 4] FIG. 2 is a block diagram showing the configuration of a monitor. [Diagram 5] 13 is a flowchart showing an example of a learning process procedure in the model learning system. [Figure 6] 13 is a flowchart illustrating an example of a learning process procedure for a local model based on a distributed global model. [Figure 7] 13 is a flowchart illustrating an example of a global model update process in the server. [Figure 8] 13 is a flowchart showing an example of a reference processing procedure in a learning process. [Figure 9] 13 shows an example of an update history screen for a global model. [Figure 10] An example of an individual performance screen that visualizes the individual performance of a global model is shown. [Figure 11] 13 is a flowchart showing an example of a learning process procedure in the model learning system of the second embodiment. [Figure 12] 13 is a flowchart showing an example of a learning process procedure in the model learning system of the second embodiment. [Figure 13] 13 shows another example of an individual performance screen in which the individual performance of a global model is visualized. [Figure 14] 13 shows an example of a detailed screen of an evaluation value. [Figure 15]13 shows an example of a learning condition editing screen. [Figure 16] FIG. 11 is a schematic diagram of model learning according to the second embodiment. [Figure 17] 13 is a flowchart illustrating an example of a learning process procedure for a local model of a node in the third embodiment. [Figure 18] 13 is a flowchart illustrating an example of a global model update process according to the third embodiment. [Figure 19] The performance history screen of the local model is shown. [Figure 20] 13 is a flowchart illustrating an example of a learning process procedure for a local model according to the fourth embodiment. [Figure 21] 13 is a flowchart illustrating an example of a global model update process according to the fourth embodiment. [Figure 22] The screen for editing the weight of each node is shown. [Diagram 23] 13 shows an example of an individual performance screen in which individual performance of a global model is visualized in the fourth embodiment. [Figure 24] FIG. 13 is a schematic diagram of a model learning system according to a fifth embodiment. [Diagram 25] 13 is a flowchart showing an example of a learning process procedure in the model learning system of the fifth embodiment. [Figure 26] 13 is a flowchart illustrating an example of a learning process procedure for a local model in the fifth embodiment. [Figure 27] 13 is a flowchart illustrating an example of a global model update process according to the fifth embodiment. [Figure 28] 13 shows a weight editing screen in the fifth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0028] The present disclosure will be specifically described with reference to the drawings showing the embodiments thereof.

[0029] (First embodiment) 1 is a schematic diagram of a model learning system 100 according to a first embodiment. The model learning system 100 includes one or more nodes 1 provided for a storage device 2 that stores data, a server 3, and a communication network N that connects the node 1 and the server 3 for communication.

[0030] The storage device 2 is capable of inputting and outputting data between devices that input and output data to be learned, such as a sensor that measures physical quantities and a camera that captures images, and stores the data. The storage device 2 may be connected to a computer for a specific purpose that outputs data according to data input by an operation. The storage device 2 may be a storage device of an information terminal used by a user. The storage device 2 may be a storage device used in a server device that collects data from client devices.

[0031] When the node 1 receives input of data of the same type as the data stored in the storage device 2, the node 1 executes deep learning of the model so as to output a recognition result, a judgment result, or new data based on the data. The server 3 is a computer that provides the node 1 with a model, and also realizes a model learning system 100 that learns the model in cooperation with the node 1. In order to execute model learning using the data stored in the storage device 2 (hereinafter referred to as local data) as training data, it is necessary to be able to access these. The model learning system 100 of this embodiment can proceed with learning in a state in which access to the local data from the server 3 is disabled.

[0032] The server 3 initially obtains a zeroth order global model 51. The server 3 distributes the zeroth order global model 51 to the node 1 via the communication network N. The entity (data) of the global model 51 distributed from the server 3 to the node 1 is only trained parameters, or both trained parameters and a program. The global model 51 may be definition data (including a network definition, loss, and pre-set hyperparameters) that defines the configuration of the model, and parameters such as weight coefficients to be trained.

[0033] The model to be trained can have any architecture as long as it is the subject of learning called deep learning. The type of deep learning model should be appropriately selected according to the contents of the input data and output data. The model to be trained described below may be any of a classification system, detection system, or generation system using a CNN (Convolutional Neural Network) including a convolutional layer, or may be an RNN (Recurrent Neural Network) that learns by adding time series elements.

[0034] The communication network N includes a public communication network, which is the so-called Internet, and a carrier network. The communication network N may be a dedicated line for the model learning system 100.

[0035] Node 1 can access local data stored in storage device 2 based on a local network LN between node 1 and storage device 2. Node 1 executes deep learning using the accessible local data. It is preferable that an operator at the location where node 1 is installed has already performed annotation on the local data. Node 1 obtains a zeroth global model 51 distributed from server 3. Based on the zeroth global model 51, node 1 proceeds with learning using local data as training data to obtain a first local model 52.

[0036] The node 1 transmits the first local model 52 to the server 3. Since the local data is not transmitted to the server 3, processing such as abstraction and anonymization of the local data is not required.

[0037] The server 3 receives a plurality of first local models 52 from each of the plurality of nodes 1, and executes statistical processing on the received plurality of first local models 52 to create a first global model 51. The server 3 redistributes the first global model 51 to the plurality of nodes 1. The redistributed global model 51 may include only a weighting coefficient. The redistributed weighting coefficient may be a learning target or may be the entire weighting coefficient. The redistributed global model 51 may correspond to a difference from the previous update.

[0038] The model learning system 100 repeats the following steps: distributing the nth order global model 51 from the server 3 to the node 1, learning the nth order global model 51 using local data at the node 1, transmitting the (n+1)th order local model 52 obtained by learning to the server 3, collecting the (n+1)th order local model 52 at the server 3, and creating (updating) the (n+1)th order global model 51.

[0039] This enables distributed learning without allowing access to local data from the server 3. In the model learning system 100, the learning process in which distribution of the global model 51 and learning of the local model 52 are repeated can be confirmed from the monitor 4. It is preferable that the process can be confirmed not only by the monitor 4 but also by the operator of the node 1. In the model learning system 100, the operator can interrupt learning and select an appropriate global model 51 from the monitor 4.

[0040] The server 3 may accept communication connections to the monitor 4 only from within the same local network (on-premise type), or may accept communication connections from the monitor 4 via the communication network N, which is a public communication network, as shown in Figure 1 (cloud type).

[0041] The global model 51, which has been trained through distributed learning to an accuracy that allows it to be distributed to devices other than node 1, is distributed and used not only to each node 1 but also to information processing devices 6 outside the system that do not participate in the creation of the local model 52.

[0042] The configuration of model learning system 100 that realizes such a learning method will now be described in detail.

[0043] 2 is a block diagram showing the configuration of the node 1. The node 1 is a personal computer or a server computer. The node 1 includes a processing unit 10, a storage unit 11, a communication unit 12, a display unit 13, and an operation unit .

[0044] The processing unit 10 is a processor using a CPU (Central Processing Unit) and / or a GPU (Graphics Processing Unit). Based on a node program 1P stored in a storage unit 11, the processing unit 10 executes processes including reading data from the storage device 2, transmitting and receiving models to and from the server 3, and learning models.

[0045] The storage unit 11 uses a non-volatile memory such as a hard disk, a flash memory, or an SSD (Solid State Drive). The storage unit 11 stores data referenced by the processing unit 10. The storage unit 11 stores a node program 1P. The storage unit 11 stores a library 1L for deep learning. The node program 1P and / or the library 1L for deep learning may be a node program 8P and / or a library 8L for deep learning stored in a recording medium 8 that is read by the processing unit 10 and copied to the storage unit 11. The storage unit 11 stores a global model 51 acquired from the server 3 and a local model 52 that is learned using local data.

[0046] The communication unit 12 realizes data communication via the communication network N and communication with the storage device 2 via the local network LN. Specifically, the communication unit 12 is, for example, a network card. The processing unit 10 reads data from the storage device 2 through the communication unit 12 and transmits and receives the data to and from the server 3.

[0047] The display unit 13 is a display such as a liquid crystal display, an organic EL (Electro Luminescence) display, etc. The display unit 13 displays a screen including information based on data stored in the storage unit 11 or data provided from the server 3. The display unit 13 may be a display with a built-in touch panel.

[0048] The operation unit 14 is a user interface such as a keyboard and a pointing device capable of inputting and outputting data to and from the processing unit 10. The operation unit 14 may be a voice input unit. The operation unit 14 may be a touch panel of the display unit 13. The operation unit 14 may be physical buttons. The operation unit 14 notifies the processing unit 10 of operation data by an operator of the node 1.

[0049] 3 is a block diagram showing the configuration of the server 3. The server 3 is a server computer. The server 3 includes a processing unit 30, a storage unit 31, and a communication unit 32. In the following description, the server 3 is described as being configured by one server computer, but it may be configured in a manner in which a plurality of server computers are communicatively connected via a network for distributed processing. The server 3 may be a cloud type that can be communicatively connected from each node 1 via a communication network N, or may be an on-premise type that is communicatively connected to each node 1 via a virtual private network.

[0050] The processing unit 30 is a processor using a CPU and / or a GPU. The processing unit 30 executes a learning process of the global model 51 based on a server program 3P stored in the storage unit 31.

[0051] The storage unit 31 uses a non-volatile memory such as a hard disk or SSD. The storage unit 31 stores data referenced by the processing unit 30. The storage unit 31 stores a server program 3P. The server program 3P includes a Web server program. The storage unit 31 stores a global model 51 and a local model 52 transmitted from multiple nodes 1. The server program 3P may be a server program 9P stored in a recording medium 9 that is read by the processing unit 30 and copied to the storage unit 31.

[0052] The communication unit 32 realizes data communication via the communication network N. Specifically, the communication unit 32 is, for example, a network card. The processing unit 30 transmits and receives data to and from the multiple nodes 1 via the communication unit 32.

[0053] 4 is a block diagram showing the configuration of the monitor 4. The monitor 4 is a personal computer. The monitor 4 may be a tablet terminal or a smartphone. The monitor 4 includes a processing unit 40, a storage unit 41, a communication unit 42, a display unit 43, and an operation unit 44.

[0054] The processing unit 40 is a processor using a CPU and / or a GPU. The processing unit 40 executes a process of displaying information provided from the server 3 on the display unit 43 based on a Web browser program stored in the storage unit 41.

[0055] The storage unit 41 uses a non-volatile memory such as a hard disk, a flash memory, or an SSD (Solid State Drive). The storage unit 41 stores data referenced by the processing unit 40. The storage unit 41 stores various programs including a Web browser program.

[0056] The communication unit 42 realizes communication via the communication network N. Specifically, the communication unit 42 is, for example, a network card. The processing unit 40 transmits and receives data to and from the server 3 via the communication unit 42.

[0057] The display unit 43 is a display such as a liquid crystal display, an organic EL display, etc. The display unit 43 displays a screen including data provided from the server 3. The display unit 43 may be a display with a built-in touch panel.

[0058] The operation unit 44 is a user interface such as a keyboard and a pointing device capable of inputting and outputting data to and from the processing unit 40. The operation unit 44 may be a voice input unit. The operation unit 44 may be a touch panel of the display unit 43. The operation unit 44 may be physical buttons. The operation unit 44 notifies the processing unit 40 of operation data by the operator of the node 1.

[0059] A description will be given of a learning process procedure in the model learning system 100 configured as above.

[0060] The server 3 acquires an initial (0th order) global model 51 prepared in advance (step S1). The initial global model 51 may be a model created as a 0th order model at a specific node 1, or may be a model learned at a specific location other than the node 1, and may be stored in advance in the storage unit 31. The acquisition in step S1 includes reading out the global model 51 stored in advance in the storage unit 31.

[0061] The server 3 distributes the acquired 0th order global model 51 to the node 1 (step S2).

[0062] The server 3 acquires a local model 52 to be learned by the node 1 based on the global model 51 distributed to the node 1 (step S3).

[0063] The server 3 executes statistical processing on the acquired local model 52, and updates it to the next-generation global model 51 (step S4). In step S4, the server 3 may increment and store the number of updates (rounds).

[0064] The server 3 calculates a performance evaluation value for the updated global model 51 (step S5). In step S5, the server 3 may calculate, as an evaluation value, the accuracy with which corresponding output data is output when input data is input to the updated global model 51 for a specific node 1 or information processing device 6. The performance evaluation value may be calculated using evaluation values ​​from each node 1, as described below.

[0065] The server 3 stores the calculated performance evaluation value in the storage unit 31 in association with round information corresponding to the number of updates (rounds) (step S6). The round information may be not only the number of updates but also date and time, etc. The server 3 may omit the processes of steps S5 and S6 in the first several rounds from the 0th round.

[0066] The server 3 determines whether the updated global model 51 satisfies the learning completion condition (step S7).

[0067] In step S7, the server 3 determines whether the number of updates has reached a predetermined number, for example. The server 3 may determine that the learning completion condition is satisfied when the performance evaluation value calculated in step S5 meets a pre-stored reference value. The server 3 may determine that the learning completion condition is satisfied when it is determined in step S7 that the performance evaluation value has not improved compared to before the update.

[0068] If it is determined that the learning completion condition is not satisfied (S7: NO), the server 3 redistributes the updated global model 51 to the multiple nodes 1 (step S8), and returns the process to step S3.

[0069] In step S8, the server 3 may redistribute only parameters such as weighting coefficients, rather than redistributing the global model 51 as is.

[0070] In step S8, the server 3 may also transmit data indicating how many times the global model 51 has been updated, i.e., "n" of the nth global model 51. In step S8, the server 3 may also transmit the round information stored in step S6 in association with the global model 51. As described above, the round information is information indicating the number of times distribution to the nodes 1 and statistical processing were performed until it is determined in step S7 that the learning completion condition is satisfied. The server 3 may also transmit data indicating the type of global model 51, for example, the type of architecture that was used for deep learning.

[0071] If it is determined that the learning completion condition is met (S7: YES), the server 3 stores the updated global model 51 in association with version information as a global model 51 that can be distributed to devices other than the node 1 (step S9). The version information corresponds to the number of times that learning of the local model 52 and updating of the global model 51 were performed until it was determined in step S7 that the learning completion condition is met. The version information may include round information as minor information.

[0072] The server 3 transmits the stored global model 51 to the multiple nodes 1 or other information processing devices 6 (step S10), and ends the process. The other information processing devices 6 are devices that use the same type of data as the learning target, like the node 1, but do not provide local data for training (see FIG. 1).

[0073] The server 3 executes the processing procedure shown in the flowchart of Fig. 5 periodically, for example, once a month. Each time, the version of the global model is upgraded, making it a more practical model.

[0074] Fig. 6 is a flowchart showing an example of a learning process procedure for the local model 52 based on the distributed global model 51. The process shown in the flowchart in Fig. 6 is executed by each of the multiple nodes 1 when the server 3 distributes the global model 51 in step S2 or step S8.

[0075] The processing unit 10 of the node 1 receives the distributed global model 51 and stores it in the storage unit 11 (step S301).

[0076] The processing unit 10 of the node 1 loads the stored global model 51 as an instance (step S302). The processing unit 10 acquires the local data stored in the storage device 2 as training data (step S303), and provides this to the global model 51 to execute learning (step S304).

[0077] In step S304, the processing unit 10 inputs the input data of the local data to the loaded global model 51. The processing unit 10 calculates losses for the output data and the result data corresponding to the input data included in the local data. The processing unit 10 learns parameters including weight coefficients in the distributed global model 51 based on the calculated losses.

[0078] The processing unit 10 of the node 1 determines whether or not the learning completion condition is satisfied (step S305). In step S305, the processing unit 10 sets the learning completion condition to be that the number of learning (update) times satisfies a predetermined number (one or more). The processing unit 10 may determine that the learning completion condition is satisfied when the output accuracy of the global model 51 after learning is equal to or greater than a stored predetermined value. The processing unit 10 may determine that the learning completion condition is satisfied when the change in the output accuracy falls within a predetermined range and can be determined to have converged.

[0079] If it is determined that the learning completion condition is not satisfied (S305: NO), the processing unit 10 returns the process to step S304, whereby the learning is continued.

[0080] If it is determined that the learning completion condition is satisfied (S305: YES), the processing unit 10 ends the learning, and stores the global model 51 with updated parameters as the local model 52 (step S306).

[0081] The processing unit 10 of the node 1 transmits the stored local model 52 to the server 3 (step S307), and ends the process. This enables the server 3 to acquire the local model 52 trained with the local data from each of the multiple nodes 1.

[0082] In step S307, the processing unit 10 may also transmit data indicating "n" indicating whether the local model 52 is the nth order or whether the original global model 51 is the nth order. In step S307, when the node 1 obtains round information corresponding to the number of updates until one learning is completed as described later, the node 1 may transmit the round information in association with the local model 52.

[0083] It should be noted that the process shown in the flowchart of Figure 6 does not transmit local data from node 1 to server 3. No anonymization of the local data is performed. The data transmitted from node 1 is the model itself. The characteristics of the local data are reflected, but the data is not transmitted.

[0084] 7 is a flowchart showing an example of an update process of the global model 51 in the server 3. The process procedure shown in the flowchart of FIG.

[0085] The processing unit 30 of the server 3 acquires the local model 52 transmitted from the node 1 (step S401), and stores the local model 52 in association with the identification data of the node 1 (step S402). In step S401, the processing unit 30 of the server 3 acquires the local model 52 transmitted from each node 1 asynchronously.

[0086] The processing unit 30 determines whether the global model 51 should be updated with the acquired local model 52 (step S403). In step S403, the processing unit 30 may determine that the global model 51 should be updated if the local models 52 have been acquired from all of the nodes 1 to which the global model 51 has been distributed. In step S403, the processing unit 30 may determine that the global model 51 should be updated if the local models 52 have been acquired from a plurality of representative nodes 1 determined in advance.

[0087] If it is determined that the update is not necessary (S403: NO), the processing unit 30 of the server 3 returns the process to step S401. Until it is determined that the update is necessary, the local models 52 transmitted from each node 1 are acquired and aggregated.

[0088] If it is determined that an update is necessary (S403: YES), the processing unit 30 of the server 3 calculates an average of the local models 52 from the multiple nodes 1 (step S404). The processing unit 30 updates the average as a new global model 51 (step S405).

[0089] The processing unit 30 stores the updated global model 51 in association with round information, for example, data “n” indicating the number of updates (nth) (step S406), and ends the update process of the global model 51. As a result, the (n-1)th global model 51 is updated to the nth global model 51.

[0090] As described above, in the model learning system 100 of the first embodiment, the global model 51 is put to practical use based on the learning results using the local data stored in each location, without the local data being transmitted to the server 3. Even in cases where the amount of data is insufficient using only the local data from each location, it is possible to provide a model that is more accurate and can be put to practical use sooner than learning using a large amount of data aggregated in one location.

[0091] In the first embodiment, the server 3 stores the global model 51 in association with round information and version information during the process of learning (updating) and revising (upgrading) the global model 51. Therefore, the server 3 can provide information on the update process to the monitor 4 or the node 1 for each version and each round.

[0092] 8 is a flowchart showing an example of a reference process for the learning process. The server 3 provides information on the learning process in response to a reference request from the monitor 4 or the node 1, based on a Web server program included in the server program 3P, by the following process.

[0093] The monitor 4 or an operator of the node 1 attempts to access a web page provided by the server 3 based on a stored web browser program.

[0094] The processing unit 30 of the server 3 receives a connection request using its function as a Web server (step S601), and reads out a main (portal) Web page from the memory unit 31 according to the account information included in the request, and transmits the main (portal) Web page to the request source (step S602).

[0095] An account for accessing the server 3 is issued to each of the administrators of the monitor 4 and the node 1. The account includes an account ID, authentication information, and authority data. The server 3 stores the account data in the memory unit 31. The account for the administrator of the monitor 4 is associated with authority to specify the number of learning times, interrupt learning, and the like. The account for the administrator of the node 1 is associated with authority that does not affect the contents of the global model 51, such as viewing performance evaluation values ​​during the learning process.

[0096] The processing unit 30 receives the designation of the global model 51 transmitted from the monitor 4 or the node 1 (step S603), and transmits a Web page including a list of update histories of the designated global model 51 (step S604). As shown in the flowchart of Fig. 5, each time the global model 51 is updated, the global model 51 and its performance evaluation value are stored in association with round information and version information. Therefore, the processing unit 30 can create a list of update histories based on the stored data.

[0097] When the processing unit 30 receives a performance reference request including the specification of version information included in the list of update history (step S605), it creates a Web page including an image showing the performance of the global model 51 during the update process that was stored in association with the specified version information (step S606). The image showing the performance may include, for example, a graph showing the progress of the performance, the number of data items used for learning, etc.

[0098] The processing unit 30 outputs the created screen data to the monitor 4 or node 1 that originated the request (step S607), and ends the process.

[0099] 9 and 10 show examples of screens displayed on the monitor 4 or the node 1. FIG. 9 shows an example of an update history screen 430 of the global model 51. The update history screen 430 of FIG. 9 is displayed on the display unit 43 of the monitor 4. The update history screen 430 includes a list 432 showing performance evaluation values ​​and update dates and times in a table format in association with a version name corresponding to the version information of the global model 51. The text showing the version name in the list 432 includes a link to an individual page and is made selectable. When the text showing the version name is selected, the processing unit 10 of the node 1 accepts the specification of the version information. When the latest version of the global model 51 is being updated (rounded), an icon showing that the update is being performed is displayed next to the version name.

[0100] FIG. 10 shows an example of an individual performance screen 431 in which the individual performance of the global model 51 is visualized. The individual performance screen 431 in FIG. 10 is displayed when any version name text is selected from the list 432 of the update history screen 430 of the global model 51. FIG. 10 shows an example of the individual performance screen 431 when the version "ver4.0" is selected in FIG. 9. The individual performance screen 431 includes a graph 434 showing the transition of the performance evaluation value calculated for each update round of the global model 51 of the specified version information. The individual performance screen 431 includes a details screen 435 showing information such as the local model 52 used in learning the selected version of the global model 51, i.e., the number of nodes 1 that participated in the learning. The operator of the monitor 4 can check the learning (update) process of the global model 51 by the contents of the details screen 435 and the image 434 in which the transition of the performance is visualized.

[0101] In response to a reference request from an account that is authorized by the administrator of the monitor 4 to interrupt and terminate learning, an interface 433 for instructing to interrupt the update is displayed on the individual performance screen 431 as shown in FIG. 10. When the interface 433 is selected, the rounds up to the point where the learning completion condition is met are interrupted in the processing procedure shown in the flowchart of FIG. 5. It is preferable that a log of the interruption of the update is recorded. This allows the administrator of the monitor 4 to check the accuracy status of each round, and interrupt the learning if the model performance is not expected to improve further even if the update is continued.

[0102] For a reference request from an account of the administrator of the monitor 4 that has been given authority to select a global model, an interface for accepting selection of a global model to be redistributed may be displayed on the individual performance screen 431. When this interface is selected, the processing unit 30 interrupts the processing procedure shown in the flowchart of Fig. 5, redistributes the selected global model 51 in step S8, returns the processing to step S2, and continues the update processing.

[0103] In this way, in the first embodiment, the local model 52 is learned based on the local data, and as shown in Figures 9 and 10, the operator can visually check the learning process of the global model 51 from the monitor 4 or the node 1. As shown in Figures 9 and 10, if an operator has administrator authority for the monitor 4, the administrator can also stop the learning, i.e., the update of the global model.

[0104] Second embodiment The model learning system 100 in the second embodiment differs from the first embodiment in the judgment process for satisfying the learning completion condition. The configuration of the model learning system 100 in the second embodiment is the same as that of the model learning system 100 in the first embodiment except for the details of the judgment process described above, so the same reference numerals are used for the common configuration and detailed description is omitted.

[0105] Figures 11 and 12 are flowcharts showing an example of a learning process procedure in the model learning system 100 of the second embodiment. Among the process procedures shown in the flowcharts of Figures 11 and 12, the same step numbers are used for steps common to the process procedures shown in the flowchart of Figure 5, and detailed descriptions thereof will be omitted.

[0106] When the global model 51 is updated in step S4 (S4), the processing unit 30 of the server 3 transmits the updated global model 51 to the multiple nodes 1 (step S501).

[0107] Each of the multiple nodes 1 that have received the updated global model 51 reads local data from the storage device 2 using the transmitted global model 51, and performs accuracy evaluation on the input data. The processing unit 10 of the node 1 calculates the accuracy of the local data when the input data is input, and transmits it to the server 3. The processing unit 10 may calculate, as the accuracy, a matching rate between the input data in the local data and the output data corresponding to the input data, or may receive an accuracy evaluation from an operator of the node 1 via the display unit 13 and the operation unit 14.

[0108] The processing unit 30 of the server 3 acquires the evaluation value transmitted from each node 1 (step S502), and calculates a total evaluation value from the evaluation values ​​acquired from the multiple nodes 1 (step S503). In step S503, the processing unit 30 may calculate an average value of accuracy, an average of match rates, or an average of evaluations received from operators.

[0109] The processing unit 30 stores the evaluation value obtained from each node in step S502 for the updated global model 51 and the total evaluation value calculated in step S503 in association with the round information of the global model 51 (step S504).

[0110] The processing unit 30 transmits a Web page including an update history including the evaluation value and total evaluation value for the global model 51 stored for each round information to the monitor 4, and causes it to be output (step S505).

[0111] The processing unit 30 accepts the selection of the global model 51 to be redistributed based on the update history (step S506), and determines whether or not the selection of stopping learning has been accepted (step S507).

[0112] In step S507, the processing unit 30 includes an interface for ending learning in the Web page transmitted in step S505, and determines that the selection to stop learning has been accepted when "end" is selected in the interface for ending learning. The processing unit 30 may also include an interface for continuing learning in the same Web page, and determine that the selection to continue learning has been accepted when "continue learning" is selected.

[0113] If it is determined in step S507 that the selection to stop learning has not been accepted (S507: NO), it is determined whether or not there is a change in the learning conditions (step S508).

[0114] In step S508, the processing unit 30 includes an interface for accepting changes to the learning conditions in the Web page transmitted in step S505, and determines that there is a change to the learning conditions when the interface for changing the learning conditions is selected.

[0115] If it is determined that there is a change in the learning conditions (S508: YES), the processing unit 30 accepts the change in conditions (step S509). In step S509, the processing unit 30 may accept a change in the nodes participating in the learning of the local model 52, or a change in the number of updates of the local model 52, on a Web page described later. Changes in other conditions may also be accepted. The order of the processing procedures of steps S509 and S508 may be reversed, and the processing unit 30 may determine that there is a change in the learning conditions when a change is accepted.

[0116] The processing unit 30 redistributes the global model 51 corresponding to the round information selected in step S506 to the multiple nodes 1 based on the received changed learning conditions (step S510), and returns the process to step S3.

[0117] If it is determined in step S508 that the learning conditions have not changed (S508: NO), the processing unit 30 redistributes the global model 51 corresponding to the round information selected in step S506 to the node 1 to which it has been targeted for transmission up to this point (S510), and returns the process to step S3.

[0118] If it is determined in step S507 that the selection to stop learning has been accepted (S507: YES), the processing unit 30 stores the global model 51 selected in step S506 in association with the version information as a global model 51 that can be distributed to other devices (step S511).

[0119] The processing unit 30 transmits the stored global model 51 to a plurality of nodes or other information processing devices 6 (S10), and ends the process.

[0120] 13 to 15 are diagrams showing example screens displayed on the display unit 43 of the monitor 4. Fig. 13 shows another example of an individual performance screen 431 that visualizes the individual performance of the global model 51. The individual performance screen 431 in Fig. 13 is displayed when text of version information of the global model 51 being updated is selected from the update history screen 430 shown in Fig. 9.

[0121] As shown in FIG. 13, an individual performance screen 431 in the second embodiment includes a graph 434 showing the progress of the total evaluation value calculated for each update round of the global model 51 of the specified version information, on a graph showing the progress of the performance evaluation value, similar to FIG. 10 shown in the first embodiment.

[0122] The graph 434 includes marks 436 for selecting the number of rounds. A details screen 435 of the individual performance screen 431 shows the evaluation of the global model 51 for the number of rounds to which the mark 436 is attached, and the like.

[0123] The individual performance screen 431 includes an interface 437 for continuing learning thereafter. The interface 437 is, for example, a button icon as shown in Fig. 13. The operator on the monitor 4 selects the interface 437 for continuing learning for the round global model 51 selected with a mark 436 on the individual performance screen 431. In response to this operation, the processing unit 30 of the server 3 determines that there is no change in the learning conditions (S508: NO), distributes the selected global model 51 to the nodes (S510), and continues processing.

[0124] The individual performance screen 431 may allow the user to select the number of rounds in the details screen 435 instead of the mark 436 .

[0125] The individual performance screen 431 includes an interface 438 for stopping updates and terminating learning. The interface 438 is, for example, a button icon as shown in Fig. 13. The interface 438 may be linked text. The operator of the monitor 4 selects the interface 438 for terminating learning with the global model 51 selected with the mark 436 on the individual performance screen 431 based on the total evaluation value. In response to this operation, the processing unit 30 of the server 3 stores the selected global model 51 as a distributable global model 51 (S511).

[0126] The individual performance screen 431 includes an interface 439 for displaying details of the evaluation value of each round of the selected version information. When the operator of the monitor 4 selects the interface 439, the total evaluation value and specific numerical values ​​of the evaluation value from each node 1 are output. FIG. 14 shows an example of an evaluation value details screen 440. The details screen 440 of FIG. 14 includes a list 441 that shows the total evaluation value and the evaluation value from each node (S504) calculated for each update (round) in association with the round information of each round. The list 441 may also be associated with the update date and time.

[0127] Returning to the individual performance screen 431 in Fig. 13, the explanation will continue. The individual performance screen 431 includes an interface 442 for interrupting learning. The interface 442 is a button icon, as shown in Fig. 13. When the operator of the monitor 4 confirms on the individual performance screen 431 that the total evaluation value corresponding to the accuracy does not seem to satisfy the conditions for distributing even if learning is continued any further, the operator selects the interface 442 for interrupting learning. In response to this operation, the processing unit 30 of the server 3 interrupts the processing procedure shown in the flowcharts of Figs. 11 and 12.

[0128] The individual performance screen 431 of the second embodiment includes a node screen 443 that visualizes the evaluation value at each node for the version of the global model 51. The node screen 443 includes a rounded rectangular graphic that corresponds to the global model 51 and includes text indicating the round information selected by the mark 436. The graphic corresponding to the global model 51 is displayed with text indicating the total evaluation value for that round number. The node screen 443 includes a rounded rectangular graphic that includes text (A, B, C, ...) identifying each node 1 so as to be connected to the graphic corresponding to the global model 51 via an edge. The graphic corresponding to each node 1 is displayed with text indicating the evaluation value for the global model 51 for that round number at each node 1. The graphic corresponding to each node 1 is associated with a link to the performance history of the local model 52 at each node 1.

[0129] In this way, the evaluation value of each node 1 is visualized, allowing the operator to grasp the overall learning status in model learning system 100.

[0130] Fig. 15 shows an example of an editing screen for learning conditions. Fig. 15 shows an example of an editing screen 444 that is displayed when any node 1 is selected on the node screen 443 of the individual performance screen 431 in Fig. 14. The editing screen 444 corresponds to an interface that accepts changes to the learning conditions. In Fig. 15, when a node 1 is selected, the editing screen 444 is displayed like a menu screen, and it is possible to select whether or not to exclude the selected node 1 from the nodes 1 that learn the local model 52 used to update the global model 51. In the example of Fig. 15, the editing screen 444 is displayed in the form of a menu screen, but is not limited to this.

[0131] The operator of monitor 4 can change the learning conditions on edit screen 444, which is displayed by operating on node screen 443, and continue learning on interface 437 of individual performance screen 431 under the changed learning conditions, for example, excluding local model 52 by node 1 of "node D."

[0132] As shown in FIG. 15, the learning condition editing screen 444 may include a menu for accepting settings of conditions for ending learning, such as the number of learning times when learning the local model 52.

[0133] Fig. 16 is a schematic diagram of model learning in the second embodiment. The schematic diagram in Fig. 16 shows a history of updates when the nth global model 51 after each update (round) is selected by the operator via the monitor 4 when updating the n+1th global model 51 after the update. Compared with the schematic diagram of the model learning system in Fig. 1, it is shown that the global model 51 is not always adopted in succession as updated. This makes it possible to proceed with distributed learning so as to improve accuracy.

[0134] (Third embodiment) In the third embodiment, a performance evaluation is calculated during learning of the local model 52 in the node 1 and transmitted to the server 3, and the accuracy of the local model 52 in each node 1 can be viewed from the monitor 4 via the server 3.

[0135] The configuration of model learning system 100 in the third embodiment is similar to the configuration in the first and second embodiments, so the same symbols are used for the configuration common to model learning system 100 in the first and second embodiments, and detailed descriptions are omitted.

[0136] In the third embodiment, each node 1 stores a learning process and a history of the local model 52. Fig. 17 is a flowchart showing an example of a learning processing procedure of the local model 52 of the node in the third embodiment. Among the processing procedures shown in the flowchart of Fig. 17, the same step numbers are assigned to steps common to the processing procedures shown in the flowchart of Fig. 6 of the first embodiment, and detailed descriptions thereof will be omitted.

[0137] The processing unit 10 of the node 1 executes learning based on the distributed global model 51 (S301-S304), and stores a performance evaluation obtained as a result of the learning in association with data indicating the progress of the learning of the local model 52 (step S311) until YES is determined in S305 or whenever the number of repetitions of steps S301-S304 reaches a predetermined number. In step S311, the processing unit 10 may calculate the accuracy with which the output data when the local data is input matches the training data as the performance evaluation. In step S311, the processing unit 10 may store the number of repetitions of steps S301-S304 for the round information of the distributed global model 51 or the accuracy as data indicating the progress of the learning (minor update).

[0138] When it is determined in step S305 that the learning completion condition is satisfied (S305: YES), the processing unit 10 stores the learned local model 52 in association with the round information of the distributed global model 51 (step S312).

[0139] The processing unit 10 transmits the stored local model 52 and the performance evaluation stored in step S311 to the server 3 in association with the round information (step S313), and ends the process. This enables the server 3 to acquire the local model 52 in each round learned with the local data from each of the multiple nodes 1, and its individual performance evaluation.

[0140] The calculation and storage of the performance evaluation in step S311 may be performed after the learning is determined to satisfy the learning completion condition and is terminated (S305: YES), rather than each time the learning in step S304 is performed.

[0141] The server 3 stores information such as round information and performance evaluation transmitted from the node 1 together with the local model 52. FIG. 18 is a flowchart showing an example of an update process for the global model 51 in the third embodiment. The server 3 in the third embodiment executes the process steps shown in the flowcharts of FIG. 11 and FIG. 12, as in the second embodiment. Among these, the server in the third embodiment executes the process steps shown below in step S4. Among the process steps shown in the flowchart of FIG. 18, steps common to the process steps shown in the flowchart of FIG. 7 of the first embodiment are assigned the same step numbers and detailed explanations are omitted.

[0142] The processing unit 30 of the server 3 acquires the local model 52 and the performance evaluation transmitted from the node 1 in association with the round information (step S411). The processing unit 30 stores the acquired local model 52 and the performance evaluation in association with the round information (step S412). The processing unit 30 may store the local model 52 and the performance evaluation together with the identification data of the node 1 in association with each other. The processing unit 30 executes the process of step S403.

[0143] In this way, when the processing unit 30 of the server 3 obtains the local model 52 from the node 1, the processing unit 30 can obtain the performance evaluation and store it for each version and each round.

[0144] Data including the progress of learning accuracy in the local model 52 aggregated from these nodes 1 is output by the server 3 to the monitor 4 in the processing of step 505 in the flowcharts of Figures 11 and 12, within the update history of the updated global model 51.

[0145] Fig. 19 shows a performance history screen 445 of the local model 52. Fig. 19 is displayed when any one of the graphics of multiple nodes 1 included in the node screen 443 is selected on the individual performance screen 431 of the global model 51 shown in Fig. 13. Fig. 19 shows an example displayed when the graphic corresponding to node 1 of "node A" is selected.

[0146] The performance history screen 445 of the local model 52 includes a list of performance evaluation values ​​calculated for different versions of the global model 51. The performance history screen 445 outputs a graph showing the progress of the accuracy (performance) for each version of the local model 52 in the selected node 1. The performance history screen 445 outputs the evaluation value for the latest round for the local model 52 corresponding to the global model 51 being updated. The example of FIG. 19 shows that the evaluation value of the local model 52 in the node 1 of "node A" smoothly increases from "0.29" to "0.80" as it progresses from version 1.0 to version 4.0. The performance history screen 445 may output the performance evaluation value for each round for the local model 52 in each node 1 by version in a table format as shown in FIG. 14.

[0147] This enables the operator to refer to the evaluation value at each node 1 and proceed with distributed learning to improve accuracy.

[0148] (Fourth embodiment) In the fourth embodiment, the method of updating the global model 51 based on the local model 52 learned in each node 1 differs from the methods described in the first to third embodiments. The configuration of the model learning system 100 in the fourth embodiment is similar to that of the model learning system 100 in the first embodiment except for the details of the update process of the global model 51, so the same reference numerals are used for the common configuration and detailed description will be omitted.

[0149] In the model learning system 100 of the fourth embodiment, the server 3 executes one of the learning procedures shown in the flowchart of Fig. 5 of the first embodiment and the procedures shown in the flowcharts of Fig. 11 and Fig. 12 of the second embodiment. In the fourth embodiment, among these procedures, the update process of step S4 is different. In addition, in response to the difference in the update process, the contents of the data transmitted from the node 1 are also different from those described in the first embodiment.

[0150] Fig. 20 is a flowchart showing an example of a learning process procedure of the local model 52 according to the fourth embodiment. Among the process procedures shown in the flowchart of Fig. 20, the same steps as those shown in the flowchart of Fig. 6 in the first embodiment are denoted by the same step numbers, and detailed descriptions thereof will be omitted.

[0151] The processing unit 10 of the node 1 acquires the local data stored at that time from the storage device 2 (S303), calculates the data amount (number of data items) of the local data (step S323), and advances the process to step S304.

[0152] The processing unit 10 of the node 1 calculates the amount of learning (step S324) every time learning is executed (S304), and judges whether or not a learning completion condition is satisfied (step S305). In step S324, the processing unit 10 may calculate the number of times learning is repeated as the amount of learning, may calculate the degree of improvement in accuracy from the previous version of the local model 52 as the amount of learning, or may calculate the amount of change in the local model 52 as the amount of learning.

[0153] In step S305, the processing unit 10 may determine that the learning completion condition is satisfied when the accuracy of the output data from the neural network for the local data as a result of the learning satisfies a predetermined condition, for example, when the accuracy is equal to or greater than a predetermined value. The processing unit 10 may determine that the learning completion condition is satisfied when the amount of learning (number of times of learning) is equal to or greater than a predetermined amount (predetermined number of times).

[0154] The processing unit 10 of the node 1 transmits the amount of data calculated in step S323 or the amount of learning counted together with the trained local model 52 to the server 3 (step S327), and ends the process. This enables the server 3 to acquire the amount of data or the amount of learning of the original local data together with the local model 52 trained with the local data from each of the multiple nodes 1.

[0155] In the fourth embodiment, the node 1 also transmits the amount of local data, but does not transmit the data itself to the server 3.

[0156] In the fourth embodiment, an operator can weight the local model 52 in each node 1, taking into account the amount of learning, the amount of data used for learning, etc. Fig. 21 is a flowchart showing an example of an update process for the global model 51 in the fourth embodiment. Among the process steps shown in the flowchart in Fig. 21, the same step numbers are assigned to steps common to the process steps shown in the flowchart in Fig. 7 of the first embodiment, and detailed descriptions thereof will be omitted.

[0157] The processing unit 30 of the server 3 acquires the local model 52 and the amount of data or the amount of learning transmitted from each node 1 (step S421), and stores the local model 52 and the amount of data or the amount of learning in association with the identification data of the node 1 (step S422). In step S411, the processing unit 30 of the server 3 acquires the local model 52 transmitted from each node 1 asynchronously.

[0158] If the processing unit 30 determines that it is time to update (S403: YES), the processing unit 30 of the server 3 initially calculates weights based on the amount of data or the amount of learning for the local models 52 from the multiple nodes 1 (step S423).

[0159] The processing unit 30 of the server 3 outputs the amount of data and / or the amount of learning in each node 1 and the initially calculated weights (step S424), and accepts the setting (editing) of the weights (step S425).

[0160] The processing unit 30 uses the initially calculated weights or the weights accepted in step S425 to calculate a weighted average of the local models 52 trained in each node 1 (step S426). The processing unit 30 updates the weighted average of the local models 52 as a new global model 51 (step S427).

[0161] The processing unit 30 stores the updated global model 51 in association with the data indicating the version information (S406), and ends the update process of the global model 51.

[0162] The server 3 continues the update process shown in the flowchart of Fig. 21 until the update reaches a predetermined number of times or until the accuracy of the updated global model 51 satisfies a predetermined standard. When repeatedly executing the update process, the reception process of step S425 may be skipped after being executed once.

[0163] FIG. 22 shows an edit screen 446 for the weight of each node. The edit screen 446 is displayed on the display unit 43 of the monitor 4 by the process of step S424 of the server 3 during the update of the global model 51 shown in the flowchart of FIG. 21. The edit screen 446 for the weight includes the amount of local data (number of data items) in each node 1. The edit screen 446 for the weight includes an editable weight calculated initially for each node 1 based on the amount of data. In the example of FIG. 22, an operator operating the monitor 4 can adjust the weight for calculating the weighted average while referring to the local data in each node 1. At this time, it is also possible to exclude a specific node 1 by setting the weight to 0 (zero) and have the server 3 calculate the weighted average.

[0164] In the fourth embodiment, the weighting coefficients are output and changes can be accepted every time the global model 51 is updated (rounded), but the edit screen 446 may be displayed only once in one version. The weighting coefficients do not need to be changed within the same version.

[0165] The update method in the fourth embodiment makes it possible to handle and appropriately evaluate models trained by local data with different amounts of data according to the amount of data. The update method in the fourth embodiment can also be applied to the second or third embodiment.

[0166] In the fourth embodiment, each time the local model 52 is learned from each node 1, the server 3 can acquire the amount of local data or the amount of learning at that time, and can output the data when outputting the performance of the global model 51. Fig. 23 shows an example of an individual performance screen 431 that visualizes the individual performance of the global model 51 in the fourth embodiment. The individual performance screen 431 shown in Fig. 23 differs from the screen shown in Fig. 13 in that a details screen 435 showing the performance of the selected version of the global model 51 includes information on the number of data items used for learning.

[0167] In this way, by the server 3 acquiring information such as the amount of data from each node 1, it is expected that the global model 51 can be optimized using the learning information of the local model 52 based on the operator's knowledge, even in an environment with a small amount of data.

[0168] Fifth embodiment The model learning system 100 can be applied to deep learning models including neural networks. For example, the input data is image data, and the output data is a detection result of a subject appearing in the image of the image data, or a judgment result for the subject. In another example, the input data is deposit and withdrawal data, and the output data is a judgment result such as an evaluation, or a predicted value regarding a change in a company's business condition (growth or deterioration) or a predicted value regarding an economic forecast. In another example, the input data is measurement data from various sensors installed in a factory or production equipment, and the output data is data regarding production management including abnormality / normality. In another example, the input data is text data, and the output data is a judgment result or predicted data.

[0169] In the fifth embodiment, an example will be described in which the model learning system 100 is applied to learning a model that outputs data that supports diagnosis of whether or not a patient has a symptom of a specific disease from medical data obtained about the patient at a medical facility. In the following description, the medical data is, for example, image data of a fundus photograph taken during an examination.

[0170] 24 is a schematic diagram of model learning system 100 of the fifth embodiment. The configuration of model learning system 100 in the fifth embodiment is basically the same as that of model learning system 100 of the first embodiment. In model learning system 100 of the fifth embodiment, the configurations common to model learning system 100 of the first embodiment are assigned the same reference numerals and detailed explanations are omitted.

[0171] In the fifth embodiment, the node 1 and the information processing device are provided in a medical facility. The node 1 and the information processing device can acquire image data obtained from a photographing device 7 that takes fundus photographs of patients. In the medical facility where the node 1 is provided, the photographing device 7 outputs image data to a storage device 2. The photographing device includes different types of devices.

[0172] In the fifth embodiment, the global model 51, the local model 52, and the model stored as distributable are models that are trained to output data and accuracy that assist in the diagnosis of glaucoma when image data is input. The local data used as training data is image data as input data, and image data resulting from segmenting the disc portion and the cup portion of a fundus photograph as output data. The output data may also be a data set including a determination result by a doctor or technician as to whether or not symptoms are observed. The image data that is input data for the local data is associated with device data indicating the type of imaging device. The device data may be a model number or data identifying the device manufacturer.

[0173] In the model learning system 100 in the fifth embodiment, the server 3 acquires an initial global model (0th order global model) 51 created in advance with a plurality of different architectures in a specific medical facility. The server 3 distributes the 0th order global models 51 with different architectures to the nodes 1 of the medical facilities that cooperate in the training.

[0174] Each node 1 receives the distributed multiple 0th order global models 51, and proceeds with learning using local data as training data based on different 0th order global models 51, respectively, to obtain multiple first order local models 52. The node 1 transmits the first order local models 52 trained with different architectures to the server 3.

[0175] The server 3 creates a first global model 51 by weighting the local models 52 acquired from each node 1 for each different architecture. The server 3 redistributes the created first global model 51 to the multiple nodes 1.

[0176] The server 3 repeatedly acquires the (n+1)th order local model 52 created from the distributed nth order global model 51 and updates the (n+1)th order global model 51 from the (n+1)th order local model 52 for each different architecture.

[0177] The server 3 compares the global models 51 obtained by repeatedly performing the process for each different architecture, selects the global model 51 of the architecture with higher accuracy, and provides it to the node 1 and the information processing device as a distributable model.

[0178] This makes it possible to learn using a large amount of data across different medical facilities without consolidating image data of test results, which is personal information itself, in the server 3.

[0179] FIG. 25 is a flowchart showing an example of a learning process procedure in the model learning system 100 of the fifth embodiment.

[0180] The server 3 acquires an initial (0th order) global model 51 created with a different architecture in a specific medical facility (step S201). The acquisition in step S201 includes reading out the global model 51 stored in advance in the storage unit 31.

[0181] The server 3 distributes the acquired multiple 0th order global models 51 to each node 1 (step S202).

[0182] The server 3 acquires a local model 52 to be learned by the node 1 for each different architecture based on the global model 51 distributed to the node 1 (step S203).

[0183] The server 3 executes statistical processing for each different architecture on the acquired local model 52, and updates it to the next-generation global model 51 (step S204). In step S204, the server 3 may increment the number of updates.

[0184] The server 3 calculates a performance evaluation value for the updated global model 51 for each different architecture (step S205). In step S205, when input data of the local data in a specific node 1 is input to the global model 51 of a different architecture, the server 3 may calculate the accuracy of the corresponding output data as an evaluation value. In step S205, the server 3 may transmit the updated global model 51 to each node 1, obtain an evaluation value from each node 1, and calculate a total evaluation value, as shown in the second embodiment.

[0185] The server 3 stores the calculated performance evaluation value in the storage unit 31 in association with round information corresponding to the number of updates and data for identifying the architecture (step S206). The version information may be not only the number of updates but also date and time, etc. The server 3 may omit the processes of steps S205 and S206 in the first several rounds from the 0th round.

[0186] The server 3 judges whether or not the learning completion condition is satisfied (step S207).

[0187] In step S207, the server 3 makes a determination based on, for example, whether or not the number of updates (number of rounds) has reached a predetermined number. When input data of local data in a specific node 1 is input to a global model 51 of a different architecture, the server 3 may make a determination based on whether or not the accuracy of outputting corresponding output data in any of a plurality of global models 51 satisfies a predetermined condition. The condition for ending learning may be, as shown in the second embodiment, that a total evaluation value is calculated from the evaluation values ​​for the global model 51 transmitted to each node 1 and the total evaluation value satisfies a predetermined criterion.

[0188] If it is determined that the learning completion condition is not satisfied (S207: NO), the server 3 redistributes the updated global model 51 of each architecture to the multiple nodes 1 (step S208), and returns the process to step S203.

[0189] If it is determined that the learning completion condition is satisfied (S207: YES), the server 3 selects one or more global models 51 that can be distributed from the global models 51 of each architecture after the update (step S209). In step S209, the server 3 selects one or more global models 51 that have relatively high accuracy.

[0190] The server 3 transmits the selected global model 51 to the multiple nodes 1 or other information processing devices (step S210), and ends the process.

[0191] This allows each medical facility to use a highly accurate and practical architecture model for the image data of that facility.

[0192] Fig. 26 is a flowchart showing an example of a learning process procedure of the local model 52 in the fifth embodiment. The process shown in the flowchart in Fig. 26 is executed by each of the multiple nodes 1 when the server 3 distributes the global model 51 in step S202 or step S206. Among the process procedures shown in the flowchart in Fig. 26, steps common to the process procedures shown in the flowchart in Fig. 6 of the first embodiment are denoted by the same reference numerals, and detailed description thereof will be omitted.

[0193] When the processing unit 10 of the node 1 receives and stores the distributed global model 51 (S301), it executes the processes from S302 to S305 for each architecture. The processing unit 10 stores the learned global model 51 as a local model 52 in association with data for identifying the architecture (step S336).

[0194] The processing unit 10 judges whether or not the learning is completed for all the architectures (step S337).

[0195] If it is determined that the learning is not completed (S337: NO), the processing unit 10 returns the process to step S302, and executes the processes from step S302 to S336 for the next architecture.

[0196] If it is determined that learning has been completed for all architectures (S337: YES), the processing unit 10 of the node 1 transmits the stored local model 52 to the server 3 in association with the device data, which is a property of the local data (step S338). Then, the processing unit 10 ends the n-th learning process in the node 1.

[0197] This allows the server 3 to obtain a local model 52 trained with local data from each of the multiple nodes 1. Although the local data itself is not transmitted to the server 3, the quality of the local data can be distinguished by the server 3.

[0198] 27 is a flowchart showing an example of an update process of the global model 51 according to the fifth embodiment. The process procedure shown in the flowchart of FIG. 27 corresponds to details of step S204 in the process procedure shown in the flowchart of FIG.

[0199] The processing unit 30 of the server 3 acquires the local model 52 for each architecture and the device data transmitted from the node 1 (step S431). The processing unit 30 associates and stores the acquired local model 52 for each architecture and the device data (step S432). In step S432, the processing unit 30 may store the local model 52 for each identification code of the node 1.

[0200] The processing unit 30 judges whether or not an update is necessary (step S433). In step S433, the processing unit 30 may judge that an update is necessary if the local models 52 can be acquired from all of the nodes 1 to which the global model 51 has been distributed. In step S433, the processing unit 30 may judge that an update is necessary if the local models 52 can be acquired from a plurality of representative nodes 1 determined in advance.

[0201] If it is determined that updating is necessary (S433: YES), the processing unit 30 of the server 3 outputs the data amount and device data as the data characteristics in the multiple nodes 1 (step S434), and accepts the setting (editing) of the weight (step S435).

[0202] The processing unit 30 uses the weights received in step S425 to obtain a weighted average of the local models 52 learned in each node 1 for each architecture (step S436). The processing unit 30 updates the weighted average of the local models 52 for each architecture as a new global model 51 (step S437).

[0203] The processing unit 30 stores the updated global model 51 in association with the data indicating the round information for each architecture (step S438), and ends the update process of the global model 51.

[0204] FIG. 28 shows a weight editing screen 446 in the fifth embodiment. The editing screen 446 is displayed on the display unit 43 of the monitor 4 by the process of step S434 of the server 3 during the update of the global model 51 shown in the flowchart of FIG. 27. The weight editing screen 446 includes the data amount (number of data items) of the local data in each node 1 and the model name of the device that outputs the local data. In the example of FIG. 28, the operator operating the monitor 4 can adjust the weight for calculating the weighted average while referring to the data amount of the local data in each node 1 and the model number of the imaging device 7 that outputs the local data used in learning. At this time, it is also possible to exclude a specific node 1 by setting the weight to 0 (zero) and have the server 3 calculate the weighted average.

[0205] In the fifth embodiment, the weighting coefficients are output and changes can be accepted every time the global model 51 is updated (rounded), but the edit screen 446 may be displayed only once in one version. The weighting coefficients do not need to be changed within the same version.

[0206] The update method in the fifth embodiment makes it possible to appropriately evaluate a model trained by local data having different data characteristics according to the characteristics of the data. In addition, the performance of the global model 51 can be expected to be improved compared to a case where a simple average is taken of local models 52 having different data characteristics. The update method in the fifth embodiment can be combined with the second to fourth embodiments.

[0207] As another characteristic of the data, an evaluation of the accuracy of annotations for local data may be stored in each node 1, and the server 3 may calculate a weighted average with weights according to the high and low of the evaluation. The evaluation of the accuracy of annotations may be performed by an administrator of the monitor 4.

[0208] In the fifth embodiment, since the local data is medical data, the weights used in the weighted average in step S424 may be assigned according to the attributes of the medical data. For example, weights may be assigned according to the male / female ratio, age distribution, or regionality of the patients. These abstracted data may be reflected in the local model 52.

[0209] Furthermore, the update method in the fifth embodiment allows evaluation of which of the CNNs with different architectures is most appropriate as the global model 51, making it practical to use.

[0210] The embodiments disclosed above are illustrative in all respects and are not restrictive. The scope of the present invention is defined by the claims, and includes all modifications within the meaning and scope of the claims. [Explanation of symbols]

[0211] 1 Node 10 Processing section 13 Display section 14 Control section 2 Storage device 3 Server 30 Processing section 31 Storage section 3P Server Program 4 Monitors 40 Processing section 43 Display section 44 Control section 51 Global Model 52 Local Model

Claims

1. Distributing global model data stored in the server to multiple nodes; acquiring data of a local model learned based on the global model by local data processed by the plurality of nodes; updating data of the global model based on data of the local model after learning acquired from each of the plurality of nodes; The updated global model data is stored in association with update information corresponding to the number of updates; Calculating a performance evaluation value of the global model; Repeating the distribution of the data of the global model, the acquisition of the data of the local model, and the update of the data of the global model for multiple rounds; Each time the data of the global model is updated, the data and the performance evaluation value of the global model are stored in association with update information; receiving a request to reference the global model together with a specification of update information for the global model; creating screen data for displaying a screen showing a transition of performance of the global model for each update based on the calculated performance evaluation value in response to the reference request; The screen is output to the request source of the reference request. A model learning method that includes processing.

2. The server accepts, on a screen showing a transition in performance of the global model, a designation of the number of updates of the data of the global model and an instruction to stop updating the data of the global model. The model training method according to claim 1 .

3. The server, obtaining an evaluation value of accuracy of the global model calculated based on local data for each of the plurality of nodes; calculating an overall performance evaluation value of the global model based on the evaluation value; outputting, to a source of the reference request, a performance screen showing the evaluation values ​​calculated at each of the plurality of nodes in association with the update information of the global model and the overall evaluation value; The model training method according to claim 1 .

4. The performance screen includes a screen in which the evaluation values ​​calculated for each of the plurality of nodes are visualized by connecting a graphic corresponding to the global model with a graphic corresponding to each of the plurality of nodes connected via an edge. The model learning method according to claim 3 .

5. The server causes the node to output an editing screen that accepts selection of a local model to be used for updating the global model. The model learning method according to claim 3 .

6. The server, outputting to the node an edit screen for receiving settings of weights for each of a plurality of local models used for updating the global model; Using the set weighting, the data of the global model is updated with the data of the plurality of local models. The model learning method according to claim 3 .

7. The server, Accepting a selection of a global model to be redistributed on the screen; Redistributing selected global model data to the plurality of nodes regardless of the progress of training. The model learning method according to any one of claims 1 to 6.

8. The server, causing the plurality of nodes to calculate an evaluation value of a local model each time an update is performed; storing, in the plurality of nodes, an amount of local data used in learning the local model or characteristics of the local data in association with update information of the local model together with data of the local model; acquiring a data amount or a data characteristic from the plurality of nodes in association with data of a local model; The node outputs an evaluation value associated with the update information of the local model. The model learning method according to any one of claims 1 to 6.

9. The system includes a plurality of nodes each processing local data, and a server connected to the plurality of nodes for communication; The server distributes data of a global model to the plurality of nodes; each of the plurality of nodes learns a local model from the global model using local data to be processed; The processing unit included in the server includes: acquiring data of the local model after training from the plurality of nodes; updating data of a global model based on data of a local model after learning acquired from each of the plurality of nodes; The updated global model data is stored in association with update information corresponding to the number of updates; Calculating a performance evaluation value of the global model; Repeating the distribution of the data of the global model, the acquisition of the data of the local model, and the update of the data of the global model for multiple rounds; Each time the data of the global model is updated, the data and the performance evaluation value of the global model are stored in association with update information; receiving a reference request for the global model from a node; creating screen data for displaying a screen showing a transition of performance of the global model for each update based on the calculated performance evaluation value in response to the reference request; The screen is output from the request source of the reference request. Model learning system.

10. A computer that can communicate with multiple nodes. Distributing the stored global model data to the plurality of nodes; Acquire data of a local model trained at each of the plurality of nodes; updating data of a global model based on data of a local model after learning acquired from each of the plurality of nodes; The updated global model data is stored in association with update information corresponding to the number of updates; Calculating a performance evaluation value of the global model; Repeating the distribution of the data of the global model, the acquisition of the data of the local model, and the update of the data of the global model for multiple rounds; Each time the data of the global model is updated, the data and the performance evaluation value of the global model are stored in association with update information; receiving a request to reference the global model; creating screen data for displaying a screen showing a transition of performance of the global model for each update based on the calculated performance evaluation value in response to the reference request; The screen is output from the request source of the reference request. A computer program that executes a process.

11. The computer that is connected to the server learning a local model using the local data to be processed based on the global model distributed from the server; Transmitting data of the local model after training to the server; receiving screen data including a list of updated global models associated with different update information from the server; displaying the list on a display unit provided in the computer based on the received screen data; Accepting a designation of any one of the update information in the list, acquiring from the server screen data of a screen showing a transition of performance of the global model for each update based on a performance evaluation value of the global model corresponding to the specified update information; Displaying the screen based on the acquired screen data A computer program that executes a process.

Citation Information

Patent Citations

  • Information processing system, information processing method, and program

    JP2017058848A

  • Distributed machine learning system, apparatus, and method

    JP2019526851A

  • System and method for assisting model acceptance determination

    JP2020166681A

  • Training a model using parameter server shards

    US8768870B1