WO2023181320A1 - Model processing device, model processing method, and recording medium - Google Patents

Model processing device, model processing method, and recording medium Download PDF

Info

Publication number
WO2023181320A1
WO2023181320A1 PCT/JP2022/014228 JP2022014228W WO2023181320A1 WO 2023181320 A1 WO2023181320 A1 WO 2023181320A1 JP 2022014228 W JP2022014228 W JP 2022014228W WO 2023181320 A1 WO2023181320 A1 WO 2023181320A1
Authority
WO
WIPO (PCT)
Prior art keywords
model
evaluation
output
data
existing
Prior art date
Application number
PCT/JP2022/014228
Other languages
French (fr)
Japanese (ja)
Inventor
啓太 佐久間
智哉 坂井
竜太 松野
義男 亀田
Original Assignee
日本電気株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 日本電気株式会社 filed Critical 日本電気株式会社
Priority to PCT/JP2022/014228 priority Critical patent/WO2023181320A1/en
Publication of WO2023181320A1 publication Critical patent/WO2023181320A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning

Definitions

  • This disclosure relates to evaluating and modifying machine learning models.
  • Patent Document 1 describes a method of adjusting model learning processing based on evaluation information for a created model.
  • One objective of the present disclosure is to provide a model processing device that enables appropriate modification of a model by presenting sufficient information regarding the data used to create the model and the output of the model in operation.
  • the model processing device includes: an existing model acquisition means for acquiring an existing model; a first output means for outputting first evaluation information indicating a relationship between the evaluation data and the output of the existing model with respect to the evaluation data; a modification acquisition means for acquiring modification information input to the first evaluation information; modified model acquisition means for acquiring a modified model that is modified based on modification information input to the first evaluation information; a second output means for outputting second evaluation information indicating a relationship between outputs of the existing model and the modified model with respect to evaluation data; Equipped with
  • a model processing method includes: Get an existing model, outputting first evaluation information indicating a relationship between the evaluation data and the output of the existing model with respect to the evaluation data; Obtaining correction information input for the first evaluation information, obtaining a modified model that is modified based on modification information input to the first evaluation information; Second evaluation information indicating a relationship between the outputs of the existing model and the modified model with respect to the evaluation data is output.
  • the recording medium includes: Get an existing model, outputting first evaluation information indicating a relationship between the evaluation data and the output of the existing model with respect to the evaluation data; Obtaining correction information input for the first evaluation information, obtaining a modified model that is modified based on modification information input to the first evaluation information; A program is recorded that causes a computer to execute a process of outputting second evaluation information indicating a relationship between outputs of the existing model and the modified model with respect to evaluation data.
  • FIG. 1 is a block diagram showing the overall configuration of a model generation system according to a first embodiment.
  • FIG. 2 is a block diagram showing the hardware configuration of a model generation device.
  • 1 is a block diagram showing a functional configuration of a model generation device according to a first embodiment;
  • FIG. A display example of evaluation information in the case of prediction of one-dimensional time series data is shown.
  • a display example of evaluation information in the case of prediction of multidimensional time series data is shown.
  • An example of a modification UI for inputting parameter modification information is shown.
  • An example of a correction UI for inputting assignment correction information is shown.
  • a display example of a model visualization UI and a correction UI in the case of regression analysis is shown.
  • FIG. 1 is a block diagram showing a schematic configuration of a model generation system using a server and a terminal device.
  • FIG. 2 is a block diagram showing the functional configuration of a model processing device according to a second embodiment. It is a flow chart of processing by a model processing device of a 2nd embodiment.
  • an interactive UI User Interface
  • a predictive model hereinafter also simply referred to as a "model”
  • model a predictive model
  • the "user” is a person who modifies a model, such as a model developer or operator.
  • the tasks of the prediction model include various tasks such as regression of time series data, regression of data other than time series, discrimination, and classification, and are not limited to specific tasks.
  • model is information representing the relationship between explanatory variables and objective variables.
  • a model is, for example, a component for estimating a target result by calculating a target variable based on explanatory variables.
  • a model is generated by executing a learning algorithm using as input learning data for which values of objective variables have already been obtained and arbitrary parameters.
  • the model may be represented, for example, by a function c that maps an input x to a ground answer y.
  • the model may be one that estimates a numerical value to be estimated, or may be one that estimates a label to be estimated.
  • the model may output variables that describe the probability distribution of the target variable.
  • a model is sometimes described as a "learning model,” “analytical model,” “AI (Artificial Intelligence) model,” or "prediction formula.”
  • the above interactive UI includes a model visualization UI, a modification UI, and a model comparison UI.
  • the "model visualization UI” is a UI for presenting to the user information indicating the relationship between training data used to generate a model and the output of the generated model.
  • the "modification UI” is a UI for the user to input information for modifying the model (hereinafter referred to as “modification information").
  • the "model comparison UI” refers to the comparison between the model before being modified based on modification information (also referred to as “existing model”) and the model after modification (also referred to as "post-modification model”). This is a UI for presenting information indicating relationships to the user.
  • the modification UI can be used in combination with the model visualization UI or the model comparison UI. In this way, in this embodiment, by using the interactive UI, it is possible to appropriately reflect the domain knowledge possessed by the user and modify the model.
  • FIG. 1 is a block diagram showing the overall configuration of a model generation system according to a first embodiment.
  • the model generation system 1 includes a model generation device 100, a display device 2, and an input device 3.
  • the model generation device 100 is configured by, for example, a computer such as a personal computer (PC).
  • the display device 2 is, for example, a liquid crystal display device, and displays the evaluation information generated by the model generation device 100.
  • the input device 3 is, for example, a mouse, a keyboard, etc., and is used by the user to give instructions and input necessary when modifying a model.
  • the model generation device 100 generates a machine learning model (hereinafter simply referred to as a "model") using training data prepared in advance. Furthermore, the model generation device 100 displays evaluation information indicating the relationship between the training data used to generate the model and the output of the generated model on the display device 2. This evaluation information is provided to the user using the model visualization UI described above. This allows the user to evaluate the performance of the generated model in relation to the training data.
  • the generated model is operated in the planned environment.
  • the user can use the input device 3 to input model correction information. Enter.
  • This input is performed using the modification UI described above.
  • the model generation device 100 modifies the existing model based on the input modification information and generates a modified model.
  • the model generation device 100 displays evaluation information on the display device 2 indicating the relationship between the output of the existing model before modification and the output of the modified model.
  • This evaluation information is presented to the user using the model comparison UI described above. This allows the user to evaluate the performance of the modified model in relation to the existing model before modification. In this way, the user can appropriately modify the model by referring to the evaluation information indicating the relationship between the training data and the created model, or the relationship between the model before and after modification.
  • model visualization UI and model comparison UI may present the relationship between data other than training data, that is, data that the model has not learned, and the created model.
  • the data that the model has not learned includes, for example, validation data (test data) and operational data. Displaying the model's prediction results for data that the model has not learned is important when considering model issues or when comparing models.
  • FIG. 2 is a block diagram showing the hardware configuration of the model generation device 100.
  • the model generation device 100 includes an interface (I/F) 111, a processor 112, a memory 113, a recording medium 114, and a database (DB) 115.
  • I/F interface
  • processor 112 processor 112
  • memory 113 memory
  • recording medium 114 recording medium
  • DB database
  • the I/F 111 inputs and outputs data to and from external devices. Specifically, training data used for model generation and modification information input by the user using the input device 3 are input to the model generation device 100 through the I/F 111. Further, evaluation information regarding the relationship between the training data and the output of the existing model, evaluation information regarding the relationship between the output of the existing model and the output of the corrected model, etc. are output to the display device 2 through the I/F 111.
  • the processor 112 is a computer such as a CPU (Central Processing Unit), and controls the entire model generation device 100 by executing a program prepared in advance.
  • the processor 112 may be a GPU (Graphics Processing Unit) or an FPGA (Field-Programmable Gate Array).
  • the processor 112 executes model modification processing, which will be described later.
  • the memory 113 is composed of ROM (Read Only Memory), RAM (Random Access Memory), and the like. Memory 113 is also used as a working memory while processor 112 executes various processes.
  • the recording medium 114 is a non-volatile, non-temporary recording medium such as a disk-shaped recording medium or a semiconductor memory, and is configured to be detachable from the model generation device 100.
  • the recording medium 114 records various programs executed by the processor 112. When the model generation device 100 executes various processes, a program recorded on the recording medium 114 is loaded into the memory 113 and executed by the processor 112.
  • the DB 115 stores information regarding existing models and modified models generated by the model generation device 100.
  • the DB 115 also includes training data input through the I/F 111, correction information input by the user, evaluation information regarding the relationship between the training data and the output of the existing model, and information on the relationship between the output of the existing model and the corrected model. Stores evaluation information regarding the relationship with output.
  • FIG. 3 is a block diagram showing the functional configuration of the model generation device 100 of the first embodiment.
  • the model generation device 100 functionally includes a training data DB 121, a model training section 122, a model DB 123, an evaluation data DB 124, and an evaluation information output section 125.
  • the training data DB 121 stores training data used for model generation.
  • Training data D1 is input to model training section 122.
  • the training data D1 is composed of a plurality of combinations of input data and correct labels (teacher labels) for the input data.
  • the model training unit 122 trains a model using training data and generates a model.
  • the model training unit 122 outputs model data M corresponding to the generated model to the model DB 123 and the evaluation information output unit 125.
  • the model data M includes a plurality of parameter information constituting the model.
  • the parameter information includes, for example, information on explanatory variables used as model inputs, information on weights for each explanatory variable, information on weights for each sample forming input data, and the like.
  • the model training unit 122 retrains the existing model to generate a modified model.
  • the model training unit 122 corrects the parameters constituting the model based on the correction information D3 input by the user using the input device 3, and uses training data for retraining as necessary to improve the model. Perform retraining.
  • the model training unit 122 stores the model data M of the corrected model obtained through retraining in the model DB 123 and outputs it to the evaluation information output unit 125.
  • the model training unit 122 is an example of a correction acquisition unit.
  • the evaluation data DB 124 stores evaluation data used to evaluate the generated model.
  • the evaluation data includes various types of data that can be used to evaluate the model. Examples of evaluation data include the following. (1) “Data not used for model generation” called validation data or test data In this case, the evaluation data is basically a set of input data and correct answer labels. (2) “Newly collected data after model generation” such as operational data Note that if labeling is not performed immediately, the evaluation data may be input-only data. (3) “Data that is generated by some method and is unknown to the model” For example, if the feature amount in the input data is (day of the week, holiday, weather), it is possible to create pseudo future data using calendar information and weather forecasts. (4) Training data Training data may be used as evaluation data to evaluate the model.
  • the evaluation information output unit 125 generates evaluation information D2 for evaluating each model based on the model data M, and outputs it to the display device 2.
  • the evaluation information D2 includes information regarding the relationship between the evaluation data and the output of the generated model, information regarding the relationship between the output of the existing model and the output of the corrected model with respect to the evaluation data, and the like. Note that the evaluation information output unit 125 outputs data for displaying evaluation information to the display device 2 using the model visualization UI or model comparison UI described above.
  • the evaluation information output unit 125 is an example of an existing model acquisition means, a modified model acquisition means, a first output means, and a second output means.
  • the display device 2 displays the evaluation information D2 output by the evaluation information output section 125. Thereby, the display device 2 presents evaluation information to the user using the model visualization UI or the model comparison UI.
  • the input device 3 outputs modification information D3 input by the user using the modification UI described above to the model training unit 122.
  • the user refers to the evaluation information D2 displayed on the display device 2 using the model visualization UI and the model comparison UI, and evaluates the performance of the existing model and the modified model. Then, the user inputs the correction information D3 into the input device 3 using the correction UI as necessary.
  • the model training unit 122 corrects the model by retraining the model using the input correction information D3. In this way, the user can modify the model at an appropriate time and with an appropriate policy.
  • the interactive UI includes a model visualization UI, a modification UI, and a model comparison UI.
  • FIG. 4 shows a display example of evaluation information when the task of the model is prediction of one-dimensional time-series data.
  • display example G1 shows training data and model output for a model that predicts daily sales of a certain product.
  • the horizontal axis is date and the vertical axis is sales.
  • Graph 11 shows the training data used to generate the model.
  • Graph 12 shows the output of the existing model generated using the training data shown in graph 11 and future input data. Note that since the graph 12 is a predicted value by a model, correct label data corresponding to future input data is not necessarily required.
  • Display example G1 is a display example using a model visualization UI that displays evaluation information indicating the relationship between training data, future input data, and the output of an existing model.
  • time series model When operating a general regression model like a time series model, in order to output future predictions, prepare input data at a future point in time, input it to the model, and output a prediction at a future point in time. .
  • non-time-series regression or discrimination in order to output the predicted value of a future target variable that is not in the training data, prepare input data at a future point in time, input it to the model, and then Output the predicted value at the time.
  • future input data is not necessary because future predicted values can be obtained by extending training data.
  • the time series model without explanatory variables refers to a model in which the latest predicted value is regressed from the past value of the objective variable, that is, an autoregressive model.
  • the user When the user looks at the display example G1 and determines that there is a problem with the existing model, the user inputs correction information. Specifically, the user inputs modification information into the input device 3 using the modification UI.
  • the modification information includes parameter modification information regarding training data and task modification information regarding the output of the existing model.
  • the parameter modification information is information that specifies the adjustment location and adjustment amount of the weight given by the model to the training data. That is, the user can specify a particular period of training data and adjust the weight for the training data for that period.
  • the user specifies the range (period) indicated by the line segment 21 among the training data indicated by the graph 11, and makes a correction indicating that the weight for the training data belonging to that period is to be increased by 1.5 times. Entering information. Similarly, a user can specify a particular period of training data and provide input to reduce the weight for training data for that period. In the example of FIG. 4, the user specifies the range (period) shown by the line segment 22 among the training data shown by the graph 11, and ignores the training data belonging to that period. Modification information to set the weight to "0" is input.
  • the task correction information is information that specifies the adjustment amount of the task location and task degree (hereinafter also referred to as "task degree") in the model output.
  • the problem level indicates the extent to which there are problems with the output of the model.
  • the level of the task can be specified by a plurality of levels (for example, 10 levels).
  • the user can designate a specific period of model output as a task location and input the task level of that task location. In the example of FIG. 4, the user specifies the range (period) indicated by line segments 23 and 24 among the outputs of the model indicated by the graph 12, and sets the problem level of the model output in that period to "4" and "5", respectively. ” is inputting the correction information to be set.
  • FIG. 4 shows a display example G2 of evaluation information of the corrected model.
  • a graph 11 of training data is displayed, similar to display example G1.
  • a graph 12 showing the output of the existing model before modification is shown by a broken line, and a graph 13 showing the output of the model after modification is superimposed. This allows the user to easily compare the output of the model before and after modification.
  • display examples G1 and G2 are display examples that use the model visualization UI and the model comparison UI at the same time.
  • the model comparison UI compares two models before and after modification, but multiple models generated in the process of trial and error of model modification may be visualized at the same time.
  • a plurality of outputs of the existing model such as the graph 12 are displayed simultaneously.
  • Prediction of multidimensional time series data refers to a case where the model's task is to first predict a plurality of time-series data and then use those prediction results to predict the final objective variable.
  • the method for predicting one-dimensional time-series data described above can be applied to each dimension.
  • FIG. 5 shows a display example of evaluation information in the case of prediction of multidimensional time series data.
  • the model first predicts the two-dimensional explanatory variables "humidity” and "temperature” and then predicts the one-dimensional target variable "sales” from the prediction results.
  • display example G3 is a display example of evaluation information regarding the task of predicting daily humidity.
  • a graph 14 showing training data, a graph 15 showing the output of the existing model, and a graph 16 showing the output of the corrected model are displayed simultaneously.
  • the user is inputting modification information for modifying the weight for training data using line segment 21.
  • Display example G4 is a display example of evaluation information regarding the task of predicting daily temperature.
  • a graph 17 showing training data, a graph 18 showing the output of the existing model, and a graph 19 showing the output of the corrected model are displayed simultaneously.
  • the user is inputting modification information for modifying the weight for the training data using the line segment 22.
  • display example G5 is a display example of evaluation information regarding a task of predicting daily sales from predicted humidity and temperature.
  • display example G5 similarly to FIG. 4, a graph 11 showing training data, a graph 12 showing the output of the existing model, and a graph 13 showing the output of the corrected model are displayed simultaneously. Note that in display example G5 as well, the user can input correction information as in FIG.
  • the modification information includes parameter modification information regarding the training data and task modification information regarding the output of the existing model.
  • the parameter modification information is information that specifies the adjustment location and adjustment amount of the weight given by the model to the training data.
  • FIG. 6 shows an example of a modification UI for inputting parameter modification information regarding training data.
  • the user specifies a particular period of training data and provides input to adjust the weight for that period of training data.
  • FIG. 6A shows an example of specifying a range using a cursor. Specifically, in FIG. 6A, the user specifies a range of adjustment points in the displayed training data using a cursor. In the example of FIG. 6A, the user specifies a rectangular range 31 with the cursor as the weight adjustment location. After specifying the range, the user inputs the amount of weight adjustment.
  • the weight adjustment amount can be, for example, a magnification of the current weight value.
  • the model training unit 122 increases the weight for training data belonging to range 31 to 1.5 times the current value. By inputting a value less than "1" as the weight adjustment amount, the weight can be reduced. This method is effective when uniformly adjusting weights for a certain range of training data.
  • FIG. 6(B) shows an example in which the weight adjustment location and adjustment amount are input by clicking using a mouse.
  • the user selects either a weight increasing mode or a weight decreasing mode, and then clicks a data point on the training data graph that corresponds to the day on which he or she wishes to adjust.
  • the weight increases according to the number of clicks by the user.
  • the weight is reduced according to the number of clicks by the user. This method is effective when the amount of weight adjustment is different for each date.
  • FIG. 6(C) shows an example in which the weight adjustment location and adjustment amount are input by specifying the length of the bar indicating the weight.
  • the weight values set by the existing model for the training data of each date are shown by weight bars.
  • the weight adjustment amount is displayed in an easy-to-read manner by displaying the weight bar 32a indicating the weight of the existing model and the portion 32b whose length has been changed by the user in different colors. be able to.
  • FIG. 7 shows an example of a modification UI for inputting problem modification information regarding the output of an existing model.
  • the user specifies a specific period in the output of the existing model as a problem part, and inputs the problem level of the model output of the problem part.
  • the model training unit 122 modifies the existing model so that the task at the specified task location is solved.
  • the model training unit 122 modifies the existing model so that the difference between the model output and the actual measurement value at the designated task location becomes smaller.
  • the model training unit 122 increases the amount of modification of the existing model as the input task level increases.
  • model training unit 122 can also modify model parameters simply by inputting task modification information. In this case, there is no need to input parameter modification information.
  • the method for modifying model parameters based on the input of problem modification information is as follows. First, when task correction information is specified for training data (for example, graph 11 in display example G1 in FIG. 4), the model training unit 122 changes the weight of the sample specified as a task location based on the task degree. Change according to predetermined rules. Furthermore, when the task correction information is specified for future data (for example, graph 12 in display example G1 in FIG. 4), the model training unit 122 selects a sample within the training data that is similar to the sample specified as the task location. The weight of the sample is changed according to a predetermined rule based on the task level.
  • a predetermined rule a "function or model indicating the relationship between the task level and the weight adjustment amount" prepared independently of past input logs can be used.
  • FIG. 7(A) shows an example of specifying a range using a cursor.
  • the user uses a cursor to specify a range of adjustment points in the output of the displayed existing model.
  • the user specifies a rectangular range 33 with the cursor as the task location.
  • the user inputs the level of assignment for that assignment location.
  • the level of the task can be set to 10 levels, for example. It is assumed that the larger the numerical value of the problem level is, the larger the problem is.
  • the model training unit 122 sets the task level of the output of the existing model belonging to range 33 as "3" on a scale of 10. This method is effective when uniformly adjusting the task level for a certain range of existing model outputs.
  • FIG. 7(B) shows an example of inputting the task location and task level of the existing model output by clicking with a mouse.
  • the user selects either a mode for increasing the task level or a mode for decreasing the task level, and then clicks on the data point corresponding to the day on the graph of the existing model that he/she wants to adjust.
  • the mode of increasing the task level the task level increases according to the number of clicks by the user.
  • the task level is reduced according to the number of clicks by the user. This method is effective when the amount of adjustment of the task level differs for each date.
  • FIG. 7(C) shows an example of inputting the task location and the adjustment amount of the task level by specifying the length of a bar indicating the task level (hereinafter referred to as the "assignment level bar").
  • the problem level of the output of the existing model on each date is shown by a problem level bar.
  • the task level bar for each date is displayed by calculating the task level based on, for example, the difference between the output of an existing model on each date and the actual measurement value on that day.
  • the actual measured value of the objective variable has already been obtained in this way, it is preferable to display the actual measured value on the model visualization UI and the model comparison UI.
  • the actual measured value of the target variable is displayed on the graph 12 of display examples G1 and G2 in FIG. This makes it easier for the user to find the location of the problem.
  • the user can adjust the issue level of the existing model output for that day by changing the length of the issue level bar on the day that the user wants to adjust.
  • the amount of adjustment of the task level can be specified by the amount of change in the length of the task level bar. That is, if the user wants to increase the task level, he/she can increase the length of the task level bar.
  • FIG. 7(C) by distinguishing and displaying the task level bar 34a indicating the task level of the existing model output and the portion 34b whose length has been changed by the user using different colors, the amount of adjustment of the task level can be adjusted. can be displayed easily.
  • regression analysis Next, a case where the model task is regression analysis will be explained.
  • the model task is regression analysis of data other than time series data
  • the evaluation information is shown by a two-dimensional or three-dimensional scatter plot.
  • FIG. 8(A) shows a display example G11 of the model visualization UI and correction UI in the case of regression analysis.
  • Display example G11 is an example of a model that predicts sales of hamburgers.
  • the horizontal axis indicates the season from summer to winter, and the vertical axis indicates the time from day to night.
  • Each data point in the diagram represents a predicted value of sales.
  • Each data point is shown in a darker color (closer to black) as the sales value increases, and a lighter color (closer to white) as the value decreases.
  • the model's predicted value for the training data used to train the existing model is shown as a circle
  • the model's predicted value for the validation data used for evaluation and verification of the existing model is shown as a square.
  • the vertical and horizontal axes in Figure 8(A) are examples of feature quantities, but if there are three or more feature quantities, two feature quantities are randomly selected from the three or more feature quantities. Alternatively, a plurality of feature quantities may be integrated and converted into two feature quantities. This point also applies to the case of FIG. 8(B), which will be described later.
  • the user can know the tendency of the existing model. For example, in display example G11, the predicted value for the training data and the predicted value for the validation data are different in the region of winter nights, indicating that the prediction accuracy of the existing model is low in the region of winter nights.
  • the user can modify the existing model by inputting parameter modification information that increases the weight for the data point 37 that corresponds to the condition of winter night, for example in display example G11.
  • FIG. 8(B) shows another display example G12.
  • Display example G12 simultaneously displays training data used for training the existing model and predicted values of the model for operational data used in actual operation.
  • the training data shows actual measured sales.
  • predicted values are shown that are the results of predictions made using existing models for operational data.
  • the outer periphery of the data points of the training data is shown by a solid line
  • the outer periphery of the data points of the operational data is shown by a dotted line. Note that the vertical axis, horizontal axis, and colors indicating sales values are the same as in FIG. 8(A).
  • the user can know the tendency of the existing model. For example, in display example G12, under the condition of a winter night, the predicted value for the operational data is large compared to the small value for the training data. Therefore, the user can determine that the prediction accuracy of the existing model is insufficient under the condition of a winter night and that correction is necessary. In this case as well, the user can modify the existing model by inputting parameter modification information that increases the weight for the data point 37 that corresponds to the condition of winter night in display example G12.
  • FIG. 9 shows a display example G13 of the model comparison UI and correction UI.
  • Display example G13 is a plot of the error between the training data and the output of the existing model on a two-dimensional feature space.
  • the vertical and horizontal axes indicate some feature amount that defines the feature space. That is, the vertical axis and the horizontal axis each indicate one feature amount.
  • the evaluation information output unit may randomly select two feature quantities from three or more feature quantities, or may integrate multiple feature quantities. It may also be converted into two feature quantities.
  • the color of each displayed data point indicates the error between the training data and the output of the existing model; the darker the color, the greater the error.
  • the user looks at the display example G13, determines that the points located in the lower right area have a large error, and inputs correction information targeting those points. For example, the user uses a stylus pen or the like to draw a line segment 35 to enclose an area with a large error, thereby specifying a point belonging to the area surrounded by the line segment 35 as a task location. Further, the user inputs the task level for the points belonging to the area surrounded by the line segment 35. Display example G13 thus allows the user to input assignment modification information including the assignment location and assignment level. Note that the line segment 35 may be used to input parameter modification amounts such as sample weight modification information.
  • each data point indicates the error between the training data and the output of the existing model, but instead, the actual value or predicted value may be colored as shown in FIG. .
  • the model training unit 122 modifies the existing model based on the input modification information and generates a modified model.
  • the evaluation information output unit 125 generates a new display example G14 shown in FIG. 9 based on the training data and the output of the corrected model, and displays it on the display device 2.
  • display example G14 the error at the points belonging to the lower right region is smaller, indicating that the performance of the model is improved.
  • the display example G14 shows an error between the training data and the output of the corrected model, and it is difficult to compare the existing model and the corrected model using only the display example G14. Therefore, in addition to display example G14, display example G13 showing the error between the training data and the output of the existing model may be displayed at the same time.
  • Display examples G13 and G14 above display the error between the training data and the model output as evaluation information, but instead, the error between the validation data and the model output may be displayed, or the actual value and predicted value may be displayed. Values may be shown in color.
  • the modification UI is used for inputting parameter modification information in the display using the model visualization UI and modification UI, as shown in Figures 8 (A) and (B), and for inputting parameter modification information in the display using the model comparison UI and modification
  • FIG. 10(A) shows a method of inputting correction information by clicking on each point on the display of evaluation information.
  • the user specifies the weight adjustment point by clicking on the data point of the displayed training data whose weight is to be changed, and the amount of weight adjustment is determined by the number of clicks. Can be specified.
  • the user can specify the issue location by clicking on a data point that has an issue among the displayed data points such as errors, and specify the issue level by the number of clicks. I can do it.
  • FIG. 10(B) shows a method of inputting correction information by surrounding data points in the display of evaluation information with line segments, as in display example G13 of FIG. 9.
  • the user specifies the weight adjustment point by enclosing the data point of the displayed training data whose weight is to be changed with a line segment, and separately inputs the weight adjustment amount. Or you can specify it.
  • the user may designate the task location by enclosing the data point having the task among the displayed data points with a line segment, and may separately input or specify the task level.
  • FIG. 10(C) shows a method of inputting correction information by surrounding data points in the display of evaluation information with line segments or the like.
  • the same weight adjustment amount or task level is specified for all data points belonging to the area surrounded by the line segment
  • the gradation allows different weight adjustment amounts or task levels to be set for data points belonging to the area surrounded by the line segment.
  • the user specifies the weight adjustment point by enclosing the data point whose weight is to be changed among the displayed training data points with a line segment, and then selects a different weight using the gradation display.
  • the user can specify the assignment location by enclosing the data points with assignments among the displayed data points with a line segment, and specify a different assignment degree using the gradation display. .
  • Model visualization UI and correction UI A display example G13 shown in FIG. 11 is a display example of a model visualization UI and a modification UI in the case of a classification model.
  • the existing model is, for example, a binary classification model that classifies a certain image into two, "A" and "B.”
  • Display example G13 like display example G11 in FIG. 8, shows a feature amount space in which two specific feature amounts are plotted on the vertical and horizontal axes. Each data point is shown in a color corresponding to the misclassification rate calculated based on the training data and the output of the existing model, with the darker the color, the higher the misclassification rate.
  • the user can know the tendency of the existing model. For example, in display example G13, it can be seen that the misclassification rate is high in the lower right region of the feature space. Therefore, the user can specify the weight adjustment location by inputting the line segment 41 surrounding the data point that requires correction, and can input correction information by separately specifying the weight adjustment amount.
  • any known method can be used to calculate the misclassification rate.
  • the misclassification rate may be set to "1", and if they match, the misclassification rate may be set to "0".
  • each data point has only two colors.
  • the classification model outputs a classification score
  • correction information is input by enclosing the data points with line segments 41, but in the case of a classification task, any of the methods shown in FIGS. You may also use
  • FIG. 12A shows a display example G14 of the model comparison UI and correction UI in the case of a classification model.
  • Display example G14 shows the misclassification rate by the modified model modified based on the modification information input by the user in display example G13.
  • the misclassification rate is calculated based on the training data and the output of the modified model.
  • the misclassification rate has been improved for data points in the lower right region of the feature space.
  • model comparison UI data points for which the classification results have changed between the existing model and the revised model are distinguished and displayed, for example by emphasizing the outline, such as data point 42, so that the output of the old and new models can be compared. Relationships can be shown. Note that in display example G14, the model may be modified by further inputting modification information using any of the methods shown in FIGS. 10(A) to 10(C).
  • FIG. 12(B) shows another display example G15 of the model comparison UI.
  • the color of each data point indicates the absolute value of the difference in classification scores between the existing model and the modified model. That is, the larger the difference between the classification results between the existing model and the modified model, the darker the color of the data point becomes. Even in this case, the relationship between the outputs of the old and new models can be shown.
  • the model may be modified by further inputting modification information using any of the methods shown in FIGS. 10(A) to 10(C).
  • FIG. 13A shows an example of a modification UI for modifying the weight for each explanatory variable.
  • This modification UI displays a list 51 of explanatory variables used by the existing model and a weight bar 52 set for each explanatory variable.
  • explanatory variables whose checkboxes are checked are explanatory variables used by existing models. The user can increase or decrease the weight for each explanatory variable by changing the length of the weight bar 52 corresponding to each explanatory variable using the cursor 52x.
  • FIG. 13(B) shows an example of a modification UI for changing the explanatory variables themselves used by the existing model.
  • This modification UI displays a list 53 of explanatory variables used by the existing model. If the user wants to delete an explanatory variable that is in use, he or she can remove the checkbox in the list 53. On the other hand, if the user wants to add an explanatory variable, when the user clicks on the "Add" tab in the list 53, an addition list 54 is displayed.
  • the additional list 54 is a list of commonly used explanatory variables. The user can add a new explanatory variable by referring to the addition list 54, checking the checkbox of the explanatory variable he or she wishes to add, and pressing the "OK" button.
  • FIG. 14 is a flowchart of model modification processing performed by the model generation device 100.
  • the model modification process is a process for modifying an existing model, and is executed at an appropriate timing, such as during model operation, for example. This processing is realized by the processor 112 shown in FIG. 2 executing a program prepared in advance and operating as the element shown in FIG. 3.
  • the model generation device 100 acquires a target existing model (step S10).
  • the model generation device 100 displays the training data and the output of the existing model using the model visualization UI (step S11).
  • the user looks at the relationship between the displayed training data and the output of the existing model and determines whether or not the existing model needs to be modified. If the user determines that the existing model needs to be modified, the user uses the modification UI to make the modification. Enter your information.
  • the model generation device 100 determines whether the user has input correction information (step S12). If no modification information is input (step S12: No), the process ends.
  • step S12 if correction information is input (step S12: Yes), the model generation device 100 acquires the correction information. Specifically, when the user finds an output problem of an existing model and inputs problem correction information, the model generation device 100 acquires the problem correction information (step S13). Furthermore, when the user determines that parameters such as weights and explanatory variables need to be modified and inputs parameter modification information, the model generation device 100 acquires the parameter modification information (step S14).
  • the model generation device 100 modifies the parameters of the existing model based on the input problem modification information and parameter modification information to generate a modified model (step S15). Then, the model generation device 100 displays the output of the existing model and the output of the corrected model using the model comparison UI (step S16). The process then returns to step S12. In this way, steps S13 to S16 are repeated while the user determines that the model needs to be modified, and when it is determined that the model does not need to be modified, the process ends.
  • the user can see the relationship between the training data displayed by the model visualization UI and the output of the existing model, and the relationship between the output of the existing model and the output of the modified model displayed by the model comparison UI. , determine model modifications. If it is determined that the model needs to be modified, the model can be modified by inputting modification information using the modification UI.
  • the input of problem correction information in step S13 and the input of parameter correction information in step S14 are performed separately. This allows a single user to input task modification information and parameter modification information at different timings. Furthermore, it is also possible for different users to input the task modification information and the parameter modification information.
  • a model operator AI operator
  • AI creator AI creator
  • parameter modification information to modify the model. In this case, appropriate model modification can be achieved through smooth communication between the model creator and model operator.
  • the model generation device 100 acquires the parameter modification information input by the user in step S14, but if the problem modification information input by the user is acquired in step S13, the model generation device 100
  • the generation device 100 may function as a weight adjustment amount calculation means. Specifically, a function or Create a model in advance.
  • the model generation device 100 acquires the task correction information in step S13, it presents the recommended value of the weight adjustment amount to the user using the above function or model.
  • the user may accept the presented recommended value, may change the presented recommended value, or may input the weight adjustment amount himself.
  • the input of parameter correction information in step S14 can be made more efficient.
  • a user with little parameter experience modifies a model, he or she can refer to the amount of weight adjustment made by many users in the past.
  • the model generation device 100 generates the initial model based on training data, but this is not essential.
  • the model generation device 100 may generate a new modified model by acquiring an existing model from the outside and retraining the existing model.
  • the function of the model training section 122 in the model generation device 100 may be provided externally.
  • a model training device having the functions of the model training unit 122 in FIG. 3 and a model evaluation device having the functions of the evaluation data DB 124 and the evaluation information output unit 125 are provided separately.
  • the model evaluation device inputs the modification information D3 input from the input device 3 to the model training device, and acquires the modified model generated by the model training device from the model training device.
  • FIG. 15 is a block diagram showing a schematic configuration of a model generation system 1x using a server and a terminal device.
  • a server 100x includes the configuration of the model generation device 100 shown in FIG.
  • the display device 2x and input device 3x of the terminal device 7 used by the user are used as the display device 2 and input device 3 shown in FIG. With this configuration, it becomes possible to easily collect correction information and the like input by a plurality of users on the server 100x and share it.
  • FIG. 16 is a block diagram showing the functional configuration of the model processing device according to the second embodiment.
  • the information processing device 70 includes an existing model acquisition means 71 , a first output means 72 , a modification acquisition means 73 , a modified model acquisition means 74 , and a second output means 75 .
  • FIG. 17 is a flowchart of processing by the model processing device of the second embodiment.
  • Existing model acquisition means 71 acquires an existing model (step S71).
  • the first output means 72 outputs first evaluation information indicating the relationship between the evaluation data and the output of the existing model with respect to the evaluation data (step S72).
  • the modification acquisition means 73 acquires modification information input for the first evaluation information (step S73).
  • the modified model acquisition unit 74 acquires a modified model that has been modified based on the modification information input to the first evaluation information (step S74).
  • the second output means 75 outputs second evaluation information indicating the relationship between the outputs of the existing model and the modified model with respect to the evaluation data (step S75).
  • the information processing device 70 of the second embodiment by presenting sufficient information regarding the data used for model creation and the output of the model in operation, it is possible to appropriately modify the model.
  • an existing model acquisition means for acquiring an existing model; a first output means for outputting first evaluation information indicating a relationship between the evaluation data and the output of the existing model with respect to the evaluation data; a modification acquisition means for acquiring modification information input to the first evaluation information; modified model acquisition means for acquiring a modified model that is modified based on modification information input to the first evaluation information; a second output means for outputting second evaluation information indicating a relationship between outputs of the existing model and the modified model with respect to evaluation data;
  • a model processing device comprising:
  • the modification acquisition means acquires modification information input to the second evaluation information
  • the model processing device according to appendix 1, wherein the modified model acquisition means acquires a new modified model that is modified based on modification information input to the second evaluation information.
  • the first evaluation information includes the evaluation data and the output of the existing model
  • the model processing device according to appendix 1, wherein the second evaluation information includes an output of the existing model and an output of the modified model.
  • the first evaluation information indicates a difference between the training data and the output of the existing model
  • the model processing device according to supplementary note 1, wherein the second evaluation information indicates a difference in output between the existing model and the modified model.
  • the model is a model that predicts time series values
  • the first evaluation information simultaneously indicates the evaluation data and the output of the model
  • the model processing device according to appendix 1, wherein the second evaluation information simultaneously indicates an output of the existing model and an output of the modified model.
  • the model is a regression model
  • the first evaluation information indicates the evaluation data and the output of the existing model
  • the model processing device according to appendix 1, wherein the second evaluation information is a graph showing errors between the evaluation data and outputs of the existing model and the modified model.
  • the model is a classification model
  • the first evaluation information indicates a misclassification rate of the classification result by the existing model
  • the model processing device according to supplementary note 1, wherein the second evaluation information indicates a degree of misclassification of the classification result by the modified model or a difference between the classification score of the existing model and the classification score of the modified model.
  • Appendix 10 The model processing device according to appendix 8 or 9, further comprising calculation means for calculating an adjustment amount of weight given by the model to the evaluation data based on the task level.
  • (Appendix 11) Get an existing model, outputting first evaluation information indicating a relationship between the evaluation data and the output of the existing model with respect to the evaluation data; Obtaining correction information input for the first evaluation information, obtaining a modified model that is modified based on modification information input to the first evaluation information; A model processing method that outputs second evaluation information indicating a relationship between outputs of the existing model and the modified model with respect to evaluation data.
  • (Appendix 12) Get an existing model, outputting first evaluation information indicating a relationship between the evaluation data and the output of the existing model with respect to the evaluation data; Obtaining correction information input for the first evaluation information, obtaining a modified model that is modified based on modification information input to the first evaluation information;
  • a recording medium storing a program that causes a computer to execute a process of outputting second evaluation information indicating a relationship between outputs of the existing model and the modified model with respect to evaluation data.
  • Model generation device 112 Processor 121 Training data DB 122 Model training department 123 Model DB 124 Evaluation information output section

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Artificial Intelligence (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Provided is a model processing device in which an existing model acquisition means acquires an existing model. A first output means outputs first evaluation information indicating a relationship between data for evaluation and output of the existing model for the data for evaluation. A correction acquisition means acquires correction information inputted for the first evaluation information. A corrected model acquisition means acquires a corrected model that has been corrected on the basis of the correction information inputted for the first evaluation information. A second output means outputs second evaluation information indicating a relationship in output between the existing model and the corrected model for the data for evaluation.

Description

モデル処理装置、モデル処理方法、及び、記録媒体Model processing device, model processing method, and recording medium
 本開示は、機械学習モデルの評価及び修正に関する。 This disclosure relates to evaluating and modifying machine learning models.
 近年、様々な分野において、機械学習により得られた予測モデルが利用されている。作成した予測モデルの精度が十分でない場合や、当初のモデル作成から時間が経過し、使用するデータの傾向が変化した場合などは、予測モデルの再学習が必要となる。特許文献1は、作成されたモデルに対する評価情報に基づいて、モデルの学習処理を調整する手法を記載している。 In recent years, predictive models obtained through machine learning have been used in various fields. If the accuracy of the created predictive model is not sufficient, or if time has passed since the model was originally created and the trends in the data used have changed, the predictive model will need to be retrained. Patent Document 1 describes a method of adjusting model learning processing based on evaluation information for a created model.
国際公開WO2021/161896号公報International Publication WO2021/161896 Publication
 運用中のモデルについて再学習の要否や修正の方針を判定する際には、モデル作成に使用したデータや運用中のモデルの出力に関して十分な情報を得られることが望ましい。 When determining whether or not relearning is necessary for a model in use and the policy for modification, it is desirable to obtain sufficient information regarding the data used to create the model and the output of the model in use.
 本開示の1つの目的は、モデル作成に使用したデータや運用中のモデルの出力に関して十分な情報を提示することにより、モデルの適切な修正を可能とするモデル処理装置を提供することにある。 One objective of the present disclosure is to provide a model processing device that enables appropriate modification of a model by presenting sufficient information regarding the data used to create the model and the output of the model in operation.
 本開示の一つの観点では、モデル処理装置は、
 既存モデルを取得する既存モデル取得手段と、
 評価用データと、評価用データに対する前記既存モデルの出力との関係を示す第1の評価情報を出力する第1の出力手段と、
 前記第1の評価情報に対して入力された修正情報を取得する修正取得手段と、
 前記第1の評価情報に対して入力された修正情報に基づいて修正された修正後モデルを取得する修正後モデル取得手段と、
 評価用データに対する前記既存モデル及び前記修正後モデルの出力の関係を示す第2の評価情報を出力する第2の出力手段と、
 を備える。
In one aspect of the present disclosure, the model processing device includes:
an existing model acquisition means for acquiring an existing model;
a first output means for outputting first evaluation information indicating a relationship between the evaluation data and the output of the existing model with respect to the evaluation data;
a modification acquisition means for acquiring modification information input to the first evaluation information;
modified model acquisition means for acquiring a modified model that is modified based on modification information input to the first evaluation information;
a second output means for outputting second evaluation information indicating a relationship between outputs of the existing model and the modified model with respect to evaluation data;
Equipped with
 本開示の他の観点では、モデル処理方法は、
 既存モデルを取得し、
 評価用データと、評価用データに対する前記既存モデルの出力との関係を示す第1の評価情報を出力し、
 前記第1の評価情報に対して入力された修正情報を取得し、
 前記第1の評価情報に対して入力された修正情報に基づいて修正された修正後モデルを取得し、
 評価用データに対する前記既存モデル及び前記修正後モデルの出力の関係を示す第2の評価情報を出力する。
In another aspect of the disclosure, a model processing method includes:
Get an existing model,
outputting first evaluation information indicating a relationship between the evaluation data and the output of the existing model with respect to the evaluation data;
Obtaining correction information input for the first evaluation information,
obtaining a modified model that is modified based on modification information input to the first evaluation information;
Second evaluation information indicating a relationship between the outputs of the existing model and the modified model with respect to the evaluation data is output.
 本開示のさらに他の観点では、記録媒体は、
 既存モデルを取得し、
 評価用データと、評価用データに対する前記既存モデルの出力との関係を示す第1の評価情報を出力し、
 前記第1の評価情報に対して入力された修正情報を取得し、
 前記第1の評価情報に対して入力された修正情報に基づいて修正された修正後モデルを取得し、
 評価用データに対する前記既存モデル及び前記修正後モデルの出力の関係を示す第2の評価情報を出力する処理をコンピュータに実行させるプログラムを記録する。
In yet another aspect of the present disclosure, the recording medium includes:
Get an existing model,
outputting first evaluation information indicating a relationship between the evaluation data and the output of the existing model with respect to the evaluation data;
Obtaining correction information input for the first evaluation information,
obtaining a modified model that is modified based on modification information input to the first evaluation information;
A program is recorded that causes a computer to execute a process of outputting second evaluation information indicating a relationship between outputs of the existing model and the modified model with respect to evaluation data.
 本開示によれば、モデル作成に使用したデータや運用中のモデルの出力に関して十分な情報を提示することにより、モデルの適切な修正が可能となる。 According to the present disclosure, by presenting sufficient information regarding the data used to create the model and the output of the model in operation, it is possible to appropriately modify the model.
第1実施形態に係るモデル生成システムの全体構成を示すブロック図である。FIG. 1 is a block diagram showing the overall configuration of a model generation system according to a first embodiment. モデル生成装置のハードウェア構成を示すブロック図である。FIG. 2 is a block diagram showing the hardware configuration of a model generation device. 第1実施形態のモデル生成装置の機能構成を示すブロック図である。1 is a block diagram showing a functional configuration of a model generation device according to a first embodiment; FIG. 1次元の時系列データの予測である場合の評価情報の表示例を示す。A display example of evaluation information in the case of prediction of one-dimensional time series data is shown. 多次元時系列データの予測の場合の評価情報の表示例を示す。A display example of evaluation information in the case of prediction of multidimensional time series data is shown. パラメータ修正情報を入力するための修正UIの例を示す。An example of a modification UI for inputting parameter modification information is shown. 課題修正情報を入力するための修正UIの例を示す。An example of a correction UI for inputting assignment correction information is shown. 回帰分析の場合のモデル可視化UI及び修正UIの表示例を示す。A display example of a model visualization UI and a correction UI in the case of regression analysis is shown. 回帰分析の場合のモデル比較UI及び修正UIの表示例を示す。A display example of a model comparison UI and a correction UI in the case of regression analysis is shown. 修正情報の入力方法を示す。Shows how to input correction information. 分類モデルの場合のモデル可視化UI及び修正UIの表示例である。This is a display example of a model visualization UI and a modification UI in the case of a classification model. 分類モデルの場合のモデル比較UI及び修正UIの表示例を示す。A display example of a model comparison UI and a modification UI in the case of a classification model is shown. 説明変数に関する修正UIの表示例を示す。A display example of a correction UI related to explanatory variables is shown. モデル生成装置によるモデル修正処理のフローチャートである。7 is a flowchart of model correction processing performed by the model generation device. サーバと端末装置を用いたモデル生成システムの概略構成を示すブロック図である。FIG. 1 is a block diagram showing a schematic configuration of a model generation system using a server and a terminal device. 第2実施形態のモデル処理装置の機能構成を示すブロック図である。FIG. 2 is a block diagram showing the functional configuration of a model processing device according to a second embodiment. 第2実施形態のモデル処理装置による処理のフローチャートである。It is a flow chart of processing by a model processing device of a 2nd embodiment.
 以下、図面を参照して、本開示の好適な実施形態について説明する。
 <第1実施形態>
 [概念説明]
 まず、本実施形態の基本概念について説明する。本実施形態では、対話型のUI(User Interface)を用いてユーザに予測モデル(以下、単に「モデル」とも呼ぶ。)に関する評価情報を提示し、ユーザからモデルの修正情報を取得して、必要なモデルの修正を実行する。なお、「ユーザ」とは、モデルの修正を行う者であり、例えばモデルの開発者や運用者などである。また、予測モデルのタスクは、例えば時系列データの回帰、時系列データ以外の回帰、判別、分類などの各種のタスクを含み、特定のタスクに限定されるものではない。
Hereinafter, preferred embodiments of the present disclosure will be described with reference to the drawings.
<First embodiment>
[Concept explanation]
First, the basic concept of this embodiment will be explained. In this embodiment, an interactive UI (User Interface) is used to present evaluation information regarding a predictive model (hereinafter also simply referred to as a "model") to the user, obtain model modification information from the user, and make necessary adjustments. perform model modifications. Note that the "user" is a person who modifies a model, such as a model developer or operator. Furthermore, the tasks of the prediction model include various tasks such as regression of time series data, regression of data other than time series, discrimination, and classification, and are not limited to specific tasks.
 ここで、「モデル」とは、説明変数と目的変数の関係を表す情報である。モデルは、例えば、説明変数に基づいて目的とする変数を算出することにより推定対象の結果を推定するためのコンポーネントである。モデルは、既に目的変数の値が得られている学習用データと任意のパラメータとを入力として、学習アルゴリズムを実行することにより生成される。モデルは例えば、入力xを正解yに写像する関数cにより表されてもよい。モデルは、推定対象の数値を推定するものであってもよいし、推定対象のラベルを推定するものであってもよい。モデルは、目的変数の確率分布を記述する変数を出力してもよい。モデルは、「学習モデル」、「分析モデル」、「AI(Artificial Intelligence)モデル」または「予測式」などと記載されることもある。 Here, the "model" is information representing the relationship between explanatory variables and objective variables. A model is, for example, a component for estimating a target result by calculating a target variable based on explanatory variables. A model is generated by executing a learning algorithm using as input learning data for which values of objective variables have already been obtained and arbitrary parameters. The model may be represented, for example, by a function c that maps an input x to a ground answer y. The model may be one that estimates a numerical value to be estimated, or may be one that estimates a label to be estimated. The model may output variables that describe the probability distribution of the target variable. A model is sometimes described as a "learning model," "analytical model," "AI (Artificial Intelligence) model," or "prediction formula."
 具体的に、上記の対話型のUIは、モデル可視化UIと、修正UIと、モデル比較UIとを含む。「モデル可視化UI」とは、モデルの生成に使用する訓練データと、生成されたモデルの出力との関係を示す情報をユーザに提示するためのUIである。「修正UI」とは、ユーザがモデルの修正のための情報(以下、「修正情報」と呼ぶ。)を入力するためのUIである。また、「モデル比較UI」とは、修正情報に基づいて修正される前のモデル(「既存モデル」とも呼ぶ。)と、修正された後のモデル(「修正後モデル」とも呼ぶ。)との関係を示す情報をユーザに提示するためのUIである。なお、修正UIは、モデル可視化UI又はモデル比較UIと組み合わせて使用することができる。このように、本実施形態では、対話型のUIを用いることにより、ユーザが有するドメイン知識を適切に反映させてモデルの修正を行うことを可能とする。 Specifically, the above interactive UI includes a model visualization UI, a modification UI, and a model comparison UI. The "model visualization UI" is a UI for presenting to the user information indicating the relationship between training data used to generate a model and the output of the generated model. The "modification UI" is a UI for the user to input information for modifying the model (hereinafter referred to as "modification information"). In addition, the "model comparison UI" refers to the comparison between the model before being modified based on modification information (also referred to as "existing model") and the model after modification (also referred to as "post-modification model"). This is a UI for presenting information indicating relationships to the user. Note that the modification UI can be used in combination with the model visualization UI or the model comparison UI. In this way, in this embodiment, by using the interactive UI, it is possible to appropriately reflect the domain knowledge possessed by the user and modify the model.
 [全体構成]
 図1は、第1実施形態に係るモデル生成システムの全体構成を示すブロック図である。モデル生成システム1は、モデル生成装置100と、表示装置2と、入力装置3とを備える。モデル生成装置100は、例えばパーソナルコンピュータ(PC)などのコンピュータにより構成される。表示装置2は、例えば液晶表示装置などであり、モデル生成装置100が生成した評価情報を表示する。入力装置3は、例えばマウス、キーボードなどであり、ユーザがモデルの修正時に必要な指示、入力を行うために使用される。
[overall structure]
FIG. 1 is a block diagram showing the overall configuration of a model generation system according to a first embodiment. The model generation system 1 includes a model generation device 100, a display device 2, and an input device 3. The model generation device 100 is configured by, for example, a computer such as a personal computer (PC). The display device 2 is, for example, a liquid crystal display device, and displays the evaluation information generated by the model generation device 100. The input device 3 is, for example, a mouse, a keyboard, etc., and is used by the user to give instructions and input necessary when modifying a model.
 まず、モデル生成システム1の動作を概略的に説明する。モデル生成装置100は、予め用意された訓練データを用いて、機械学習モデル(以下、単に「モデル」と呼ぶ。)を生成する。また、モデル生成装置100は、モデルの生成に使用した訓練データと、生成したモデルの出力との関係を示す評価情報を表示装置2に表示する。この評価情報は、前述のモデル可視化UIを用いてユーザに提供される。これにより、ユーザは、訓練データとの関係で、生成されたモデルの性能を評価することができる。生成されたモデルは、予定の環境において運用される。 First, the operation of the model generation system 1 will be schematically explained. The model generation device 100 generates a machine learning model (hereinafter simply referred to as a "model") using training data prepared in advance. Furthermore, the model generation device 100 displays evaluation information indicating the relationship between the training data used to generate the model and the output of the generated model on the display device 2. This evaluation information is provided to the user using the model visualization UI described above. This allows the user to evaluate the performance of the generated model in relation to the training data. The generated model is operated in the planned environment.
 さて、モデルの運用中に、処理の対象となるデータの傾向が変化するなどして運用中の既存モデルの性能が不十分となった場合、ユーザは、入力装置3を用いてモデルの修正情報を入力する。この入力は、前述の修正UIを用いて行われる。モデル生成装置100は、入力された修正情報に基づいて既存モデルの修正を行い、修正後モデルを生成する。また、モデル生成装置100は、修正前の既存モデルの出力と、修正後モデルの出力との関係を示す評価情報を表示装置2に表示する。この評価情報は、前述のモデル比較UIを用いてユーザに提示される。これにより、ユーザは、修正前の既存モデルとの関係で、修正後モデルの性能を評価することができる。こうして、ユーザは、訓練データと作成されたモデルとの関係、又は、修正前後のモデルの関係を示す評価情報を参照することにより、適切にモデルの修正を行うことが可能となる。 Now, if the performance of the existing model in operation becomes insufficient due to a change in the tendency of the data to be processed while the model is in operation, the user can use the input device 3 to input model correction information. Enter. This input is performed using the modification UI described above. The model generation device 100 modifies the existing model based on the input modification information and generates a modified model. Furthermore, the model generation device 100 displays evaluation information on the display device 2 indicating the relationship between the output of the existing model before modification and the output of the modified model. This evaluation information is presented to the user using the model comparison UI described above. This allows the user to evaluate the performance of the modified model in relation to the existing model before modification. In this way, the user can appropriately modify the model by referring to the evaluation information indicating the relationship between the training data and the created model, or the relationship between the model before and after modification.
 なお、モデル可視化UI及びモデル比較UIは、訓練データ以外のデータ、即ち、モデルが学習していないデータと作成されたモデルとの関係を提示してもよい。モデルが学習していないデータとは、例えば、バリデーションデータ(テストデータ)や運用データを含む。モデルが学習していないデータに対するモデルの予測結果を表示することは、モデルの課題箇所を検討するときや、モデルを比較するときに重要となる。 Note that the model visualization UI and model comparison UI may present the relationship between data other than training data, that is, data that the model has not learned, and the created model. The data that the model has not learned includes, for example, validation data (test data) and operational data. Displaying the model's prediction results for data that the model has not learned is important when considering model issues or when comparing models.
 [ハードウェア構成]
 図2は、モデル生成装置100のハードウェア構成を示すブロック図である。図示のように、モデル生成装置100は、インタフェース(I/F)111と、プロセッサ112と、メモリ113と、記録媒体114と、データベース(DB)115と、を備える。
[Hardware configuration]
FIG. 2 is a block diagram showing the hardware configuration of the model generation device 100. As illustrated, the model generation device 100 includes an interface (I/F) 111, a processor 112, a memory 113, a recording medium 114, and a database (DB) 115.
 I/F111は、外部装置との間でデータの入出力を行う。具体的に、モデルの生成に使用する訓練データ、及び、ユーザが入力装置3を用いて入力した修正情報は、I/F111を通じてモデル生成装置100に入力される。また、訓練データと既存モデルの出力との関係に関する評価情報、既存モデルの出力と修正後モデルの出力と関係に関する評価情報などは、I/F111を通じて表示装置2へ出力される。 The I/F 111 inputs and outputs data to and from external devices. Specifically, training data used for model generation and modification information input by the user using the input device 3 are input to the model generation device 100 through the I/F 111. Further, evaluation information regarding the relationship between the training data and the output of the existing model, evaluation information regarding the relationship between the output of the existing model and the output of the corrected model, etc. are output to the display device 2 through the I/F 111.
 プロセッサ112は、CPU(Central Processing Unit)などのコンピュータであり、予め用意されたプログラムを実行することによりモデル生成装置100の全体を制御する。なお、プロセッサ112は、GPU(Graphics Processing Unit)またはFPGA(Field-Programmable Gate Array)であってもよい。プロセッサ112は、後述するモデル修正処理を実行する。 The processor 112 is a computer such as a CPU (Central Processing Unit), and controls the entire model generation device 100 by executing a program prepared in advance. Note that the processor 112 may be a GPU (Graphics Processing Unit) or an FPGA (Field-Programmable Gate Array). The processor 112 executes model modification processing, which will be described later.
 メモリ113は、ROM(Read Only Memory)、RAM(Random Access Memory)などにより構成される。メモリ113は、プロセッサ112による各種の処理の実行中に作業メモリとしても使用される。 The memory 113 is composed of ROM (Read Only Memory), RAM (Random Access Memory), and the like. Memory 113 is also used as a working memory while processor 112 executes various processes.
 記録媒体114は、ディスク状記録媒体、半導体メモリなどの不揮発性で非一時的な記録媒体であり、モデル生成装置100に対して着脱可能に構成される。記録媒体114は、プロセッサ112が実行する各種のプログラムを記録している。モデル生成装置100が各種の処理を実行する際には、記録媒体114に記録されているプログラムがメモリ113にロードされ、プロセッサ112により実行される。 The recording medium 114 is a non-volatile, non-temporary recording medium such as a disk-shaped recording medium or a semiconductor memory, and is configured to be detachable from the model generation device 100. The recording medium 114 records various programs executed by the processor 112. When the model generation device 100 executes various processes, a program recorded on the recording medium 114 is loaded into the memory 113 and executed by the processor 112.
 DB115は、モデル生成装置100が生成した既存モデル及び修正後モデルに関する情報を記憶する。また、DB115は、必要に応じて、I/F111を通じて入力された訓練データ、ユーザが入力した修正情報、訓練データと既存モデルの出力との関係に関する評価情報、既存モデルの出力と修正後モデルの出力との関係に関する評価情報などを記憶する。 The DB 115 stores information regarding existing models and modified models generated by the model generation device 100. In addition, the DB 115 also includes training data input through the I/F 111, correction information input by the user, evaluation information regarding the relationship between the training data and the output of the existing model, and information on the relationship between the output of the existing model and the corrected model. Stores evaluation information regarding the relationship with output.
 (機能構成)
 図3は、第1実施形態のモデル生成装置100の機能構成を示すブロック図である。モデル生成装置100は、機能的には、訓練データDB121と、モデル訓練部122と、モデルDB123と、評価用データDB124と、評価情報出力部125とを備える。
(Functional configuration)
FIG. 3 is a block diagram showing the functional configuration of the model generation device 100 of the first embodiment. The model generation device 100 functionally includes a training data DB 121, a model training section 122, a model DB 123, an evaluation data DB 124, and an evaluation information output section 125.
 訓練データDB121は、モデルの生成に用いられる訓練データを記憶する。訓練データD1は、モデル訓練部122に入力される。なお、訓練データD1は、入力データと、その入力データに対する正解ラベル(教師ラベル)との複数の組み合わせにより構成される。 The training data DB 121 stores training data used for model generation. Training data D1 is input to model training section 122. Note that the training data D1 is composed of a plurality of combinations of input data and correct labels (teacher labels) for the input data.
 モデル訓練部122は、訓練データを用いてモデルの訓練を行い、モデルを生成する。モデル訓練部122は、生成したモデルに対応するモデルデータMをモデルDB123及び評価情報出力部125へ出力する。なお、モデルデータMは、モデルを構成する複数のパラメータ情報を含む。パラメータ情報は、例えば、モデルの入力として用いられる説明変数の情報、各説明変数に対する重みの情報、入力データを構成する各サンプルに対する重みの情報などを含む。 The model training unit 122 trains a model using training data and generates a model. The model training unit 122 outputs model data M corresponding to the generated model to the model DB 123 and the evaluation information output unit 125. Note that the model data M includes a plurality of parameter information constituting the model. The parameter information includes, for example, information on explanatory variables used as model inputs, information on weights for each explanatory variable, information on weights for each sample forming input data, and the like.
 また、モデル訓練部122は、既存モデルを再訓練して修正後モデルを生成する。この場合、モデル訓練部122は、ユーザが入力装置3を用いて入力した修正情報D3に基づいて、モデルを構成するパラメータを修正し、必要に応じて再訓練用の訓練データを用いてモデルの再訓練を行う。モデル訓練部122は、再訓練により得られた修正後モデルのモデルデータMをモデルDB123へ記憶するとともに、評価情報出力部125へ出力する。モデル訓練部122は、修正取得手段の一例である。 Additionally, the model training unit 122 retrains the existing model to generate a modified model. In this case, the model training unit 122 corrects the parameters constituting the model based on the correction information D3 input by the user using the input device 3, and uses training data for retraining as necessary to improve the model. Perform retraining. The model training unit 122 stores the model data M of the corrected model obtained through retraining in the model DB 123 and outputs it to the evaluation information output unit 125. The model training unit 122 is an example of a correction acquisition unit.
 評価用データDB124は、生成されたモデルの評価に使用する評価用データを記憶する。評価用データは、モデルの評価に使用可能な各種のデータを含む。評価用データの例としては、以下のようなものが挙げられる。
(1)バリデーションデータやテストデータと呼ばれる「モデルの生成に使用しなかったデータ」
 この場合、評価用データは、基本に入力データと正解ラベルのセットとなる。
(2)運用データなどの「モデルの生成後に新たに収集されたデータ」
 なお、ラベリングが即時で行われない場合、評価用データは入力のみのデータとなる可能性もある。
(3)「何らかの方法で生成された、モデルにとって未知のデータ」
 例えば、入力データ内の特徴量が、(曜日、祝日、天気)だった場合、カレンダー情報や天気予報を用いて疑似的に未来のデータを作ることができる。
(4)訓練データ
 訓練データを評価用データとしてモデルの評価に用いてもよい。
The evaluation data DB 124 stores evaluation data used to evaluate the generated model. The evaluation data includes various types of data that can be used to evaluate the model. Examples of evaluation data include the following.
(1) “Data not used for model generation” called validation data or test data
In this case, the evaluation data is basically a set of input data and correct answer labels.
(2) “Newly collected data after model generation” such as operational data
Note that if labeling is not performed immediately, the evaluation data may be input-only data.
(3) “Data that is generated by some method and is unknown to the model”
For example, if the feature amount in the input data is (day of the week, holiday, weather), it is possible to create pseudo future data using calendar information and weather forecasts.
(4) Training data Training data may be used as evaluation data to evaluate the model.
 評価情報出力部125は、モデルデータMに基づいて、各モデルを評価するための評価情報D2を生成し、表示装置2へ出力する。評価情報D2は、評価用データと、生成されたモデルの出力との関係に関する情報や、評価用データに対する既存モデルの出力と修正後モデルの出力との関係に関する情報などを含む。なお、評価情報出力部125は、前述のモデル可視化UI又はモデル比較UIを用いて評価情報を表示するためのデータを表示装置2へ出力する。評価情報出力部125は、既存モデル取得手段、修正後モデル取得手段、第1の出力手段及び第2の出力手段の一例である。 The evaluation information output unit 125 generates evaluation information D2 for evaluating each model based on the model data M, and outputs it to the display device 2. The evaluation information D2 includes information regarding the relationship between the evaluation data and the output of the generated model, information regarding the relationship between the output of the existing model and the output of the corrected model with respect to the evaluation data, and the like. Note that the evaluation information output unit 125 outputs data for displaying evaluation information to the display device 2 using the model visualization UI or model comparison UI described above. The evaluation information output unit 125 is an example of an existing model acquisition means, a modified model acquisition means, a first output means, and a second output means.
 表示装置2は、評価情報出力部125が出力した評価情報D2を表示装置2に表示する。これにより、表示装置2は、モデル可視化UI又はモデル比較UIによって評価情報をユーザに提示する。また、入力装置3は、前述の修正UIによりユーザが入力した修正情報D3をモデル訓練部122へ出力する。 The display device 2 displays the evaluation information D2 output by the evaluation information output section 125. Thereby, the display device 2 presents evaluation information to the user using the model visualization UI or the model comparison UI. In addition, the input device 3 outputs modification information D3 input by the user using the modification UI described above to the model training unit 122.
 こうして、ユーザは、モデル可視化UI及びモデル比較UIにより表示装置2に表示された評価情報D2を参照し、既存モデルや修正後モデルの性能を評価する。そして、ユーザは、必要に応じて、修正UIにより修正情報D3を入力装置3に入力する。モデル訓練部122は、入力された修正情報D3を用いてモデルの再訓練を行うことにより、モデルの修正を行う。こうして、ユーザは適切なタイミングかつ適切な方針で、モデルの修正を行うことが可能となる。 In this way, the user refers to the evaluation information D2 displayed on the display device 2 using the model visualization UI and the model comparison UI, and evaluates the performance of the existing model and the modified model. Then, the user inputs the correction information D3 into the input device 3 using the correction UI as necessary. The model training unit 122 corrects the model by retraining the model using the input correction information D3. In this way, the user can modify the model at an appropriate time and with an appropriate policy.
 [対話型UIの例]
 次に、前述の対話型UIの例について説明する。前述のように、対話型UIは、モデル可視化UI、修正UI及びモデル比較UIを含む。
[Example of interactive UI]
Next, an example of the above-mentioned interactive UI will be explained. As mentioned above, the interactive UI includes a model visualization UI, a modification UI, and a model comparison UI.
 (時系列データの予測)
 まず、モデルのタスクが時系列データの予測である場合について説明する。
(1)1次元時系列データの予測
 図4は、モデルのタスクが1次元の時系列データの予測である場合の評価情報の表示例を示す。具体的に、表示例G1は、ある商品の毎日の売り上げを予測するモデルについて、訓練データ及びモデルの出力を示す。表示例G1において、横軸は日付、縦軸は売り上げである。グラフ11は、モデルの生成に使用された訓練データを示す。グラフ12は、グラフ11が示す訓練データと、未来の入力データとを用いて生成された既存モデルの出力を示す。なお、グラフ12はモデルによる予測値なので、未来の入力データに対応する正解ラベルのデータは必ずしも必要ではない。表示例G1は、訓練データ及び未来の入力データと、既存モデルの出力との関係を示す評価情報を表示するモデル可視化UIによる表示例である。
(Forecasting time series data)
First, a case where the model's task is to predict time series data will be explained.
(1) Prediction of one-dimensional time-series data FIG. 4 shows a display example of evaluation information when the task of the model is prediction of one-dimensional time-series data. Specifically, display example G1 shows training data and model output for a model that predicts daily sales of a certain product. In display example G1, the horizontal axis is date and the vertical axis is sales. Graph 11 shows the training data used to generate the model. Graph 12 shows the output of the existing model generated using the training data shown in graph 11 and future input data. Note that since the graph 12 is a predicted value by a model, correct label data corresponding to future input data is not necessarily required. Display example G1 is a display example using a model visualization UI that displays evaluation information indicating the relationship between training data, future input data, and the output of an existing model.
 一般的な回帰モデルを時系列モデルのように運用する場合、未来の予測を出力するには、未来の時点の入力データを用意し、それをモデルに入力して未来の時点の予測を出力させる。また、時系列でない回帰や判別の場合も同様に、訓練データに無い未来の目的変数の予測値を出力するには、未来の時点の入力データを用意し、それをモデルに入力して未来の時点の予測値を出力させる。例外的に、説明変数の無い時系列モデルでは、訓練データを延長する形で未来の予測値が得られるので、未来の入力データは不要となる。なお、説明変数の無い時系列モデルとは、最新の予測値が過去の目的変数の値から回帰されるモデル、即ち、自己回帰的なモデルを言う。 When operating a general regression model like a time series model, in order to output future predictions, prepare input data at a future point in time, input it to the model, and output a prediction at a future point in time. . Similarly, in the case of non-time-series regression or discrimination, in order to output the predicted value of a future target variable that is not in the training data, prepare input data at a future point in time, input it to the model, and then Output the predicted value at the time. As an exception, in the case of a time series model without explanatory variables, future input data is not necessary because future predicted values can be obtained by extending training data. Note that the time series model without explanatory variables refers to a model in which the latest predicted value is regressed from the past value of the objective variable, that is, an autoregressive model.
 ユーザは、表示例G1を見て既存モデルに課題があると判断した場合、修正情報を入力する。具体的に、ユーザは、修正UIにより、入力装置3に対して修正情報を入力する。本実施形態では、修正情報は、訓練データに関するパラメータ修正情報と、既存モデルの出力に関する課題修正情報とを含む。パラメータ修正情報は、訓練データに対してモデルが与える重みの調整箇所及び調整量を指定する情報である。即ち、ユーザは、訓練データの特定の期間を指定し、その期間の訓練データに対する重みを調整することができる。 When the user looks at the display example G1 and determines that there is a problem with the existing model, the user inputs correction information. Specifically, the user inputs modification information into the input device 3 using the modification UI. In this embodiment, the modification information includes parameter modification information regarding training data and task modification information regarding the output of the existing model. The parameter modification information is information that specifies the adjustment location and adjustment amount of the weight given by the model to the training data. That is, the user can specify a particular period of training data and adjust the weight for the training data for that period.
 図4の例では、ユーザは、グラフ11が示す訓練データのうち、線分21が示す範囲(期間)を指定し、その期間に属する訓練データに対する重みを1.5倍にすることを示す修正情報を入力している。同様に、ユーザは、訓練データの特定の期間を指定し、その期間の訓練データに対する重みを小さくする入力を行うことができる。図4の例では、ユーザは、グラフ11が示す訓練データのうち、線分22が示す範囲(期間)を指定し、その期間に属する訓練データを無視する、即ち、その期間に属する訓練データに対する重みを「0」にする修正情報を入力している。 In the example of FIG. 4, the user specifies the range (period) indicated by the line segment 21 among the training data indicated by the graph 11, and makes a correction indicating that the weight for the training data belonging to that period is to be increased by 1.5 times. Entering information. Similarly, a user can specify a particular period of training data and provide input to reduce the weight for training data for that period. In the example of FIG. 4, the user specifies the range (period) shown by the line segment 22 among the training data shown by the graph 11, and ignores the training data belonging to that period. Modification information to set the weight to "0" is input.
 一方、課題修正情報は、モデル出力における課題箇所及び課題度合い(以下、「課題度」とも呼ぶ。)の調整量を指定する情報である。課題度は、モデルの出力にどの程度問題があるかを示す。課題度は、複数段階(例えば10段階)のレベルなどにより指定することができる。ユーザは、モデル出力の特定の期間を課題箇所として指定し、その課題箇所の課題度を入力することができる。図4の例では、ユーザは、グラフ12が示すモデルの出力のうち、線分23、24が示す範囲(期間)を指定し、その期間におけるモデル出力の課題度をそれぞれ「4」、「5」に設定する修正情報を入力している。 On the other hand, the task correction information is information that specifies the adjustment amount of the task location and task degree (hereinafter also referred to as "task degree") in the model output. The problem level indicates the extent to which there are problems with the output of the model. The level of the task can be specified by a plurality of levels (for example, 10 levels). The user can designate a specific period of model output as a task location and input the task level of that task location. In the example of FIG. 4, the user specifies the range (period) indicated by line segments 23 and 24 among the outputs of the model indicated by the graph 12, and sets the problem level of the model output in that period to "4" and "5", respectively. ” is inputting the correction information to be set.
 修正情報が入力されると、モデル訓練部122は、修正情報に基づいて既存モデルを再訓練し、修正後モデルを生成する。評価情報出力部125は、修正後モデルについて評価情報を生成し、表示装置2へ送信する。図4は、修正後モデルの評価情報の表示例G2を示す。表示例G2では、表示例G1と同様に、訓練データのグラフ11が表示されている。また、表示例G2では、修正前の既存モデルの出力を示すグラフ12が破線で示され、さらに修正後モデルの出力を示すグラフ13が重ねて表示されている。これにより、ユーザは、修正前後のモデルの出力を容易に比較することができる。 When the modification information is input, the model training unit 122 retrains the existing model based on the modification information and generates a modified model. The evaluation information output unit 125 generates evaluation information about the modified model and transmits it to the display device 2. FIG. 4 shows a display example G2 of evaluation information of the corrected model. In display example G2, a graph 11 of training data is displayed, similar to display example G1. In display example G2, a graph 12 showing the output of the existing model before modification is shown by a broken line, and a graph 13 showing the output of the model after modification is superimposed. This allows the user to easily compare the output of the model before and after modification.
 また、ユーザは、表示例G2を見た結果、さらに修正が必要と考えた場合には、表示例G1のように修正情報を入力し、修正後モデルをさらに修正することもできる。以上より、表示例G1及びG2は、モデル可視化UIとモデル比較UIを同時に用いた表示例となっている。なお、図4の例では、モデル比較UIは修正前後の2つのモデルを比較しているが、モデルの修正の試行錯誤の過程で生成された複数のモデルを同時に可視化してもよい。この場合、図4のグラフG2において、グラフ12のような既存モデルの出力が複数同時に表示されることになる。 Furthermore, if the user sees display example G2 and thinks that further modification is necessary, he or she can input modification information as in display example G1 to further modify the modified model. As described above, display examples G1 and G2 are display examples that use the model visualization UI and the model comparison UI at the same time. Note that in the example of FIG. 4, the model comparison UI compares two models before and after modification, but multiple models generated in the process of trial and error of model modification may be visualized at the same time. In this case, in the graph G2 of FIG. 4, a plurality of outputs of the existing model such as the graph 12 are displayed simultaneously.
(2)多次元時系列データの予測
 次に、モデルのタスクが多次元の時系列データの予測である場合について説明する。多次元の時系列データの予測とは、モデルのタスクが、まず、複数の時系列データを予測し、さらにそれらの予測結果を用いて最終的な目的変数を予測する場合をいう。この場合も、基本的に、各次元について先に述べた1次元の時系列データの予測に関する手法を適用すればよい。
(2) Prediction of multidimensional time series data Next, a case where the task of the model is prediction of multidimensional time series data will be explained. Prediction of multidimensional time-series data refers to a case where the model's task is to first predict a plurality of time-series data and then use those prediction results to predict the final objective variable. In this case as well, basically, the method for predicting one-dimensional time-series data described above can be applied to each dimension.
 図5は、多次元時系列データの予測の場合の評価情報の表示例を示す。この例では、モデルは、まず2次元の説明変数「湿度」及び「気温」を予測し、さらにそれらの予測結果から1次元の目的変数「売り上げ」を予測する。具体的に、表示例G3は、毎日の湿度を予測するタスクに関する評価情報の表示例である。表示例G3では、訓練データを示すグラフ14と、既存モデルの出力を示すグラフ15と、修正後モデルの出力を示すグラフ16とが同時に表示されている。表示例G3では、ユーザは、線分21により、訓練データに対する重みを修正するための修正情報を入力している。 FIG. 5 shows a display example of evaluation information in the case of prediction of multidimensional time series data. In this example, the model first predicts the two-dimensional explanatory variables "humidity" and "temperature" and then predicts the one-dimensional target variable "sales" from the prediction results. Specifically, display example G3 is a display example of evaluation information regarding the task of predicting daily humidity. In display example G3, a graph 14 showing training data, a graph 15 showing the output of the existing model, and a graph 16 showing the output of the corrected model are displayed simultaneously. In display example G3, the user is inputting modification information for modifying the weight for training data using line segment 21.
 表示例G4は、毎日の気温を予測するタスクに関する評価情報の表示例である。表示例G4では、訓練データを示すグラフ17と、既存モデルの出力を示すグラフ18と、修正後モデルの出力を示すグラフ19とが同時に表示されている。表示例G4では、ユーザは、線分22により、訓練データに対する重みを修正するための修正情報を入力している。 Display example G4 is a display example of evaluation information regarding the task of predicting daily temperature. In display example G4, a graph 17 showing training data, a graph 18 showing the output of the existing model, and a graph 19 showing the output of the corrected model are displayed simultaneously. In display example G4, the user is inputting modification information for modifying the weight for the training data using the line segment 22.
 また、表示例G5は、予測された湿度及び温度から、毎日の売上を予測するタスクに関する評価情報の表示例である。表示例G5では、図4と同様に、訓練データを示すグラフ11と、既存モデルの出力を示すグラフ12と、修正後モデルの出力を示すグラフ13とが同時に表示されている。なお、表示例G5においても、図4と同様に、ユーザは修正情報を入力することができる。 Furthermore, display example G5 is a display example of evaluation information regarding a task of predicting daily sales from predicted humidity and temperature. In display example G5, similarly to FIG. 4, a graph 11 showing training data, a graph 12 showing the output of the existing model, and a graph 13 showing the output of the corrected model are displayed simultaneously. Note that in display example G5 as well, the user can input correction information as in FIG.
(3)修正情報の入力方法
 次に、修正UIによる修正情報の入力方法について詳しく説明する。前述のように、修正情報は、訓練データに関するパラメータ修正情報と、既存モデルの出力に関する課題修正情報とを含む。パラメータ修正情報は、訓練データに対してモデルが与える重みの調整箇所及び調整量を指定する情報である。
(3) Method of inputting modification information Next, a method of inputting modification information using the modification UI will be described in detail. As described above, the modification information includes parameter modification information regarding the training data and task modification information regarding the output of the existing model. The parameter modification information is information that specifies the adjustment location and adjustment amount of the weight given by the model to the training data.
 図6は、訓練データに関するパラメータ修正情報を入力するための修正UIの例を示す。ユーザは、訓練データの特定の期間を指定し、その期間の訓練データに対する重みを調整する入力を行う。図6(A)は、カーソルにより範囲指定する例を示す。具体的に、図6(A)では、ユーザは、表示された訓練データにおける調整箇所をカーソルにより範囲指定する。図6(A)の例では、ユーザは、重みの調整箇所として、カーソルにより矩形の範囲31を指定している。範囲を指定した後、ユーザは、重みの調整量を入力する。重みの調整量は、例えば現在の重みの値に対する倍率とすることができる。例えば、ユーザが重みの調整量として「1.5」を入力すると、モデル訓練部122は、範囲31に属する訓練データに対する重みを、現在の値の1.5倍に増加させる。重みの調整量として「1」未満の値を入力することにより、重みを小さくすることができる。この方法は、ある範囲の訓練データに対して重みを一律に調整する場合に有効である。 FIG. 6 shows an example of a modification UI for inputting parameter modification information regarding training data. The user specifies a particular period of training data and provides input to adjust the weight for that period of training data. FIG. 6A shows an example of specifying a range using a cursor. Specifically, in FIG. 6A, the user specifies a range of adjustment points in the displayed training data using a cursor. In the example of FIG. 6A, the user specifies a rectangular range 31 with the cursor as the weight adjustment location. After specifying the range, the user inputs the amount of weight adjustment. The weight adjustment amount can be, for example, a magnification of the current weight value. For example, when the user inputs "1.5" as the weight adjustment amount, the model training unit 122 increases the weight for training data belonging to range 31 to 1.5 times the current value. By inputting a value less than "1" as the weight adjustment amount, the weight can be reduced. This method is effective when uniformly adjusting weights for a certain range of training data.
 図6(B)は、マウスを用いたクリックにより、重みの調整箇所及び調整量を入力する例を示す。具体的に、ユーザは、重みを増加させるモードと減少させるモードのいずれかを選択した上で、訓練データのグラフ上の、調整したい日に対応するデータ点をクリックする。重みを増加させるモードの場合、ユーザのクリック回数に応じて重みが増加する。また、重みを減少させるモードの場合、ユーザのクリック回数に応じて重みが減少する。この方法は、個々の日付について、重みの調整量が異なる場合に有効である。 FIG. 6(B) shows an example in which the weight adjustment location and adjustment amount are input by clicking using a mouse. Specifically, the user selects either a weight increasing mode or a weight decreasing mode, and then clicks a data point on the training data graph that corresponds to the day on which he or she wishes to adjust. In the case of the mode that increases the weight, the weight increases according to the number of clicks by the user. Furthermore, in the case of a mode in which the weight is reduced, the weight is reduced according to the number of clicks by the user. This method is effective when the amount of weight adjustment is different for each date.
 図6(C)は、重みを示すバーの長さを指定することにより、重みの調整箇所及び調整量を入力する例を示す。図6(C)では、既存モデルが各日付の訓練データに対して設定している重みの値が重みバーで示されている。ユーザは、調整したい日の重みバーの長さを変えることで、その日の訓練データに対する重みを調整することができる。即ち、ユーザは、重みを増加させたい場合は、重みバーの長さを長くすればよい。図6(C)のように、既存モデルの重みを示す重みバー32aと、ユーザが長さを変更した部分32bとを異なる色などで区別して表示することにより、重みの調整量を見やすく表示することができる。 FIG. 6(C) shows an example in which the weight adjustment location and adjustment amount are input by specifying the length of the bar indicating the weight. In FIG. 6C, the weight values set by the existing model for the training data of each date are shown by weight bars. By changing the length of the weight bar on the day that the user wants to adjust, the user can adjust the weight for the training data on that day. That is, if the user wants to increase the weight, he/she can increase the length of the weight bar. As shown in FIG. 6C, the weight adjustment amount is displayed in an easy-to-read manner by displaying the weight bar 32a indicating the weight of the existing model and the portion 32b whose length has been changed by the user in different colors. be able to.
 図7は、既存モデルの出力に関する課題修正情報を入力するための修正UIの例を示す。ユーザは、既存モデルの出力における特定の期間を課題箇所として指定し、その課題箇所のモデル出力の課題度を入力する。修正情報として課題箇所及び課題度が入力されると、モデル訓練部122は、指定された課題箇所における課題が解決されるように、既存モデルを修正する。例えば、モデル訓練部122は、指定された課題箇所におけるモデル出力と実測値との差が小さくなるように既存モデルを修正する。また、モデル訓練部122は、入力された課題度が大きいほど、既存モデルの修正量を大きくする。 FIG. 7 shows an example of a modification UI for inputting problem modification information regarding the output of an existing model. The user specifies a specific period in the output of the existing model as a problem part, and inputs the problem level of the model output of the problem part. When the task location and task level are input as modification information, the model training unit 122 modifies the existing model so that the task at the specified task location is solved. For example, the model training unit 122 modifies the existing model so that the difference between the model output and the actual measurement value at the designated task location becomes smaller. In addition, the model training unit 122 increases the amount of modification of the existing model as the input task level increases.
 なお、モデル訓練部122は、課題修正情報の入力だけでモデルのパラメータを修正することもできる。この場合、パラメータ修正情報の入力は不要となる。課題修正情報の入力に基づいてモデルのパラメータを修正する方法は次の通りである。まず、課題修正情報が訓練データ(例えば図4の表示例G1のグラフ11)に対して指定された場合、モデル訓練部122は、課題箇所として指定されたサンプルの重みを、課題度に基づき、予め決められた規則に従って変更する。また、課題修正情報が未来のデータ(例えば図4の表示例G1のグラフ12)に対して指定された場合、モデル訓練部122は、課題箇所として指定されたサンプルに似ている訓練データ内のサンプルの重みを、課題度に基づき、予め決められた規則に従って変更する。ここで、予め決められた規則としては、過去の入力ログとは無関係に用意された「課題度と重みの調整量との関係を示す関数又はモデル」を用いることができる。 Note that the model training unit 122 can also modify model parameters simply by inputting task modification information. In this case, there is no need to input parameter modification information. The method for modifying model parameters based on the input of problem modification information is as follows. First, when task correction information is specified for training data (for example, graph 11 in display example G1 in FIG. 4), the model training unit 122 changes the weight of the sample specified as a task location based on the task degree. Change according to predetermined rules. Furthermore, when the task correction information is specified for future data (for example, graph 12 in display example G1 in FIG. 4), the model training unit 122 selects a sample within the training data that is similar to the sample specified as the task location. The weight of the sample is changed according to a predetermined rule based on the task level. Here, as the predetermined rule, a "function or model indicating the relationship between the task level and the weight adjustment amount" prepared independently of past input logs can be used.
 図7(A)は、カーソルにより範囲指定する例を示す。具体的に、図7(A)では、ユーザは、表示された既存モデルの出力における調整箇所をカーソルにより範囲指定する。図7(A)の例では、ユーザは、課題箇所として、カーソルにより矩形の範囲33を指定している。範囲を指定した後、ユーザは、その課題箇所の課題度を入力する。課題度は、例えば10段階のレベルとすることができる。課題度の数値が大きいほど、大きな課題があるものとする。例えば、ユーザが課題度として「3」を入力すると、モデル訓練部122は、範囲33に属する既存モデルの出力の課題度を10段階の「3」と設定する。この方法は、ある範囲の既存モデル出力に対して課題度を一律に調整する場合に有効である。 FIG. 7(A) shows an example of specifying a range using a cursor. Specifically, in FIG. 7A, the user uses a cursor to specify a range of adjustment points in the output of the displayed existing model. In the example of FIG. 7A, the user specifies a rectangular range 33 with the cursor as the task location. After specifying the range, the user inputs the level of assignment for that assignment location. The level of the task can be set to 10 levels, for example. It is assumed that the larger the numerical value of the problem level is, the larger the problem is. For example, when the user inputs "3" as the task level, the model training unit 122 sets the task level of the output of the existing model belonging to range 33 as "3" on a scale of 10. This method is effective when uniformly adjusting the task level for a certain range of existing model outputs.
 図7(B)は、マウスを用いたクリックにより、既存モデル出力の課題箇所及び課題度を入力する例を示す。具体的に、ユーザは、課題度を増加させるモードと減少させるモードのいずれかを選択した上で、既存モデルのグラフ上の、調整したい日に対応するデータ点をクリックする。課題度を増加させるモードの場合、ユーザのクリック回数に応じて課題度が増加する。また、課題度を減少させるモードの場合、ユーザのクリック回数に応じて課題度が減少する。この方法は、個々の日付について、課題度の調整量が異なる場合に有効である。 FIG. 7(B) shows an example of inputting the task location and task level of the existing model output by clicking with a mouse. Specifically, the user selects either a mode for increasing the task level or a mode for decreasing the task level, and then clicks on the data point corresponding to the day on the graph of the existing model that he/she wants to adjust. In the mode of increasing the task level, the task level increases according to the number of clicks by the user. Furthermore, in the case of a mode in which the task level is reduced, the task level is reduced according to the number of clicks by the user. This method is effective when the amount of adjustment of the task level differs for each date.
 図7(C)は、課題度を示すバー(以下、「課題度バー」と呼ぶ。)の長さを指定することにより、課題箇所及び課題度の調整量を入力する例を示す。図7(C)では、各日付における既存モデルの出力の課題度が課題度バーで示されている。なお、各日付の課題度バーは、例えば、各日付の既存モデルの出力とその日の実測値との差などに基づいて課題度を計算することにより表示される。なお、このように目的変数の実測値が既に得られている場合には、モデル可視化UI及びモデル比較UIにおいて実測値を表示するのが良い。例えば、図14の表示例G1、G2のグラフ12上に目的変数の実測値を表示する。これにより、ユーザは課題箇所の発見が容易になる。 FIG. 7(C) shows an example of inputting the task location and the adjustment amount of the task level by specifying the length of a bar indicating the task level (hereinafter referred to as the "assignment level bar"). In FIG. 7C, the problem level of the output of the existing model on each date is shown by a problem level bar. Note that the task level bar for each date is displayed by calculating the task level based on, for example, the difference between the output of an existing model on each date and the actual measurement value on that day. Note that when the actual measured value of the objective variable has already been obtained in this way, it is preferable to display the actual measured value on the model visualization UI and the model comparison UI. For example, the actual measured value of the target variable is displayed on the graph 12 of display examples G1 and G2 in FIG. This makes it easier for the user to find the location of the problem.
 ユーザは、調整したい日の課題度バーの長さを変えることで、その日の既存モデル出力の課題度を調整することができる。課題度の調整量は、課題度バーの長さの変更量により指定することができる。即ち、ユーザは、課題度を増加させたい場合は、課題度バーの長さを長くすればよい。図7(C)のように、既存モデル出力の課題度を示す課題度バー34aと、ユーザが長さを変更した部分34bとを異なる色などで区別して表示することにより、課題度の調整量を見やすく表示することができる。 The user can adjust the issue level of the existing model output for that day by changing the length of the issue level bar on the day that the user wants to adjust. The amount of adjustment of the task level can be specified by the amount of change in the length of the task level bar. That is, if the user wants to increase the task level, he/she can increase the length of the task level bar. As shown in FIG. 7(C), by distinguishing and displaying the task level bar 34a indicating the task level of the existing model output and the portion 34b whose length has been changed by the user using different colors, the amount of adjustment of the task level can be adjusted. can be displayed easily.
 (回帰分析)
 次に、モデルのタスクが回帰分析である場合について説明する。モデルのタスクが時系列データ以外の回帰分析の場合、評価情報は、2次元又は3次元の散布図により示される。
(regression analysis)
Next, a case where the model task is regression analysis will be explained. When the model task is regression analysis of data other than time series data, the evaluation information is shown by a two-dimensional or three-dimensional scatter plot.
(1)モデル可視化UI及び修正UI
 図8(A)は、回帰分析の場合のモデル可視化UI及び修正UIの表示例G11を示す。表示例G11は、ハンバーガーの売り上げを予測するモデルの例である。横軸は夏から冬の季節を示し、縦軸は昼から夜の時間を示す。図中の各データ点は、売り上げの予測値を示す。各データ点は、売り上げの値が大きいほど暗く(黒に近く)、値が小さいほど明るい(白に近い)色で示されている。表示例G11において、既存モデルの訓練に用いた訓練データに対するモデルの予測値は円形で示されており、既存モデルの評価や検証に用いるバリデーションデータに対するモデルの予測値は正方形で示されている。なお、図8(A)の縦軸と横軸はそれぞれ特徴量の一例であるが、特徴量が3つ以上ある場合には、3つ以上の特徴量からランダムに2つの特徴量を選択してもよいし、複数の特徴量を統合して2つの特徴量に変換してもよい。この点は、後述する図8(B)の場合も同様である。
(1) Model visualization UI and correction UI
FIG. 8(A) shows a display example G11 of the model visualization UI and correction UI in the case of regression analysis. Display example G11 is an example of a model that predicts sales of hamburgers. The horizontal axis indicates the season from summer to winter, and the vertical axis indicates the time from day to night. Each data point in the diagram represents a predicted value of sales. Each data point is shown in a darker color (closer to black) as the sales value increases, and a lighter color (closer to white) as the value decreases. In display example G11, the model's predicted value for the training data used to train the existing model is shown as a circle, and the model's predicted value for the validation data used for evaluation and verification of the existing model is shown as a square. Note that the vertical and horizontal axes in Figure 8(A) are examples of feature quantities, but if there are three or more feature quantities, two feature quantities are randomly selected from the three or more feature quantities. Alternatively, a plurality of feature quantities may be integrated and converted into two feature quantities. This point also applies to the case of FIG. 8(B), which will be described later.
 表示例G11のように、訓練データ及びバリデーションデータに対するモデルの予測値の分布を示すことにより、ユーザは既存モデルの傾向を知ることができる。例えば、表示例G11では、冬の夜という領域で、訓練データに対する予測値と、バリデーションデータに対する予測値とが異なり、冬の夜という領域において既存モデルの予測精度が低いことがわかる。この場合、ユーザは例えば表示例G11において、冬の夜という条件に該当するデータ点37に対する重みを大きくするようなパラメータ修正情報を入力し、既存モデルを修正することができる。 As in display example G11, by showing the distribution of predicted values of the model with respect to training data and validation data, the user can know the tendency of the existing model. For example, in display example G11, the predicted value for the training data and the predicted value for the validation data are different in the region of winter nights, indicating that the prediction accuracy of the existing model is low in the region of winter nights. In this case, the user can modify the existing model by inputting parameter modification information that increases the weight for the data point 37 that corresponds to the condition of winter night, for example in display example G11.
 図8(B)は、別の表示例G12を示す。表示例G12は、既存モデルの訓練に用いた訓練データと、実際の運用に用いた運用データに対するモデルの予測値とを同時に表示している。訓練データは、売り上げの実測値を示す。一方、運用データに関しては、実測値が得られていないため、運用データに対して既存モデルで予測を行った結果である予測値が示されている。具体的に、表示例G12では、訓練データのデータ点は外周が実線で示され、運用データのデータ点は外周が点線で示されている。なお、縦軸、横軸、及び、売り上げの値を示す色は図8(A)と同様である。 FIG. 8(B) shows another display example G12. Display example G12 simultaneously displays training data used for training the existing model and predicted values of the model for operational data used in actual operation. The training data shows actual measured sales. On the other hand, since actual measured values are not available for operational data, predicted values are shown that are the results of predictions made using existing models for operational data. Specifically, in display example G12, the outer periphery of the data points of the training data is shown by a solid line, and the outer periphery of the data points of the operational data is shown by a dotted line. Note that the vertical axis, horizontal axis, and colors indicating sales values are the same as in FIG. 8(A).
 表示例G12のように、訓練データと、運用データに対する予測値との分布を示すことにより、ユーザは既存モデルの傾向を知ることができる。例えば、表示例G12では、冬の夜という条件において、訓練データの値は小さいのに比べ、運用データに対する予測値は大きくなっている。よって、ユーザは、冬の夜という条件において既存モデルの予測精度が不十分であり、修正が必要であると判断することができる。この場合も、ユーザは表示例G12において、冬の夜という条件に該当するデータ点37に対する重みを大きくするようなパラメータ修正情報を入力し、既存モデルを修正することができる。 As in display example G12, by showing the distribution of training data and predicted values for operational data, the user can know the tendency of the existing model. For example, in display example G12, under the condition of a winter night, the predicted value for the operational data is large compared to the small value for the training data. Therefore, the user can determine that the prediction accuracy of the existing model is insufficient under the condition of a winter night and that correction is necessary. In this case as well, the user can modify the existing model by inputting parameter modification information that increases the weight for the data point 37 that corresponds to the condition of winter night in display example G12.
(2)モデル比較UI及び修正UI
 図9は、モデル比較UI及び修正UIの表示例G13を示す。表示例G13は、2次元の特徴量空間上に訓練データと既存モデルの出力との誤差をプロットしたものである。縦軸と横軸は、特徴量空間を規定する何らかの特徴量を示す。即ち、縦軸及び横軸は、それぞれ1つの特徴量を示す。なお、モデルが使用する特徴量が3次元以上である場合、評価情報出力部は、3つ以上の特徴量からランダムに2つの特徴量を選択してもよいし、複数の特徴量を統合して2つの特徴量に変換してもよい。
(2) Model comparison UI and correction UI
FIG. 9 shows a display example G13 of the model comparison UI and correction UI. Display example G13 is a plot of the error between the training data and the output of the existing model on a two-dimensional feature space. The vertical and horizontal axes indicate some feature amount that defines the feature space. That is, the vertical axis and the horizontal axis each indicate one feature amount. Note that when the feature quantities used by the model are three or more dimensional, the evaluation information output unit may randomly select two feature quantities from three or more feature quantities, or may integrate multiple feature quantities. It may also be converted into two feature quantities.
 表示された各データ点の色は、訓練データと既存モデルの出力との誤差を示し、色が暗いほど誤差が大きい。ユーザは、表示例G13を見て、右下の領域に位置する点の誤差が大きいと判断し、それらの点を対象とする修正情報を入力する。例えば、ユーザは、スタイラスペンなどを用いて線分35を記入して誤差が大きい領域を囲むことにより、線分35で囲まれた領域に属する点を課題箇所として指定する。また、ユーザは、線分35で囲まれた領域に属する点について、課題度を入力する。表示例G13は、こうして、ユーザは、課題箇所と課題度とを含む課題修正情報を入力することができる。なお、線分35を用いてサンプル重みの修正情報などのパラメータ修正量を入力できるようにしてもよい。 The color of each displayed data point indicates the error between the training data and the output of the existing model; the darker the color, the greater the error. The user looks at the display example G13, determines that the points located in the lower right area have a large error, and inputs correction information targeting those points. For example, the user uses a stylus pen or the like to draw a line segment 35 to enclose an area with a large error, thereby specifying a point belonging to the area surrounded by the line segment 35 as a task location. Further, the user inputs the task level for the points belonging to the area surrounded by the line segment 35. Display example G13 thus allows the user to input assignment modification information including the assignment location and assignment level. Note that the line segment 35 may be used to input parameter modification amounts such as sample weight modification information.
 なお、表示例G13では、各データ点の色は訓練データと既存モデルの出力との誤差を示しているが、その代わりに、図8に示すように実績値や予測値を色付けしたものでもよい。 Note that in display example G13, the color of each data point indicates the error between the training data and the output of the existing model, but instead, the actual value or predicted value may be colored as shown in FIG. .
 モデル訓練部122は、入力された修正情報に基づいて、既存モデルを修正し、修正後モデルを生成する。評価情報出力部125は、訓練データと修正後モデルの出力とに基づいて、図9に示す新たな表示例G14を生成し、表示装置2に表示する。表示例G14では、右下の領域に属する点における誤差が小さくなり、モデルの性能が改善していることがわかる。なお、表示例G14は訓練データと修正後モデルの出力との誤差を示しており、表示例G14のみでは、既存モデルと修正後モデルとの比較が困難である。よって、表示例G14に加えて、訓練データと既存モデルの出力との誤差を示す表示例G13を同時に表示するとよい。 The model training unit 122 modifies the existing model based on the input modification information and generates a modified model. The evaluation information output unit 125 generates a new display example G14 shown in FIG. 9 based on the training data and the output of the corrected model, and displays it on the display device 2. In display example G14, the error at the points belonging to the lower right region is smaller, indicating that the performance of the model is improved. Note that the display example G14 shows an error between the training data and the output of the corrected model, and it is difficult to compare the existing model and the corrected model using only the display example G14. Therefore, in addition to display example G14, display example G13 showing the error between the training data and the output of the existing model may be displayed at the same time.
 上記の表示例G13及びG14は、評価情報として訓練データとモデル出力との誤差を表示しているが、その代わりに、バリデーションデータとモデル出力との誤差を示してもよいし、実績値と予測値を色付けしたものを示してもよい。 Display examples G13 and G14 above display the error between the training data and the model output as evaluation information, but instead, the error between the validation data and the model output may be displayed, or the actual value and predicted value may be displayed. Values may be shown in color.
(3)修正情報の入力方法
 次に、修正UIにおける修正情報の入力方法について詳しく説明する。修正UIとしては、図8(A)、(B)に示すように、モデル可視化UIと修正UIを用いた表示においてパラメータ修正情報を入力する場合と、図9に示すようにモデル比較UIと修正UIとを用いた表示において課題修正情報を入力する場合とがあるが、ユーザによる入力方法は同様であるのでまとめて説明する。
(3) Method for inputting modification information Next, a method for inputting modification information in the modification UI will be described in detail. The modification UI is used for inputting parameter modification information in the display using the model visualization UI and modification UI, as shown in Figures 8 (A) and (B), and for inputting parameter modification information in the display using the model comparison UI and modification There are cases where assignment correction information is input in a display using a UI, but since the input method by the user is the same, they will be explained together.
 図10(A)は、評価情報の表示における各点をクリックすることで修正情報を入力する方法を示す。パラメータ修正情報を入力する場合、ユーザは、表示された訓練データのデータ点のうち、重みを変更したいデータ点をクリックすることにより重みの調整箇所を指定し、クリックの回数により重みの調整量を指定することができる。また、課題修正情報を入力する場合、ユーザは、表示された誤差などのデータ点のうち、課題を有するデータ点をクリックすることにより課題箇所を指定し、クリックの回数により課題度を指定することができる。 FIG. 10(A) shows a method of inputting correction information by clicking on each point on the display of evaluation information. When inputting parameter modification information, the user specifies the weight adjustment point by clicking on the data point of the displayed training data whose weight is to be changed, and the amount of weight adjustment is determined by the number of clicks. Can be specified. In addition, when inputting issue correction information, the user can specify the issue location by clicking on a data point that has an issue among the displayed data points such as errors, and specify the issue level by the number of clicks. I can do it.
 図10(B)は、図9の表示例G13のように、評価情報の表示におけるデータ点を線分などで囲んで修正情報を入力する方法を示す。パラメータ修正情報を入力する場合、ユーザは、表示された訓練データのデータ点のうち、重みを変更したいデータ点を線分で囲むことにより重みの調整箇所を指定し、重みの調整量を別途入力又は指定すればよい。また、課題修正情報を入力する場合、ユーザは、表示されたデータ点のうち、課題を有するデータ点を線分で囲むことにより課題箇所を指定し、課題度を別途入力又は指定すればよい。 FIG. 10(B) shows a method of inputting correction information by surrounding data points in the display of evaluation information with line segments, as in display example G13 of FIG. 9. When inputting parameter correction information, the user specifies the weight adjustment point by enclosing the data point of the displayed training data whose weight is to be changed with a line segment, and separately inputs the weight adjustment amount. Or you can specify it. Furthermore, when inputting task correction information, the user may designate the task location by enclosing the data point having the task among the displayed data points with a line segment, and may separately input or specify the task level.
 図10(C)は、図10(B)の場合と同様に、評価情報の表示におけるデータ点を線分などで囲んで修正情報を入力する方法を示す。但し、図10(B)の場合は、線分により囲まれた領域に属する全てのデータ点に対して同一の重み調整量又は課題度を指定しているのに対し、図10(C)の例では、グラデーションにより、線分により囲まれた領域に属するデータ点に対して異なる重み調整量又は課題度を設定できる。具体的に、パラメータ修正情報を入力する場合、ユーザは、表示された訓練データ点のうち、重みを変更したいデータ点を線分で囲むことにより重みの調整箇所を指定し、グラデーション表示により異なる重みの調整量を指定すればよい。また、課題修正情報を入力する場合、ユーザは、表示されたデータ点のうち、課題を有するデータ点を線分で囲むことにより課題箇所を指定し、グラデーション表示により異なる課題度を指定すればよい。 Similarly to the case of FIG. 10(B), FIG. 10(C) shows a method of inputting correction information by surrounding data points in the display of evaluation information with line segments or the like. However, in the case of Fig. 10(B), the same weight adjustment amount or task level is specified for all data points belonging to the area surrounded by the line segment, whereas in the case of Fig. 10(C) In the example, the gradation allows different weight adjustment amounts or task levels to be set for data points belonging to the area surrounded by the line segment. Specifically, when inputting parameter modification information, the user specifies the weight adjustment point by enclosing the data point whose weight is to be changed among the displayed training data points with a line segment, and then selects a different weight using the gradation display. All you have to do is specify the amount of adjustment. Furthermore, when inputting assignment correction information, the user can specify the assignment location by enclosing the data points with assignments among the displayed data points with a line segment, and specify a different assignment degree using the gradation display. .
 (分類)
 次に、モデルのタスクが分類である場合について説明する。モデルのタスクが分類である場合、評価情報は回帰分析の場合と同じく2次元又は3次元の散布図により示される。
(classification)
Next, a case where the model task is classification will be explained. When the task of the model is classification, evaluation information is shown by a two-dimensional or three-dimensional scatter plot, as in the case of regression analysis.
(1)モデル可視化UI及び修正UI
 図11に示す表示例G13は、分類モデルの場合のモデル可視化UI及び修正UIの表示例である。既存モデルは、例えばある画像を「A」と「B」の2つに分類する2値分類のモデルとする。表示例G13は、図8の表示例G11などと同様に、特定の2つの特徴量を縦軸及び横軸にとった特徴量空間を示している。各データ点は、訓練データと、既存モデルの出力とに基づいて計算した誤分類率に対応する色で示されており、暗いほど誤分類率が高いものとする。
(1) Model visualization UI and correction UI
A display example G13 shown in FIG. 11 is a display example of a model visualization UI and a modification UI in the case of a classification model. The existing model is, for example, a binary classification model that classifies a certain image into two, "A" and "B." Display example G13, like display example G11 in FIG. 8, shows a feature amount space in which two specific feature amounts are plotted on the vertical and horizontal axes. Each data point is shown in a color corresponding to the misclassification rate calculated based on the training data and the output of the existing model, with the darker the color, the higher the misclassification rate.
 表示例G13のように、誤分類率を示すことにより、ユーザは既存モデルの傾向を知ることができる。例えば、表示例G13では、特徴量空間の右下の領域において誤分類率が高いことがわかる。よって、ユーザは、修正が必要なデータ点を囲む線分41を入力することで重み調整箇所を指定し、別途重み調整量を指定することで修正情報を入力することができる。 As in display example G13, by showing the misclassification rate, the user can know the tendency of the existing model. For example, in display example G13, it can be seen that the misclassification rate is high in the lower right region of the feature space. Therefore, the user can specify the weight adjustment location by inputting the line segment 41 surrounding the data point that requires correction, and can input correction information by separately specifying the weight adjustment amount.
 なお、誤分類率の計算方法としては、既知のいずれかの手法を用いることができる。例えば2値分類の場合、モデルによる予測値と実測値のラベルが不一致ならば誤分類率を「1」とし、一致すれば誤分類率を「0」とすればよい。なお、この場合には、図11に例示する表示例G13において、各データ点の色は2色のみとなる。別の例として、分類モデルが分類スコアを出力する場合、実測値(正解値)と分類スコアとの差を誤分類率としてもよい。即ち、実測値(正解値)を「0」と「1」とすると、
  (誤分類度)=(実測値)-(分類スコア)
とすればよい。
Note that any known method can be used to calculate the misclassification rate. For example, in the case of binary classification, if the labels of the predicted value by the model and the actual value do not match, the misclassification rate may be set to "1", and if they match, the misclassification rate may be set to "0". In this case, in display example G13 illustrated in FIG. 11, each data point has only two colors. As another example, when the classification model outputs a classification score, the difference between the actual value (correct value) and the classification score may be used as the misclassification rate. That is, if the actual measured values (correct values) are "0" and "1",
(Misclassification degree) = (actual value) - (classification score)
And it is sufficient.
 なお、図11の表示例G13では、線分41によりデータ点を囲む方法で修正情報を入力しているが、分類タスクの場合も、図10(A)~(C)に示したいずれの方法を利用してもよい。 Note that in display example G13 in FIG. 11, correction information is input by enclosing the data points with line segments 41, but in the case of a classification task, any of the methods shown in FIGS. You may also use
(2)モデル比較UI及び修正UI
 図12(A)は、分類モデルの場合のモデル比較UI及び修正UIの表示例G14を示す。表示例G14は、表示例G13においてユーザが入力した修正情報に基づいて修正された修正後モデルによる誤分類率を示す。この場合、誤分類率は、訓練データと、修正後モデルの出力とに基づいて計算されたものである。図11の表示例G13と比較するとわかるように、修正後モデルの出力では、特徴量空間の右下の領域のデータ点について誤分類率が改善されている。モデル比較UIでは、例えばデータ点42のように輪郭を強調するなどの方法で、既存モデルと修正後モデルとで分類結果が変わったデータ点を区別して表示することにより、新旧のモデルの出力の関係を示すことができる。なお、表示例G14において、図10(A)~(C)に示したいずれかの方法を利用して、さらに修正情報を入力し、モデルを修正してもよい。
(2) Model comparison UI and correction UI
FIG. 12A shows a display example G14 of the model comparison UI and correction UI in the case of a classification model. Display example G14 shows the misclassification rate by the modified model modified based on the modification information input by the user in display example G13. In this case, the misclassification rate is calculated based on the training data and the output of the modified model. As can be seen from a comparison with display example G13 in FIG. 11, in the output of the corrected model, the misclassification rate has been improved for data points in the lower right region of the feature space. In the model comparison UI, data points for which the classification results have changed between the existing model and the revised model are distinguished and displayed, for example by emphasizing the outline, such as data point 42, so that the output of the old and new models can be compared. Relationships can be shown. Note that in display example G14, the model may be modified by further inputting modification information using any of the methods shown in FIGS. 10(A) to 10(C).
 図12(B)は、モデル比較UIの別の表示例G15を示す。表示例G15では、各データ点の色は、既存モデルと修正後モデルの分類スコアの差の絶対値を示している。即ち、既存モデルと修正後モデルの分類結果の差が大きいほど、データ点の色が暗くなっている。このようにしても、新旧モデルの出力の関係を示すことができる。なお、表示例G15においても、図10(A)~(C)に示したいずれか方法を利用して、さらに修正情報を入力し、モデルを修正してもよい。 FIG. 12(B) shows another display example G15 of the model comparison UI. In display example G15, the color of each data point indicates the absolute value of the difference in classification scores between the existing model and the modified model. That is, the larger the difference between the classification results between the existing model and the modified model, the darker the color of the data point becomes. Even in this case, the relationship between the outputs of the old and new models can be shown. Note that in display example G15 as well, the model may be modified by further inputting modification information using any of the methods shown in FIGS. 10(A) to 10(C).
 (説明変数に関する修正UI)
 上記の例では、パラメータ修正情報として、各データ点に対する重みを調整しているが、その代わりに、説明変数毎に重みを調整してもよい。図13(A)は、説明変数毎に重みを修正するための修正UIの例を示す。この修正UIでは、既存モデルが使用している説明変数のリスト51と、各説明変数に対して設定されている重みバー52とが表示される。説明変数のリスト51において、チェックボックスにチェックが入っている説明変数は、既存モデルが使用している説明変数である。ユーザは、カーソル52xを用いて各説明変数に対応する重みバー52の長さを変えることにより、各説明変数に対する重みを増減することができる。
(Corrected UI regarding explanatory variables)
In the above example, the weight for each data point is adjusted as the parameter modification information, but instead, the weight may be adjusted for each explanatory variable. FIG. 13A shows an example of a modification UI for modifying the weight for each explanatory variable. This modification UI displays a list 51 of explanatory variables used by the existing model and a weight bar 52 set for each explanatory variable. In the explanatory variable list 51, explanatory variables whose checkboxes are checked are explanatory variables used by existing models. The user can increase or decrease the weight for each explanatory variable by changing the length of the weight bar 52 corresponding to each explanatory variable using the cursor 52x.
 図13(B)は、既存モデルが使用している説明変数自体を変更するための修正UIの例を示す。この修正UIでは、既存モデルが使用している説明変数のリスト53が表示される。ユーザは、使用中の説明変数を削除したい場合、リスト53におけるチェックボックスを外せばよい。一方、説明変数を追加したい場合、ユーザがリスト53中の「追加」タブをクリックすると、追加リスト54が表示される。追加リスト54は、一般的に良く使用される説明変数のリストとなっている。ユーザは、追加リスト54を参照して追加したい説明変数のチェックボックスにチェックを入れ、「OK」ボタンを押すことにより、新たな説明変数を追加することができる。 FIG. 13(B) shows an example of a modification UI for changing the explanatory variables themselves used by the existing model. This modification UI displays a list 53 of explanatory variables used by the existing model. If the user wants to delete an explanatory variable that is in use, he or she can remove the checkbox in the list 53. On the other hand, if the user wants to add an explanatory variable, when the user clicks on the "Add" tab in the list 53, an addition list 54 is displayed. The additional list 54 is a list of commonly used explanatory variables. The user can add a new explanatory variable by referring to the addition list 54, checking the checkbox of the explanatory variable he or she wishes to add, and pressing the "OK" button.
 [モデル修正処理]
 次に、モデル生成装置100によるモデル修正処理について説明する。図14は、モデル生成装置100によるモデル修正処理のフローチャートである。モデル修正処理は、既存モデルの修正を行う処理であり、例えば、モデルの運用中などの適切なタイミングで実行される。この処理は、図2に示すプロセッサ112が予め用意されたプログラムを実行し、図3に示す要素として動作することにより実現される。
[Model correction processing]
Next, model correction processing by the model generation device 100 will be explained. FIG. 14 is a flowchart of model modification processing performed by the model generation device 100. The model modification process is a process for modifying an existing model, and is executed at an appropriate timing, such as during model operation, for example. This processing is realized by the processor 112 shown in FIG. 2 executing a program prepared in advance and operating as the element shown in FIG. 3.
 まず、モデル生成装置100は、対象となる既存モデルを取得する(ステップS10)。次に、モデル生成装置100は、モデル可視化UIを用いて、訓練データと既存モデルの出力を表示する(ステップS11)。ユーザは、表示された訓練データと既存モデルの出力との関係を見て、既存モデルの修正が必要か否かを判断し、既存モデルの修正が必要と判断した場合、修正UIを用いて修正情報を入力する。モデル生成装置100は、ユーザによる修正情報の入力があったか否かを判定する(ステップS12)。修正情報の入力が無い場合(ステップS12:No)、処理は終了する。 First, the model generation device 100 acquires a target existing model (step S10). Next, the model generation device 100 displays the training data and the output of the existing model using the model visualization UI (step S11). The user looks at the relationship between the displayed training data and the output of the existing model and determines whether or not the existing model needs to be modified. If the user determines that the existing model needs to be modified, the user uses the modification UI to make the modification. Enter your information. The model generation device 100 determines whether the user has input correction information (step S12). If no modification information is input (step S12: No), the process ends.
 一方、修正情報の入力があった場合(ステップS12:Yes)、モデル生成装置100は修正情報を取得する。具体的に、ユーザが既存モデルの出力の課題を見つけ、課題修正情報を入力した場合、モデル生成装置100は課題修正情報を取得する(ステップS13)。また、ユーザが重みや説明変数などのパラメータの修正が必要と判断し、パラメータ修正情報を入力した場合、モデル生成装置100はパラメータ修正情報を取得する(ステップS14)。 On the other hand, if correction information is input (step S12: Yes), the model generation device 100 acquires the correction information. Specifically, when the user finds an output problem of an existing model and inputs problem correction information, the model generation device 100 acquires the problem correction information (step S13). Furthermore, when the user determines that parameters such as weights and explanatory variables need to be modified and inputs parameter modification information, the model generation device 100 acquires the parameter modification information (step S14).
 次に、モデル生成装置100は、入力された課題修正情報及びパラメータ修正情報に基づいて既存モデルのパラメータを修正して修正後モデルを生成する(ステップS15)。そして、モデル生成装置100は、モデル比較UIを用いて、既存モデルの出力と修正後モデルの出力を表示する(ステップS16)。そして、処理はステップS12へ戻る。こうして、ユーザによりモデルの修正が必要と判断されている間はステップS13~S16が繰り返され、モデルの修正が不要と判断された場合に、処理は終了する。 Next, the model generation device 100 modifies the parameters of the existing model based on the input problem modification information and parameter modification information to generate a modified model (step S15). Then, the model generation device 100 displays the output of the existing model and the output of the corrected model using the model comparison UI (step S16). The process then returns to step S12. In this way, steps S13 to S16 are repeated while the user determines that the model needs to be modified, and when it is determined that the model does not need to be modified, the process ends.
 このように、ユーザは、モデル可視化UIにより表示される訓練データと既存モデルの出力との関係、及び、モデル比較UIにより表示される既存モデルの出力と修正後モデルの出力との関係を見て、モデルの修正を判断する。そして、モデルの修正が必要と判断した場合には、修正UIを用いて修正情報を入力し、モデルを修正することができる。 In this way, the user can see the relationship between the training data displayed by the model visualization UI and the output of the existing model, and the relationship between the output of the existing model and the output of the modified model displayed by the model comparison UI. , determine model modifications. If it is determined that the model needs to be modified, the model can be modified by inputting modification information using the modification UI.
 上記のモデル修正処理では、ステップS13における課題修正情報の入力と、ステップS14におけるパラメータ修正情報の入力とを分離して行っている。これにより、単一のユーザが、課題修正情報の入力とパラメータ修正情報の入力とを異なるタイミングで行うことができる。また、課題修正情報の入力とパラメータ修正情報の入力とを異なるユーザが行うことも可能となる。例えば、モデル運用者(AI運用者)が課題修正情報を入力し、モデル作成者(AI作成者)がパラメータ修正情報を入力してモデルを修正してもよい。この場合、モデル作成者とモデル運用者の円滑なコミュニケーションにより適切なモデル修正が実現される。 In the model correction process described above, the input of problem correction information in step S13 and the input of parameter correction information in step S14 are performed separately. This allows a single user to input task modification information and parameter modification information at different timings. Furthermore, it is also possible for different users to input the task modification information and the parameter modification information. For example, a model operator (AI operator) may input task modification information, and a model creator (AI creator) may input parameter modification information to modify the model. In this case, appropriate model modification can be achieved through smooth communication between the model creator and model operator.
 上記のモデル修正処理では、モデル生成装置100は、ステップS14でユーザが入力したパラメータ修正情報を取得しているが、ユーザが入力した課題修正情報をステップS13で取得している場合には、モデル生成装置100は、重みの調整量の計算手段として機能してもよい。具体的には、過去にユーザが入力した課題修正情報に含まれる課題度と、パラメータ修正情報に含まれる重みの調整量とを用いて、課題度と重みの調整量との関係を示す関数又はモデルを予め作成しておく。モデル生成装置100は、ステップS13で課題修正情報を取得したときに、上記の関数又はモデルを用いて、重みの調整量の推奨値をユーザに提示する。ユーザは、提示された推奨値を受け入れてもよいし、提示された推奨値を変更してもよいし、重みの調整量を自ら入力してもよい。これにより、ステップS14におけるパラメータ修正情報の入力を効率化することができる。また、パラメータ経験の浅いユーザがモデルを修正する場合に、過去の多数のユーザによる重みの調整量を参考にすることができる。 In the above model modification process, the model generation device 100 acquires the parameter modification information input by the user in step S14, but if the problem modification information input by the user is acquired in step S13, the model generation device 100 The generation device 100 may function as a weight adjustment amount calculation means. Specifically, a function or Create a model in advance. When the model generation device 100 acquires the task correction information in step S13, it presents the recommended value of the weight adjustment amount to the user using the above function or model. The user may accept the presented recommended value, may change the presented recommended value, or may input the weight adjustment amount himself. Thereby, the input of parameter correction information in step S14 can be made more efficient. Furthermore, when a user with little parameter experience modifies a model, he or she can refer to the amount of weight adjustment made by many users in the past.
 [変形例]
 (変形例1)
 上記の実施形態では、モデル生成装置100が訓練データに基づいて当初のモデルを生成しているが、これは必須ではない。例えば、モデル生成装置100は、外部から既存モデルを取得し、その既存モデルを再訓練することにより、新たな修正後モデルを生成することとしてもよい。
[Modified example]
(Modification 1)
In the above embodiment, the model generation device 100 generates the initial model based on training data, but this is not essential. For example, the model generation device 100 may generate a new modified model by acquiring an existing model from the outside and retraining the existing model.
 (変形例2)
 また、モデル生成装置100におけるモデル訓練部122の機能を外部に設けてもよい。例えば、図3におけるモデル訓練部122の機能を備えるモデル訓練装置と、評価用データDB124及び評価情報出力部125の機能を備えるモデル評価装置と別個に設ける。この場合、モデル評価装置は、入力装置3から入力された修正情報D3をモデル訓練装置へ入力し、モデル訓練装置が生成した修正後モデルをモデル訓練装置から取得する。
(Modification 2)
Further, the function of the model training section 122 in the model generation device 100 may be provided externally. For example, a model training device having the functions of the model training unit 122 in FIG. 3 and a model evaluation device having the functions of the evaluation data DB 124 and the evaluation information output unit 125 are provided separately. In this case, the model evaluation device inputs the modification information D3 input from the input device 3 to the model training device, and acquires the modified model generated by the model training device from the model training device.
 (変形例3)
 上記の実施形態では、モデル生成装置100をPCなどの独立した装置として構成しているが、その代わりに、モデル生成装置をサーバと端末装置により構成してもよい。図15は、サーバと端末装置を用いたモデル生成システム1xの概略構成を示すブロック図である。図15において、サーバ100xは、図3に示すモデル生成装置100の構成を備える。また、ユーザが使用する端末装置7の表示装置2x及び入力装置3xを、図3に示す表示装置2及び入力装置3として使用する。この構成では、複数のユーザが入力した修正情報などを容易にサーバ100xに集め、共有することが可能となる。
(Modification 3)
In the above embodiment, the model generation device 100 is configured as an independent device such as a PC, but instead, the model generation device may be configured with a server and a terminal device. FIG. 15 is a block diagram showing a schematic configuration of a model generation system 1x using a server and a terminal device. In FIG. 15, a server 100x includes the configuration of the model generation device 100 shown in FIG. Further, the display device 2x and input device 3x of the terminal device 7 used by the user are used as the display device 2 and input device 3 shown in FIG. With this configuration, it becomes possible to easily collect correction information and the like input by a plurality of users on the server 100x and share it.
 <第2実施形態>
 図16は、第2実施形態のモデル処理装置の機能構成を示すブロック図である。情報処理装置70は、既存モデル取得手段71と、第1の出力手段72と、修正取得手段73と、修正後モデル取得手段74と、第2の出力手段75と、を備える。
<Second embodiment>
FIG. 16 is a block diagram showing the functional configuration of the model processing device according to the second embodiment. The information processing device 70 includes an existing model acquisition means 71 , a first output means 72 , a modification acquisition means 73 , a modified model acquisition means 74 , and a second output means 75 .
 図17は、第2実施形態のモデル処理装置による処理のフローチャートである。既存モデル取得手段71は、既存モデルを取得する(ステップS71)。第1の出力手段72は、評価用データと、評価用データに対する前記既存モデルの出力との関係を示す第1の評価情報を出力する(ステップS72)。修正取得手段73は、第1の評価情報に対して入力された修正情報を取得する(ステップS73)。修正後モデル取得手段74は、第1の評価情報に対して入力された修正情報に基づいて修正された修正後モデルを取得する(ステップS74)。第2の出力手段75は、評価用データに対する既存モデル及び修正後モデルの出力の関係を示す第2の評価情報を出力する(ステップS75)。 FIG. 17 is a flowchart of processing by the model processing device of the second embodiment. Existing model acquisition means 71 acquires an existing model (step S71). The first output means 72 outputs first evaluation information indicating the relationship between the evaluation data and the output of the existing model with respect to the evaluation data (step S72). The modification acquisition means 73 acquires modification information input for the first evaluation information (step S73). The modified model acquisition unit 74 acquires a modified model that has been modified based on the modification information input to the first evaluation information (step S74). The second output means 75 outputs second evaluation information indicating the relationship between the outputs of the existing model and the modified model with respect to the evaluation data (step S75).
 第2実施形態の情報処理装置70によれば、モデル作成に使用したデータや運用中のモデルの出力に関して十分な情報を提示することにより、モデルの適切な修正が可能となる。 According to the information processing device 70 of the second embodiment, by presenting sufficient information regarding the data used for model creation and the output of the model in operation, it is possible to appropriately modify the model.
 上記の実施形態の一部又は全部は、以下の付記のようにも記載されうるが、以下には限られない。 Part or all of the above embodiments may be described as in the following additional notes, but are not limited to the following.
 (付記1)
 既存モデルを取得する既存モデル取得手段と、
 評価用データと、評価用データに対する前記既存モデルの出力との関係を示す第1の評価情報を出力する第1の出力手段と、
 前記第1の評価情報に対して入力された修正情報を取得する修正取得手段と、
 前記第1の評価情報に対して入力された修正情報に基づいて修正された修正後モデルを取得する修正後モデル取得手段と、
 評価用データに対する前記既存モデル及び前記修正後モデルの出力の関係を示す第2の評価情報を出力する第2の出力手段と、
 を備えるモデル処理装置。
(Additional note 1)
an existing model acquisition means for acquiring an existing model;
a first output means for outputting first evaluation information indicating a relationship between the evaluation data and the output of the existing model with respect to the evaluation data;
a modification acquisition means for acquiring modification information input to the first evaluation information;
modified model acquisition means for acquiring a modified model that is modified based on modification information input to the first evaluation information;
a second output means for outputting second evaluation information indicating a relationship between outputs of the existing model and the modified model with respect to evaluation data;
A model processing device comprising:
 (付記2)
 前記修正取得手段は、前記第2の評価情報に対して入力された修正情報を取得し、
 前記修正後モデル取得手段は、前記第2の評価情報に対して入力された修正情報に基づいて修正された新たな修正後モデルを取得する付記1に記載のモデル処理装置。
(Additional note 2)
The modification acquisition means acquires modification information input to the second evaluation information,
The model processing device according to appendix 1, wherein the modified model acquisition means acquires a new modified model that is modified based on modification information input to the second evaluation information.
 (付記3)
 前記第1の評価情報は、前記評価用データと、前記既存モデルの出力とを含み、
 前記第2の評価情報は、前記既存モデルの出力と、前記修正後モデルの出力とを含む付記1に記載のモデル処理装置。
(Additional note 3)
The first evaluation information includes the evaluation data and the output of the existing model,
The model processing device according to appendix 1, wherein the second evaluation information includes an output of the existing model and an output of the modified model.
 (付記4)
 前記第1の評価情報は、前記訓練データと前記既存モデルの出力との差を示し、
 前記第2の評価情報は、前記既存モデルと前記修正後モデルの出力の差を示す付記1に記載のモデル処理装置。
(Additional note 4)
The first evaluation information indicates a difference between the training data and the output of the existing model,
The model processing device according to supplementary note 1, wherein the second evaluation information indicates a difference in output between the existing model and the modified model.
 (付記5)
 前記モデルは、時系列の値を予測するモデルであり、
 前記第1の評価情報は、前記評価用データと、前記モデルの出力とを同時に示し、
 前記第2の評価情報は、前記既存モデルの出力と、前記修正後モデルの出力とを同時に示す付記1に記載のモデル処理装置。
(Appendix 5)
The model is a model that predicts time series values,
The first evaluation information simultaneously indicates the evaluation data and the output of the model,
The model processing device according to appendix 1, wherein the second evaluation information simultaneously indicates an output of the existing model and an output of the modified model.
 (付記6)
 前記モデルは、回帰モデルであり、
 前記第1の評価情報は、前記評価用データと、前記既存モデルの出力とを示し、
 前記第2の評価情報は、前記評価用データと、前記既存モデル及び前記修正後モデルの出力との誤差を示したグラフである付記1に記載のモデル処理装置。
(Appendix 6)
The model is a regression model,
The first evaluation information indicates the evaluation data and the output of the existing model,
The model processing device according to appendix 1, wherein the second evaluation information is a graph showing errors between the evaluation data and outputs of the existing model and the modified model.
 (付記7)
 前記モデルは、分類モデルであり、
 前記第1の評価情報は、前記既存モデルによる分類結果の誤分類率を示し、
 前記第2の評価情報は、前記修正後モデルによる分類結果の誤分類度、又は、前記既存モデルの分類スコアと前記修正後モデルの分類スコアとの差を示す付記1に記載のモデル処理装置。
(Appendix 7)
The model is a classification model,
The first evaluation information indicates a misclassification rate of the classification result by the existing model,
The model processing device according to supplementary note 1, wherein the second evaluation information indicates a degree of misclassification of the classification result by the modified model or a difference between the classification score of the existing model and the classification score of the modified model.
 (付記8)
 前記修正情報は、前記既存モデルの出力における課題箇所及び課題度の指定を含む付記1乃至7のいずれか一項に記載のモデル処理装置。
(Appendix 8)
8. The model processing device according to any one of Supplementary Notes 1 to 7, wherein the modification information includes designation of a problem location and a problem level in the output of the existing model.
 (付記9)
 前記修正情報は、前記評価用データに対して前記モデルが与える重みの調整箇所及び調整量の指定を含む付記8に記載のモデル処理装置。
(Appendix 9)
The model processing device according to supplementary note 8, wherein the modification information includes designation of adjustment points and adjustment amounts of weights given by the model to the evaluation data.
 (付記10)
 前記課題度に基づいて、前記評価用データに対して前記モデルが与える重みの調整量を計算する計算手段を備える付記8又は9に記載のモデル処理装置。
(Appendix 10)
The model processing device according to appendix 8 or 9, further comprising calculation means for calculating an adjustment amount of weight given by the model to the evaluation data based on the task level.
 (付記11)
 既存モデルを取得し、
 評価用データと、評価用データに対する前記既存モデルの出力との関係を示す第1の評価情報を出力し、
 前記第1の評価情報に対して入力された修正情報を取得し、
 前記第1の評価情報に対して入力された修正情報に基づいて修正された修正後モデルを取得し、
 評価用データに対する前記既存モデル及び前記修正後モデルの出力の関係を示す第2の評価情報を出力するモデル処理方法。
(Appendix 11)
Get an existing model,
outputting first evaluation information indicating a relationship between the evaluation data and the output of the existing model with respect to the evaluation data;
Obtaining correction information input for the first evaluation information,
obtaining a modified model that is modified based on modification information input to the first evaluation information;
A model processing method that outputs second evaluation information indicating a relationship between outputs of the existing model and the modified model with respect to evaluation data.
 (付記12)
 既存モデルを取得し、
 評価用データと、評価用データに対する前記既存モデルの出力との関係を示す第1の評価情報を出力し、
 前記第1の評価情報に対して入力された修正情報を取得し、
 前記第1の評価情報に対して入力された修正情報に基づいて修正された修正後モデルを取得し、
 評価用データに対する前記既存モデル及び前記修正後モデルの出力の関係を示す第2の評価情報を出力する処理をコンピュータに実行させるプログラムを記録した記録媒体。
(Appendix 12)
Get an existing model,
outputting first evaluation information indicating a relationship between the evaluation data and the output of the existing model with respect to the evaluation data;
Obtaining correction information input for the first evaluation information,
obtaining a modified model that is modified based on modification information input to the first evaluation information;
A recording medium storing a program that causes a computer to execute a process of outputting second evaluation information indicating a relationship between outputs of the existing model and the modified model with respect to evaluation data.
 以上、実施形態及び実施例を参照して本開示を説明したが、本開示は上記実施形態及び実施例に限定されるものではない。本開示の構成や詳細には、本開示のスコープ内で当業者が理解し得る様々な変更をすることができる。 Although the present disclosure has been described above with reference to the embodiments and examples, the present disclosure is not limited to the above embodiments and examples. Various changes can be made to the structure and details of the present disclosure that can be understood by those skilled in the art within the scope of the present disclosure.
 1、1x モデル生成システム
 2、2x 表示装置
 3、3x 入力装置
 7 端末装置
 100 モデル生成装置
 112 プロセッサ
 121 訓練データDB
 122 モデル訓練部
 123 モデルDB
 124 評価情報出力部
1, 1x Model generation system 2, 2x Display device 3, 3x Input device 7 Terminal device 100 Model generation device 112 Processor 121 Training data DB
122 Model training department 123 Model DB
124 Evaluation information output section

Claims (12)

  1.  既存モデルを取得する既存モデル取得手段と、
     評価用データと、評価用データに対する前記既存モデルの出力との関係を示す第1の評価情報を出力する第1の出力手段と、
     前記第1の評価情報に対して入力された修正情報を取得する修正取得手段と、
     前記第1の評価情報に対して入力された修正情報に基づいて修正された修正後モデルを取得する修正後モデル取得手段と、
     評価用データに対する前記既存モデル及び前記修正後モデルの出力の関係を示す第2の評価情報を出力する第2の出力手段と、
     を備えるモデル処理装置。
    an existing model acquisition means for acquiring an existing model;
    a first output means for outputting first evaluation information indicating a relationship between the evaluation data and the output of the existing model with respect to the evaluation data;
    a modification acquisition means for acquiring modification information input to the first evaluation information;
    modified model acquisition means for acquiring a modified model that is modified based on modification information input to the first evaluation information;
    a second output means for outputting second evaluation information indicating a relationship between outputs of the existing model and the modified model with respect to evaluation data;
    A model processing device comprising:
  2.  前記修正取得手段は、前記第2の評価情報に対して入力された修正情報を取得し、
     前記修正後モデル取得手段は、前記第2の評価情報に対して入力された修正情報に基づいて修正された新たな修正後モデルを取得する請求項1に記載のモデル処理装置。
    The modification acquisition means acquires modification information input to the second evaluation information,
    2. The model processing device according to claim 1, wherein the modified model acquisition means acquires a new modified model that is modified based on modification information input to the second evaluation information.
  3.  前記第1の評価情報は、前記評価用データと、前記既存モデルの出力とを含み、
     前記第2の評価情報は、前記既存モデルの出力と、前記修正後モデルの出力とを含む請求項1に記載のモデル処理装置。
    The first evaluation information includes the evaluation data and the output of the existing model,
    The model processing device according to claim 1, wherein the second evaluation information includes an output of the existing model and an output of the modified model.
  4.  前記第1の評価情報は、前記訓練データと前記既存モデルの出力との差を示し、
     前記第2の評価情報は、前記既存モデルと前記修正後モデルの出力の差を示す請求項1に記載のモデル処理装置。
    The first evaluation information indicates a difference between the training data and the output of the existing model,
    The model processing device according to claim 1, wherein the second evaluation information indicates a difference in output between the existing model and the modified model.
  5.  前記モデルは、時系列の値を予測するモデルであり、
     前記第1の評価情報は、前記評価用データと、前記モデルの出力とを同時に示し、
     前記第2の評価情報は、前記既存モデルの出力と、前記修正後モデルの出力とを同時に示す請求項1に記載のモデル処理装置。
    The model is a model that predicts time series values,
    The first evaluation information simultaneously indicates the evaluation data and the output of the model,
    The model processing device according to claim 1, wherein the second evaluation information simultaneously indicates an output of the existing model and an output of the modified model.
  6.  前記モデルは、回帰モデルであり、
     前記第1の評価情報は、前記評価用データと、前記既存モデルの出力とを示し、
     前記第2の評価情報は、前記評価用データと、前記既存モデル及び前記修正後モデルの出力との誤差を示したグラフである請求項1に記載のモデル処理装置。
    The model is a regression model,
    The first evaluation information indicates the evaluation data and the output of the existing model,
    The model processing device according to claim 1, wherein the second evaluation information is a graph showing errors between the evaluation data and outputs of the existing model and the modified model.
  7.  前記モデルは、分類モデルであり、
     前記第1の評価情報は、前記既存モデルによる分類結果の誤分類率を示し、
     前記第2の評価情報は、前記修正後モデルによる分類結果の誤分類度、又は、前記既存モデルの分類スコアと前記修正後モデルの分類スコアとの差を示す請求項1に記載のモデル処理装置。
    The model is a classification model,
    The first evaluation information indicates a misclassification rate of the classification result by the existing model,
    The model processing device according to claim 1, wherein the second evaluation information indicates a degree of misclassification of the classification result by the modified model or a difference between the classification score of the existing model and the classification score of the modified model. .
  8.  前記修正情報は、前記既存モデルの出力における課題箇所及び課題度の指定を含む請求項1乃至7のいずれか一項に記載のモデル処理装置。 The model processing device according to any one of claims 1 to 7, wherein the modification information includes designation of a problem location and a problem level in the output of the existing model.
  9.  前記修正情報は、前記評価用データに対して前記モデルが与える重みの調整箇所及び調整量の指定を含む請求項8に記載のモデル処理装置。 9. The model processing device according to claim 8, wherein the modification information includes designation of adjustment points and adjustment amounts of weights given by the model to the evaluation data.
  10.  前記課題度に基づいて、前記評価用データに対して前記モデルが与える重みの調整量を計算する計算手段を備える請求項8又は9に記載のモデル処理装置。 The model processing device according to claim 8 or 9, further comprising calculation means for calculating an adjustment amount of weight given by the model to the evaluation data based on the task level.
  11.  既存モデルを取得し、
     評価用データと、評価用データに対する前記既存モデルの出力との関係を示す第1の評価情報を出力し、
     前記第1の評価情報に対して入力された修正情報を取得し、
     前記第1の評価情報に対して入力された修正情報に基づいて修正された修正後モデルを取得し、
     評価用データに対する前記既存モデル及び前記修正後モデルの出力の関係を示す第2の評価情報を出力するモデル処理方法。
    Get an existing model,
    outputting first evaluation information indicating a relationship between the evaluation data and the output of the existing model with respect to the evaluation data;
    Obtaining correction information input for the first evaluation information,
    obtaining a modified model that is modified based on modification information input to the first evaluation information;
    A model processing method that outputs second evaluation information indicating a relationship between outputs of the existing model and the modified model with respect to evaluation data.
  12.  既存モデルを取得し、
     評価用データと、評価用データに対する前記既存モデルの出力との関係を示す第1の評価情報を出力し、
     前記第1の評価情報に対して入力された修正情報を取得し、
     前記第1の評価情報に対して入力された修正情報に基づいて修正された修正後モデルを取得し、
     評価用データに対する前記既存モデル及び前記修正後モデルの出力の関係を示す第2の評価情報を出力する処理をコンピュータに実行させるプログラムを記録した記録媒体。
    Get an existing model,
    outputting first evaluation information indicating a relationship between the evaluation data and the output of the existing model with respect to the evaluation data;
    Obtaining correction information input for the first evaluation information,
    obtaining a modified model that is modified based on modification information input to the first evaluation information;
    A recording medium storing a program that causes a computer to execute a process of outputting second evaluation information indicating a relationship between outputs of the existing model and the modified model with respect to evaluation data.
PCT/JP2022/014228 2022-03-25 2022-03-25 Model processing device, model processing method, and recording medium WO2023181320A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2022/014228 WO2023181320A1 (en) 2022-03-25 2022-03-25 Model processing device, model processing method, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2022/014228 WO2023181320A1 (en) 2022-03-25 2022-03-25 Model processing device, model processing method, and recording medium

Publications (1)

Publication Number Publication Date
WO2023181320A1 true WO2023181320A1 (en) 2023-09-28

Family

ID=88100830

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/014228 WO2023181320A1 (en) 2022-03-25 2022-03-25 Model processing device, model processing method, and recording medium

Country Status (1)

Country Link
WO (1) WO2023181320A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019016279A (en) * 2017-07-10 2019-01-31 株式会社三菱総合研究所 Information processing device and information processing method
JP2019215831A (en) * 2018-06-14 2019-12-19 株式会社日立物流 Prediction system and prediction method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019016279A (en) * 2017-07-10 2019-01-31 株式会社三菱総合研究所 Information processing device and information processing method
JP2019215831A (en) * 2018-06-14 2019-12-19 株式会社日立物流 Prediction system and prediction method

Similar Documents

Publication Publication Date Title
Cinelli et al. Recommending multiple criteria decision analysis methods with a new taxonomy-based decision support system
Srivastava et al. Intelligent employee retention system for attrition rate analysis and churn prediction: An ensemble machine learning and multi-criteria decision-making approach
US20150088606A1 (en) Computer Implemented Tool and Method for Automating the Forecasting Process
Ghaderi et al. A linear programming approach for learning non-monotonic additive value functions in multiple criteria decision aiding
Zheng et al. Learning criteria weights of an optimistic Electre Tri sorting rule
Otković et al. Calibration of microsimulation traffic model using neural network approach
Mas et al. Modelling Land use/cover changes: a comparison of conceptual approaches and softwares
JP6985833B2 (en) Data processing equipment, control systems, data processing methods and programs
García-Esteban et al. A digitalization strategy for quality control in food industry based on Artificial Intelligence techniques
KR20200047006A (en) Method and system for constructing meta model based on machine learning
KR102054500B1 (en) Method for providing design drawing
Ahn Multiattribute decision aid with extended ISMAUT
Packianather et al. Development of soft computing tools and IoT for improving the performance assessment of analysers in a clinical laboratory
WO2023181320A1 (en) Model processing device, model processing method, and recording medium
EP2851851A1 (en) A computer implemented tool and method for automating the forecasting process
WO2023175921A1 (en) Model analysis device, model analysis method, and recording medium
JPH10124478A (en) Device for constructing segment generation type predicted model and method therefor
Hartley et al. Elicitation and calibration: A Bayesian perspective
WO2021079444A1 (en) Display method, display program, and information processing device
Gutiérrez et al. Benefits and trade-offs of different model representations in decision support systems for non-expert users
Nufer et al. Artificial intelligence in marketing analytics: the application of artificial neural networks for brand image measurement
Simonov et al. Customs Revenues Prediction Using Ensemble Methods (Statistical Modelling vs Machine Learning).
JP2022068690A (en) Decision-making supporting device
Satapathy Effort estimation methods in software development using machine learning algorithms
WO2023181245A1 (en) Model analysis device, model analysis method, and recording medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22933460

Country of ref document: EP

Kind code of ref document: A1