Learning device, learning method, and program
The learning device uses ANOVA kernels to calculate and share high-order statistics across vertically partitioned databases, enabling secure training of predictive models with high-order feature combinations, addressing the challenge of data confidentiality and accuracy in existing technologies.
Patent Information
- Application Number
- JP2020075223
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-04-21
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2040-04-21
AI Technical Summary
Existing technologies struggle to train predictive models that handle high-order combinations of features while maintaining data confidentiality across multiple vertically partitioned databases, as they either cannot handle high-order combinations or fail to facilitate secure data sharing among parties.
A learning device that calculates and shares high-order statistics based on ANOVA kernels, allowing multiple devices to train a predictive model without directly using each other's data, using a method called Higher-Order Factorization Machines (HOFMs) to integrate statistics across vertically partitioned databases.
Enables the training of predictive models that handle high-order feature combinations while preserving data confidentiality, achieving accuracy closer to collaborative learning without sharing raw data, thus enhancing model performance and security.
Smart Images

Figure 0007547768000009 
Figure 0007547768000010 
Figure 0007547768000012
Abstract
Description
[Technical field]
[0001] The present invention relates to a learning device, a learning method, and a program. [Background technology]
[0002] In recent years, data has been collected and accumulated by various companies and local governments, and there is a need to build more accurate prediction models and prediction models with high added value by training a prediction model using not only one's own data but also data held by others. On the other hand, it is often prohibited to provide one's own raw data to others as it is from the viewpoint of protecting personal information. For this reason, there is a demand for a technology that trains a prediction model using information from data held by others without sharing the raw data itself. In other words, there is a demand for a technology that trains a prediction model by sharing a vertically partitioned database (DB) of training data among multiple parties while maintaining confidentiality.
[0003] As a technology for constructing a highly accurate prediction model by mutually utilizing vertically divided data while maintaining confidentiality among multiple parties, for example, the technology described in Non-Patent Document 1 is known. The technology described in Non-Patent Document 1 encrypts and shares data held by each of multiple parties, and proposes that one party transmits information that has been subjected to a predetermined encryption to the other party, and the other party encrypts and replies with the result of prediction using its own prediction model based on the received information. As a result, the technology described in Non-Patent Document 1 makes it possible to construct a linear regression model by utilizing information on data held by others while maintaining confidentiality among multiple parties.
[0004] Here, for example, in many complex tasks such as recommendation, link prediction, natural language processing, etc., a prediction model that can handle a larger number of features is required. As a prediction model that can efficiently handle high-order combinations of features, for example, HOFMs (Higher-Order Factorization Machines) described in Non-Patent Document 2 are known (for example, Non-Patent Document 2). [Prior art documents] [Non-patent literature]
[0005] [Non-Patent Document 1] Adria Gascon, Phillipp Schoppmann, Borja Balle, Mariana Raykova, Jack Doerner, Samee Zahur, and David Evans. Privacy-preserving distributed linear regression on high-dimensional data. Proceedings on Privacy Enhancing Technologies, 2017(4):345-364, 2017. [Non-Patent Document 2] Mathieu Blondel, Akinori Fujino, Naonori Ueda, and Masakazu Ishihata. Higher-order factorization machines. In Advances in Neural Information Processing Systems, pages 3351-3359, 2016. Summary of the Invention [Problem to be solved by the invention]
[0006] However, for example, the technology described in Non-Patent Document 1 is a learning method for a linear regression model, and cannot take into account high-order combinations of feature quantities. On the other hand, for example, the technology described in Non-Patent Document 2 can handle high-order combinations of feature quantities, but cannot train a predictive model by mutually utilizing vertically partitioned data while maintaining confidentiality among multiple parties.
[0007] One embodiment of the present invention has been made in consideration of the above points, and aims to train a predictive model that handles high-order combinations of features without directly using information from databases held by others among multiple vertically partitioned databases. [Means for solving the problem]
[0008] In order to achieve the above object, a learning device according to one embodiment is one of a plurality of learning devices each having a plurality of vertically divided DBs, and is characterized in having: a selection means for selecting one piece of data from a DB held by the learning device itself; a first statistic calculation means for calculating a predetermined first statistic for each of the plurality of learning devices using the selected data and parameters held by the learning device itself among parameters of a model to be learned by each of the plurality of learning devices; a second statistic calculation means for calculating a predetermined second statistic using the first statistic calculated for the learning device itself and a first statistic calculated by another learning device among the plurality of learning devices; a loss calculation means for calculating a loss between a predicted value of a model to be learned by the learning device itself and a correct label corresponding to the selected data using the second statistic calculated by the learning device itself and the selected data; and an update means for updating the parameters held by the learning device itself using the second statistic and loss calculated by the learning device itself and the second statistic and loss calculated by the other learning device. Effect of the Invention
[0009] It is possible to train a predictive model that handles high-order combinations of features without directly using information from databases held by others within multiple vertically partitioned databases. [Brief description of the drawings]
[0010] [Figure 1] 1 is a diagram illustrating an example of the overall configuration of a learning system according to a first embodiment. [Diagram 2] FIG. 2 is a diagram illustrating an example of a functional configuration of a learning processing unit in the first embodiment. [Diagram 3] 4 is a flowchart illustrating an example of a learning process in the first embodiment. [Figure 4] FIG. 11 is a diagram illustrating an example of a functional configuration of a learning processing unit in the second embodiment. [Diagram 5] 13 is a flowchart illustrating an example of a learning process in the second embodiment. [Figure 6] FIG. 2 illustrates an example of a hardware configuration of a learning device according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] An embodiment of the present invention will be described below. In this embodiment, a learning system 1 including a learning device 10 capable of training a prediction model that handles high-order combinations of feature quantities without directly using information of DBs held by others among multiple vertically divided DBs (i.e., without directly using data held by others). In other words, in this embodiment, a case will be described in which multiple learning devices 10 each having multiple vertically divided DBs train a prediction model that handles high-order combinations of feature quantities without directly using training data stored in DBs held by other learning devices 10. Training a prediction model in this way can also be said to be a task of training a prediction model by sharing multiple DBs in which the DBs of training data are vertically divided while maintaining confidentiality between the multiple learning devices 10.
[0012] Here, the horizontal index of the learning data corresponds to the data accumulation entity (i.e., the person who collected and accumulated the data, the data holder, the data owner, etc.), and the vertical index corresponds to the subject from which the data was obtained (i.e., a person, an object, etc.).
[0013] For example, let the total number of training data be N, and the nth (n=1, ,N) training data be x n =(x n1 ,x nd ) In this case, the data item x nk The index k of (k=1, , d) corresponds to the storage entity, and the index n of the learning data corresponds to the acquisition target. For example, let the total number of learning devices 10 be M, and let the subset of {1, , d} be K. 1 ,··,K M In this case, the learning device 10 m The DB held by (m=1, ,M) contains a set K m The training data includes data items corresponding to index k in each K. m It is assumed that the index k′ includes at least a common index k′ (for example, an identifier representing a person or an object, such as a user ID or a product ID).
[0014] To give a specific example, the learning device 10 1 holds a customer database, and K 1 is a set of indexes that respectively represent the data items “user ID”, “name”, “height”, and “weight”, and the learning device 10 2 maintains a purchase history DB, and K 2 is a set of indexes that respectively represent the data items “user ID”, “purchased product ID”, “purchased quantity”, “total price”, etc., and the learning device 10 3 holds a database of hospital visit histories, and K 3 It is possible that the index is a set of indexes each representing the data items "user ID", "diagnosis date", and "diagnosis result", etc.
[0015] The following three methods are known for training a predictive model using data stored in a vertically partitioned database.
[0016] FCL (Fully Collaborative Learning): A method in which each subject (i.e., each learning device 10) fully shares the data owned by the other subjects and learns. FIL (Fully independent learning): A method in which each entity learns independently without sharing any of the data owned by the other entity. PCL (Partially Collaborative Learning): A method in which each entity shares some statistics about the data owned by the other entity and allows them to learn. In this embodiment, by training a prediction model using PCL, it is possible to obtain a prediction model with higher accuracy than FIL (and a prediction model with accuracy as close as possible to FCL).
[0017] [Symbol definitions, etc.] In the following, symbols and the like used in this embodiment will be defined.
[0018] First, the total number of holders of vertically divided learning data (e.g., stores, companies, local governments, etc.) is set to M, and the learning device 10 owned, used, or managed by data holder m (m=1, . . . , M) is defined as the “learning device 10 m Let the set of learning data held by data holder m be D (m) This is expressed as:
[0019] Data owner m aims to accomplish a task t m , task t m A prediction model according to F m In this embodiment, a data owner m receives a data set D (m') Without sharing the contents of this data set D (m') A prediction model F that also uses information from the data contained in m The purpose is to train the prediction model F m is an L-th order HOFMs, where L is an integer greater than d, which will be described later. For details of HOFMs, see, for example, Non-Patent Document 2 mentioned above.
[0020] A data set D held by all data holders m (m = 1, , M) (m) The integrated set is D={(x n ,y n )}, where x n is data obtained by combining learning data acquired or collected by each data holder regarding the acquisition target n (e.g., the customer data of the nth user, the purchase history data of the nth user, etc.), and is a d-dimensional vector. In addition, let x n (m) and d m Let it be a dimensional vector.
[0021] At this time,
[0022]
number
[0023] Also, y n is a vector that combines the labels (also called teacher labels or output labels) that each data owner assigns to the learning data acquired or collected from the acquisition target n. In addition, n (m) The label given to y n (m) In addition, y n (m) can be a scalar or a vector.
[0024] In addition, the data owner m aims to accomplish the task t m Prediction model according to F m Let P be the set of parameters. (m) In this embodiment, the parameter set P (m) is distributed among the data holders, and data holder m' assigns task t m Prediction model F m The parameters to be held for P(m,m') It is written as follows.
[0025] For example, if M=3, the prediction model is F 1 ,F 2 ,F 3 and data owner 1 is the predictive model F 1 Parameter P (1,1) and prediction model F 2 Parameter P (2,1) and F 3 Parameter P (3,1) Similarly, data owner 2 holds a prediction model F 1 Parameter P (1,2) and prediction model F 2 Parameter P (2,2) and F 3 Parameter P (3,2) Similarly, holder 3 holds a prediction model F 1 Parameter P (1,3) and prediction model F 2 Parameter P (2,3) and F 3 Parameter P (3,3) In this case, P (1) ={P (1,1) ,P (1,2) ,P (1,3)},P (2) ={P (2,1) ,P (2,2) ,P (2,3)},P (3) ={P (3,1) ,P (3,2) ,P (3,3)}.
[0026] [Example 1] Hereinafter, a first example of the present embodiment will be described.
[0027] <Overall composition> First, the overall configuration of a learning system 1 in the first embodiment will be described with reference to Fig. 1. Fig. 1 is a diagram showing an example of the overall configuration of a learning system 1 in the first embodiment.
[0028] As shown in FIG. 1, the learning system 1 in the first embodiment includes a learning device 10. 1 , , Learning device 10 M That is, the learning system 1 includes M learning devices 10. Furthermore, these learning devices 10 are communicatively connected via an arbitrary communication network N such as the Internet.
[0029] Each learning device 10 m (m=1, ,M) is the prediction model F m A learning processing unit 100 for learning a data set D (m) A learning data DB 200 in which the above is stored and a set of parameters {P (m',m) and a parameter DB 300 in which |m′=1, . . . , M} is stored.
[0030] <Functional configuration> Next, a functional configuration of the learning processing unit 100 in the first embodiment will be described with reference to Fig. 2. Fig. 2 is a diagram illustrating an example of a functional configuration of the learning processing unit 100 in the first embodiment.
[0031] As shown in Fig. 2, the learning processing unit 100 in the first embodiment includes a data selection unit 101, a local statistics calculation unit 102, a global statistics calculation unit 103, a loss calculation unit 104, an update unit 105, and a termination determination unit 106. In Fig. 2, the learning device 10 having the learning processing unit 100 is m The case where this is the case will be described.
[0032] The data selection unit 101 selects a data set D stored in the learning data DB 200. (m) Select one learning data from. In the following, we will use learning data x n (m) is selected.
[0033] The local statistics calculation unit 102 calculates the learning data x selected by the data selection unit 101. n (m) Using the above, each learning device 10 m'The local statistics calculation unit 102 calculates the ANOVA kernel for each dimension r (r=2,...,L) related to (m'=1,...,M) as a local statistic. n (m) and a learning device 10 held by the user. m' Prediction model F m' Parameter P (m',m) Using and, the rth order local statistic a r (m) The rth order local statistic (ANOVA kernel) can be calculated recursively using the following formula (1). 0 (m) =1, a 1 (m) =0.
[0034]
number
[0035] Then, the local statistic calculation unit 102 calculates the rth (r=2, . . . , L)th local statistic a r (m) Learning device 10 m' On the other hand, the r-th (r=2, ,L)-th order local statistic a r (m) is passed to the global statistics calculation unit 103.
[0036] In this way, the learning device 10 m is the training data x n (m) Itself is another learning device 10 m' (m' ≠ m), and the learning data x n (m) and other learning devices 10 m' Prediction model F m' Parameter P (m',m) The other learning device 10 only uses the statistics calculated based on m' In other words, each learning device 10 shares only the statistics with the other learning devices 10. Therefore, the contents of the data held by each learning device 10 are not made known to the other learning devices 10.
[0037] As will be described later, the parameters of the prediction model are successively updated by the update unit 105. Therefore, the local statistics calculation unit 102 calculates the local statistics according to the above formula (1) using the latest parameter values.
[0038] The global statistics calculation unit 103 calculates the local statistics a r (m) and 10 other learning devices m' Local statistics received from (m'≠m) r (m') (That is, learning device 10 m' The learning data and the prediction model F m Parameter P (m,m') The learning device 10 m' The local statistics a calculated at r (m') ) and the self-prediction model F m The global statistic A of order r (r = 2, , L) on r (m) The rth-order global statistic (ANOVA kernel) can be calculated recursively using the following formula (2).
[0039]
number
[0040] The loss calculation unit 104 calculates the global statistics A r (m) Using the training data x n (m) Prediction model F m The prediction results obtained by inputting n (m) Let y be the label (correct label) corresponding to n (m) Losses with C n (m) Calculate.
[0041] Training data x n (m) Prediction model for F m The predicted value showing the predicted result of f n (m) Then, the predicted value f n (m) can be calculated by sequentially updating the following formula (3). n (m) The initial value of is set to 0.
[0042]
number
[0043] Prediction value f n (m) and label y n (m)Losses with C n (m) =C(f n (m) ,y n (m) ) is f n (m) andy n (m) For example, a μ-smooth function (such as squared loss) may be calculated.
[0044] Then, the loss calculation unit 104 calculates the loss C n (m) Other learning devices 10 m' (m′ ≠ m) and also passes it to update unit 105 .
[0045] The update unit 105 updates the parameters of the prediction model held by itself by using the loss and the global statistics. At this time, the update unit 105 updates the parameters of the prediction model held by itself by using the loss C n (m) and the global statistic A r (m) Using the above, the prediction model F m Parameter P (m,m) In addition, the update unit 105 updates the other learning devices 10 m' Loss C received from (m' ≠ m) n (m') and the global statistic A r (m') Using the above, the prediction model F m' Parameter P (m',m) Update.
[0046] Here, the prediction model F m Parameter set P (m) For simplicity, let us denote it simply as P. In this case, P = {P 1 ,···,P L}, the rth parameter set P r (r=1, ,L) is expressed as an S × N matrix. Also, P r Let (s,j) element of p r,s,j , training data x n =x n (m) The j-th element of x n,jIn addition, according to the definition of the ANOVA kernel, p r,s,j is the rth parameter set P r Of these, the training data x n jth element of x n,j The parameters for (i.e., p r,s,j x n,j is a parameter whose product with is calculated.
[0047] At this time, the update unit 105 updates the parameter p r,s,j is updated using the following equation (4).
[0048]
number
[0049] In addition, δ r,s,j,n is the gradient calculated by the following equation (5).
[0050]
number
[0051] Also, η r,s,j is a value calculated by the following formula (6).
[0052]
number
[0053] The termination determination unit 106 determines whether or not a predetermined termination condition is satisfied. Until the termination determination unit 106 determines that the predetermined termination condition is satisfied, the selection of learning data by the data selection unit 101, the calculation of local statistics by the local statistics calculation unit 102, the calculation of global statistics by the global statistics calculation unit 103, the calculation of losses by the loss calculation unit 104, and the update of parameters by the update unit 105 are repeatedly executed. On the other hand, when the termination determination unit 106 determines that the predetermined termination condition is satisfied, the parameter set {P (m',m) |m'=1,...,M} is output as a learned parameter to a preset output destination, and the learning process ends.
[0054] The termination condition may be, for example, that a preset number of repetitions has been reached, that the difference between parameters before and after the update has become equal to or less than a predetermined threshold, or that the loss has become equal to or less than a predetermined threshold.
[0055] <Learning process> Next, the learning process in the first embodiment will be described with reference to FIG. 3. FIG. 3 is a flowchart showing an example of the learning process in the first embodiment. In FIG. 3, the learning device 10 m A case where the learning process is executed will be described.
[0056] The data selection unit 101 of the learning processing unit 100 selects a data set D (m) (Step S101). After that, the data selection unit 101 selects one learning data item from the learning data x n (m) is selected.
[0057] Next, the local statistics calculation unit 102 of the learning processing unit 100 calculates the learning data x selected in step S101 above. n (m) Using the above formula (1), the local statistics a r (m) (Step S102) Here, m'≠m is assumed, and the parameter P (m',m) The local statistics a calculated using r (m) (r=2, ,L) is another learning device 10 m' On the other hand, the parameter P (m,m) The local statistics a calculated using r (m) (r=2, . . . , L) is passed to the global statistics calculation unit 103.
[0058] Next, the global statistics calculation unit 103 of the learning processing unit 100 calculates the local statistics a r (m) and 10 other learning devices m' Local statistics received from (m'≠m) r (m') Using the above equation (2), the global statistic A r (m) (Step S103). r (m) (r=2, ,L) is another learning device 10 m' will be sent to.
[0059] Next, the loss calculation unit 104 of the learning processing unit 100 calculates the global statistic A r (m) Using the above formula (3), the predicted value f n (m) After calculating the loss C n (m) =C(f n (m) ,y n (m) ) is calculated (step S104). n (m) Other learning devices 10 m' will be sent to.
[0060] Next, the update unit 105 of the learning processing unit 100 m Each parameter P stored in the parameter DB300 (m',m) (m′=1, . . . , M) (step S105). As described above, the update unit 105 updates the loss C n (m) and the global statistic A r (m) Using the above equation (4), the parameter P (m,m) In addition, the update unit 105 updates the other learning devices 10 m' Loss C received from (m' ≠ m) n (m') and the global statistic A r (m') Using the above equation (4), the parameter P (m',m) Update.
[0061] Next, the end determination unit 106 of the learning processing unit 100 determines whether or not a predetermined end condition is satisfied (step S106). If it is determined that the predetermined end condition is not satisfied, the learning processing unit 100 returns to the above step S101. On the other hand, if it is determined that the predetermined end condition is satisfied, the learning processing unit 100 returns to the above step S101. (m',m) |m'=1,...,M} is output as the learned parameters, and the learning process ends.
[0062] As a result, the learning device 10 in Example 1 can train a prediction model (HOFMs in this example) that handles high-order combinations of features without directly using learning data held by other learning devices 10.
[0063] [Example 2] The following describes Example 2 of this embodiment. Note that the overall configuration of the learning system 1 is similar to that of Example 1, so the description thereof will be omitted.
[0064] <Functional configuration> The functional configuration of the learning processing unit 100 in the second embodiment will be described with reference to Fig. 4. Fig. 4 is a diagram illustrating an example of the functional configuration of the learning processing unit 100 in the second embodiment.
[0065] As shown in Fig. 4, the learning processing unit 100 in the second embodiment includes a data selection unit 101, a local statistics calculation unit 102, a global statistics calculation unit 103, a loss calculation unit 104, an update unit 105, a termination determination unit 106, and a clustering unit 107. Among these units, the global statistics calculation unit 103, the loss calculation unit 104, the update unit 105, and the termination determination unit 106 are the same as those in the first embodiment, and therefore their description will be omitted. Also, in Fig. 4, the learning device 10 having this learning processing unit 100 is the learning device 10 m The case where this is the case will be described.
[0066] The clustering unit 107 clusters the data set D (m) The learning data included in is clustered in advance, and the center of gravity of each cluster is calculated. The number of clusters may be different between the learning devices 10. As the clustering method, a known clustering method such as the k-means method may be used.
[0067] The data selection unit 101 selects a data set D stored in the learning data DB 200. (m) Select one learning data from and identify the center of gravity of the cluster to which the selected learning data belongs. n(m) is selected, and this training data x n (m) The center of gravity μ of cluster c to which c (m) is deemed to have been identified.
[0068] The local statistics calculation unit 102 calculates the learning data x n (m) Instead of the center of gravity μ c (m) Using the local statistics a r (m) In this way, in the second embodiment, the learning data x n (m) The center of gravity μ of cluster c to which c (m) (That is, the training data x n (m) Using the local statistics a r (m) For this purpose, the other learning device 10 m' (m'≠m) to local statistics a r (m') A learning device 10 for receiving m is the local statistic a r (m') From the original training data x n (m') It is more difficult to restore the original data than in the first embodiment.
[0069] Therefore, the local statistics a r (m) From the original training data x n (m) This makes it possible to prevent a situation in which the password is revealed, and therefore makes it possible to achieve higher safety than in the first embodiment in terms of, for example, protecting personal information and information security.
[0070] <Learning process> Next, the learning process in the second embodiment will be described with reference to FIG. 5. FIG. 5 is a flowchart showing an example of the learning process in the second embodiment. In FIG. 5, the learning device 10 m A case where the learning process is executed will be described.
[0071] First, the clustering unit 107 of the learning processing unit 100 clusters the data set D (m) The learning data included in is clustered in advance, and the center of gravity of each cluster is calculated (step S201). Note that this step only needs to be performed in advance, and does not necessarily have to be executed during the learning process.
[0072] The data selection unit 101 of the learning processing unit 100 selects a data set D (m) (step S202). After that, the data selection unit 101 selects one learning data item from the learning data x n (m) is selected.
[0073] Next, the data selection unit 101 of the learning processing unit 100 selects the learning data x selected in step S202 above. n (m) The center of gravity μ of cluster c to which c (m) (Step S203).
[0074] Next, the local statistics calculation unit 102 of the learning processing unit 100 calculates the learning data x n (m) Instead of the center of gravity μ c (m) Using the above formula (1), the local statistics a r (m) (Step S204) Here, m'≠m is assumed, and the parameter P (m',m) The local statistics a calculated using r (m) (r=2, ,L) is another learning device 10 m' On the other hand, the parameter P (m,m) The local statistics a calculated using r (m) (r=2, . . . , L) is passed to the global statistics calculation unit 103.
[0075] The subsequent steps S205 to S208 are similar to steps S103 to S106 in FIG. 3, respectively, and therefore will not be described.
[0076] As described above, the learning device 10 in the second embodiment can achieve higher security than that in the first embodiment, and can train a predictive model (HOFMs in this embodiment) that handles high-order combinations of features without directly using learning data held by other learning devices 10.
[0077] [Hardware configuration] Finally, the hardware configuration of the learning device 10 in the first and second embodiments will be described with reference to Fig. 6. Fig. 6 is a diagram showing an example of the hardware configuration of the learning device 10 in one embodiment.
[0078] 6, learning device 10 in one embodiment can be realized by the hardware configuration of a general computer or computer system, and has an input device 501, a display device 502, an external I / F 503, a communication I / F 504, a processor 505, and a memory device 506. Each of these hardware components is connected to each other via a bus 507 so as to be able to communicate with each other.
[0079] The input device 501 is, for example, a keyboard, a mouse, a touch panel, etc. The display device 502 is, for example, a display, etc. Note that the study device 10 does not necessarily have to have at least one of the input device 501 and the display device 502.
[0080] The external I / F 503 is an interface with an external device. The external device may include a recording medium 503a. The learning device 10 can read and write data from and to the recording medium 503a via the external I / F 503. The recording medium 503a may store one or more programs that realize the learning processing unit 100.
[0081] The recording medium 503a may be, for example, a CD (Compact Disc), a DVD (Digital Versatile Disc), an SD memory card (Secure Digital memory card), or a USB (Universal Serial Bus) memory card.
[0082] The communication I / F 504 is an interface for connecting the learning device 10 to the communication network N. One or more programs for implementing the learning processing unit 100 may be acquired (downloaded) from a predetermined server device or the like via the communication I / F 504.
[0083] The processor 505 is, for example, a variety of arithmetic devices such as a CPU (Central Processing Unit) or a GPU (Graphics Processing Unit). The learning processing unit 100 is realized, for example, by processing that one or more programs stored in the memory device 506 cause the processor 505 to execute.
[0084] The memory device 506 is, for example, various storage devices such as a hard disk drive (HDD), a solid state drive (SSD), a random access memory (RAM), a read only memory (ROM), a flash memory, etc. The learning data DB200 and the parameter DB300 can be realized, for example, by using the memory device 506. Note that at least one of the learning data DB200 and the parameter DB300 may be realized by using a storage device connected to the learning device 10.
[0085] The learning device 10 in the first and second embodiments can realize the above-mentioned learning process by having the hardware configuration shown in Fig. 6. The hardware configuration shown in Fig. 6 is an example, and the learning device 10 may have other hardware configurations. For example, the learning device 10 may have multiple processors 505, or multiple memory devices 506.
[0086] The present invention is not limited to the above-described embodiments specifically disclosed, and various modifications, changes, combinations with known technologies, etc. are possible without departing from the scope of the claims. [Explanation of symbols]
[0087] 1. Learning System 10 Learning Device 100 Learning processing unit 101 Data Selection Section 102 Local Statistics Calculation Unit 103 Global Statistics Calculation Unit 104 Loss calculation section 105 Update section 106 End Judgment Section 107 Clustering Department 200 Learning Data DB 300 Parameter DB N Communication Network
Claims
1. A learning device among a plurality of learning devices each having a plurality of second DBs each formed by vertically dividing a first DB, A selection means for selecting one data item from a second DB that the device has; a first statistics calculation means for calculating a predetermined first statistics for each of the plurality of learning devices by using the selected data and parameters held by each of the plurality of learning devices among parameters of a model to be learned by each of the plurality of learning devices; a second statistic calculation means for calculating a predetermined second statistic using a first statistic calculated for itself and a first statistic calculated by another learning device among the plurality of learning devices; a loss calculation means for calculating a loss between a predicted value of a model to be trained by the means and a correct label corresponding to the selected data, using a second statistic calculated by the means and the selected data; an update means for updating a parameter held by the learning device itself using a second statistic and a loss calculated by the learning device itself and a second statistic and a loss calculated by the other learning device; having each of the plurality of learning devices learns a different model, and parameters of each model are held in a distributed manner by each of the plurality of learning devices; A learning device, wherein the model is a predictive model that handles high-order combinations of features.
2. A clustering unit that performs clustering on data stored in a second DB owned by the clustering unit; The first statistics calculation means The learning device according to claim 1, characterized in that a predetermined first statistical quantity is calculated for each of the plurality of learning devices using data indicating the center of gravity of the cluster to which the selected data belongs and parameters held by each of the plurality of learning devices among parameters of a model that each of the plurality of learning devices is to learn.
3. The models are L-th order HOMFs, the first statistic is the ANOVA kernel, 3. The learning device according to claim 1, wherein the first statistics calculation means calculates the first statistics by recursively calculating a second-order ANOVA kernel through an L-th-order ANOVA kernel for each of the plurality of learning devices.
4. The second statistic is the ANOVA kernel, The second statistics calculation means 4. The learning device according to claim 3, wherein the second statistical amount is calculated by recursively calculating from a second-order ANOVA kernel to an L-th order ANOVA kernel using first statistical amounts from a second-order ANOVA kernel to an L-th order ANOVA kernel calculated for the learning device itself and first statistical amounts from a second-order ANOVA kernel to an L-th order ANOVA kernel calculated by the other learning device.
5. One of a plurality of learning devices, each of which has a plurality of second DBs formed by vertically dividing a first DB, A selection step of selecting one piece of data from a second DB owned by the device itself; a first statistics calculation step of calculating a predetermined first statistics for each of the plurality of learning devices by using the selected data and parameters held by each of the plurality of learning devices among parameters of a model to be learned by each of the plurality of learning devices; a second statistics calculation step of calculating a predetermined second statistics using the first statistics calculated for the learning device itself and first statistics calculated by other learning devices among the plurality of learning devices; a loss calculation step of calculating a loss between a predicted value of a model to be trained by the training device and a correct label corresponding to the selected data, using the second statistic calculated by the training device and the selected data; an update procedure for updating parameters held by the learning device itself using a second statistic and a loss calculated by the learning device itself and a second statistic and a loss calculated by the other learning device; Run each of the plurality of learning devices learns a different model, and parameters of each model are held in a distributed manner by each of the plurality of learning devices; A learning method, wherein the model is a predictive model that handles high-order combinations of features.
6. A program for causing a computer to function as each of the means in the learning device according to any one of claims 1 to 4.
Citation Information
Patent Citations
Pattern learning method and device
JP1997034862A
Disaster prevention business support system
JP2005301840A
Objective variable prediction device, method and program
JP2017207987A
Distributed deep layer learning apparatus and distributed deep layer learning system
JP2018120441A
Distributed learning method and distributed learning device
JP2019212111A
