Model data provision method, model data provision system, server device, and computer program
By distributing global model data for local learning and updating models based on local data, the method addresses the challenge of securing confidential data while enhancing model accuracy and efficiency in deep learning applications.
Patent Information
- Application Number
- JP2020186620
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-11-09
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2040-11-09
AI Technical Summary
Existing deep learning methods face challenges in converging parameters quickly and improving accuracy due to the need for aggregating large amounts of training data, particularly in fields like medicine and finance where data is confidential and requires individual consent, posing security risks.
A method that distributes global model data to multiple nodes for local learning, updates the global model based on local data, and associates version information with both global and local models, allowing selection and use of appropriate models without transmitting sensitive data.
Enables accurate and secure model training by leveraging local data without compromising security, facilitating the use of both global and local models for improved accuracy and efficiency.
Smart Images

Figure 0007551458000014 
Figure 0007551458000001 
Figure 0007551458000020
Abstract
Description
[Technical field]
[0001] The present invention relates to a model data providing method, a model data providing system, a server device, 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 aims to provide a model data provision method, a model data provision system, a server device, and a computer program that promote the practical application of a learning model based on distributed learning. [Means for solving the problem]
[0007] A model data providing method according to an embodiment of the present disclosure includes a process of distributing data of a global model stored in a server to a plurality of nodes, having each node learn a local model based on the global model using local data processed by the plurality of nodes, acquiring the learned local model and version information of the local model from each node, updating the data of the global model based on the data of the plurality of local models acquired from each of the plurality of nodes, storing the acquired local model data and the updated global model data in association with the version information, accepting a selection from the global model and the local models associated with different version information, and distributing the data of the selected model to the plurality of nodes or other devices.
[0008] A model data provision system according to one 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 data of a global model to the plurality of nodes, and each of the plurality of nodes each proceeds with learning of a local model from the global model using data of the local data to be processed, and a processing unit provided in the server acquires version information of the local model and the local model after learning from the plurality of nodes, updates the data of the global model based on the data of the local model after learning acquired from each of the plurality of nodes, stores the acquired data of the local model and the updated data of the global model in association with the version information, accepts a selection from global models and local models associated with different version information, and distributes data of the selected model to the plurality of nodes or other devices.
[0009] A server device according to an embodiment of the present disclosure includes a communication unit that communicates with a plurality of nodes, and a processing unit for stored global model data, and the processing unit distributes the stored global model data to the plurality of nodes, acquires local model data learned based on the global model using local data processed by the plurality of nodes in association with version information, updates the global model data based on the learned local model data acquired from each of the plurality of nodes, stores the acquired local model data and the updated global model data in association with version information, accepts a selection from global models and local models associated with different version information, and distributes the data of the selected model to the plurality of nodes or other devices.
[0010] 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 based on the global model using local data processed by the plurality of nodes in association with version information, updating the global model data based on the learned local model data acquired from each of the plurality of nodes, storing the acquired local model data and the updated global model data in association with version information, accepting a selection from a global model and a local model associated with different version information, and distributing the data of the selected model to the plurality of nodes or other devices.
[0011] In the model data provision method, model data provision system, server device, and computer program of the present disclosure, data of a global model is updated by a local model trained in each node, and learning using a large amount of data is realized without aggregating data for learning in the server. Target models that can be selected for actual use in a node include not only global models but also local models trained in other nodes.
[0012] A model data provision method according to one embodiment of the present disclosure includes a process of causing the multiple nodes to calculate evaluation values based on the accuracy of a global model and a local model associated with different version information based on local data that is the target of processing by each node, and accepting a selection of the global model or the local model based on the calculated evaluation values.
[0013] In the method of providing model data disclosed herein, evaluation values are calculated and stored for not only global models but also local models, and can be viewed by other nodes. This allows a node to use a model that has been learned by other nodes and is suitable for the node itself.
[0014] A model data provision method according to one embodiment of the present disclosure accepts selection of multiple global models and / or local models from global models and local models associated with different version information, and has each of the global models and / or local models identify a result for the data based on a comparison of multiple output results obtained by inputting data to be processed by the node.
[0015] A computer program according to an embodiment of the present disclosure causes a computer that is communicatively connected to a server to repeatedly perform a process of learning a local model using local data to be processed based on global model data distributed from the server, and a process of sending the learned local model data to the server, thereby acquiring global model data and local model data associated with different version information, and executing a process of identifying a result for the data based on a comparison of multiple output results obtained by inputting data into each of multiple global models and / or local models corresponding to the acquired data.
[0016] In the model data providing method and computer program disclosed herein, multiple designations are possible from a list of global models and local models, and when data is input to multiple models, the results obtained from each of the multiple models can be compared. As a result of the comparison, by identifying the results for the data from the results obtained from more models, it becomes possible to obtain more accurate results.
[0017] A model data provision method according to one embodiment of the present disclosure has each of the multiple nodes select a model from among global models and local models associated with different version information, and selects the model selected by a predetermined number or more of nodes.
[0018] In the model data provision method of the present disclosure, a model selected by a predetermined number of nodes or more is selected based on the history of selection from each node. It becomes possible to identify which models are used by many nodes within a model, including local models. The selected models may be distributed preferentially thereafter, or may be subject to version upgrades and updates.
[0019] A model data provision method according to one embodiment of the present disclosure stores the data amount, data characteristics, or learning amount of local data used in learning in association with version information of the global model and the local model, and outputs options for the global model and local model together with data indicating the data amount, data characteristics, or learning amount, and accepts a selection.
[0020] In the method of providing model data disclosed herein, not only global models but even local models can be selected for use at each node. By outputting what local data each model was trained on, the node can select a model appropriate for itself.
[0021] A model data provision method according to one embodiment of the present disclosure calculates evaluation values for the global model and the local model in the process of repeatedly distributing data of the global model, learning a local model, and updating the data of the global model based on the data of the local model, and selects a global model to be distributed and updated from the global model or the local model based on the evaluation values.
[0022] In the method for providing model data of the present disclosure, an appropriate model is selected from among models including not only global models but also local models based on the evaluation value. The data of the selected model may be outputted so as to be preferentially selected, or may be redistributed to each node as data of the global model for future updates. Effect of the Invention
[0023] According to the method of providing model data disclosed herein, not only global models but also local models trained on other nodes can be used if they produce highly accurate results for the node. [Brief description of the drawings]
[0024] [Figure 1] FIG. 1 is a schematic diagram of a model providing 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] 11 is a flowchart illustrating an example of a model learning processing procedure in the model providing system. [Diagram 5] 13 is a flowchart illustrating an example of a learning process procedure for a local model based on a distributed global model. [Figure 6] 13 is a flowchart illustrating an example of a global model update process in the server. [Figure 7] 13 is a flowchart illustrating an example of a processing procedure for selecting a model. [Figure 8] 13 shows an example of a model list screen. [Figure 9] 1 shows an example of an individual screen of a model. [Figure 10] 13 is a flowchart illustrating an example of a model utilization procedure in a node. [Figure 11] 13 is a flowchart illustrating an example of a processing procedure for selecting a model according to the second embodiment. [Figure 12] 13 is a flowchart illustrating an example of a learning process procedure in the model providing system of the third embodiment. [Figure 13] 13 is a flowchart illustrating an example of a procedure for updating a local model in the third embodiment. [Figure 14] 13 is a flowchart illustrating an example of a processing procedure for model selection. [Figure 15] 13 shows an example of a model list screen in the third embodiment. [Figure 16] 13 is a flowchart illustrating an example of an update process procedure based on model selection. [Figure 17] 13 is a flowchart illustrating an example of an update process procedure based on model selection. [Figure 18] 13 is a flowchart illustrating an example of an extraction process procedure based on model selection. [Figure 19] 13 shows another example of the model list screen in the third embodiment. [Figure 20] FIG. 13 is a schematic diagram of a model providing system according to a fourth embodiment. [Figure 21] 20 is a flowchart illustrating an example of a procedure for updating a local model in the fourth embodiment. [Figure 22] 23 shows an example of a model list screen in the fourth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0025] The present disclosure will be specifically described with reference to the drawings showing the embodiments thereof.
[0026] (First embodiment) 1 is a schematic diagram of a model providing system 100 according to a first embodiment. The model providing 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.
[0027] 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.
[0028] 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 a model to the node 1, and also realizes a model providing system 100 that learns the model in cooperation with the node 1. In order to learn the model 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 providing 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.
[0029] 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, losses, and pre-set hyperparameters) that defines the configuration of the model, and parameters such as weight coefficients to be trained.
[0030] 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.
[0031] 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 providing system 100.
[0032] 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.
[0033] 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.
[0034] 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.
[0035] The model providing 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 in 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 in the server 3, and creating (updating) the (n+1)th order global model 51.
[0036] This enables distributed learning without allowing access to local data from the server 3. In the model providing system 100, in a learning process in which distribution of the global model 51 and learning of the local model 52 are repeated, the global model 51 is updated from a plurality of models including the local model 52 learned in the node 1. In addition, it is possible to select a model to be used in the node 1 or an information processing device 4 outside the system from among the local model 52 learned in the node 1 and the derived global model 51.
[0037] The configuration of the model providing system 100 that realizes such a model providing method will be described in detail below.
[0038] 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 .
[0039] 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.
[0040] 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.
[0041] 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.
[0042] 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.
[0043] 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.
[0044] 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.
[0045] 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.
[0046] 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.
[0047] 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.
[0048] A description will be given of a learning process procedure in the model providing system 100 configured as above. FIG 4 is a flowchart showing an example of a model learning process procedure in the model providing system 100.
[0049] 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.
[0050] The server 3 distributes the acquired 0th order global model 51 to the node 1 (step S2).
[0051] 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).
[0052] 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).
[0053] The server 3 judges whether or not the learning completion condition is satisfied (step S5).
[0054] In step S5, the server 3 determines whether the number of updates has reached a predetermined number, for example. The server 3 may determine that the learning is complete when the accuracy of the global model 51 has not improved compared to the previous update.
[0055] If it is determined that the learning completion condition is not satisfied (S5: NO), the server 3 redistributes the updated global model 51 to the multiple nodes 1 (step S6), and returns the process to step S3.
[0056] In step S6, the server 3 may redistribute only parameters such as weighting coefficients, rather than redistributing the global model 51 as is.
[0057] In step S6, the server 3 may also transmit data indicating how many times the global model 51 has been updated, that is, data indicating the "n" of the n-th global model 51.
[0058] If it is determined that the learning completion condition is met (S5: YES), the server 3 stores the updated global model 51 as a global model 51 that can be distributed to nodes other than the node 1 in association with the version information (step S7), and ends the process. The version information corresponds to the number of times that the learning of the local model 52 and the update of the global model 51 were performed until it was determined in step S5 that the learning completion condition is met. The version information may include round information as minor information.
[0059] The server 3 executes the processing procedure shown in the flowchart of Fig. 4 at regular intervals, for example, once a month. Each time, the version of the global model is upgraded, making it a more practical model.
[0060] Fig. 5 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. 5 is executed by each of the multiple nodes 1 when the server 3 distributes the global model 51 in step S2 or step S6.
[0061] The processing unit 10 of the node 1 receives the distributed global model 51 and stores it in the storage unit 11 (step S301).
[0062] 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).
[0063] 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.
[0064] 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.
[0065] 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.
[0066] 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 in association with the version information (step S306). Here, the version information is assumed to match the version information of the global model 51. The version information may be date and time. The latest local model 52 may be overwritten and stored for one version, or the local model 52 may be stored for each different round.
[0067] 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.
[0068] In step S307, the processing unit 10 may transmit data indicating "n" (the number of updates in one upgrade) 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.
[0069] It should be noted that the process shown in the flowchart of Fig. 5 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.
[0070] 6 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. 6 corresponds to details of step S4 in the process procedure shown in the flowchart of FIG.
[0071] The processing unit 30 of the server 3 acquires the local model 52 transmitted from the node 1 in association with the version information (step S401), and stores the local model 52 in association with the identification data and version information of the node 1 (step S402). In step S401, the processing unit 30 of the server 3 acquires the local model 52 transmitted asynchronously from each node 1. In step S402, the processing unit 30 of the server 3 stores the latest local model 52 from each node 1 until it is determined that the learning completion condition is satisfied in step S5 in the flowchart of FIG. 4. When round information is associated with each round, the processing unit 30 may store the local model 52 for each round until learning is completed.
[0072] 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.
[0073] 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.
[0074] If it is determined that an update is necessary (S403: YES), the processing unit 30 of the server 3 obtains 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). In step S404, the processing unit 30 calculates, for example, an average of each weighting coefficient included in the local model 52.
[0075] 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.
[0076] In step S406, the processing unit 30 stores the global model 51 of each generation in the storage unit 31 in a readable manner, going back in time by the number of updates.
[0077] As described above, in the model providing 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.
[0078] In the first embodiment, the server 3 stores the global model 51 and the local model 52 taken from the node 1 in association with round information and version information during the process of learning (updating) and revising (upgrading) the global model 51. The server 3 accepts selection from the global model 51 and the local model 52 of each version for the node 1 for each version and each round.
[0079] 7 is a flowchart showing an example of a processing procedure for selecting a model. The server 3 accepts a selection from the stored global model 51 and local model 52 in response to a request from the node 1, according to the following processing procedure based on the server program 3P. The node 1 accepts a selection operation from an operator, and acquires the model to be used in the node 1, according to the following processing procedure based on the node program 1P.
[0080] An operator of node 1 attempts to access a Web page provided by server 3. The processing unit 10 of node 1 transmits a request to server 3 based on a Web browser program included in node program 1P (step S201). Thereafter, processing based on the Web browser program may be executed in the background of the Web browser.
[0081] The server 3 receives the request (step S601). The processing unit 30 of the server 3 transmits a Web page including a list of global models 51 and local models 52 corresponding to the account to the node 1 in accordance with the account information of the node 1 included in the request (step S602).
[0082] An account for accessing the server 3 is issued to each administrator of the node 1. The account includes an account ID, authentication information, and authority data. The server 3 stores the account data in the storage unit 31. The account for the administrator of the node 1 is associated with authority to select and download the global model 51 and the local model 52. The global model 51 and the local model 52 that can be downloaded may be set for each account.
[0083] In the node 1, the processing unit 10 receives the list of the global model 51 and the local model 52 (step S202) and displays them on the display unit 13 (step S203). The processing unit 10 accepts the selection of one or more models from the list of the global model 51 and the local model 52 (step S204). The processing unit 10 transmits the designation of the selected model to the server 3 (step S205).
[0084] The server 3 receives the model designation (step S603), transmits the designated model (global model 51 or local model 52) to the node 1 (step S604), and the process of the server 3 ends.
[0085] The node 1 acquires the specified global model 51 or local model 52 from the server 3 (step S206), and calculates an accuracy evaluation value for the received global model 51 or local model 52 using the local data stored in the storage device 2 (step S207).
[0086] The processing unit 10 of the node 1 displays the calculated evaluation value (step S208) and accepts a selection of whether to use it or not (step S209). If it is selected to use it (S209: YES), the processing unit 10 stores the target model in the storage unit 11 (step S210). The stored global model 51 or local model 52 becomes available for use by the node 1 thereafter.
[0087] If it is selected not to use (S209: NO), or after S210, the processing unit 10 judges whether or not to acquire another model (step S211). If it is judged not to acquire another model (S211: NO), the processing unit 10 ends the processing.
[0088] If it is determined that the information should be acquired (S211: YES), the process returns to step S203.
[0089] Among the processing steps shown in the flowchart of FIG. 7, the processing steps of steps S207-S211 are not essential, and the global model 51 or the local model 52 designated in step S204 may be stored and used as is.
[0090] FIG. 8 shows an example of a model list screen 131. The list screen 131 in FIG. 8 shows an example (S203) of a page including a list of the global model 51 and the local model 52 transmitted from the server 3. The list includes text indicating the model names and version information of the global model 51 and the local model 52. The version information may be classified according to different rounds. The text indicating the version information includes links to individual pages and is made selectable. In FIG. 8, the global model 51 and the local model 52 are distinguished. The model name of the local model 52 includes data identifying the node that has trained the model. For example, in the list in FIG. 8, the local model 52 with the model name suffixed with "_ndA" has been trained in "node A". When the text indicating the model name and version name of the local model 52 is selected, the processing unit 10 of the node 1 accepts the designation of the model.
[0091] FIG. 9 shows an example of an individual screen 132 for a model. The individual screen 132 in FIG. 9 is displayed when any version name text is selected on the list screen 131 in FIG. 8 and a model is specified. The individual screen 132 in FIG. 9 includes an evaluation value calculated for the specified model. The individual screen 132 includes an interface 133 for accepting a selection of whether or not to use the model. When the interface 133 is selected, use is accepted (S209: YES), the selected model is stored in the storage unit 11, and the model is used thereafter. When the interface 134 for returning to the full screen is selected, it is determined that another model is to be acquired (S211: YES), and the screen returns to the model list screen 131 in FIG. 8.
[0092] As shown in the first embodiment, the model providing system 100 can provide to other nodes 1 not only the global model 51 updated by aggregating the local models 52 learned at each node 1, but also the local models 52 aggregated from other nodes 1.
[0093] The use of the global model 51 and the local model 52 selected by the node 1 according to the processing procedure shown in the flowchart of Fig. 7 will be described. As described in Figs. 7 to 9, the node 1 acquires multiple global models 51 and local models 52. For the same model "model-image2segmentation", the node 1 can acquire the global model 51 of different versions, "ver. 4.0" and "ver. 3.0", as well as the local model 52 with the node identification data "_ndA" added to the end of the model name.
[0094] The operator of node 1 may use either model for the same input data and output data. Node 1 may use different versions of the global model 51 and the local model 52 and automatically take a majority vote for the output data from each.
[0095] 10 is a flowchart showing an example of a model use procedure in the node 1. Based on the node program 1P, the node 1 transmits to the server 3 a specification of the global model 51 and the local model 52, which are different versions, for one model (step S221).
[0096] The server 3 transmits to the node 1 a global model 51 and a local model 52 which are different versions of the specified model.
[0097] The node 1 receives and acquires the global model 51 and the local model 52, which are different versions of the specified model (step S222).
[0098] The processing unit 10 of the node 1 gives the local data stored in the storage device 2 as input data to each of the acquired different version global model 51 and local model 52, and acquires a plurality of output data (step S223).
[0099] The processing unit 10 compares the results of the multiple pieces of output data obtained (step S224), and identifies the result obtained from the largest amount of output data (step S225).
[0100] The processing unit 10 outputs the specified result to the display unit for display (step S226), stores it (step S227), and ends the process.
[0101] In step S225, for example, if the model is a model that outputs a judgment result, the processing unit 10 takes a majority vote for the judgment result. If the model is a model that outputs an image segmentation result, calculations such as average, AND, OR, etc. may be performed. When identifying the result in step S225, the processing unit 10 of the node 1 may use an evaluation value that can be calculated for each of the multiple models acquired in step S222, and may use the accuracy as a weight so that output data from a model with a high evaluation value is more likely to affect the result.
[0102] Second embodiment In the second embodiment, the local model 51 stored in the server 3 may include one optimized by the node 1. The configuration of the model providing system 100 in the second embodiment is similar to that of the model providing system 100 in the first embodiment except for the details of the processing, so the same reference numerals are used for the common configuration and detailed description will be omitted.
[0103] Fig. 11 is a flowchart showing an example of a process for selecting a model in the second embodiment. Among the process shown in the flowchart in Fig. 11, the same steps as those shown in the flowchart in Fig. 7 of the first embodiment are denoted by the same step numbers, and detailed descriptions thereof will be omitted.
[0104] In the second embodiment, when the acquired model is selected for use (S209: YES), the node 1 performs re-learning using local data stored in the accessible storage device 2 (step S212), and then stores the model in association with the version information (S210).
[0105] The processing unit 10 of the node 1 transmits the re-learned global model 51 or local model 52 to the server 3 in association with the version information (step S213), and advances the process to step S211.
[0106] The server 3 receives the re-learned global model 51 or local model 52 and the version information (step S605), and stores them together with the identification data and version information of the node 1 (step S606). After that, the re-learned global model 51 or local model 52 at the node 1 is also included in the list transmitted in step S602.
[0107] (Third embodiment) The model providing system 100 of the third embodiment calculates evaluation values based on local data for the global model 51 and the local model 52 at node 1, and outputs both evaluation values to node 1 so that the operator of node 1 can refer to them at the time of selection. The configuration of the model providing system 100 in the third embodiment is similar to that of the model providing system 100 of the first embodiment except for the details of the above-mentioned processing, and therefore the common configuration is denoted by the same reference numerals and detailed description will be omitted.
[0108] Fig. 12 is a flowchart showing an example of a learning process procedure in the model providing system 100 of the third embodiment. Among the process procedures shown in the flowchart of Fig. 12, the same steps as those shown in the flowchart of Fig. 4 of the first embodiment are denoted by the same step numbers, and detailed descriptions thereof will be omitted.
[0109] In the second embodiment, the server 3 updates the global model 51 based on the aggregated local model 52 (S4), and then transmits the updated global model 51 to each node 1 to have an evaluation value calculated (step S501).
[0110] Each node calculates an evaluation value given to the updated global model 51 based on the local data, and transmits the evaluation value to the server 3.
[0111] The server 3 acquires the evaluation values transmitted from each node 1 (step S502), calculates a total evaluation value based on the acquired evaluation values (step S503), and stores the acquired evaluation values and the total evaluation value in association with the round information of the updated global model 51 (step S504).
[0112] This makes it possible for each global model 51 to store the evaluation value at node 1 for each version, and for the evaluation value to be included in the list of global models 51.
[0113] Fig. 13 is a flowchart showing an example of a procedure for updating the local model 52 in the third embodiment. Among the processing procedures shown in the flowchart of Fig. 13, the same step numbers are assigned to the processing procedures common to the processing procedures shown in the flowchart of Fig. 5, and detailed descriptions thereof will be omitted.
[0114] Before executing learning of the distributed global model 51, the processing unit 10 of the node 1 calculates and stores the amount of data (the number of data items) of the acquired local data (step S311).
[0115] When the learning completion condition is satisfied (S305: YES), the processing unit 10 calculates an evaluation value of the local model 52 obtained after the learning process (step S312). In step S312, the processing unit 10 calculates, as the evaluation value, an average value of accuracy when the local data is input, or the like. The processing unit 10 may derive a judgment result of A / B / C as the evaluation value.
[0116] The processing unit 10 transmits the trained local model 52, together with the amount of local data used to train the local model 52 stored in step S311 and the evaluation value calculated in step S312, to the server 3 (step S313), and terminates the processing.
[0117] This makes it possible to refer to the amount of local data that was the basis for learning the local model 52 as an index for evaluating the local model 52.
[0118] Fig. 14 is a flowchart showing an example of a processing procedure for model selection. Among the processing procedures shown in the flowchart of Fig. 14, steps common to the processing procedures shown in the flowchart of Fig. 7 of the first embodiment are given the same step numbers and detailed descriptions thereof will be omitted.
[0119] In the third embodiment, when a request is transmitted from node 1 (S201), server 3 receives the request (S601). Processing unit 30 of server 3 extracts models whose evaluation values and total evaluation values are equal to or greater than a predetermined value from among global models 51 and local models 52 corresponding to the account according to the account information of node 1 (step S612). Processing unit 30 transmits to node 1 a Web page of a list including models and evaluation values for preferentially outputting the extracted models (step S613).
[0120] In the node 1, the processing unit 10 receives and displays a list of the global model 51 and the local model 52 (S202, S203). In step S203, the processing unit 10 displays the evaluation value and total evaluation value associated with each model, together with the model name and version name of each model. The processing unit 10 accepts a selection from the list (S204) and transmits a designation of the selected model to the server 3 (S205). In step S204, the processing unit 10 can accept the selection of the global model 51 or the local model 52 based on the evaluation value.
[0121] The processing unit 30 of the server 3 receives the model designation (S603), transmits the designated model itself (S604), stores the designation history for the designated global model 51 or local model 52 (step S614), and terminates the process. As a result, the history of the global model 51 or local model 52 selected by the operator at the node 1 is stored in the storage unit 31.
[0122] In the model providing system 100 of the third embodiment, the designated global model 51 or local model 52 is stored (S614) as shown in the flowchart of Fig. 14. After the quantity of designated models, the number of times they have been designated, etc. are accumulated, the server 3 can select the designated global model 51 or local model 52 from a predetermined number or more of nodes 1. It can be said that voting for the global model 51 and the local model 52 becomes possible from each node 1.
[0123] Fig. 15 shows an example of a model list screen 131 in the third embodiment. As shown in Fig. 15, the model list screen 131 displays a total evaluation value calculated for the global model 51 in association with the global model, and an evaluation value is also output to the local model 52. As shown in Fig. 15, the model list screen 131 outputs the amount of data transmitted together with the local model 52 in association with the global model. An operator checking the model list screen 131 can select a model to use based on these evaluation values or the amount of data used to train the local model 52.
[0124] In the third embodiment, the calculated evaluation value or the history of the selected model is stored, and the server 3 can select one of the models from among past versions including the local model 52 based on the evaluation value or the model selection history. The server 3 may select the global model 51 and the local model 52 for which an evaluation value equal to or greater than a predetermined value has been calculated, or may select the global model 51 and the local model 52 for which the number of votes, i.e., the number of nodes 1 selected by equal to or greater than a predetermined number, is selected.
[0125] A model may be selected as follows. As shown in the flowchart of Fig. 7 of the first embodiment, an evaluation value is calculated for the global model 51 and the local models 52 learned by the other nodes 1 using local data of each node 1, and the selected model is then transmitted to the server 3 together with the evaluation value. The server 3 may then store a model selection history (S614) together with the evaluation value, and select one model with the highest evaluation value from among the global models 51 and local models 52 selected by a predetermined number or more of nodes 1 based on the evaluation value and the selection history.
[0126] The selected global model 51 or local model 52 may be preferentially displayed on the model list screen 131. The selected global model 51 or local model 52 may then be selected as the global model 51 that distributes the model selected at each node 1 to the node 1 and continues to be updated. In this case, in step S1 of the learning processing procedure shown in the flowchart of Fig. 4, the selected global model 51 or local model 52 is obtained, and thereafter, the processes of S2 to S7 are executed.
[0127] Figures 16 and 17 are flowcharts showing an example of an update processing procedure based on model selection. The flowcharts in Figures 16 and 17 show the processing procedure when the server 3 selects a model to be distributed to the node 1 and continue updating. Among the processing procedures shown in the flowcharts in Figures 16 and 17, the same steps as those shown in the flowchart in Figure 12 are denoted by the same reference numerals and detailed explanations are omitted.
[0128] The processing unit 30 of the server 3 refers to the selection history of a global model 51 with the same model name but a different version, and a local model 52 corresponding to the global model 51 (step S101).
[0129] The processing unit 30 extracts the global model 51 or the local model 52 selected by a predetermined number or more of the nodes 1 from among the global model 51 and the corresponding local model 52 having the same model name (step S102).
[0130] The processing unit 30 selects the global model 51 or the local model 52 having the highest evaluation value from the extracted global models 51 or local models 52 (step S103). Through steps S102 and S103, the global model 51 or the local model 52 supported by more nodes 1 is selected.
[0131] The processing unit 30 distributes the selected global model 51 or local model 52 to each node 1 (step S104). The processing unit 30 obtains and stores an evaluation value for the distributed global model 51 or local model 52 (step S105).
[0132] In response to the processes in steps S104 and S105, each node 1 calculates an evaluation value and learns a local model 52 based on the distributed global model 51 or local model 52.
[0133] The processing unit 30 acquires the local model learned in each node 1 (S3), and performs statistical processing on the acquired local model to update the global model 51 (S4).
[0134] The processing unit 30 transmits an evaluation value of the updated global model 51 to each node 1 in order to have the evaluation value calculated (S501), and obtains the calculated evaluation value (S502).
[0135] The processing unit 30 selects, for each of the multiple nodes 1, a model that has been calculated with a higher evaluation value by more nodes 1 from among the global models 51 (or local models 52) before and after the update (step S513). In step S513, there are nodes 1 that calculate a higher evaluation value in the updated global model 51 than before the update, and there are nodes 1 that calculate a higher evaluation value in the pre-update global model 51 (or local model 52) than after the update. In step S513, the processing unit 30 takes a majority vote of these nodes 1.
[0136] The processing unit 30 determines whether or not the selected model satisfies a learning completion condition (S5).
[0137] If it is determined that the learning completion condition is not satisfied (S5: NO), the processing unit 30 distributes the global model 51 selected in step S513 to the node (step S516), and returns the process to step S3.
[0138] Only one of the selection of a model based on the selection history in steps S101-S103 and the majority decision based on the evaluation values calculated for the models before and after the update in step S513 may be performed.
[0139] 18 is a flowchart showing an example of an extraction process procedure based on model selection. The server 3 executes the following process at regular intervals for the global model 51 and the local model 52 stored therein that have the same model name and the corresponding local model 52. The processing unit 30 of the server 3 executes this process, for example, in step S612 of the process shown in the flowchart of FIG.
[0140] The processing unit 30 of the server 3 refers to the selection history of global models 51 with the same model name but different versions (step S701). The processing unit 30 extracts the global models 51 or local models 52 selected by a predetermined number or more of nodes 1 from among the global models 51 with the same model name and the corresponding local models 52 (step S702).
[0141] The processing unit 30 selects the global model 51 or the local model 52 having the highest evaluation value from the extracted global models 51 or local models 52 (step S703). Through steps S702 and S703, the global model 51 or the local model 52 supported by more nodes 1 is selected.
[0142] The processing unit 30 stores the selected global model 51 or local model 52 (step S704), and ends the process.
[0143] Fig. 19 shows another example of the model list screen 131 in the third embodiment. In the model list screen 131 in Fig. 19, the selected global model 51 or local model 52 is selected, and therefore, one each of the same models is displayed, as compared with the model list screen 131 in Fig. 15. An operator checking the model list screen 131 can select a model to use based on these selection records.
[0144] (Fourth embodiment) The model providing 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.
[0145] In the fourth embodiment, an example will be described in which the model providing system 100 is applied to learning a model that outputs diagnostic support data that supports the 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.
[0146] 20 is a schematic diagram of the model providing system 100 of the fourth embodiment. The configuration of the model providing system 100 in the fourth embodiment is basically the same as that of the model providing system 100 of the first embodiment. Among the configurations of the model providing system 100 of the fourth embodiment, the configurations common to the model providing system 100 of the first embodiment are denoted by the same reference numerals, and detailed explanations thereof will be omitted.
[0147] In the fourth 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 that photographs the fundus of a patient. In the medical facility where the node 1 is provided, the photographing device outputs image data to a storage device 2. The photographing device includes different types of devices.
[0148] In the fourth 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 assists 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.
[0149] In the model learning system 100 according to the fourth embodiment, the server 3 acquires an initial global model (0th order global model) 51 created in advance with a plurality of different architectures at 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.
[0150] 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.
[0151] The server 3 creates a first global model 51 by weighting the local models 52 acquired from each node 1 for each different architecture. Here, the server 3 calculates the weighted average of the weight coefficients of each local model 52. The server 3 redistributes the created first global model 51 to multiple nodes 1.
[0152] 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.
[0153] 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 4 as a distributable model.
[0154] 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. It also makes it possible for each node 1 to select a model useful for the node 1 with respect to the diagnostic support data.
[0155] The process of model learning by the server 3 and the node 1 in the fourth embodiment is similar to the process procedures shown in the first to third embodiments. However, in the fourth embodiment, each node 1 transmits the characteristics of local data to the server 3 when updating the local model 52.
[0156] Fig. 21 is a flowchart showing an example of a procedure for updating the local model 52 in the fourth embodiment. Among the processing procedures shown in the flowchart of Fig. 21, the same step numbers are assigned to the processing procedures common to the processing procedures shown in the flowchart of Fig. 5 of the first embodiment, and detailed descriptions thereof will be omitted.
[0157] Before executing learning of the distributed global model 51, the processing unit 10 of the node 1 calculates and stores the amount of data (number of data items) of the acquired local data (step S321). The processing unit 10 acquires and stores device data of the image capturing device that is stored in advance in the storage unit 11 or associated with the image data in the storage device 2 (step S322). In step S322, the processing unit 10 may acquire not only the type of device but also characteristics such as annotation accuracy of the local data as characteristics of the local data.
[0158] When the processing unit 10 satisfies the learning completion condition (S305: YES) and stores the learned local model 52 (S306), the processing unit 10 calculates an evaluation value of the local model 52 obtained after the learning process (step S323). In step S323, the processing unit 10 calculates, as the evaluation value, an average value of accuracy when local data is input, or the like. The processing unit 10 may derive a judgment result of A / B / C as the evaluation value.
[0159] The processing unit 10 transmits to the server 3 the amount of local data stored in step S321, the device data stored in step S322, and the evaluation value calculated in step S323 together with the learned local model 52 (step S324), and terminates the process.
[0160] As a result, the server 3 stores the amount of data, characteristics, and the like of the local data that was the basis for learning the local model 52 in association with the local model 52. When obtaining a list of models from the server 3, the operator of the node 1 can refer to these characteristics as an index for evaluating the local models 52 of other nodes 1.
[0161] Fig. 22 shows an example of a model list screen 131 in the fourth embodiment. As shown in Fig. 22, among the models, in addition to the evaluation value, the data characteristics of the local data used in learning are output to the local model 52, and can be referred to at the time of selection. In the example shown in Fig. 22, the data characteristics include the specification data (model number) of the imaging device and the number of data items. Based on these data characteristics, the operator can select a model to be used, including the local model 52.
[0162] 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]
[0163] 1 Node 10 Processing section 11 Storage section 2 Storage device 3 Server 30 Processing section 31 Storage section 3P Server Program 51 Global Model 52 Local Model
Claims
1. Distributing global model data stored in the server to multiple nodes; By using local data processed by the plurality of nodes, each node learns a local model based on the global model; Obtaining the local model after training and version information of each local model from each node; updating data of a global model based on data of a plurality of local models acquired from each of the plurality of nodes; The acquired local model data and the updated global model data are stored in association with version information, causing the plurality of nodes to calculate evaluation values based on accuracy of a global model and a local model associated with different version information, based on local data to be processed by each node; Calculating a total evaluation value for each of the global model and the local model based on the evaluation values calculated for the plurality of nodes; The acquired evaluation value and total evaluation value are stored in association with the global model and the local model; Accepting a selection from a global model and a local model in which different version information is associated with each of the evaluation values and the total evaluation value; Distributing data of the selected model to the plurality of nodes or other devices. How the model provides data, including processing.
2. Distributing global model data stored in a server to a plurality of nodes, By using local data processed by the plurality of nodes, each node learns a local model based on the global model; Obtaining the local model after training and version information of the local model from each node; updating data of a global model based on data of a plurality of local models acquired from each of the plurality of nodes; The acquired local model data and the updated global model data are stored in association with version information, accepting a selection of a plurality of global models and / or local models from among global models and local models associated with different version information; Distributing data of the selected models to the nodes or other devices; inputting data that can be processed by the plurality of nodes or other devices into each of the plurality of distributed models; A result for the data is determined by a majority vote of a plurality of output results output from the plurality of distributed models. How the model provides data, including processing.
3. having each of the plurality of nodes select a model from among the global model and the local model to which different version information is associated; Select models that are selected by a given number of nodes or more. A method for providing data of a model according to claim 1 or 2.
4. storing a data amount, a data characteristic, or a learning amount of the local data used in the learning in association with version information of the global model and the local model; Outputting options for the global model and the local model together with data indicating the data amount, data characteristics, or learning amount, and accepting a selection. A method for providing data of a model according to any one of claims 1 to 3.
5. calculating evaluation values of the global model and the local model in a process of repeating distribution of data of the global model, learning of the local model, and updating of the data of the global model based on the data of the local model; A global model to be distributed or updated is selected from the global model or the local model based on the evaluation value. A method for providing data of a model according to any one of claims 1 to 4.
6. Distributing global model data stored in a server to a plurality of nodes; By using local data processed by the plurality of nodes, each node learns a local model based on the global model; Obtaining the local model after training and version information of each local model from each node; updating data of a global model based on data of a plurality of local models acquired from each of the plurality of nodes; The acquired local model data and the updated global model data are stored in association with version information, having each of the plurality of nodes select a model from among a global model and a local model to which different version information is associated; Select a model that is selected by a predetermined number of nodes or more; Distributing data of the selected model to the plurality of nodes or other devices. How the model provides data, including processing.
7. 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 based on the local data to be processed; The processing unit included in the server includes: acquiring the local model after learning and version information of each of the local models 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 acquired local model data and the updated global model data are stored in association with version information, causing the plurality of nodes to calculate evaluation values based on accuracy of a global model and a local model associated with different version information, based on local data to be processed by each node; Calculating a total evaluation value for each of the global model and the local model based on the evaluation values calculated for the plurality of nodes; The acquired evaluation value and total evaluation value are stored in association with the global model and the local model; Accepting a selection from a global model and a local model in which different version information is associated with each of the evaluation values and the total evaluation value; Distributing data of the selected model to the plurality of nodes or other devices. Data provision system for the model.
8. A system including a plurality of nodes each processing local data, and a server connected to the plurality of nodes for communication therewith, 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 based on the local data to be processed; The processing unit included in the server includes: acquiring the local model after learning and version information of each of the local models 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 acquired local model data and the updated global model data are stored in association with version information, accepting a selection of a plurality of global models and / or local models from among global models and local models associated with different version information; Distributing data of the selected models to the nodes or other devices; inputting data that can be processed by the plurality of nodes or other devices into each of the plurality of distributed models; A result for the data is determined by a majority vote of a plurality of output results output from the plurality of distributed models. Data provision system for the model.
9. A communication unit that communicates with a plurality of nodes; A processing unit for storing data of a global model; Equipped with The processing unit Distributing the stored global model data to the plurality of nodes; acquiring data of a local model learned based on the global model using local data processed by the plurality of nodes in association with version information; updating data of a global model based on data of a local model after learning acquired from each of the plurality of nodes; The acquired local model data and the updated global model data are stored in association with version information, causing the plurality of nodes to calculate evaluation values based on accuracy of a global model and a local model associated with different version information, based on local data to be processed by each node; Calculating a total evaluation value for each of the global model and the local model based on the evaluation values calculated for the plurality of nodes; The acquired evaluation value and total evaluation value are stored in association with the global model and the local model; Accepting a selection from a global model and a local model in which different version information is associated with each of the evaluation values and the total evaluation value; Distributing data of the selected model to the plurality of nodes or other devices. Server device.
10. A computer that can communicate with multiple nodes. Distributing the stored global model data to the plurality of nodes; acquiring data of each local model learned based on the global model using local data processed by the plurality of nodes in association with version information; updating data of a global model based on data of a local model after learning acquired from each of the plurality of nodes; The acquired local model data and the updated global model data are stored in association with version information, causing the plurality of nodes to calculate evaluation values based on accuracy of a global model and a local model associated with different version information, based on local data to be processed by each node; Calculating a total evaluation value for each of the global model and the local model based on the evaluation values calculated for the plurality of nodes; The acquired evaluation value and total evaluation value are stored in association with the global model and the local model; Accepting a selection from a global model and a local model in which different version information is associated with each of the evaluation values and the total evaluation value; Distributing data of the selected model to the plurality of nodes or other devices. A computer program that executes a process.
11. The computer that is connected to the server repeating a process of learning a local model using the local data to be processed based on the data of a global model distributed from the server, and a process of transmitting the data of the learned local model to the server; Acquire a plurality of global model data and local model data associated with different version information, inputting data to be processed into a plurality of global models and / or local models corresponding to the acquired data; A result for the data is determined by a majority vote of a plurality of output results output from the plurality of global models and / or local models. A computer program that executes a process.
Citation Information
Patent Citations
Distributed machine learning system, apparatus, and method
JP2019526851A
Training a model using parameter server shards
US8768870B1
Digital anthropology and ethnography system
WO2020223620A1
