Secret decision tree learning device, secret decision tree learning system, secret decision tree learning method, and program

The secure decision tree learning device addresses the inefficiency of long computation times by classifying data at all nodes within each layer, thereby reducing the computation time for learning decision trees.

JP7567930B2Active Publication Date: 2024-10-16NIPPON TELEGRAPH & TELEPHONE CORP
View PDF 1 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The computation time for learning a decision tree using secure computation becomes excessively long as the height of the decision tree increases, leading to inefficiencies in the calculation process.

Method used

A secure decision tree learning device that performs classification at all nodes simultaneously within each layer of the decision tree, reducing the number of data set references exponentially by utilizing secure computation techniques.

Benefits of technology

This approach significantly reduces the computation time required for learning a decision tree, achieving efficient processing even with taller trees.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007567930000012
    Figure 0007567930000012
  • Figure 0007567930000013
    Figure 0007567930000013
  • Figure 0007567930000014
    Figure 0007567930000014
Patent Text Reader

Abstract

A secret decision tree learning device according to an embodiment of the present invention carries out learning of a decision tree by secret calculation. The secret decision tree learning device comprises: an input unit that inputs a data set constituted by a plurality of records including attribute values of one or more explanatory variables and an attribute value of a target variable; and a learning unit that, for each hierarchy level of the decision tree, performs data set division collectively at all nodes included in that hierarchy level to learn the decision tree.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a secret decision tree learning device, a secret decision tree learning system, a secret decision tree learning method, and a program. [Background technology]

[0002] A method called secure computation is known as a method for obtaining a specific computation result without restoring an encrypted numerical value (for example, Non-Patent Document 1). In the method described in Non-Patent Document 1, encryption is performed by distributing fragments of a numerical value among three secure computing devices, and the three secure computing devices perform cooperative computation, so that the results of addition / subtraction, constant addition, multiplication, constant multiplication, logical operations (negation, logical product, logical sum, exclusive logical sum), data format conversion (integer and binary number), etc. can be obtained in a distributed state among the three secure computing devices without restoring the numerical value.

[0003] By the way, when learning a decision tree from a given data set, a well-known method is to calculate an evaluation value when the data set is divided at each node based on the attribute values ​​of each data, and then adopt the division that maximizes this evaluation value. [Prior art documents] [Non-patent literature]

[0004] [Non-Patent Document 1] Koji Senda, Hiroki Hamada, Dai Igarashi, Katsumi Takahashi, "Rethinking Lightweight Verifiable Three-Party Secret Function Computation," In CSS, 2010. Summary of the Invention [Problem to be solved by the invention]

[0005] However, when learning a decision tree using secure computation, the computation time can be long. For example, if the decision tree is a binary tree with a height of h or less, the number of references to the data set is Θ(2 h) Therefore, as the height of the decision tree increases, the calculation time required for learning increases.

[0006] An embodiment of the present invention has been made in consideration of the above points, and has an object to reduce the calculation time required when learning a decision tree using secure computation. [Means for solving the problem]

[0007] In order to achieve the above-mentioned object, a secret decision tree learning device of one embodiment is a secret decision tree learning device that learns a decision tree by secret computation, and has an input unit that inputs a dataset consisting of a plurality of records including attribute values ​​of one or more explanatory variables and attribute values ​​of a target variable, and a learning unit that learns the decision tree by collectively dividing the dataset at all nodes included in each hierarchy of the decision tree. Effect of the Invention

[0008] It is possible to reduce the calculation time when learning a decision tree using secure computation. [Brief description of the drawings]

[0009] [Figure 1] FIG. 2 is a diagram illustrating an example of a functional configuration of a secret decision tree learning device according to the present embodiment. [Diagram 2] FIG. 2 is a diagram illustrating an example of a hardware configuration of a secret decision tree learning device according to the present embodiment. [Diagram 3] 10 is a flowchart showing an example of the flow of a secret decision tree learning process according to the present embodiment. [Figure 4] 1 is a flowchart (part 1) showing an example of the flow of a secret decision tree test process according to the present embodiment. [Diagram 5] 13 is a flowchart (part 2) illustrating an example of the flow of a secret decision tree test process according to the present embodiment. [Figure 6] 10 is a flowchart showing an example of the flow of a secret grouping process according to the present embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] An embodiment of the present invention will be described below. In this embodiment, a secret decision tree learning device 10 capable of efficiently learning a decision tree by secure computation (i.e., learning a decision tree without revealing inputs or outputs) will be described. As will be described later, the secret decision tree learning device 10 according to this embodiment utilizes the fact that each piece of data in a given data set is classified without overlapping between nodes at the same level of the decision tree, and by performing classification at all nodes at the same level at once, it is possible to exponentially reduce the number of references to the entire data set. Note that in this embodiment, a decision tree whose inputs and outputs are concealed using secure computation is also referred to as a secret decision tree.

[0011] <Notation> First, various notations will be described. Note that the following description will also include notations that are not necessarily used in this embodiment.

[0012] A value a that has been concealed by encryption, secret sharing, etc. is called the concealed value of a, and is written as [a]. When a has been concealed by secret sharing, [a] refers to the set of secret sharing fragments held by each secure computing device.

[0013] Restore The process of calculating the value c such that c = a, taking the secret value [a] of a as input c ← Open([a]) It is written as follows.

[0014] ·Arithmetic operations Each operation of addition, subtraction, and multiplication takes the secret values ​​[a] and [b] of two values ​​a and b as input, and calculates the secret values ​​[c1], [c2], and [c3] of the calculation results c1, c2, and c3 of a+b, ab, and ab, respectively. The execution of each operation of addition, subtraction, and multiplication is [c1]←Add([a],[b]) [c2]←Sub([a],[b]) [c3]←Mul([a],[b]) It is described as follows. When there is no risk of causing misunderstanding, Add([a],[b]), Sub([a],[b]), and Mul([a],[b]) are abbreviated as [a]+[b], [a]-[b], and [a]×[b], respectively.

[0015] · Comparison The comparison operation takes the secret values [a] and [b] of two values a and b as inputs, and calculates the secret values [c1], [c2], and [c3] of the truth values c ∈ {0, 1} of a = b, a ≤ b, and a < b. The truth value is 1 when true and 0 when false. The execution of the comparison operations of a = b, a ≤ b, and a < b are respectively [c1] ← EQ([a],[b]) [c2] ← LE([a],[b]) [c3] ← LT([a],[b]) It is described as follows.

[0016] · Selection The selection operation takes the secret value [c] of the truth value c ∈ {0, 1} and the secret values [a] and [b] of two values a and b as inputs,

[0017]

Number

[0018] <Decision Tree> A decision tree is a directed graph that expresses knowledge about certain attributes of data as a combination of rules in a tree structure. In addition, there are attributes called objective variables and attributes called explanatory variables, and a decision tree takes the attribute values ​​of the explanatory variables as input and predicts and outputs the attribute value of the objective variable. A decision tree contains one or more nodes, and at each node other than the leaves, a division rule (division condition) related to the explanatory variables, such as "age less than 30 years old", is set. On the other hand, the attribute value of the objective variable is set at the leaves (i.e., the nodes at the ends of the decision tree).

[0019] When a decision tree receives attribute values ​​of explanatory variables, it first judges the splitting conditions at the root node. It then transitions to one of the child nodes according to the result of the splitting condition judgment. After that, it recursively repeats the splitting condition judgment at each node and transitions to child nodes, and the attribute value assigned to the leaf that is finally reached is output as the predicted value of the objective variable.

[0020] Decision tree learning algorithm As an algorithm for learning a decision tree from a set of data consisting of explanatory variables and objective variables, for example, CART, ID3, C4.5, etc. are known. Although these algorithms differ in detail, all of them learn a decision tree by greedily dividing a data set recursively from the root to the leaves so as to maximize an objective function (Steps 1 to 8 described later). In addition, the input to the algorithm is a data set Q=(X, y), and the output is a decision tree expressed as a directed graph going from the root to the leaves. Hereinafter, each piece of data included in the data set is also referred to as a record. For example, the data set may be referred to as a "learning data set" or a "teacher data set," and each piece of data included in the data set may be referred to as "learning data" or "teacher data," etc.

[0021] Here, X is a matrix whose elements are the attribute values ​​of the explanatory variables of each record, and is expressed, for example, as a matrix with the total number of records as the number of rows and the total number of explanatory variables as the number of columns. y is a vector whose elements are the attribute values ​​of the objective variables of each record, and is expressed, for example, as a vertical vector with the attribute value of the objective variable of the record in the nth row of X as the nth element.

[0022] As described above, a splitting condition is set for each node other than the leaves of the decision tree, and an attribute value of the objective variable is set for the leaves. The objective variable is a categorical value, and the explanatory variables are either numerical or categorical values. The objective variable is also called a label, and its value (attribute value) is also called a label value. In the following, an explanatory variable that takes a numerical value is also called a numerical attribute, and its value is also called a numerical attribute value. Similarly, an explanatory variable that takes a categorical value is also called a categorical attribute (in other words, when the term "categorical attribute" is used, it refers to an explanatory variable that takes a categorical value), and its value is also called a categorical attribute value. A decision tree in which the objective variable is a numerical value is also called a regression tree.

[0023] Step 1: Create node v.

[0024] Step 2: If the termination condition for the division is satisfied, the attribute value of the objective variable is set for the node v, which is then output as a leaf, and the process ends. At this time, the attribute value (label value) set for the node v is, for example, the most frequently occurring value among the values ​​of the elements included in y. Note that examples of the termination condition include when all the elements included in y have the same value (i.e., all the attribute values ​​of the objective variable are the same), when the decision tree has reached a predetermined height, etc.

[0025] Step 3: If the division termination condition is not satisfied, the division conditions r1, r2, ... applicable to the node v are enumerated.

[0026] Step 4: Each partition condition r is calculated by the objective function. i Evaluation value of s i Calculate.

[0027] Step 5: Set of split conditions {r i}, the split condition r that has the maximum evaluation value. * Select the node v and set the splitting condition r * Set.

[0028] Step6: Split condition r * Based on the above, the data set (X, y) is divided into the data sets (X1, y1), (X2, y2),..., (X d ,y d ) In other words, the division condition r * Based on the above, each record in the data set (X, y) is divided into the data sets (X1, y1), (X2, y2),..., (X d ,y d ), where d is the number of branches (i.e., the number of children a node has).

[0029] Step7: Each (X j ,y j ) recursively execute Step 1 to Step 7. That is, for each (X j ,y j ) is regarded as (X, y), and a function or method that executes Steps 1 to 7 is called. When node v is created in Step 1 that is executed recursively, an edge is established between node v created in Step 1 of the caller. Note that node v created in Step 1 of the caller is the parent, and node v created in Step 1 of the callee is the child.

[0030] Step 8: All data sets (X j ,y j When the execution of Steps 1 to 7 for v is completed (i.e., when the execution of all recursively called Steps 1 to 7 is completed), the process outputs a set of each node v (and the division condition r set for that node v) and a set of edges stretched between the nodes, and then terminates. This set of nodes v and the set of edges is the decision tree.

[0031] In this embodiment, the evaluation of the division conditions at each node in the same hierarchical level (Steps 4 to 5 above) and the division of the data set based on the evaluation results (Step 6 above) are executed collectively, and these are repeated recursively for each hierarchical level to learn the secret decision tree. Note that a hierarchical level is a set of nodes at the same depth from the root, and is also simply called a "layer."

[0032] Number of branches The number of branches d can be any integer value of 2 or more, but in this embodiment, a binary tree is assumed and d = 2. Note that this embodiment can also be applied when d is 3 or more, but the larger the value of d, the longer the calculation time.

[0033] ·Dividing conditions As a splitting condition, any condition for the attribute value of the explanatory variable can be used, but generally, conditions such as size comparison or whether or not it is included in a certain set are often used. In this embodiment, the explanatory variable is either a numerical value or a categorical value, so when it is a numerical value, the splitting condition is a size comparison with a threshold value (e.g., x≦C, where C is the threshold and x is the numerical attribute value of the explanatory variable), and when it is a categorical value, the splitting condition is belonging to a certain set (e.g., x∈X, where X is a set and x is the categorical attribute value). The splitting condition may be called, for example, a splitting rule, a classification condition, a classification rule, or the like.

[0034] Purity index When a data set is divided into multiple data sets (in other words, when each record in a data set is classified into multiple data sets), the purity index H(·), which indicates whether the data set is ambiguous, is known as an index to measure the quality of the division (or classification). Commonly used indices include the Gini coefficient and entropy.

[0035] Among the data set Q, the set of records whose attribute value (i.e., label value) of the objective variable is k is called Q k In this case, the ratio of records with label value k at the node that receives the data set Q as input is

[0036]

number

[0037] In this embodiment, the entropy is used as an index of purity.

[0038]

number

[0039] Objective function The quality of each division condition is evaluated by an objective function (that is, the value of the objective function is the evaluation value of the division condition). Commonly used objective functions include, for example, mutual information and gain rate.

[0040] Let the division condition be θ, and let us assume that the data set Q is divided into two data sets, Q(θ,0) and Q(θ,1), under a certain division condition θ. In this case,

[0041]

number

[0042] <Evaluation value calculation> The partitioning condition for each node is set by selecting a partitioning condition that maximizes a predetermined objective function at that node. Since it is necessary to calculate the objective function value for each candidate partitioning condition, it is important to be able to efficiently calculate the objective function value for a given partitioning condition.

[0043] The gain rate defined by the above formula 4 requires a complicated calculation to obtain the frequency of the value of each label (value of the objective variable) after the actual division. Therefore, in this embodiment, the calculation method of the gain rate is organized and simplified so that the calculation of the gain rate for multiple division conditions can be performed collectively by secure calculation.

[0044] In order to simplify the calculation of the gain rate, it is noted that many percentages are required in the gain rate. Since a percentage requires division, if it is calculated as is, the calculation cost will be high, but by multiplying it by the total number, it can be converted into a statistical quantity called a frequency, which is easy to calculate. Based on this observation, in this embodiment, SplitInfo multiplied by the size of the input data set is used instead of the SplitInfo, H, Gain, and G functions. + , H + , Gain + and G + Each function of is used.

[0045] For simplicity's sake,

[0046]

number

[0047]

number

[0048]

number

[0049]

number

[0050]

number

[0051]

number

[0052] The input of f(·) is the four frequencies mentioned above (number of records |Q|, |Q k |, |Q(θ,i)|, |Q(θ,i) k |). Therefore, if the number of records in the dataset given as the training dataset is n, the input of f(·) is always an integer between 0 and n. Therefore, when concealment is achieved by secret sharing, f(·) can be calculated Θ(n) times with communication overhead of O(nlogn) by using a secret batch mapping that uses a correspondence table (lookup table) that represents the following correspondences of size Θ(n).

[0053]

number

[0054] In addition, the comparison result of two values ​​(a,b) and (c,d) given as a pair of non-negative numerators and denominators is equal to the comparison result of ad and bc. Because the numerator and denominator of GainRatio are both non-negative, division can be avoided by substituting them in the above method when comparing GainRatios (i.e., comparing evaluation values). This makes it possible to reduce the calculation time required to compare evaluation values ​​to select the division condition with the maximum evaluation value.

[0055] <Functional configuration> Next, a functional configuration of the secret decision tree learning device 10 according to this embodiment will be described with reference to Fig. 1. Fig. 1 is a diagram showing an example of the functional configuration of the secret decision tree learning device 10 according to this embodiment.

[0056] As shown in FIG. 1, a secret decision tree learning device 10 according to this embodiment includes an input unit 101, a secret decision tree learning unit 102, an output unit 103, and a storage unit 104.

[0057] The storage unit 104 stores various data (i.e., various anonymized data) for training a secret decision tree. Here, the various data includes a data set provided as a training dataset (hereinafter, referred to as a training dataset). The training dataset is composed of a vector having the explanatory variable values ​​of each record as elements, and a vector having the label value of each record as elements. Specifically, for example, if the number of records constituting the training dataset is n and the total number of explanatory variables is m-1, the training dataset is data represented by a matrix with n rows and m columns.

[0058] The various data stored in the storage unit 104 also includes a group information vector that indicates to which node (that is, into which group) a record is classified during training of the secret decision tree.

[0059] The input unit 101 receives a training data set for training a secret decision tree.

[0060] The secret decision tree learning unit 102 uses the learning dataset and the group information vector to evaluate (test) the division conditions at each node of the same layer and divide the data set based on the evaluation result (i.e., classify the records constituting the data set) recursively for each layer to learn the secret decision tree. Here, the secret decision tree learning unit 102 includes an initialization unit 111, a division unit 112, a grouping unit 113, and a node extraction unit 114.

[0061] The initialization unit 111 initializes various data such as group information vectors when learning a secret decision tree. The division unit 112 collectively evaluates (tests) division conditions at each node in the same layer and divides a data set based on the evaluation results (i.e., classifies records constituting the data set). The grouping unit 113 uses the classification results of the records by the division unit 112 to calculate a learning data set and group information vectors to be used for evaluating division conditions at each node in the next layer and dividing the data set based on the evaluation results. The node extraction unit 114 extracts information on each node constituting the secret decision tree to be finally output.

[0062] The output unit 103 outputs the secret decision tree learned by the secret decision tree learning unit 102. The output unit 103 may output the secret decision tree (more precisely, data representing information on each node constituting the secret decision tree) to a predetermined arbitrary output destination (e.g., the storage unit 104, etc.).

[0063] <Hardware configuration> Next, a hardware configuration of the secret decision tree learning device 10 according to this embodiment will be described with reference to Fig. 2. Fig. 2 is a diagram showing an example of a hardware configuration of the secret decision tree learning device 10 according to this embodiment.

[0064] 2, the secret decision tree learning device 10 according to this embodiment is realized by the hardware configuration of a general computer or computer system, and includes an input device 201, a display device 202, an external I / F 203, a communication I / F 204, a processor 205, and a memory device 206. Each of these hardware components is connected to each other via a bus 207 so as to be able to communicate with each other.

[0065] The input device 201 is, for example, a keyboard, a mouse, a touch panel, etc. The display device 202 is, for example, a display, etc. Note that the secret decision tree learning device 10 does not necessarily have to have at least one of the input device 201 and the display device 202, for example.

[0066] The external I / F 203 is an interface with an external device such as a recording medium 203a. The secret decision tree learning device 10 can read and write data from and to the recording medium 203a via the external I / F 203. The recording medium 203a may store, for example, one or more programs that realize each functional unit (the input unit 101, the secret decision tree learning unit 102, and the output unit 103) of the secret decision tree learning device 10.

[0067] The recording medium 203a may be, for example, a CD (Compact Disc), a DVD (Digital Versatile Disk), an SD memory card (Secure Digital memory card), or a USB (Universal Serial Bus) memory card.

[0068] The communication I / F 204 is an interface for connecting the secret decision tree learning device 10 to a communication network. One or more programs for implementing each functional unit of the secret decision tree learning device 10 may be acquired (downloaded) from a predetermined server device or the like via the communication I / F 204.

[0069] The processor 205 is, for example, various kinds of arithmetic devices such as a CPU (Central Processing Unit) and a GPU (Graphics Processing Unit). Each functional unit of the secret decision tree learning device 10 is realized by, for example, processing that the processor 205 executes by one or more programs stored in the memory device 206 or the like.

[0070] The memory device 206 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 storage unit 104 of the secret decision tree learning device 10 can be realized, for example, by using the memory device 206. Note that the storage unit 104 may be realized, for example, by using a storage device connected to the secret decision tree learning device 10 via a communication network.

[0071] The secret decision tree learning device 10 according to this embodiment can realize various processes by having the hardware configuration shown in Fig. 2. Note that the hardware configuration shown in Fig. 2 is an example, and the secret decision tree learning device 10 may have other hardware configurations. For example, the secret decision tree learning device 10 may have multiple processors 205 or multiple memory devices 206.

[0072] <Secret decision tree learning process> Next, a secret decision tree learning process for learning a secret decision tree from a given learning data set will be described with reference to Fig. 3. Fig. 3 is a flowchart showing an example of the flow of the secret decision tree learning process according to this embodiment. Note that hereinafter, it is assumed that a d-ary tree with a height of h or less is to be learned.

[0073] First, the input unit 101 inputs a training dataset for training a secret decision tree (step S101). Hereinafter, as an example, the training dataset Q is data represented by a matrix of n rows and m columns, where the number of records is n and the total number of explanatory variables is m-1, and [T1]:=[Q].

[0074] Next, the initialization unit 111 of the secret decision tree learning unit 102 initializes the group information vector [g1] and the handover parameter [q1] as follows (step S102).

[0075] [g1]:=(0,0,..,1) T [q1]:=(0, ,0) T The group information vector and the inherited parameters are vectors with n elements. Also, T is the symbol representing transposition.

[0076] Here, the group information vector is a vector that indicates which group each record in the training dataset is classified into, and when a group of consecutive records is classified into the same group, the element at the position corresponding to the last record in the group is set to 1, and the other elements are set to 0. For example, the above group information vector [g1] indicates that all records in the training dataset [T1] are classified into the same group. This means that at the root node, all records are classified into the same group.

[0077] The inherited parameters are vectors whose elements are the node numbers to which each record is classified in each hierarchy. For i=1,...,h, the inherited parameters [q i ] is the nth element of the training data set [T i For example, the inherited parameter [q1] above indicates that all records in the training dataset [T1] are classified into the node numbered "0" (i.e., the root).

[0078] The subsequent steps S103 to S105 are repeatedly executed for each layer i=1, . . . , h. In the following, steps S103 to S105 for a certain layer i will be described.

[0079] The division unit 112 of the secret decision tree training unit 102 divides the training data set [T i ] and the group information vector [g i ] to the split parameter [p i ] is calculated (step S103). The process of step S103 is a process of evaluating (testing) the splitting condition at each node of the layer i, and this process sets the splitting condition at each node of the layer i (excluding leaves). The details of this process will be described later.

[0080] Here, the partitioning parameter [p i ] is the classification result at each node of the secret decision tree ([f i ]) is data that includes secret values ​​of information necessary for calculating the layer i. For example, each node in layer i includes secret values ​​of the following information (a) to (d).

[0081] (a) Which explanatory variables are used to determine the splitting conditions? (b) What type of splitting condition is used to determine the explanatory variable (e.g., a splitting condition that indicates whether the variable belongs to a certain set, or a splitting condition that indicates whether the variable belongs to a certain set, etc.)? (c) Threshold or set used for splitting criteria (d) The label value that is set when the node becomes a leaf. That is, the partitioning parameter [p i ] contains information about the splitting condition (or label value if the node is a leaf) set for each node in layer i.

[0082] Next, the division unit 112 of the secret decision tree training unit 102 divides the training data set [T i ] and the division parameter [p i ] to the classification result [f i ] is calculated (step S104). Here, the classification result [fi ] is the training data set [T i ] (i.e., divide the training dataset [T i d]) is information representing the result of classifying each record constituting the learning dataset [T i ], and then it is judged whether each attribute value satisfies the conditions determined in (b) and (c) above. If the attribute value of the jth record (1≦j≦n) satisfies the condition, the jth element is set to 1, otherwise it is set to 0, and the classification result [f i ] can be calculated.

[0083] Next, the grouping unit 113 of the secret decision tree learning unit 102 divides the training data set [T i ], inherited parameters [q i ], group information vector [g i ] and classification results [f i ] to the training dataset [T i+1 ], inherited parameters [q i+1 ] and the group information vector [g i+1 ] is calculated (step S105). At this time, the grouping unit 113 calculates [T i ] and [q i ]×d+[f i ] and the concatenated dataset ([T i ],[q i ]×d+[f i ]) to [g i ] and [f i ], the result of the sorting ([T i+1 ],[q i+1 ]) and [T i+1 [g i+1 ] is calculated. Note that [q i ]×d+[f i ] is the [q i+1]. This corresponds to [f i Since each element of ] takes a value between 0 and d-1, [q i ] (i.e., the node number) is expressed as [f i This means that each element of [ is renumbered to a different number, and the number of each node in the i+1 layer is assigned.

[0084] The process of step S105 is the same as the process of step S104. i ] for the training dataset [T i ] into smaller groups, and this process creates a training dataset [T i+1 ] and the inherited parameter [q i+1 ] and the group information vector [g i+1 The details of this process will be described later.

[0085] Next, when the above steps S103 to S105 are executed for i=1, . . . , h, the node extraction unit 114 of the secret decision tree learning unit 102 extracts each of the inherited parameters [q i ] and each division parameter [p i ] is used to extract information about each node (step S106). i ] has [T i The node number where each record in [p i For each node, the information shown in (a) to (d) above is stored in [q i For each different value taken by each element of [, the information (a) to (d) of the node corresponding to that value may be extracted.

[0086] Then, the output unit 103 outputs the information extracted in the above step S106 (that is, information on each node constituting the secret decision tree) (step S107).

[0087] <Secret decision tree test process (part 1)> Next, an example of the details of the process in step S103 above will be described with reference to FIG. 4. FIG. 4 is a flowchart (part 1) showing an example of the flow of the secret decision tree test process according to this embodiment. In the following, as an example, a case will be described in which a certain numeric attribute is targeted and split conditions are evaluated (tested) at each node constituting layer i. In addition, for a learning dataset [T i A vector in which the numeric attribute values ​​of each record in [ are arranged in record order is called a numeric attribute value vector, and a vector in which the label values ​​are arranged in record order is called a label value vector. The set of possible values ​​for the label is {1, 2, 3}.

[0088] First, the division unit 112 inputs a numerical attribute value vector, a label value vector, and a group information vector (step S201). In the following, as an example, the group information vector is expressed as follows: [g]=[g i ]=(0,0,1,1,0,0,0,1,0,1) T The above [g] is the training dataset [T i ] represents that the first record to the third record belong to the first group, the fourth record belongs to the second group, the fifth record to the eighth record belong to the third group, and the ninth record to the tenth record belong to the fourth group.

[0089] Next, the division unit 112 rearranges the elements of the numeric attribute value vectors and the label value vectors in each group in ascending order (step S202). That is, the division unit 112 rearranges the elements of the numeric attribute value vectors and the label value vectors in each of the first to fourth groups in ascending order. In the following, as an example, the numeric attribute value vectors after this rearrangement are [c]=(1,2,5,2,3,4,5,7,2,4) T In addition, the label value vector after sorting is [y]=(3,2,1,3,2,1,1,3,1,2)T Hereinafter, the numerical attribute value vector and the label value vector refer to the rearranged numerical attribute value vector and the label value vector.

[0090] Next, the division unit 112 calculates, for each value that the label can take, a bit vector that indicates the position of an element that matches the label value among the elements of the label value vector [y] (step S203).

[0091] If the bit vectors corresponding to the possible label values ​​"1", "2", and "3" are [f1], [f2], and [f3], respectively, then these bit vectors will be as follows:

[0092] [f1]=(0,0,1,0,0,1,1,0,1,0) T [f2]=(0,1,0,0,1,0,0,0,0,1) T [f3]=(1,0,0,1,0,0,0,1,0,0) T In other words, a bit vector corresponding to a certain label value is a vector in which only the elements in the label value vector that are in the same position as the element that matches the label value are set to 1, and the other elements are set to 0.

[0093] Next, the division unit 112 performs an aggregate function cumulative sum operation on each bit vector according to the grouping by the group information vector [g] to calculate a first judgment vector (step S204). Here, the aggregate function cumulative sum operation is an operation that inputs a set of elements in the same group and outputs a set of cumulative sums of the values ​​of the elements. In other words, the aggregate function cumulative sum operation is an operation that calculates a cumulative sum for each element in the same group from the beginning.

[0094] For example, for each bit vector, the division unit 112 calculates the cumulative sum of the first element through the third element in order, similarly calculates the cumulative sum of the fourth element, then calculates the cumulative sum of the fifth element through the eighth element in order, and then calculates the cumulative sum of the ninth element through the tenth element in order.

[0095] This results in the first decision vector corresponding to the bit vector [f1]. [s 0,1 ]=(0,0,1,0,0,1,2,2,1,1) T is obtained.

[0096] Similarly, the first decision vector corresponding to the bit vector [f2] [s 0,2 ]=(0,1,1,0,1,1,1,1,1,0,1) T is obtained.

[0097] Similarly, the first decision vector corresponding to the bit vector [f3] [s 0,3 ]=(1,1,1,1,0,0,0,1,0,0) T is obtained.

[0098] The above first decision vector represents the number (frequency) of numeric attribute values ​​that are equal to or less than a threshold value that is the corresponding label value when a threshold value is set immediately after each numeric attribute value in each group (i.e., between the numeric attribute value and the next largest numeric attribute value). For example, the first decision vector [s 0,1 ] indicates that when a threshold is set immediately after the first element of the first group in the numeric attribute value vector [c], the number of numeric attribute values ​​below the threshold that have a label value of 1 is 0. Similarly, for example, when a threshold is set immediately after the third element of the first group, the number of numeric attribute values ​​below the threshold that have a label value of 1 is 1.

[0099] Therefore, using the above first decision vector, it is possible to calculate the frequency of records that have label value k in a data set (a set of numerical attribute values) that satisfies a splitting condition expressed in the form of x≦C (where C is a threshold value).

[0100] Next, the division unit 112 performs an aggregate function sum operation on each bit vector according to the grouping by the group information vector [g] to calculate an aggregate sum vector (step S205). Here, the aggregate function sum operation is an operation that inputs a set of elements in the same group and outputs the sum of the values ​​of the elements.

[0101] For example, for each bit vector, the division unit 112 calculates the sum of the first element to the third element, similarly calculates the sum of the fourth element, calculates the sum of the fifth element to the eighth element, and calculates the sum of the ninth element to the tenth element. Then, the division unit 112 creates an aggregated sum vector by treating each sum as the element in the same position as the element that was the source of the calculation of that sum.

[0102] This gives us the aggregate sum vector corresponding to the bit vector [f1]. [s *,1 ]=(1,1,1,0,2,2,2,2,2,1,1) T is obtained.

[0103] Similarly, the aggregate sum vector corresponding to the bit vector [f2] [s *,2 ]=(1,1,1,0,1,1,1,1,1,1) T is obtained.

[0104] Similarly, the aggregate sum vector corresponding to the bit vector [f3] [s *,3 ]=(1,1,1,1,1,1,1,1,1,0,0) T is obtained.

[0105] Next, the division unit 112 calculates a second decision vector corresponding to the label value by using the first decision vector and the aggregate sum vector corresponding to the same label value (step S206). The division unit 112 calculates the second decision vector by using the first decision vector and the aggregate sum vector corresponding to the same label value and subtracting the first decision vector from the aggregate sum vector.

[0106] As a result, the second decision vector corresponding to the label value "1" is [s 1,1 ]=[s *,1 ]-[s 0,1 ]=(1,1,0,0,2,1,0,0,0,0) T is obtained.

[0107] Similarly, the second decision vector corresponding to the label value "2" [s 1,2 ]=[s *,2 ]-[s 0,2 ]=(1,0,0,0,0,0,0,0,0,1,0) T is obtained.

[0108] Similarly, the second decision vector corresponding to the label value "3" [s 1,3 ]=[s *,3 ]-[s 0,3 ]=(0,0,0,0,1,1,1,0,0,0) T is obtained.

[0109] The second decision vector above represents the number (frequency) of numeric attribute values ​​greater than a threshold value that are the corresponding label value when a threshold value is set immediately after each numeric attribute value in each group (i.e., between the numeric attribute value and the next largest numeric attribute value). For example, the second decision vector [s 1,1] indicates that when a threshold is set immediately after the first element of the first group in the numeric attribute value vector [c], the number of numeric attribute values ​​greater than the threshold that have a label value of 1 is 1. Similarly, for example, when a threshold is set immediately after the third element of the first group, the number of numeric attribute values ​​greater than the threshold that have a label value of 1 is 0.

[0110] Therefore, using the second decision vector described above, it is possible to calculate the frequency of records with label value k in a data set (a set of numerical attribute values) that does not satisfy a splitting condition expressed in the form of x≦C (where C is a threshold value) among the data sets that have been split (grouped).

[0111] Next, the division unit 112 calculates the frequency for each group and for each division condition (step S207). The number of elements in each group of the numeric attribute value vector [c] (i.e., |Q| shown in (1) above) The number of elements with label value k in each group of the numeric attribute vector [c] (i.e., |Q k |) The number of elements in each group of the numeric attribute vector [c] divided by the division condition θ (i.e., |Q(θ,i)| shown in (3) above) The number of elements with label value k in each group of the numeric attribute value vector [c] divided by the division condition θ (i.e., |Q(θ,i) shown in (4) above) k |) Calculate the four frequencies.

[0112] Of these four frequencies, the first frequency is obtained by calculating the number of elements for each group using the numeric attribute value vector [c] and the group information vector [g]. The second frequency is obtained by calculating the number of elements for each group and for each label value using the numeric attribute value vector [c], the label value vector [y], and the group information vector [g]. The third frequency is obtained by calculating the number of elements for each set divided by the division condition θ within the group (i.e., the set that satisfies the division condition θ and the set that does not) using the numeric attribute value vector [c] and the group information vector [g] when the threshold value of the division condition θ is set for the group.

[0113] On the other hand, the fourth frequency is obtained by calculating the number of elements having label value k in each set divided by the division condition θ in the group when the threshold value of the division condition θ is set for the group, using the numerical attribute value vector [c], the group information vector [g], the first decision vector, and the second decision vector. As described above, the number of elements having label value k in the set that satisfies the division condition θ among the sets after division is calculated using the first decision vector corresponding to the label value k, and the number of elements having label value k in the set that does not satisfy the division condition θ is calculated using the second decision vector corresponding to the label value k.

[0114] Next, the dividing unit 112 uses the frequencies calculated in step S207 to calculate an evaluation value of each dividing condition for each group by equation (10) (step S208).

[0115] Then, the splitting unit 112 selects the splitting condition that maximizes the evaluation value for each group, and outputs the selected splitting condition as the splitting condition to be set for the node corresponding to that group (step S209). Note that when selecting the splitting condition that maximizes the evaluation value for each group, for example, an aggregate function maximum value operation may be performed. The aggregate function maximum value operation is an operation that inputs elements (evaluation values) within the same group and outputs the maximum value of the element values.

[0116] This provides information (a) to (c) about each node other than the leaves in layer i. On the other hand, when the label values ​​in a group are all the same as a result of inputting the numerical attribute value vector, the label value vector, and the group information vector in step S201, the node corresponding to the group becomes a leaf, and information (a) and (d) are provided.

[0117] <Secret decision tree test process (part 2)> Next, an example of the details of the process in step S103 above will be described with reference to FIG. 5. FIG. 5 is a flowchart (part 2) showing an example of the flow of the secret decision tree test process according to this embodiment. In the following, as an example, a case will be described in which a certain categorical attribute is targeted and split conditions are evaluated (tested) at each node constituting layer i. In addition, for a learning dataset [T i A vector in which the category attribute values ​​of each record in [ are arranged in record order is called a category attribute value vector, and a vector in which the label values ​​are arranged in record order is called a label value vector. The set of possible values ​​for the category attribute is {5,6,7,8}, and the set of possible values ​​for the label is {1,2,3}.

[0118] First, the division unit 112 inputs a category attribute value vector, a label value vector, and a group information vector (step S301). In the following, as an example, the group information vector is expressed as follows: [g]=[g i ]=(0,0,1,1,0,0,0,1,0,1) T It is assumed that.

[0119] Also, the categorical attribute value vector is [c]=(5,5,6,8,5,8,5,7,6,5) T and the label value vector is [y]=(3,2,1,3,2,1,1,3,1,2) T It is assumed that.

[0120] Next, for each combination of possible values ​​of the category attribute and the label, the division unit 112 calculates a bit vector indicating the position of an element that matches the combination of the category attribute value and the label value (step S302).

[0121] For example, let us define a bit vector corresponding to the combination of the possible categorical attribute value “5” and the possible label value “1” as [f 5,1 ], then this bit vector [f 5,1 ] would look like this:

[0122] [f 5,1 ]=(0,0,0,0,0,0,1,0,0,0) T Similarly, for example, let us define a bit vector corresponding to the combination of the possible categorical attribute value “5” and the possible label value “2” as [f 5,2 ], then this bit vector [f 5,2 ] would look like this:

[0123] [f 5,2 ]=(0,1,0,0,1,0,0,0,0,1) T Similarly, for example, let us define a bit vector corresponding to the combination of the categorical attribute value “5” and the label value “3” as [f 5,3 ], then this bit vector [f 5,3 ] would look like this:

[0124] [f 5,3 ]=(1,0,0,0,0,0,0,0,0,0,0) T Each bit vector [f 6,1 ]~[f 6,3 ], [f 7,1 ]~[f 7,3 ], [f 8,1 ]~[f 8,3 ] is calculated similarly.

[0125] In other words, a bit vector corresponding to a combination of a certain category attribute value and a label value is a vector in which only the element at the position of the combination that matches the category attribute value and label value is set to 1, and the other elements are set to 0, among the combinations of elements at the same position in the category attribute value vector and the label value vector.

[0126] Next, the division unit 112 performs an aggregation function summation operation on each bit vector in accordance with the grouping by the group information vector [g], and calculates a decision vector (step S303).

[0127] For example, for each bit vector, the division unit 112 calculates the sum of the first element to the third element, similarly calculates the sum of the fourth element, calculates the sum of the fifth element to the eighth element, and calculates the sum of the ninth element to the tenth element. Then, the division unit 112 creates a decision vector by treating each sum as the element in the same position as the element that was the basis for calculating the sum.

[0128] This gives us the bit vector [f 5,1 ] corresponding to the decision vector [c 5,1 ]=(0,0,0,0,1,1,1,1,0,0) T is obtained.

[0129] Similarly, the bit vector [f 5,2 ] corresponding to the decision vector [c 5,2 ]=(1,1,1,0,1,1,1,1,1,1) T is obtained.

[0130] Similarly, the bit vector [f 5,3 ] corresponding to the decision vector [c 5,3 ]=(1,1,1,0,0,0,0,0,0,0,0) T is obtained.

[0131] For each other bit vector [f 6,1 ]~[f 6,3 ], [f 7,1 ]~[f 7,3 ], [f 8,1 ]~[f 8,3 ] is calculated similarly.

[0132] The above decision vector represents the number of times that the combination of the categorical attribute value and the label value corresponding to the bit vector appears in each group. For example, the combination (categorical attribute value, label value) = (5, 1) appears 0 times in the first group, 0 times in the second group, 1 time in the third group, and 0 times in the fourth group. Similarly, the combination (categorical attribute value, label value) = (5, 2) appears 1 time in the first group, 0 times in the second group, 1 time in the third group, and 1 time in the fourth group.

[0133] Therefore, using the above decision vector, it is possible to calculate the frequency of records that have label value k in a dataset that satisfies a splitting condition expressed in the form of x∈X (where X is a subset of the set of values ​​that a categorical attribute can take).

[0134] Next, the division unit 112 calculates the frequency for each group and for each division condition (step S304). The number of elements in each group of the categorical attribute value vector [c] (i.e., |Q| shown in (1) above) The number of elements with label value k in each group of the categorical attribute value vector [c] (i.e., |Q k |) The number of elements in each group of the categorical attribute value vector [c] divided by the division condition θ (i.e., |Q(θ,i)| shown in (3) above) The number of elements with label value k in each group of the categorical attribute value vector [c] divided by the division condition θ (i.e., |Q(θ,i) shown in (4) above)k |) Calculate the four frequencies.

[0135] Of these four frequencies, the first frequency is obtained by calculating the number of elements for each group using the category attribute value vector [c] and the group information vector [g]. The second frequency is obtained by calculating the number of elements for each group and for each label value using the category attribute value vector [c], the label value vector [y], and the group information vector [g]. The third frequency is obtained by calculating the number of elements for each set divided by the division condition θ (i.e., the set that satisfies the division condition θ and the set that does not satisfy the division condition θ) using the category attribute value vector [c] and the group information vector [g].

[0136] On the other hand, the fourth frequency can be obtained by calculating the number of elements that take the label value k in each set divided by the division condition θ using the categorical attribute value vector [c], the group information vector [g], and the decision vector when the group is divided by the division condition θ. This can be obtained by calculating the number of times that the combination of each element (categorical attribute value) and the label value k included in the divided set appears in the group using the decision vector. Specifically, for example, when the division condition θ is x∈{5,8}, the third group of the categorical attribute value vector [c] is divided into {5,8,5} and {7}. Therefore, for example, the number of elements that take the label value k in {5,8,5} can be calculated by, as described above, calculating the sum of the number of times that the combination (5,k) appears in the third group and the number of times that the combination (8,k) appears in the third group using the decision vector [f 5,k ] and [f 8,k ]. Similarly, the number of elements with label value k in {7} can be calculated by computing the number of times the combination (7,k) appears in the third group from the decision vector [f 7,k ] can be obtained by calculating

[0137] Next, the dividing unit 112 uses the frequencies calculated in step S304 to calculate an evaluation value of each dividing condition for each group by equation (10) (step S305).

[0138] Then, the dividing unit 112 selects the dividing condition that maximizes the evaluation value for each group, and outputs the selected dividing condition as the dividing condition to be set for the node corresponding to that group (step S306).

[0139] This provides information (a) to (c) about each node other than the leaves in layer i. On the other hand, when the label values ​​in a group are all the same as a result of inputting the numerical attribute value vector, the label value vector, and the group information vector in step S301, the node corresponding to the group becomes a leaf, and information (a) and (d) are provided.

[0140] <Secret grouping process> Next, an example of the details of the process in step S105 will be described with reference to FIG. 6. FIG. 6 is a flowchart showing an example of the flow of the secret grouping process according to this embodiment. In the following, for simplicity, the data set ([T i ],[q i ]×d+[f i ]) is treated as a data vector, and the elements of this data vector are sorted to create a data set ([T i ],[q i ]×d+[f i This section explains how to sort each record in [Table 1].

[0141] First, the grouping unit 113 inputs a data vector and a group information vector (step S401). In the following, as an example, the data vector is [v]=(3,0,4,5,1,6,7,2) T The group information vector is [g]=[g i]=(0,1,1,0,0,1,0,1) T It is assumed that.

[0142] Next, the grouping unit 113 inputs the classification result as a classification destination vector (step S402). In the following, as an example, the classification destination vector is [f]=[f i ]=(0,1,0,1,1,0,1,1) T It is assumed that.

[0143] Next, the grouping unit 113 calculates a detection vector that detects elements that are the end points of each classification destination in each group among the elements of the data vector (step S403). This detection vector is calculated by the following steps 1 and 2.

[0144] Step 1: For each possible value of the classification destination, calculate a classification destination unit detection vector that detects the element that is the endpoint of the classification destination within the same group. A classification destination unit detection vector is a vector in which, among the elements of the data vector, the element that is in the same position as the element that is the endpoint of the classification destination within the same group is set to 1, and the other elements are set to 0.

[0145] For example, when the possible value for the classification destination is "1", first, the grouping unit 113 calculates [e1]←EQ([f],1) to obtain the following [e1].

[0146] [e1]=(0,1,0,1,1,0,1,1) T Next, grouping section 113 calculates a cumulative sum from the bottom up within the group represented by group information vector [g] to obtain the following [x1].

[0147] [x1]=(1,1,0,2,1,0,2,1) T Note that calculating the cumulative sum from the bottom up within a group means calculating the cumulative sum from the bottom element (back element) to the top (front element) within the group.

[0148] Next, the grouping unit 113 obtains the following [k1] by [e1]×[x1].

[0149] [k1]=(0,1,0,2,1,0,2,1) T Then, the grouping unit 113 calculates [t1]←EQ([k1],1) to obtain the following [t1].

[0150] [t1]=(0,1,0,0,1,0,0,1) T This [t1] is the classification destination unit detection vector corresponding to the classification destination "1". This classification destination unit detection vector [t1] is a vector that detects the end points (i.e., the last elements) of the elements classified as classification destination "1" in each group among the elements of the data vector. In other words, the above classification destination unit detection vector [t1] indicates that the second element of the data vector [v] is the last element (i.e., the end point) of the elements classified as classification destination "1" in the first group. Similarly, it indicates that the fifth element of the data vector [v] is the last element of the elements classified as classification destination "1" in the third group. Similarly, it indicates that the eighth element of the data vector [v] is the last element of the elements classified as classification destination "1" in the fourth group.

[0151] Similarly, for example, when the possible value for the classification destination is "0", first, the grouping unit 113 calculates [e0]←EQ([f],0) to obtain the following [e0].

[0152] [e0]=(1,0,1,0,0,1,0,0) T Next, grouping section 113 calculates a cumulative sum from the bottom up within the group represented by group information vector [g] to obtain the following [x0].

[0153] [x0]=(1,0,1,1,1,1,0,0) T Next, the grouping unit 113 obtains the following [k0] by [e0]×[x0].

[0154] [k0]=(1,0,1,0,0,1,0,0) T Then, the grouping unit 113 calculates [t0]←EQ([k0],1) to obtain the following [t0].

[0155] [t0]=(1,0,1,0,0,1,0,0) T This [t0] is the classification destination unit detection vector corresponding to the classification destination "0". This classification destination unit detection vector [t0] is a vector that detects the end point (i.e., the last element) of the elements classified into classification destination "0" in each group among the elements of the data vector. In other words, the above classification destination unit detection vector [t0] indicates that the first element of the data vector [v] is the last element (i.e., the end point) of the elements classified into classification destination "0" in the first group. Similarly, it indicates that the third element of the data vector [v] is the last element of the elements classified into classification destination "0" in the second group. Similarly, it indicates that the sixth element of the data vector [v] is the last element of the elements classified into classification destination "0" in the third group.

[0156] Step 2: Calculate the sum of all classification destination unit detection vectors as the detection vector.

[0157] That is, for example, when the above classification destination unit detection vectors [t0] and [t1] are obtained, the grouping unit 113 obtains the following detection vector [t] by [t]=[t0]+[t1].

[0158] [t]=(1,1,1,0,1,1,0,1) T This detection vector [t] is a vector that detects, among the elements of the data vector, the elements that are the endpoints of the classification destinations "0" and "1" within each group.

[0159] Next, the grouping unit 113 stably sorts the data vectors and the detection vectors by the classification destination vector, respectively, to obtain classified data vectors and group information vectors (step S404).

[0160] That is, for example, the grouping unit 113 stably sorts the data vector [v] in ascending order of the elements of the classification destination vector [f] to obtain the following [v'].

[0161] [v']=(3,4,6,0,5,1,7,2) T This [v'] is the classified data vector.

[0162] Similarly, for example, the grouping unit 113 stably sorts the detection vector [t] in ascending order of the elements of the classification destination vector [f] to obtain the following [g'].

[0163] [g']=(1,1,1,1,0,1,0,1) T This [g'] is the group information vector after classification.

[0164] Then, the grouping unit 113 outputs the classified data vector and the classified group information vector (step S405).

[0165] This means that ([T i ],[q i ]×d+[f i ]) with the record numbers sorted to [v'] ([T i+1 ],[q i+1 ]) and the group information vector [g i+1 ]=[g'].

[0166] <Summary> As described above, the secret decision tree learning device 10 according to this embodiment can exponentially reduce the number of references to the entire data set by dividing the data set at all nodes in the same layer at once when learning a secret decision tree from a data set of given secret values. Specifically, for example, if the decision tree is a binary tree of height h or less, the number of references to the entire data set is Θ(2 h ) reference times were required in the past, whereas the secret decision tree learning device 10 according to this embodiment can reduce the reference times to O(h).

[0167] 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]

[0168] 10 Secret decision tree learning device 101 Input section 102 Secret Decision Tree Learning Unit 103 Output section 104 Storage section 111 Initialization section 112 Division 113 Grouping Section 114 Node Extraction Unit 201 Input Device 202 Display device 203 External I / F 203a Recording media 204 Communication I / F 205 Processor 206 Memory Device 207 Bus

Claims

1. A secret decision tree learning device that learns a decision tree by secure computation, comprising: an input unit for inputting a data set composed of a plurality of records for training the decision tree; a learning unit that learns the decision tree by dividing the data set into smaller groups at once at all nodes included in each layer of the decision tree using a data set divided into one or more groups in the previous layer and a group information vector representing a group to which each record included in the data set belongs; A secret decision tree learning device having

2. The data set is configured by consecutive records belonging to the same group, 2. The secret decision tree learning device according to claim 1, wherein the group information vector is a vector in which an element corresponding to a last record among the records constituting the data set that belong to the same group is set to 1, and elements other than the element corresponding to the last record are set to 0.

3. Let the hierarchical level be i (where i=1, . . . , h), The learning unit is A data set [T i ] and the data set [T i ] is a group information vector [g i ], the parameter [p i ], The data set [T i ] and the parameter [p i ] to obtain the data set [T i ] into a node of hierarchy i+1, The data set [T i ] and the parameter [p i ], the classification results, and the data set [T i] and the information representing the node to which each record in the data set [T i+1 ] and the group information vector [g i+1 3. The secret decision tree learning device according to claim 1, wherein the step of calculating i and n is repeated for each layer i.

4. A secret decision tree learning system that learns decision trees by secure computation, comprising: an input unit for inputting a data set composed of a plurality of records for training the decision tree; a learning unit that learns the decision tree by dividing the data set into smaller groups at once at all nodes included in each layer of the decision tree using a data set divided into one or more groups in the previous layer and a group information vector representing a group to which each record included in the data set belongs; A secret decision tree learning system with

5. A secret decision tree learning method for learning a decision tree by secure computation, comprising the steps of: an input step of inputting a data set consisting of a plurality of records for training the decision tree; a learning procedure for learning the decision tree by dividing the data set into smaller groups at once at all nodes included in each layer of the decision tree using a data set divided into one or more groups in the previous layer and a group information vector representing a group to which each record included in the data set belongs; A secret decision tree learning method is implemented by the computer.

6. A program for causing a computer to function as the secret decision tree learning device according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Secure aggregate sum system, secure computation device, secure aggregate sum method, and program

    WO2019208484A1