Model setting support device, model setting support method, and program

The model setting support device enhances product design by using multiple learning models with user-driven selection and analysis to align with product knowledge, ensuring accurate predictions and efficient processing.

JP2024134113APending Publication Date: 2024-10-03HONDA MOTOR CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023044227
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-20
Publication Date
2024-10-03

Smart Images

  • Figure 2024134113000001_ABST
    Figure 2024134113000001_ABST
Patent Text Reader

Abstract

To promote more appropriate learning model setting.SOLUTION: A model setting support device includes a plurality of learning models capable of estimating an objective variable indicating performance of a product from an explanatory variable group including a plurality of types of explanatory variables indicating at least a material or design matter of the product, learns each of the plurality of learning models using training data including a dataset including the explanatory variable group and a target value of the objective variable, executes first analysis for calculating a predicted value of the objective variable from the explanatory variable group and calculating prediction accuracy of the predicted value on the basis of the target value of the objective variable and second analysis for deriving a degree of contribution of the explanatory variable to the objective variable for each learning model, and outputs learning result information indicating the prediction accuracy and the contribution degree for each learning model.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present application relates to a model setting support device, a model setting support method, and a program. [Background technology]

[0002] Machine learning refers to finding the relationship between the factors and outcomes of known cases using training data on those cases. Machine learning can be considered as data processing that uses a computer to obtain a mathematical model that shows the relationship between explanatory variables that indicate the factors and objective variables that indicate the outcome. The trained mathematical model (sometimes called a "machine learning model," "learning model," or "model") is used to predict outcomes from unknown factors.

[0003] Machine learning is applied in various fields, for example, in product design. In product design, a model is learned to predict the expected performance based on the specifications of parts and materials as explanatory variables and the expected performance based on the specifications as a target variable. On the other hand, in general, when the type of model is different, the prediction performance of the prediction result predicted using the learned model may differ. Patent Document 1 describes a method of obtaining multiple models by executing multiple machine learning algorithms independently of each other and adopting the model with the highest prediction performance. The method involves having a computer execute each of the multiple machine learning algorithms using training data, calculating the increase rate of the prediction performance of each of the multiple models generated by the multiple machine learning algorithms based on the execution results of the multiple machine learning algorithms, selecting one machine learning model from the multiple machine learning algorithms based on the increase rate, and selecting one machine learning algorithm using the other training data.

[0004] Patent Document 2 describes a multiple regression analysis device that performs multiple regression analysis on multiple data sets composed of multiple explanatory variables and a target variable. The multiple regression analysis device determines, among the multiple explanatory variables, explanatory variables that are effective as parameters when stratifying multiple data sets as stratification explanatory variables, divides the multiple data sets into strata using the stratification explanatory variables, performs multiple regression analysis on each group of the multiple divided data sets, and obtains an integrated multiple regression equation in which the results of the multiple regression analysis are integrated. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2017-49677 A [Patent Document 2] JP 2020-57261 A Summary of the Invention [Problem to be solved by the invention]

[0006] However, the process described in Patent Document 1 is model selection based on prediction performance, and does not include a process of determining the validity of a model selected for the target data to be processed taking into consideration knowledge of parts, materials, etc. The method described in Patent Document 2 is premised on the use of multiple regression analysis, which is a predetermined data analysis method, in the analysis of a data set, and does not determine the validity of the data analysis method.

[0007] The embodiments of the present application have been made in consideration of the above points, and an object of the present invention is to provide a model setting support device, a model setting support method, and a program that can encourage the setting of a more appropriate model. [Means for solving the problem]

[0008] (1) The present application has been made to solve the above-mentioned problems. One aspect of this embodiment is a model setting support device including: a model learning unit that has a plurality of learning models capable of estimating a dependent variable indicating performance of a product from a group of explanatory variables including multiple types of explanatory variables indicating at least materials or design aspects of the product, and that learns each of the plurality of learning models using training data including a dataset including the group of explanatory variables and a target value of the dependent variable; an analysis unit that executes, for each of the learning models, a first analysis that calculates a predicted value of the dependent variable from the group of explanatory variables and calculates a prediction accuracy of the predicted value based on the target value of the dependent variable, and a second analysis that derives a contribution degree of the explanatory variable to the dependent variable; and a learning result processing unit that outputs learning result information indicating the prediction accuracy and the contribution degree for each of the learning models.

[0009] (2) Another aspect of this embodiment is the model setting support device of (1), wherein the model learning unit learns the multiple learning models for each of the objective variables, the analysis unit executes the first analysis and the second analysis for each of the objective variables, and the learning result processing unit outputs the learning result information for each of the objective variables.

[0010] (3) Another aspect of this embodiment is a model setting support device as in (2), comprising a learning setting unit that selects a learning model that predicts the target variable in response to an input operation, and the model learning unit learns the selected learning model and does not need to learn a learning model that was not selected.

[0011] (4) Another aspect of this embodiment is a model setting support device as in (1), further comprising a learning setting unit that selects explanatory variables in response to an input operation, and the model learning unit may learn the learning model including the explanatory variables selected from the training data and excluding the explanatory variables that were not selected.

[0012] (5) Another aspect of this embodiment is the model setting assistance device of (1), which may include a learning setting unit that searches for hyperparameters for each of the learning models to learn the learning model with higher predictive accuracy.

[0013] (6) Another aspect of this embodiment is the model setting assistance device of (1), in which the product may be a battery.

[0014] (7) Another aspect of this embodiment may be a program for causing a computer to function as the model setting assistance device of (1).

[0015] (8) Another aspect of the present embodiment is a model setting support method for a model setting support device having a plurality of learning models capable of estimating a dependent variable indicating performance of a product from a group of explanatory variables including at least a plurality of types of explanatory variables indicating materials or design aspects of the product, in which the model setting support device learns each of the plurality of learning models using training data including a dataset including the group of explanatory variables and a target value of the dependent variable, and for each of the learning models, performs a first analysis to calculate a predicted value of the dependent variable from the group of explanatory variables and to calculate a prediction accuracy of the predicted value based on the target value of the dependent variable and a second analysis to derive a contribution degree of the explanatory variable to the dependent variable, and outputs learning result information indicating the prediction accuracy and the contribution degree for each of the learning models. Effect of the Invention

[0016] According to this embodiment, it is possible to prompt the setting of a more appropriate learning model.

[0017] According to the above-mentioned configurations (1), (6), (7), and (8), for each objective variable, learning result information indicating the prediction accuracy calculated for each learning model and the contribution of each explanatory variable to the objective variable is output. Therefore, while ensuring prediction accuracy for each objective variable, the selection of a learning model that does not contradict knowledge about the relationship between the production conditions and performance of the product is supported.

[0018] According to the above-mentioned configuration (2), for each objective variable, learning result information indicating the prediction accuracy calculated for each learning model and the contribution of each explanatory variable to the objective variable is output. Therefore, while ensuring prediction accuracy for each objective variable, the selection of a learning model that does not contradict knowledge about the relationship between the production conditions and performance of the product is supported.

[0019] According to the above-mentioned configuration (3), the learning model to be learned is selected according to the user's instruction, and the learning model not selected is not learned. By narrowing down the learning models, the amount of processing related to model learning and the amount of data involved in the processing can be reduced.

[0020] According to the above-mentioned configuration (4), explanatory variables to be used in model learning are selected according to the user's instructions, and explanatory variables that are not selected are not used in model learning. By narrowing down the explanatory variables, the amount of processing related to model learning and the amount of data involved in the processing can be reduced. In addition, by selecting explanatory variables that have a high degree of contribution to the objective variable, prediction accuracy is ensured.

[0021] According to the above-mentioned configuration (5), hyperparameters for learning a learning model capable of calculating a more accurate predicted value of the objective variable are searched for, so that model learning becomes more efficient. [Brief description of the drawings]

[0022] [Figure 1] 1 is a schematic block diagram showing an example of the configuration of a model setting assistance device according to an embodiment of the present invention; [Diagram 2] FIG. 2 is a schematic block diagram illustrating an example of a hardware configuration of the model setting assistance device according to the present embodiment. [Diagram 3] FIG. 2 is a conceptual diagram illustrating a model setting support process according to the embodiment; [Figure 4] 1 is a conceptual diagram illustrating an example of the association between information related to the model setting support process according to the embodiment; [Diagram 5] 13 is a table showing a first calculation example of prediction accuracy by accuracy verification according to the present embodiment. [Figure 6] 13 is a table showing a second calculation example of prediction accuracy by accuracy verification according to the present embodiment. [Figure 7] 11 is a table showing a first calculation example of a contribution degree by feature amount analysis according to the present embodiment. [Figure 8] 13 is a table showing a second calculation example of the contribution degree by the feature amount analysis according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0023] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described with reference to the drawings. Fig. 1 is a schematic block diagram showing an example of the configuration of a model setting assistance device 10 according to the present embodiment.

[0024] The model setting support device 10 is set with a plurality of learning models that can estimate a target variable indicating the performance of a product from a group of explanatory variables including at least a plurality of types of explanatory variables indicating the material or design items of the product, and can derive a correlation between the explanatory variables and the target variable. The model setting support device 10 learns each of the plurality of learning models using training data including a data set including a group of explanatory variables and an actual measurement value of the target variable. Each data set corresponds to one data sample. The model setting support device 10 executes a first analysis and a second analysis for each learning model. The first analysis includes a process of calculating a predicted value of the target variable from the group of explanatory variables, and calculating a prediction accuracy of the calculated predicted value based on the actual measurement value of the target variable. The second analysis derives a correlation between the explanatory variables and the target variable. The model setting support device 10 outputs learning result information indicating the prediction accuracy and correlation for each learning model.

[0025] In this application, a learning model refers to a function or a processing procedure for predicting a target variable from a group of explanatory variables, and may refer to a function or a processing procedure that has a variable parameter set that indicates the characteristics of the function or procedure, or may refer to a method for searching for the parameter set. In this application, calculating a predicted value may be referred to as "prediction." "Prediction" may also be referred to as "estimation" or "inference."

[0026] The model setting assistance device 10 includes a calculation processing unit 120 , a storage unit 140 , and an input / output unit 150 .

[0027] The calculation processing unit 120 includes a data processing unit 122, a learning setting unit 124, a model learning unit 126, an analysis unit 128, and a learning result processing unit 130.

[0028] The data processing unit 122 acquires product data indicating the characteristics of each product. The product data includes multiple sets of data sets for each type of product. Each data set includes production information and performance information. The production information includes one or more variables indicating information indicating one or both of the material and design items of the product. The performance information includes one or more actual measured values ​​of the performance of a product produced according to production requirements included in a data set common to the performance information. The actual measured values ​​can also be regarded as examples of target values ​​of the objective variables to be predicted by the learning model.

[0029] The data processing unit 122 acquires product data from, for example, a predetermined external device. The external device may be a general-purpose information device such as a server device having a product database, a personal computer, or a mobile phone, or may be a dedicated measuring instrument. The data processing unit 122 may configure the product data by editing the product data using various element information instructed by operation information input from the operation input unit 158 ​​(FIG. 2). In the present application, referring to the operation information input from the operation input unit 158 ​​may be referred to as "in response to an operation."

[0030] The data processing unit 122 performs preprocessing on each data set constituting the acquired product data, configures a portion of the processed data set as training data (also called "learning data"), and configures another portion of the processed data set as validation data. The preprocessing includes, for example, a process of converting the information of each item into a data format applicable or convenient for learning of a learning model, such as quantification or normalization. Each data set includes a group of explanatory variables to be input to the learning model, and a target variable that gives a target value of the output from the learning model for the input. The data processing unit 122 stores the configured training data and validation data in the storage unit 140.

[0031] This embodiment can be applied to products whose realized performance depends on production requirements such as materials or design items. This embodiment can be applied to such products, for example, batteries (mainly storage batteries that allow repeated charging and discharging, also called "secondary batteries"). When the product to be processed is a battery, for example, some or all of the items such as the electrode material or the compounding ratio of multiple types of materials, the electrode length, the electrode thickness, etc. are included in the explanatory variable group. As performance indicators given to the explanatory variable group, for example, capacity, output, cost, etc. are applied as objective variables. The capacity corresponds to the charge discharged from the start of discharge until the end voltage is reached when the output voltage between the two electrodes is the rated voltage. The output corresponds to the current or power obtained by discharge when the output voltage is equal to the rated voltage. The cost is the manufacturing cost of the product. The cost may include the unit price of each component as well as various expenses required for processing, distribution, etc.

[0032] The learning setting unit 124 sets various requirements related to model learning. The objective variables, learning models, and explanatory variables related to the model learning are candidates for the setting information. The learning setting unit 124 selects some or all of the objective variables, learning models, and explanatory variables from predetermined candidates according to the operation information input from the operation input unit 158. When the learning result information is output from the learning result processing unit 130, the learning setting unit 124 selects a learning model and explanatory variables for each objective variable. The learning setting unit 124 can select at least one type of learning model for at least one type of objective variable. The learning setting unit 124 may exclude candidates to be excluded as instructed by the operation information from the predetermined candidates and select the remaining items. The learning setting unit 124 configures the selected learning model and a set of explanatory variables and objective variables selected in association with the learning model as a learning setting set. The learning setting unit 124 outputs learning setting information indicating the configured learning setting set to the model learning unit 126.

[0033] The types of learning models are largely classified into models related to linear regression and models related to nonlinear regression. Linear regression refers to a statistical method that clarifies the relationship by assuming that a model showing the relationship between explanatory variables and objective variables is a linear prediction function. In this embodiment, regression analysis methods such as multiple regression analysis, ridge regression, LASSO (Least Absolute Shrinkage and Selection Operator) regression, and elastic net can be applied as the method related to linear regression. Nonlinear regression refers to a statistical method that clarifies the relationship by using a mathematical model showing a nonlinear relationship between explanatory variables and objective variables. Known methods such as support vector machine (SVR), neural network, Adaboost, gradient boosting, and random forest can be applied as the mathematical model related to nonlinear regression.

[0034] The learning setting unit 124 sets hyperparameters used in learning the set learning model. The learning setting unit 124 pre-sets initial values ​​of hyperparameters for each learning setting set indicating the explanatory variable group, the objective variable, and the learning model. In this embodiment, explanatory variable groups whose element explanatory variables do not completely match are treated as mutually different explanatory variable groups. The learning setting unit 124 may perform hyperparameter tuning for each learning setting set indicating the selected explanatory variable group, the objective variable, and the learning model to search for more suitable hyperparameters. A suitable hyperparameter refers to, for example, one or both of the fact that the learning model can be converged earlier and that higher prediction accuracy can be obtained in model learning.

[0035] In parameter tuning, the learning setting unit 124 uses training data including explanatory variable groups and objective variables indicated in each learning setting set. The learning setting unit 124 may associate the searched hyperparameters with the learning setting sets indicating the set explanatory variable groups, objective variables, and learning model, include them in the learning setting information, and output the information to the model learning unit 126. The learning setting unit 124 may further associate a parameter set of the learning model obtained in the process of searching for hyperparameters (sometimes referred to as "model parameters" or simply "learning model" in this application), include them in the learning setting information, and output the information to the model learning unit 126.

[0036] The model learning unit 126 executes model learning based on the learning setting information input from the learning setting unit 124 .

[0037] The model learning unit 126 learns a learning model specified by the learning setting set for each learning setting set specified by the learning setting information. In this application, "learning a learning model", "learning a learning model" or "model learning" includes the meaning of searching for a parameter set of the learning model. In learning a learning model, a group of explanatory variables specified by the learning set is input, and the learning model is learned so that an evaluation value of a predetermined loss function indicating the magnitude of the difference between a predicted value calculated using the learning model specified by the learning setting set and an actual measured value of the objective variable specified by the learning setting set decreases as a whole of the training data. The loss function may differ for each learning model. For example, in model learning by multiple regression analysis, a weighted sum of squared differences between predicted values ​​and actual measured values ​​is used as a loss function. A group of weighting coefficients used in calculating the sum of squared differences corresponds to a hyperparameter. In model learning by ridge regression, an L1 norm is included as a component of the loss function. In model learning by lasso regression, an L2 norm is included as a component of the loss function. The model learning unit 126 determines whether the learning has converged based on whether the evaluation value of the loss function is equal to or less than a predetermined reference evaluation value. When the model learning unit 126 determines that the learning has converged, it stops the learning and stores in the storage unit 140 a learned parameter set indicating the parameter set obtained at that time.

[0038] The analysis unit 128 refers to the trained parameter set stored in the storage unit 140, and for each set of the trained learning model and the objective variable, performs a first analysis using evaluation data corresponding to the training data used to train the learning model for estimating the objective variable, and performs a second analysis based on the learning model for estimating the objective variable. The first analysis corresponds to accuracy verification of the predicted value of the objective variable calculated using the learning model. For each data set included in the evaluation data, the analysis unit 128 calculates a predicted value of the objective variable using the trained learning model from the explanatory variable group included in the data set. The analysis unit 128 calculates the magnitude of the difference between the calculated predicted value and the predicted value, that is, an index value (score) indicating the prediction accuracy. The analysis unit 128 aggregates the index values ​​of the prediction accuracy calculated for each set of the learning model and the objective variable, and outputs prediction accuracy information indicating the aggregated prediction accuracy to the learning result processing unit 130.

[0039] The analysis unit 128 uses, for example, the coefficient of determination (R 2 Any statistic may be used, such as mean square error (MSE), root mean square error (RMSE), mean absolute error (MAE), mean absolute percentage error (MAPE), symmetric mean absolute percentage error (SMAPE), maximum error ratio (MER), etc.

[0040] Coefficient of determination R 2 , the mean square error MSE, the root mean square error RMSE, the mean absolute error MAE, the mean absolute error rate MAPE, the adjusted mean absolute error rate SMAPE, and the maximum error ratio MER are calculated using equations (1), (2), (3), (4), (5), (6), and (7), respectively. In equations (1) to (7), y i denotes the actual measured value of the objective variable in data set i. y i^ indicates the predicted value of the objective variable in the data set i. n is a predetermined integer of 2 or more indicating the number of data sets used in accuracy verification.

[0041]

number

[0042]

number

[0043]

number

[0044]

number

[0045]

number

[0046]

number

[0047]

number

[0048] Coefficient of determination R 2 is a real value between 0 and 1, and the closer it is to 1, the higher the prediction accuracy. In general, the coefficient of determination tends to approach 1 as the number of explanatory variables that are elements of the explanatory variable group increases.

[0049] The mean squared error (MSE) is a real value greater than or equal to 0, and the closer it is to 0, the higher the prediction accuracy. The mean squared error is more likely to show the magnitude of error in the overall objective variable than the mean absolute error.

[0050] The root mean square error (RMSE) is equivalent to the square root of the mean square error, and its absolute value increases more slowly than the mean square error. The root mean square error is often used in predictive evaluation of regression problems.

[0051] The mean absolute error (MAE) is a positive real value greater than or equal to 0, with the closer it is to 0 the higher the prediction accuracy. Since the mean absolute error is proportional to the error range of each objective variable, it tends to be easily affected by outliers in each objective variable.

[0052] The mean absolute error (MAPE) is a real value greater than or equal to 0, with the closer it is to 0%, the higher the prediction accuracy. The mean absolute error indicates the absolute deviation of the explanatory variables as a whole. Since the mean absolute error is proportional to the ratio of error to the actual measured value of each explanatory variable, it tends to be easily affected by the error rate of each explanatory variable. In addition, since the predicted value of each explanatory variable is normalized by dividing it by the actual measured value, it cannot be used when the actual measured value includes 0.

[0053] The adjusted mean absolute error (SMAPE) is a real value greater than or equal to 0, with the closer to 0%, the higher the prediction accuracy. The adjusted mean absolute error is calculated by replacing the actual measured value in the mean absolute error with the difference between the absolute value of the actual measured value and the absolute value of the predicted value. The adjusted mean absolute error can be used even if the actual measured value contains zero, as long as the difference between the absolute value of the actual measured value and the absolute value of the predicted value is not 0.

[0054] The maximum error ratio MER is a real value greater than or equal to 0, and the closer it is to 0%, the higher the prediction accuracy. The maximum error ratio corresponds to the maximum ratio of the absolute value of the difference between the actual and predicted values ​​to the absolute value of the actual values ​​of each explanatory variable. Therefore, errors for specific explanatory variables are likely to appear.

[0055] In this way, each index value has its own unique characteristics. The analysis unit 128 may determine in advance the type of index value to be calculated for each objective variable to be calculated.

[0056] The second analysis corresponds to a feature analysis that derives a feature representing the contribution of each explanatory variable to the objective variable calculated using the learning model. The analysis unit 128 derives the contribution of each explanatory variable to the objective variable from the trained learning model used to predict the objective variable from the explanatory variable group. For example, when the learning model is a multiple regression analysis based on a linear model, a ridge regression, a lasso regression, an elastic net, or the like, the analysis unit 128 can extract statistics such as a partial regression coefficient for each explanatory variable for the objective variable from the parameter set of the trained learning model as the contribution of the explanatory variable to the objective variable. The analysis unit 128 may multiply the extracted partial regression coefficient by the standard deviation of the explanatory variable and divide the standard deviation of the objective variable to obtain a standardized partial regression coefficient as the contribution of the explanatory variable to the objective variable.

[0057] When the learning model is a mathematical model based on a nonlinear model, the analysis unit 128 can calculate any statistic such as LIME (Local Interpretable Model-agnostic Explanations) or SHAP (Shapley Additive Explanations) as the contribution of the explanatory variables to the objective variable. The analysis unit 128 aggregates the contribution of the explanatory variables to the objective variable for each set of the learning model and the objective variable, and outputs contribution information indicating the aggregated contribution to the learning result processing unit 130.

[0058] The learning result processing unit 130 outputs the prediction accuracy information and the contribution degree information input from the analysis unit 128 to the display unit 160 as learning result information. The output timing of the prediction accuracy information and the contribution degree information does not necessarily have to be simultaneous, and may be different. For example, the learning result processing unit 130 generates a display screen by arranging one or both of the prediction accuracy information and the contribution degree information according to a predetermined screen layout, and outputs display data showing the generated display screen to the display unit 160. The display unit 160 displays the display screen according to the display data input from the learning result processing unit 130.

[0059] The learning result processing unit 130 generates, for example, a prediction accuracy display screen as a display screen showing prediction accuracy information for each objective variable. The learning result processing unit 130 arranges numerical values ​​or figures (for example, individual bars rather than a bar graph) showing index values ​​of the prediction accuracy for each set of a learning model and an objective variable, giving priority to the order in which the prediction accuracy for that set is higher. The learning result processing unit 130 generates, for example, a contribution degree display screen as a display screen showing contribution degree information for each set of a learning model and an objective variable. The learning result processing unit 130 arranges numerical values ​​or figures showing the contribution degree for each explanatory variable, giving priority to the order in which the contribution to the objective variable is higher.

[0060] The learning result processing unit 130 determines whether the prediction accuracy display screen or the contribution display screen is to be displayed on the display unit 160 in response to an operation. The learning result processing unit 130 determines the objective variable for which prediction accuracy information is to be displayed on the prediction accuracy display screen in response to an operation. The learning result processing unit 130 determines a set of a learning model and an objective variable for which contribution information is to be displayed on the contribution display screen in response to an operation. For example, the learning result processing unit 130 changes the display target in a predetermined order each time an operation is detected. The learning result processing unit 130 may display a selection screen showing a list of candidates to be displayed on the display screen, and select a candidate designated in response to an operation as the display target.

[0061] The user can visually check the prediction accuracy display screen displayed on the display unit 160 to grasp the prediction accuracy of different learning models for each objective variable, and visually check the contribution display screen to grasp the correlation between different explanatory variable groups and the objective variable. The user can select a learning model and explanatory variable group to be used for predicting the objective variable while suppressing a decrease in prediction accuracy and efficiency, by operating the device, taking into consideration the prediction accuracy, which is a statistical amount, and the correlation between the explanatory variable group corresponding to the production requirements of the product and the objective variable in a comprehensive manner. In the selection, data science knowledge and expert knowledge such as the material or design items of the product related to the explanatory variable that brings about the displayed contribution are reflected in the displayed prediction accuracy.

[0062] The learning setting unit 124 selects one or more learning models to be learned for each objective variable in response to an operation while the display screen is being displayed as described above. The learning setting unit 124 may be able to select one or more objective variables to be used for product evaluation in response to an operation. On the prediction accuracy display screen, a learning model with higher prediction accuracy may be presented for each objective variable, and the learning setting unit 124 may select a learning model related to a prediction accuracy higher than the learning model instructed in response to an operation, and discard other learning models. The learning setting unit 124 selects explanatory variables to be used for model learning for each set of the objective variable and the selected learning model in response to an operation. On the contribution display screen, explanatory variables with higher contribution may be presented for each set of the objective variable and the learning model, and the learning setting unit 124 may select explanatory variables related to a contribution higher than the learning model instructed in response to an operation, and discard other explanatory variables.

[0063] In addition, the learning setting unit 124 may set a reference prediction accuracy for each objective variable in advance, and select a learning model whose prediction accuracy is equal to or higher than the reference prediction accuracy. The learning setting unit 124 may set the reference prediction accuracy based on the prediction accuracy of the learning model selected according to the operation for each objective variable. When there are multiple selected learning models, the reference prediction accuracy may be set based on the lowest prediction accuracy among the prediction accuracy of the selected learning models. The learning setting unit 124 may set, for example, the prediction accuracy of the selected learning model or a prediction accuracy lower than the prediction accuracy by a predetermined margin value as the reference prediction accuracy.

[0064] In addition, the learning setting unit 124 may set a standard contribution degree in advance for each set of the objective variable and the learning model, and select an explanatory variable whose contribution degree is equal to or greater than the standard contribution degree. The learning setting unit 124 may set the standard contribution degree based on the contribution degree related to the learning model selected according to the operation for each set of the objective variable and the learning model. When there are multiple types of selected explanatory variables, the standard contribution degree may be set based on the lowest contribution degree among the contribution degrees related to the selected learning models. The learning setting unit 124 may determine, for example, the contribution degree related to the selected explanatory variable or a contribution degree lower than the contribution degree by a predetermined margin value as the standard contribution degree.

[0065] The learning setting unit 124 may select one or more types of index values ​​from multiple types of index values ​​of prediction accuracy preset for each objective variable in response to an operation. The learning setting unit 124 sets the selected type of index value in the analysis unit 128. When multiple types of index values ​​are applied, the learning result processing unit 130 may change the type of index value of prediction accuracy to be output in response to an operation, or may output those types of index values ​​simultaneously.

[0066] In addition, even if the prediction accuracy of a learning model is higher than the reference prediction accuracy, it may be selected or not selected according to the operation depending on the contribution of the explanatory variables to the objective variable. Therefore, the learning setting unit 124 may record whether or not the learning model has been selected according to the operation for each set of the explanatory variable group, the objective variable, and the learning model, and may determine the probability of selection as the selection probability. Then, the learning setting unit 124 may determine a probability distribution that fits the determined selection probability for each set of the objective variable and the learning model in the parameter space of the explanatory variable group under a predetermined probability distribution model (for example, a linear combination of multidimensional Gaussian distribution functions). The learning setting unit 124 can estimate the selection probability for a new explanatory variable group for a set of a known objective variable and a learning model using the determined probability distribution. The learning setting unit 124 may determine the learning model for the objective variable as a candidate model when the estimated selection probability is equal to or higher than the lower limit of the predetermined selection probability and the prediction accuracy is equal to or higher than the reference prediction. The learning setting section 124 may cause the display section 160 to display candidate model information indicating the determined candidate model on the display screen.

[0067] The storage unit 140 temporarily or permanently stores various types of data.

[0068] The input / output unit 150 enables various input data to be input to and output from other devices.

[0069] It should be noted that the learning result processing unit 130 may output various display data to other devices via the input / output unit 150 instead of outputting the data to the display unit 160 .

[0070] The data processing unit 122 and the learning setting unit 124 may receive various types of operation information from another device via the input / output unit 150, instead of receiving the operation information from the operation input unit 158. The other device may be connected via a communication network.

[0071] Next, an example of the hardware configuration of the model setting support device 10 according to this embodiment will be described. Fig. 2 is a schematic block diagram showing an example of the hardware configuration of the model setting support device 10 according to this embodiment. The model setting support device 10 includes a processor 152, an operation input unit 158, a display unit 160, a main memory 162, a program storage unit 164, an auxiliary storage unit 166, and an interface unit 168. The processor 152, the operation input unit 158, the display unit 160, the main memory 162, the program storage unit 164, the auxiliary storage unit 166, and the interface unit 168 are connected by a bus, allowing various data to be input and output between them.

[0072] The processor 152 executes arithmetic processing instructed by commands written in various programs. The processor 152 controls the operation of the entire model setting support device 10. The processor 152 is, for example, a CPU (Central Processing Unit). In this application, executing arithmetic processing instructed by commands written in a program may be referred to as "executing a program" or the like.

[0073] The operation input unit 158 ​​can receive operations and generates an operation signal in response to the received operation. Various types of operation information are specified by the operation signal. The operation input unit 158 ​​may have general-purpose components such as a mouse, a touch sensor, or a keyboard, or may have dedicated components such as a button or a dial.

[0074] The display unit 160 displays a display screen according to display data input thereto. The display unit 160 may be any of a liquid crystal display, an organic electroluminescence display, and the like.

[0075] The main memory 162 is a writable memory that is used as a read area for the execution program of the processor 152 or as a work area for writing processing data for the execution program. The main memory 162 includes, for example, a RAM (Random Access Memory).

[0076] The program storage unit 164 stores system firmware such as a Basic Input Output System (BIOS), firmware for various devices, other programs, and setting information required to execute these programs. The program storage unit 164 includes, for example, a Read Only Memory (ROM).

[0077] The auxiliary storage unit 166 permanently stores various data and programs in a rewritable manner. The auxiliary storage unit 166 may be, for example, a hard disk drive (HDD: Hard-Disk Drive) or a solid-state storage device (SSD: Solid State Drive).

[0078] The interface unit 168 is connected to other devices via wire or wirelessly so as to input and output various data, and includes one or both of an input / output interface and a communication interface.

[0079] The processor 152 and main memory 162 correspond to the minimum hardware used to realize the computer system of the model setting assistance device 10. The processor 152 cooperates with the main memory 162 and other hardware to execute a predetermined program, thereby mainly realizing the functions of the calculation processing unit 120. The main memory 162, the program storage unit 164, and the auxiliary storage unit 166 realize the main functions of the storage unit 140. The interface unit 168 realizes the main functions of the input / output unit 150.

[0080] Next, an example of the model setting support process according to this embodiment will be described. FIG. 3 is a conceptual diagram illustrating the model setting support process according to this embodiment. In the example of FIG. 3, the model setting support device 10 according to this embodiment can access the integrated battery database. The integrated battery database is an example of a product database. The integrated battery database stores product data indicating the characteristics of each battery. The integrated battery database is constructed in a specified server device, and is connected to the model setting support device 10 via a communication network in a wired or wireless manner.

[0081] The data processing unit 122 of the model setting assistance device 10 acquires product data from the integrated battery database. The data processing unit 122 performs preprocessing on the acquired product data, composes training data and validation data as preprocessed data, and stores them in the storage unit 140.

[0082] The learning setting unit 124 sets a response variable to be predicted. In the example of Fig. 3, before the first model learning, capacity, output, cost, etc. are set in advance as index values ​​related to the performance of the battery.

[0083] The learning setting unit 124 selects a learning model to be learned. In the example of Fig. 3, prior to the first model learning, multiple regression analysis, ridge regression, lasso regression, elastic net, support vector machine, neural network, AdaBoost, gradient boosting, random forest, etc. are set in advance as a learning model for each objective variable.

[0084] Furthermore, in the learning setting unit 124, a set of setting variables to be used for predicting the dependent variable is set in advance for each set of the selected dependent variable and learning model.

[0085] The learning setting unit 124 performs hyperparameter tuning using training data for each set of the set objective variable and learning model, and sets the determined hyperparameters to be used in model learning in the model learning unit 126. In the example of FIG. 3, grid search is applied in hypertuning. The grid search is a method of performing accuracy verification from a plurality of predefined hyperparameter candidates in a brute force manner to select a hyperparameter that provides the highest prediction accuracy. The grid search includes a process of performing model learning using a part of the training data for each hyperparameter candidate, and calculating a predicted value of the objective variable from a group of explanatory variables that constitute another part of the training data using the learned learning model. In the accuracy verification, any of the above-mentioned index values ​​is calculated for the calculated predicted value by referring to the target value of the objective variable that constitutes another part of the training data. In addition, other methods such as random search and Bayesian optimization may be used in hyperparameter tuning.

[0086] The model learning unit 126 performs model learning using training data for each set of the objective variable and the learning model. In the model learning, the model learning unit 126 determines model parameters of the learning model such that the predicted value of the objective variable calculated from the explanatory variables approximates the actual measured value of the objective variable.

[0087] The analysis unit 128 performs accuracy verification using the verification data for each set of the objective variable and the trained learning model. In the accuracy verification (first analysis), the analysis unit 128 calculates an index value (score) of prediction accuracy indicating the degree to which the predicted value of the objective variable calculated from the explanatory variables approximates the actual measured value of the objective variable. The analysis unit 128 aggregates the index values ​​of prediction accuracy calculated for each set of the objective variable and the learning model. In addition, in the feature analysis (second analysis), the analysis unit 128 derives the contribution degree of each explanatory variable to the target variable for each set of the objective variable and the trained learning model. The analysis unit 128 aggregates the derived contribution degree of the explanatory variable to the objective variable for each set of the objective variable and the learning model.

[0088] The learning result processing unit 130 outputs the aggregated prediction accuracy information and contribution degree information to the display unit 160 as learning result information, and displays a prediction accuracy display screen showing the accuracy verification result and a contribution degree display screen showing the feature amount analysis result. This prompts the user to select a response variable, a learning model for each selected response variable, and an explanatory variable.

[0089] The learning setting unit 124 selects the objective variable to be evaluated in response to the operation. By selecting the objective variable, for example, an objective variable that produces a significant difference between product types may be adopted, and other objective variables may be discarded. The learning setting unit 124 selects a learning model to be learned for each objective variable in response to the operation. By selecting the learning model, for example, a learning model that can accurately predict the target variable may be adopted, and other learning models may be discarded. By selecting the explanatory variable. For example, an explanatory variable that contributes highly to the target variable may be selected, and other explanatory variables may be discarded.

[0090] The learning setting unit 124 sets the selected objective variables, a learning model for each objective variable, and explanatory variables for each set of objective variables and learning models in the model learning unit 126. By selecting the data and the learning model in this way, the amount of data and the amount of processing involved in model learning can be reduced (slimming down). The learning setting unit 124 determines hyperparameters for each set of the selected objective variables and learning models, and sets the determined hyperparameters in the model learning unit 126. Thus, by repeating model learning, accuracy verification, feature analysis, and learning setting, the efficiency of model learning that ensures prediction accuracy is improved.

[0091] FIG. 4 is a conceptual diagram illustrating an example of the relationship between information related to the model setting support process according to this embodiment. The product database stores product data indicating the characteristics of each prototype and measured product model. Many data sets included in the product data include one or more explanatory variables and one or more objective variables. In the example of FIG. 4, each data set includes objective variables A, B, and C. Multiple learning models are used to predict each objective variable.

[0092] The multiple learning models are classified into linear models and nonlinear models. The linear model is a mathematical model that has linearity in each explanatory variable and objective variable. Linear models include multiple regression analysis, ridge regression, lasso regression, elastic net, etc. Nonlinear models are mathematical models that have nonlinearity in at least one explanatory variable and objective variable. Nonlinear models include support vector machines, neural networks, Adaboost, gradient boosting, random forest, etc. The learning setting unit 124 optimizes hyperparameters by performing hyperparameter tuning for each learning model. The model learning unit 126 executes model learning using training data for the selected learning model under the optimized hyperparameters. The analysis unit 128 performs accuracy verification for the learned learning model using verification data and calculates a statistical index indicating prediction accuracy. In the feature amount analysis, the analysis unit 128 analyzes the contribution of the explanatory variables to the objective variable to be predicted based on the learned learning model.

[0093] Next, a calculation example of prediction accuracy in accuracy verification according to this embodiment will be described. Figs. 5 and 6 are tables showing calculation examples of prediction accuracy. Figs. 5 and 6 show index values ​​of prediction accuracy calculated for each set of learning model and index value type for objective variable A and objective variable B, respectively. Each row and each column corresponds to a learning model and an index value type, respectively. In the examples of Figs. 5 and 6, differences due to learning models are more noticeable for MAPE, SMAPE, and MER than for other index values.

[0094] If SMAPE is used as the accuracy verification index, the prediction accuracy of the predicted value for the objective variable A is evaluated to be the highest by Random Forest (RF), and the prediction accuracy of the predicted value by Gradient Boosting (GBDT) is evaluated to be the next highest. These prediction accuracies are significantly different from the prediction accuracies of other learning models. Therefore, the selection of Random Forest and Gradient Boosting is encouraged.

[0095] For the objective variable B, the prediction accuracy of the predicted value by Random Forest is evaluated as the highest, and the prediction accuracy of the predicted value by Support Vector Machine (SVR) is evaluated as the next highest. These prediction accuracies are significantly different from the prediction accuracies by other learning models. Therefore, the selection of Random Forest and Support Vector Machine is encouraged.

[0096] Next, an example of derivation of the contribution degree in the feature analysis according to the present embodiment will be described. FIG. 7 and FIG. 8 are diagrams showing an example of calculation of prediction accuracy. FIG. 7 illustrates the contribution degree of each explanatory variable when a random forest is used as a learning model for predicting the objective variable A. The vertical axis and horizontal axis of FIG. 7 respectively indicate the explanatory variable and the contribution degree. FIG. 7 shows the contribution degree for each explanatory variable in descending order. According to FIG. 7, the contribution degree to the objective variable A is the highest for CZ_1, and the next highest for CZ_2. And, unlike the contribution degrees to the other objective variable A, the contribution degrees of CZ_1 and CZ_2 are significantly greater than 0. Therefore, the selection of CZ_1 and CZ_2 is prompted.

[0097] FIG. 8 illustrates the contribution of each explanatory variable when gradient boosting is used as a learning model to predict the objective variable B. According to FIG. 8, the contribution to the objective variable B is highest for CZ_1, followed by CZ_2. The contributions of CZ_1 and CZ_2 are significantly greater than 0, unlike the contributions to the other objective variables B. This encourages the selection of CZ_1 and CZ_2.

[0098] However, if the contribution of each explanatory variable derived to the objective variable differs from knowledge of the product performance of production conditions such as parts and materials, for example, the effect of the production conditions explained by the explanatory variables on the performance represented by the objective variable may be contrary to physical phenomena. In such a case, the user is prompted to discard the learning model used to predict the objective variable without selecting it, and to select another learning model. Therefore, as in this embodiment, by presenting the prediction accuracy and the contribution as the learning result, the selection of a learning model that does not contradict knowledge of the relationship between the production conditions and performance of the product while ensuring the prediction accuracy is supported.

[0099] In the above description, an example has been given in which the model setting assistance device 10 has the operation input unit 158 ​​and the display unit 160 connected by wire or wirelessly, operation information is input from the operation input unit 158, and display data is output to the display unit 160, but this is not limiting. The input source of the operation information and the output destination of the display data may be an external device connected via a network. In that case, one or both of the operation input unit 158 ​​and the display unit 160 may be omitted in the model setting assistance device 10.

[0100] In addition, the target value for the predicted value of the objective variable calculated from the group of explanatory variables using the learning model is mainly an actual measurement value, but this is not limited to this. The target value may be a value set according to an operation as long as it is a known numerical value that is a target for the predicted value of the calculated objective variable.

[0101] As described above, the model setting support device 10 according to the present embodiment includes a model learning unit 126 that has a plurality of learning models capable of estimating a response variable indicating the performance of a product from a group of explanatory variables including at least a plurality of types of explanatory variables indicating the material or design items of the product, and learns each of the plurality of learning models using training data including a data set including a group of explanatory variables and a target value of the response variable, an analysis unit 128 that performs a first analysis (e.g., accuracy verification) for calculating a predicted value of the response variable from the group of explanatory variables and calculating the prediction accuracy of the predicted value based on the target value of the response variable for each learning model, and a second analysis (e.g., feature analysis) for deriving the contribution of the explanatory variable to the response variable, and a learning result processing unit 130 that outputs learning result information indicating the prediction accuracy and the contribution for each learning model. The product is, for example, a battery.

[0102] The program according to the present embodiment may be realized as a program for causing a computer to function as the model setting assistance device 10.

[0103] According to this configuration, learning result information is output that indicates the prediction accuracy calculated for each learning model and the contribution of each explanatory variable to the objective variable. A user who has come across the prediction accuracy and the contribution can compare the production conditions of a product explained by the contribution and explanatory variables with knowledge about the performance of the product represented by the objective variable, without relying solely on the prediction accuracy. Therefore, the selection of a learning model that does not contradict knowledge about the relationship between the production conditions and performance of a product is supported while ensuring the prediction accuracy of the objective variable.

[0104] In addition, the model learning unit 126 may learn multiple learning models for each dependent variable, the analysis unit 128 may perform a first analysis and a second analysis for each dependent variable, and the learning result processing unit 130 may output learning result information for each dependent variable.

[0105] According to this configuration, for each objective variable, learning result information is output that indicates the prediction accuracy calculated for each learning model and the contribution of each explanatory variable to the objective variable. Therefore, while ensuring prediction accuracy for each objective variable, the selection of a learning model that does not contradict knowledge about the relationship between the production conditions and performance of the product is supported.

[0106] Also, a learning setting unit 124 is provided that selects a learning model for predicting a target variable in response to an input operation, and the model learning unit 126 learns the selected learning model and does not need to learn a learning model that is not selected.

[0107] According to this configuration, a learning model to be learned is selected according to a user's instruction, and a learning model that is not selected is not learned. By narrowing down the learning models, the amount of processing related to model learning and the amount of data involved in the processing can be reduced.

[0108] The device may also include a learning setting unit 124 that selects explanatory variables in response to an input operation, and the model learning unit 126 may learn a learning model that includes the explanatory variables selected from the training data and excludes the explanatory variables that were not selected.

[0109] According to this configuration, explanatory variables to be used in model learning are selected according to the user's instructions, and explanatory variables that are not selected are not used in model learning. By narrowing down the explanatory variables, the amount of processing related to model learning and the amount of data involved in the processing can be reduced. In addition, by selecting explanatory variables that have a high degree of contribution to the objective variable, prediction accuracy is ensured.

[0110] In addition, a learning setting unit 124 may be provided for each learning model, which searches for hyperparameters for learning a learning model with higher prediction accuracy.

[0111] According to this configuration, hyperparameters for training a learning model with higher prediction accuracy are searched for, and model training is made more efficient so as to obtain a learning model with higher prediction accuracy.

[0112] Although one embodiment of the present invention has been described in detail above with reference to the drawings, the specific configuration is not limited to the above, and various design changes, etc. are possible within the scope that does not deviate from the gist of the present invention. [Explanation of symbols]

[0113] 10...model setting support device, 120...arithmetic processing unit, 122...data processing unit, 124...learning setting unit, 126...model learning unit, 128...analysis unit, 130...learning result processing unit, 140...storage unit, 150...input / output unit, 152...processor, 158...operation input unit, 160...display unit, 162...main memory, 164...program storage unit, 166...auxiliary storage unit, 168...interface unit

Claims

1. a plurality of learning models capable of estimating a target variable indicating a performance of a product from a group of explanatory variables including a plurality of types of explanatory variables indicating at least a material or design item of the product; a model learning unit that learns each of the plurality of learning models using training data including a data set consisting of the group of explanatory variables and the target value of the objective variable; For each of the learning models, a first analysis for calculating a predicted value of a dependent variable from the group of explanatory variables and calculating a prediction accuracy of the predicted value based on a target value of the dependent variable; an analysis unit that executes a second analysis to derive a contribution degree of the explanatory variable to the objective variable; a learning result processing unit that outputs learning result information indicating the prediction accuracy and the contribution degree for each of the learning models. Model setting support device.

2. the model learning unit learns the plurality of learning models for each of the objective variables; The analysis unit executes the first analysis and the second analysis for each of the objective variables, The learning result processing unit outputs the learning result information for each of the objective variables. The model setting support device according to claim 1 .

3. a learning setting unit that selects a learning model for predicting the objective variable in response to an input operation; The model learning unit includes: Train the selected learning model and do not train the unselected learning model. The model setting assistance device according to claim 2 .

4. A learning setting unit is provided for selecting explanatory variables in response to an input operation, The model learning unit includes: The learning model is trained by including the explanatory variables selected from the training data and excluding the explanatory variables not selected. The model setting support device according to claim 1 .

5. A learning setting unit is provided for each of the learning models to search for hyperparameters for learning the learning model with higher prediction accuracy. The model setting assistance device according to claim 2 .

6. The product is a battery. The model setting support device according to claim 1 .

7. To your computer A program for causing the model setting support device according to claim 1 to function.

8. A model setting support method for a model setting support device having a plurality of learning models capable of estimating a target variable indicating a performance of a product from a group of explanatory variables including at least a plurality of types of explanatory variables indicating materials or design items of the product, comprising: The model setting assistance device comprises: training the plurality of learning models using training data including a data set consisting of the group of explanatory variables and the target value of the objective variable; For each of the learning models, a first analysis for calculating a predicted value of a dependent variable from the group of explanatory variables and calculating a prediction accuracy of the predicted value based on a target value of the dependent variable; A second analysis is carried out to derive the contribution of the explanatory variables to the objective variable; Outputting learning result information indicating the prediction accuracy and the contribution degree for each learning model Model setting support method.

Citation Information

Patent Citations

  • Method and device for predicting performance of lithium ion secondary battery

    JP2022123349A

  • Error cause estimation device and estimation method

    WO2021199227A1

  • Generation device, method, and program

    WO2022168163A1

  • Machine learning management program, machine learning management apparatus, and machine learning management method

    JP2017049677A

  • Multiple regression analysis device and multiple regression analysis method

    JP2020057261A