Machine learning device and machine learning method

The machine learning device optimizes parameter selection and modeling by classifying them into hierarchies, addressing computational inefficiencies and enhancing model accuracy.

JP7541944B2Active Publication Date: 2024-08-29HITACHI LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2021039167
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-03-11
Publication Date
2024-08-29
Estimated Expiration
2041-03-11

AI Technical Summary

Technical Problem

Existing machine learning methods require significant computational cost and effort to process large amounts of data, and do not effectively manage parameter correlations.

Method used

A machine learning device that classifies input parameters into hierarchies, determining their importance and creating models based on predetermined requirements, optimizing the selection of parameters to enhance accuracy.

Benefits of technology

Generates highly accurate learning models with a high correct answer rate while reducing computational costs by strategically selecting and combining parameters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007541944000006
    Figure 0007541944000006
  • Figure 0007541944000001
    Figure 0007541944000001
  • Figure 0007541944000003
    Figure 0007541944000003
Patent Text Reader

Abstract

To generate a learning model with a high correct answer rate and with high accuracy.SOLUTION: A machine learning device is composed of a computer including an arithmetic device which executes prescribed arithmetic processing and a storage device connected to the arithmetic device. The arithmetic device comprises an importance discrimination unit which selects a parameter input to a machine learning model as an explanatory variable on the basis of a correlationship between parameters, and a model creation unit in which the arithmetic device creates a machine learning model.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a machine learning device. [Background technology]

[0002] A large amount of computational cost is required to perform machine learning using a large amount of training data. In addition, a lot of effort is required to prepare a large amount of training data and to preprocess the prepared training data in order to use it for machine learning. For this reason, it is necessary to select the parameter items to be input to the machine learning model. Conventionally, there are methods that use sparse modeling techniques to select appropriate explanatory variables from a specific target variable and multiple explanatory variable candidates based on the individual importance and overall importance of the explanatory variables.

[0003] The following prior art is included as background technology in this technical field. Patent Document 1 (JP 2020-144690 A) describes a machine learning device that uses different sparse modeling methods to obtain individual importance as an explanatory variable for explaining a specific objective variable for each of the multiple explanatory variable candidates using a specific objective variable in a learning model used in industrial activities and multiple explanatory variable candidates as input data for the sparse modeling method, and includes a selection unit that calculates an overall importance for each of the explanatory variable candidates based on the individual importance of each of the explanatory variable candidates and selects an explanatory variable of the learning model from the multiple explanatory variable candidates based on the overall importance (see Abstract). [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2020-144690 A Summary of the Invention [Problem to be solved by the invention]

[0005] When the number of input parameters is large, a large amount of computational cost is required to calculate the importance of each parameter. In addition, the conventional method described above does not pay attention to the correlation between parameters input to the machine learning model.

[0006] The present invention aims to generate a highly accurate learning model with a high accuracy rate by limiting the parameters input to the machine learning model. [Means for solving the problem]

[0007] A representative example of the invention disclosed in the present application is as follows: A machine learning device is configured by a computer having a calculation device that executes a predetermined calculation process and a storage device connected to the calculation device, the calculation device includes an importance determination unit that selects parameters to be input as explanatory variables to a machine learning model based on correlations between parameters, and the calculation device includes a model creation unit that creates the machine learning model. The parameters input as explanatory variables to the machine learning model are classified into a plurality of hierarchical levels, and when a machine learning model created using parameters in a higher level does not satisfy a predetermined requirement, the importance determination unit selects parameters in a lower level than the parameters in the higher level. It is characterized by the above. Effect of the Invention

[0008] According to one aspect of the present invention, it is possible to generate a learning model with a high accuracy rate. Problems, configurations, and effects other than those described above will become apparent from the following description of the embodiments. [Brief description of the drawings]

[0009] [Figure 1] FIG. 2 is a block diagram showing a logical configuration of the machine learning device according to the embodiment of the present invention. [Diagram 2] FIG. 2 is a block diagram showing the physical configuration of the machine learning device according to the present embodiment. [Diagram 3] FIG. 13 is a diagram showing a hierarchical structure of input items. [Figure 4A] 1 is a flowchart of a machine learning process according to an embodiment of the present invention. [Figure 4B] 1 is a flowchart of a machine learning process according to an embodiment of the present invention. [Diagram 5]FIG. 13 is a diagram illustrating the relationship between a combination of explanatory variables in the top level, a response variable, and a machine learning model in this embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] FIG. 1 is a block diagram showing the logical configuration of a machine learning device 10 according to the present embodiment.

[0011] The machine learning device 10 includes a machine learning model creation unit 11, an input item importance determination unit 12, and a machine learning model creation setting unit 13.

[0012] The machine learning model creation unit 11 creates a machine learning model (AI model) according to a flowchart described later. The input item importance determination unit 12 acquires explanatory variables in the highest hierarchy based on correlations between explanatory variables in the teacher data. The hierarchical structure of explanatory variables may be set in advance by a user, or the machine learning device 10 may classify input items into hierarchies based on correlations between explanatory variables to generate the hierarchical structure of explanatory variables. The machine learning model creation setting unit 13 accepts settings of conditions for creating a machine learning model (e.g., the number of input explanatory variables).

[0013] The teacher data group 14 is explanatory variables and objective variables that are input as teacher data when creating a machine learning model. The teacher data correlation 15 is a correlation of explanatory variables that are teacher data, and includes correlations between explanatory variables and correlations between explanatory variables and objective variables. The correlations between explanatory variables are preferably calculated based on the similarity of numerical changes or co-occurrences of options for items. The correlations between explanatory variables and objective variables are preferably calculated based on the contribution of the explanatory variables to the objective variables.

[0014] FIG. 2 is a block diagram showing the physical configuration of the machine learning device 10 of this embodiment.

[0015] The machine learning device 10 of this embodiment is configured by a computer having a processor (CPU) 1, a memory 2, an auxiliary storage device 3, and a communication interface 4. The machine learning device 10 may also have an input interface 5 and an output interface 8.

[0016] The processor 1 is a calculation device that executes programs stored in the memory 2. The processor 1 executes various programs to realize functions of each unit of the machine learning device 10 (e.g., the machine learning model creation unit 11, the input item importance determination unit 12, the machine learning model creation setting unit 13, etc.). Note that some of the processes performed by the processor 1 by executing the programs may be executed by other calculation devices (e.g., hardware such as ASIC and FPGA).

[0017] The memory 2 includes a ROM, which is a non-volatile storage element, and a RAM, which is a volatile storage element. The ROM stores unchanging programs (e.g., BIOS) and the like. The RAM is a high-speed, volatile storage element such as a DRAM (Dynamic Random Access Memory), and temporarily stores programs executed by the processor 1 and data used when the programs are executed.

[0018] The auxiliary storage device 3 is, for example, a large-capacity, non-volatile storage device such as a magnetic storage device (HDD) or a flash memory (SSD). The auxiliary storage device 3 also stores data (for example, a teacher data group 14, a teacher data correlation 15, etc.) used by the processor 1 when executing a program, and the program executed by the processor 1. That is, the program is read from the auxiliary storage device 3, loaded into the memory 2, and executed by the processor 1 to realize each function of the machine learning device 10 (for example, a machine learning model creation unit 11, an input item importance determination unit 12, and a machine learning model creation setting unit 13).

[0019] The communication interface 4 is a network interface device that controls communications with other devices in accordance with a predetermined protocol.

[0020] The input interface 5 is an interface to which input devices such as a keyboard 6 and a mouse 7 are connected and which receives input from a user. The output interface 8 is an interface to which output devices such as a display device 9 and a printer (not shown) are connected and which outputs the results of program execution in a format that can be viewed by the user. Note that a user terminal 30 connected to the machine learning device 10 via a network may provide the input device and the output device. In this case, the machine learning device 10 may have a web server function, and the user terminal 30 may access the machine learning device 10 using a predetermined protocol (e.g., http).

[0021] The program executed by the processor 1 is provided to the machine learning device 10 from a removable medium (such as a CD-ROM or a flash memory) or via a network, and is stored in a non-volatile auxiliary storage device 3, which is a non-transitory storage medium. For this reason, it is preferable that the machine learning device 10 has an interface for reading data from removable media.

[0022] The machine learning device 10 is a computer system configured on one physical computer, or on multiple logically or physically configured computers, and may operate on a virtual computer constructed on multiple physical computer resources. For example, the machine learning model creation unit 11, the input item importance determination unit 12, and the machine learning model creation setting unit 13 may each operate on separate physical or logical computers, or may be combined to operate on a single physical or logical computer.

[0023] FIG. 3 is a diagram showing a hierarchical structure of explanatory variables.

[0024] The explanatory variables input to the machine learning model are classified into hierarchical categories of input items input by the user, forming a hierarchical structure. For example, in a machine learning model that uses network requirements as explanatory variables and derives a network configuration as a target variable, which is targeted by the machine learning device 10 of the present embodiment, the major items of the network requirements desired by the user are category 1, the medium items are category 2, and the minor items are category 3. More specifically, the major items (category 1) are the types of network configuration (presence or absence and type of antenna or power supply), the medium items (category 2) are the names of the network configuration (names of antenna and power supply), and the minor items (category 3) are the attributes of the network configuration (weight, size, performance value).

[0025] As described above, the hierarchical structure of the explanatory variables may be set in advance by the user, or the machine learning device 10 may classify input items into hierarchies based on the correlations between the explanatory variables and generate the hierarchical structure of the explanatory variables.

[0026] 4A and 4B are flowcharts of the machine learning process executed by the machine learning model creation unit 11 of this embodiment.

[0027] First, the input item importance determination unit 12 extracts items in the highest hierarchy from the correlations of the teacher data (101). As described above, the highest hierarchy is a large classification of configuration requirements of a network system.

[0028] Next, the machine learning model creation unit 11 creates a machine learning model using the teacher data of the explanatory variables that combine the top-level items extracted in step 101, with the number of input items (e.g., four) set by the machine learning model creation setting unit 13 as the number of inputs of the explanatory variables (102). As shown in Fig. 5, the relationship between the combinations of the explanatory variables in the top level, the objective variable, and the machine learning model is determined by creating all combinations of four input items that are input as explanatory variables from the 12 top-level input items, and creating and evaluating the machine learning model using the objective variables for the 12C4 = 495 combinations of explanatory variables as teacher data.

[0029] The machine learning model creation unit 11 inputs correct answer rate evaluation data, which is different from the training teacher data, into the machine learning model created in step 102 to calculate the correct answer rate (103), and determines whether the calculated correct answer rate is equal to or greater than a predetermined target value (104). If the correct answer rate is equal to or greater than the target value, a good machine learning model has been created, and this process is terminated. On the other hand, if the correct answer rate is smaller than the target value, it determines whether the correct answer rates have been calculated for all combinations of explanatory variables (105). If there is a combination of explanatory variables for which the correct answer rate has not been calculated, the process returns to step 102, and a machine learning model is created for the next combination of explanatory variables.

[0030] On the other hand, if the accuracy rate has been calculated for all combinations of explanatory variables, the process proceeds to step 106, where the machine learning model creation unit 11 sorts the created machine learning models in descending order of accuracy rate (106) and extracts the machine learning model with the highest accuracy rate (107).

[0031] The input item importance discrimination unit 12 acquires the correlations between the explanatory variables of the extracted machine learning model and the correlations between the explanatory variables and the objective variable from the teacher data correlation 15 (108). After that, the input item importance discrimination unit 12 sorts the explanatory variables of the extracted machine learning model in descending order of the correlations between the objective variable and the explanatory variables (109), and extracts the explanatory variable X1 (for example, A1 in the top hierarchy in FIG. 5) that has the highest correlation with the objective variable (110).

[0032] Then, the machine learning model creation unit 11 determines whether the correlation is less than a predetermined threshold (111), and if the correlation is less than the predetermined threshold, the machine learning model creation unit 11 deletes the machine learning model with the highest accuracy rate (112) and stops considering machine learning models whose explanatory variables contribute less to the target variable.

[0033] Thereafter, the machine learning model creation unit 11 determines whether any unexamined machine learning models remain (113). If all machine learning models have been examined, this process ends. On the other hand, if any unexamined machine learning models remain, the process returns to step 107 to extract the next machine learning model.

[0034] If the correlation is equal to or greater than a predetermined threshold in step 111, the input item importance determination unit 12 fixes the explanatory variable X1, sorts the other explanatory variables so that the correlation between the explanatory variables is in descending order (114), and extracts the explanatory variable X2 (for example, B1 at the same hierarchical level as A1 in FIG. 5) with the highest correlation between the explanatory variables (115).

[0035] Thereafter, the input item importance discrimination unit 12 judges whether the correlation between the explanatory variable X1 and the explanatory variable X2 is less than a predetermined threshold (116). If the correlation is greater than the predetermined threshold, the input item importance discrimination unit 12 judges whether there is teacher data belonging to a lower level of the explanatory variable X2 (for example, teacher data of data B1-1 to B1-3 below B1 in FIG. 5) (117). If there is teacher data belonging to a lower level of the explanatory variable X2, the process proceeds to step 122. On the other hand, if there is no teacher data belonging to a lower level of the explanatory variable X2, the machine learning model creation unit 11 selects one explanatory variable X3 belonging to a lower level of the explanatory variable X2 instead of the explanatory variable X2 (for example, B1-1 below B1 in FIG. 5), creates a machine learning model using the teacher data of the explanatory variable X3 (118), and inputs the correct answer rate evaluation data into the machine learning model created in step 118 to calculate the correct answer rate (119).

[0036] The machine learning model creation unit 11 determines whether the calculated correct answer rate is equal to or greater than a predetermined target value (120). If the correct answer rate is equal to or greater than the target value, a good machine learning model has been created, and this process is terminated. On the other hand, if the correct answer rate is smaller than the target value, the machine learning model creation unit 11 determines whether the correct answer rates have been calculated for all explanatory variables X3 that belong to the lower level of explanatory variable X2 (121).

[0037] If there is an explanatory variable X3 for which the correct answer rate has not been calculated, the process returns to step 118, and the machine learning model creation unit 11 creates a machine learning model using the teacher data for the next explanatory variable X3.

[0038] On the other hand, if the accuracy rate has been calculated for all explanatory variables X3, the input item importance discrimination unit 12 deletes the explanatory variable X2 having the highest correlation between the explanatory variables (122), returns to step 115, extracts the explanatory variable X2 having the highest correlation between the explanatory variables (115), and evaluates the machine learning model for the next explanatory variable X2.

[0039] On the other hand, if the correlation between explanatory variable X1 and explanatory variable X2 is less than a predetermined threshold, the input item importance discrimination unit 12 determines whether there is teacher data that belongs to a lower level of explanatory variable X1 (for example, teacher data of data A1-1 to A1-3 that are lower than A1 in FIG. 5) (123). If there is teacher data that belongs to a lower level of explanatory variable X1, the input item importance discrimination unit 12 deletes explanatory variable X1 that has the highest correlation with the objective variable (130), returns to step 110, extracts explanatory variable X1 that has the highest correlation with the objective variable (110), and evaluates the machine learning model for the next explanatory variable X1.

[0040] On the other hand, if there is no teacher data belonging to the lower level of explanatory variable X1, the input item importance determination unit 12 judges whether the evaluation of the machine learning model has been completed for all combinations of explanatory variables belonging to the lower level of explanatory variable X1 (124). If the evaluation of the machine learning model has been completed for all combinations of explanatory variables belonging to the lower level of explanatory variable X1, the process returns to step 110 via step 130, and the machine learning model is evaluated for the next explanatory variable X1.

[0041] If the evaluation of the machine learning model has not been completed for some explanatory variables that belong to the lower level of the explanatory variable X1, the machine learning model creation unit 11 replaces the explanatory variable X1 with One explanatory variable X4 belonging to a lower level of explanatory variable X1 is selected (for example, A1-1 lower than A1 in FIG. 5), and a machine learning model is created using the training data of explanatory variable X4 (125). The accuracy rate evaluation data is input to the machine learning model created in step 118 to calculate the accuracy rate (119).

[0042] The machine learning model creation unit 11 determines whether the calculated correct answer rate is equal to or greater than a predetermined target value (127). If the correct answer rate is equal to or greater than the target value, a good machine learning model has been created, and this process is terminated. On the other hand, if the correct answer rate is smaller than the target value, the input item importance determination unit 12 calculates the correlation between the explanatory variables (128). Thereafter, the input item importance determination unit 12 fixes the explanatory variable X2, sorts the other explanatory variable X4 so that the correlation between the explanatory variables is in descending order (129), returns to step 115, extracts the explanatory variable X2 with the highest correlation between the explanatory variables, and evaluates the machine learning model for the next explanatory variable X2.

[0043] The machine learning model creation unit 11 of this embodiment sequentially evaluates machine learning models for combinations of explanatory variables, and can therefore search for a machine learning model with a correct answer rate equal to or higher than a target value.

[0044] In addition, the machine learning model creation unit 11 calculates the correlation between explanatory variables of the created machine learning model, and creates a learning model by adding explanatory variables of a lower hierarchy for combinations of explanatory variables with high correlation, thereby generating a learning model with a high accuracy rate. In addition, simply adding explanatory variables of a lower hierarchy increases the number of input parameters of the machine learning model, requiring a large amount of calculation cost. For this reason, instead of simply adding explanatory variables of a lower hierarchy, the explanatory variables of a higher hierarchy and the explanatory variables of a lower hierarchy are swapped to create a learning model, so that a highly accurate learning model can be generated while suppressing an increase in calculation cost due to an increase in input parameters.

[0045] The present invention is not limited to the above-described embodiments, and includes various modified examples and equivalent configurations within the spirit of the appended claims. For example, the above-described embodiments have been described in detail to clearly explain the present invention, and the present invention is not necessarily limited to those including all of the configurations described. Furthermore, a part of the configuration of one embodiment may be replaced with the configuration of another embodiment. Furthermore, the configuration of another embodiment may be added to the configuration of one embodiment. Furthermore, a part of the configuration of each embodiment may be added, deleted, or replaced with another configuration.

[0046] In addition, each of the above-mentioned configurations, functions, processing units, processing means, etc. may be realized in hardware, for example by designing some or all of them as an integrated circuit, or may be realized in software by a processor interpreting and executing a program that realizes each function.

[0047] Information such as programs, tables, and files that realize each function can be stored in a storage device such as a memory, a hard disk, or an SSD (Solid State Drive), or in a recording medium such as an IC card, an SD card, or a DVD.

[0048] In addition, the control lines and information lines shown are those considered necessary for the explanation, and do not necessarily show all the control lines and information lines necessary for implementation. In reality, it can be considered that almost all components are connected to each other. [Explanation of symbols]

[0049] 1 processor 2. Memory 3 Auxiliary storage 4. Communication Interface 5 Input Interface 6 Keyboard 7. Mouse 8 Output Interface 9 Display Devices 10 Machine Learning Device 11 Machine Learning Model Creation Department 12 Input item importance determination section 13 Machine learning model creation setting section 14 Training data set 15 Teacher Data Correlation 30 User terminals

Claims

1. A machine learning device, comprising: The computer includes an arithmetic unit that executes a predetermined arithmetic process and a storage device that is connected to the arithmetic unit, an importance determination unit that selects parameters to be input as explanatory variables to a machine learning model based on correlations between parameters; The arithmetic device includes a model creation unit that creates the machine learning model, The parameters input as explanatory variables to the machine learning model are classified into a plurality of hierarchies, The machine learning device is characterized in that, when a machine learning model created using parameters at a higher level does not satisfy specified requirements, the importance determination unit selects parameters at a lower level than the parameters at the higher level.

2. The machine learning device according to claim 1, The machine learning device, wherein the importance determination unit selects one of the parameters in the lower hierarchy and replaces it with a parameter in the higher hierarchy.

3. The machine learning device according to claim 1, The input parameters are network requirements for a communication network that a user desires to build, The machine learning device, wherein the machine learning model outputs a network configuration of the communication network.

4. A machine learning method in which an information processing system trains a machine learning model, comprising: the information processing system is configured by a computer having an arithmetic unit that executes a predetermined arithmetic process and a storage device connected to the arithmetic unit; The machine learning method includes: an importance determination step in which the arithmetic device selects parameters to be input as explanatory variables into a machine learning model based on correlations between parameters; The computing device includes a model creation step for creating the machine learning model, The parameters input as explanatory variables to the machine learning model are classified into a plurality of hierarchies, The machine learning method is characterized in that, in the importance determination step, if a machine learning model created using parameters in a higher hierarchy does not satisfy specified requirements, the computing device selects parameters in a lower hierarchy than the parameters in the higher hierarchy.

5. The machine learning method according to claim 4, The machine learning method is characterized in that, in the importance determination step, the calculation device selects one parameter from the lower hierarchy and replaces it with a parameter from the higher hierarchy.

6. The machine learning method according to claim 4, The input parameters are network requirements for a communication network that a user desires to build, A machine learning method, characterized in that the machine learning model outputs a network configuration of the communication network.

Citation Information

Patent Citations

  • Device control based on hierarchical data

    JP2018032394A

  • Learning device and learning method

    JP2018088080A

  • Machine learning device and machine learning method

    JP2020144690A