Method and computer system for evaluating models

The system enhances natural language processing models by evaluating model output and algorithm correctness to improve learning and test data, resulting in higher prediction accuracy.

JP7568592B2Active Publication Date: 2024-10-16HITACHI SOFTWARE ENG
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2021123995
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-07-29
Publication Date
2024-10-16
Estimated Expiration
2041-07-29

AI Technical Summary

Technical Problem

Conventional machine learning methods for natural language processing face challenges in improving prediction accuracy due to high costs in preparing training data and the lack of consideration for algorithm correctness and test data quality.

Method used

A computer system and method that evaluates model output and algorithm correctness by identifying important keywords and comparing them to human judgment, generating improvement guidelines for learning and test data to enhance prediction accuracy.

Benefits of technology

Supports the improvement of learning and test data by considering model output and algorithm correctness, leading to the generation of models with higher prediction accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007568592000001
    Figure 0007568592000001
  • Figure 0007568592000002
    Figure 0007568592000002
  • Figure 0007568592000003
    Figure 0007568592000003
Patent Text Reader

Abstract

To support improvement of learning data and test data in consideration of output of a model and correctness of an algorithm.SOLUTION: A computer system holds determination basis information which manages association between information on a model which outputs a classification label by executing a task using a document, classification labels, and a keyword of interest which is emphasized when a classification label is assigned by a person, inputs test data including an input document and a ground truth classification label to the model, specifies a basis keyword in the input document emphasized when the model outputs the classification label, determines whether output of the model is correct on the basis of the classification label and the ground truth classification label, determines whether a determination basis of the model is correct on the basis of the keyword of interest corresponding to the basis keyword and the classification label, and presents information as guidelines for improving learning data and test data to be used for relearning, on the basis of results of the determination on the correctness of the output of the model and the determination basis.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a technique for improving learning data used to generate a model for performing natural language processing. [Background technology]

[0002] In the field of natural language processing, AI (models) are being developed that analyze text data and perform semantic interpretation and classification, etc. Models are generated by machine learning.

[0003] In machine learning, calculations are performed using a large amount of training data. In conventional machine learning, there are problems in that the cost of preparing training data is high, and the prediction accuracy of the model does not necessarily improve even if the amount of training data is increased. In order to generate a model with high prediction accuracy, it is necessary to prepare high-quality training data that has a large effect of improving the prediction accuracy. In response to this, a technology described in Patent Document 1 is known.

[0004] Patent Document 1 discloses that "the present invention provides a learning data accuracy visualization system including a display unit 6 that performs a predetermined display, a node optimal placement calculation processing unit 2b that uses a dynamic model to calculate an optimal node placement for learning data that is the subject of natural language analysis, and a display control unit 2e that controls the visualization of the learning data based on the calculation results by the node optimal placement calculation processing unit 2b and displays the visualization on the display unit 6." [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2019-20946 A Summary of the Invention [Problem to be solved by the invention]

[0006] The technology described in Patent Document 1 visualizes the correlation between the input (question) to the model and the output (answer) from the model, thereby assisting the user in correcting the learning data.

[0007] In order to improve the prediction accuracy of a model that performs natural language processing, it is necessary to acquire an algorithm that processes natural language in the same way as humans think. Therefore, it is necessary to improve the training data by taking into consideration not only the output of the model but also the correctness of the algorithm. Here, improving the training data is a concept that includes the correction of the training data and the addition of training data.

[0008] In addition, the predictive accuracy of a model also depends on the quality of the test data used to evaluate the model, so improving test data is also important.

[0009] The prior art does not take into account the correctness of the algorithm, nor does it take into account the improvement of the test data.

[0010] The present invention aims to provide a system and method that assists in improving training and test data, taking into account the output of the model and the correctness of the algorithm. [Means for solving the problem]

[0011] A representative example of the invention disclosed in the present application is as follows: A method for evaluating a model executed by a computer system, which accepts a document as an input and outputs a classification label by executing a task using the document, the computer system includes at least one computer having a processor, a storage device connected to the processor, and an interface connected to the processor, and holds judgment basis information for managing the association between the classification label and a keyword of interest that is considered important when a person assigns the classification label, and the method for evaluating the model includes a first step in which the at least one computer inputs test data including an input document and a correct classification label to the model, and a second step in which the at least one computer determines whether the model is correct or not. The method includes a second step of identifying basis keywords in the input document that were considered important when outputting the classification label; a third step of the at least one computer judging the accuracy of the output of the model based on the classification label and the correct classification label; a fourth step of the at least one computer judging the accuracy of the model's judgment basis based on the basis keywords and the keyword of interest corresponding to the classification label; and a fifth step of the at least one computer presenting an evaluation result including information serving as a guideline for improving the training data and test data used for re-learning the model, based on the output of the model and the judgment result of the accuracy of the model's judgment basis. Effect of the Invention

[0012] According to the present invention, improvement of training data and test data can be supported by presenting improvement guidelines for training data and test data that take into account the correctness of the model output and the judgment basis. A user can generate a model with high prediction accuracy by improving at least one of the training data and the test data based on the improvement guidelines. [Brief description of the drawings]

[0013] [Figure 1] FIG. 1 illustrates an example of a system configuration according to a first embodiment. [Diagram 2]FIG. 2 is a diagram illustrating an example of a hardware configuration of a computer that configures the computer system of the first embodiment. [Figure 3A] FIG. 2 is a diagram illustrating an example of a data structure of learning data according to the first embodiment. [Figure 3B] FIG. 13 is a diagram illustrating an example of a data structure of test data in the first embodiment. [Figure 4A] FIG. 2 is a diagram showing an example of a data structure of information for managing a learning data set in the first embodiment. [Figure 4B] FIG. 2 is a diagram showing an example of a data structure of information for managing a test data set in the first embodiment. [Diagram 5] FIG. 11 is a diagram illustrating an example of a data structure of data stored in determination basis information according to the first embodiment. [Figure 6A] 13 is a diagram illustrating an example of a data structure of data stored in model management information according to the first embodiment. FIG. [Figure 6B] 13 is a diagram illustrating an example of a data structure of data stored in model management information according to the first embodiment. FIG. [Figure 6C] 13 is a diagram illustrating an example of a data structure of data stored in model management information according to the first embodiment. FIG. [Figure 7] FIG. 2 is a sequence diagram illustrating a process flow of the system according to the first embodiment. [Figure 8] 1 is a flowchart illustrating a learning / evaluation process executed by the computer system of the first embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] Hereinafter, examples of the present invention will be described with reference to the drawings. However, the present invention should not be interpreted as being limited to the description of the embodiments shown below. It will be easily understood by those skilled in the art that the specific configuration can be changed without departing from the concept or purpose of the present invention.

[0015] In the configurations of the invention described below, the same or similar configurations or functions are given the same reference numerals, and duplicated explanations are omitted. EXAMPLES

[0016] Fig. 1 is a diagram illustrating an example of a system configuration of a first embodiment. Fig. 2 is a diagram illustrating an example of a hardware configuration of a computer constituting a computer system of a first embodiment. Fig. 3A is a diagram illustrating an example of a data structure of training data of a first embodiment. Fig. 3B is a diagram illustrating an example of a data structure of test data of a first embodiment.

[0017] The system is composed of a computer system 100 and a terminal 101. The computer system 100 and the terminal 101 are connected to each other directly or via a network (not shown). The network is, for example, a wide area network (WAN) or a local area network (LAN), and the connection method may be either wired or wireless.

[0018] The terminal 101 is a terminal operated by a user who uses the computer system 100. The terminal 101 includes a processor, a memory, and a network interface, which are not shown.

[0019] The computer system 100 analyzes text data such as inquiries and reports, and executes one of the tasks of classifying the text data and judging the inclusion of two pieces of text data based on the analysis results, and outputs a classification label. In classifying the text data, for example, a business field to which the text content is related is identified, and a classification label indicating the identified field is assigned to the text data. In judging the inclusion of the text data, for example, the similarity between two texts is judged, and a classification label indicating either similarity or dissimilarity is assigned to the text data.

[0020] The computer system 100 is configured from a computer 200 as shown in Fig. 2. The computer system 100 may also include a storage system, a network switch, and the like.

[0021] The computer 200 includes a processor 201 , a main memory device 202 , a secondary memory device 203 , and a network interface 204 .

[0022] The processor 201 executes a program stored in the main storage device 202. The processor 201 executes processing according to the program, thereby operating as a functional unit (module) that realizes a specific function. In the following description, when a process is described with the functional unit as the subject, it indicates that the processor 201 is executing a program that realizes the functional unit. The main storage device 202 is a memory or the like, and stores the program executed by the processor 201 and data used by the program. The main storage device 202 is also used as a work area. The secondary storage device 203 is a hard disk drive (HDD) or a solid state drive (SSD), etc., and stores data permanently. The program and data stored in the main storage device 202 may be stored in the secondary storage device 203. In this case, the processor 201 reads the program and data from the secondary storage device 203 and loads them into the main storage device 202. The network interface 204 communicates with other devices via a network.

[0023] The computer 200 may have an IO interface for connecting to input devices such as a keyboard, a mouse, and a touch panel, as well as output devices such as a display and a printer.

[0024] The computer system 100 has a learning unit 110, a prediction unit 111, an API 112, and a data storage unit 113 as functional units.

[0025] The API 112 provides the terminal 101 with an interface for utilizing various functions of the computer system 100. The terminal 101 registers and updates a data set, executes learning processing, and the like, via the API 112. In this embodiment, a user inputs judgment basis information 120 using the terminal 101. The judgment basis information 120 is information on keywords that are the judgment basis for a model in a task. Details of the judgment basis information 120 will be described with reference to FIG. 5.

[0026] The data storage unit 113 stores and manages one or more training data sets 130 and one or more test data sets 140.

[0027] The learning data set 130 is composed of one or more pieces of learning data 131. The learning data 131 is data used in a learning process for generating a model, and includes a data ID 301, text data 302, and a classification label 303, as shown in Fig. 3A. The learning data 131 may include fields other than those described above.

[0028] Data ID 301 is a field for storing identification information of learning data 131. Text data 302 is a field for storing text data to be input to a model. When the task is classification, one piece of text data is stored in text data 302, and when the task is content judgment, two pieces of text data are stored in text data 302. Classification label 303 is a field for storing the correct answer value of the classification label output by executing a task on text data. In the classification of text data, the classification label 303 stores the business field, etc., and in the content judgment of text data, the classification label 303 stores similarity, dissimilarity, etc.

[0029] The test data set 140 is composed of one or more test data 141. The test data 141 is data used to evaluate the prediction accuracy of the model, and includes a data ID 311, text data 312, and a classification label 313, as shown in Fig. 3B. Note that the test data 141 may include fields other than those described above.

[0030] Data ID 311 is a field that stores identification information of test data 141. Text data 312 is a field that stores text data to be input to a model. When the task is classification, one piece of text data is stored in text data 312, and when the task is content judgment, two pieces of text data are stored in text data 312. Classification label 313 is a field that stores the correct answer value of the classification label that is output by executing a task on text data. In the classification of text data, the classification label 303 stores the business field, etc., and in the content judgment of text data, the classification label 303 stores similarity, dissimilarity, etc.

[0031] Note that a portion of the training data 131 may be selected from the training data set 130 to generate the test data set 140.

[0032] In the following description, when there is no need to distinguish between the learning dataset 130 and the test dataset 140, they will be referred to as datasets.

[0033] The learning unit 110 executes a learning process to generate a model for performing a task. The learning unit 110 also executes an evaluation process of the model. The learning unit 110 stores the results of the learning process and the evaluation process in model management information 121. Details of the model management information 121 will be described with reference to Figs. 6A, 6B, and 6C.

[0034] The prediction unit 111 uses model information stored in the model management information 121 to execute a task on the input text data.

[0035] Incidentally, with regard to each functional unit of the computer system 100, multiple functional units may be integrated into one functional unit, or one functional unit may be divided into multiple functional units for each function.

[0036] Fig. 4A is a diagram showing an example of a data structure of information for managing the learning dataset 130 of the first embodiment. Fig. 4B is a diagram showing an example of a data structure of information for managing the test dataset 140 of the first embodiment.

[0037] The data storage unit 113 manages the training dataset 130 using the dataset management data 400 shown in Fig. 4A, and manages the test dataset 140 using the dataset management data 410 shown in Fig. 4B. One dataset management data 400 exists for one training dataset 130, and one dataset management data 410 exists for one test dataset 140.

[0038] The dataset management data 400 includes a learning dataset name 401, a task 402, and a list 403. Note that the dataset management data 400 may include fields other than those described above.

[0039] The learning dataset name 401 is a field that stores a name that is identification information of the learning dataset 130. The task 402 is a field that stores the type of task executed by a model generated using the learning dataset 130. The list 403 is a field that stores a list of identification information of the learning data 131 that constitutes the learning dataset 130. Note that instead of a list of identification information, the learning data 131 itself may be stored.

[0040] The data set management data 410 includes a test data set name 411, a task 412, and a list 413. Note that the data set management data 410 may include fields other than those described above.

[0041] The test dataset name 411 is a field that stores a name that is identification information of the test dataset 140. The task 412 is a field that stores the type of task executed by the model to be evaluated. The list 413 is a field that stores a list of identification information of the test data 141 that constitutes the test dataset 140. Note that the test data 141 itself may be stored instead of the list of identification information.

[0042] FIG. 5 is a diagram illustrating an example of a data structure of data stored in the determination basis information 120 according to the first embodiment.

[0043] The determination basis information 120 includes one or more determination basis data 500. One determination basis data 500 exists for one classification label. The determination basis data 500 includes a classification label 501 and a keyword 502.

[0044] A classification label 501 is a field for storing a classification label. A keyword 502 is a field for storing a keyword that a user considers important when assigning a classification label. In other words, data indicating the basis for a person's judgment is stored.

[0045] 6A, 6B, and 6C are diagrams illustrating an example of a data structure of data stored in the model management information 121 according to the first embodiment.

[0046] The model management information 121 includes one or more model data 600. One model data 600 exists for one model. The model data 600 includes a model name 601, a task 602, model parameters 603, learning parameters 604, a learning dataset name 605, a test dataset name 606, a status 607, a valid flag 608, an accuracy evaluation index 609, and an evaluation result 610. Note that the model data 600 may include fields other than those described above.

[0047] The model name 601 is a field for storing the name, which is identification information of the model.

[0048] Task 602 is a field that stores the type of task that the model executes.

[0049] The model parameters 603 store parameters that define a model. At the start of the learning process, the parameters of an initial model are stored in the model parameters 603. For example, in the case of BERT (Bidirectional Encoder Representations from Transformers), the model parameters 603 store parameters of a model generated by pre-learning.

[0050] The learning parameters 604 is a field for storing hyperparameters for controlling the learning process.

[0051] The learning dataset name 605 is a field that stores the name of the learning dataset 130 used in the learning process. Note that the learning dataset name 605 may store the number of learning data 131 acquired from the learning dataset 130.

[0052] The test dataset name 606 is a field for storing the name of the test dataset 140 used in the evaluation process. Note that the test dataset name 606 may store the number of test data 141 acquired from the test dataset 140.

[0053] The status 607 is a field for storing a value indicating the execution status of the learning process. For example, the status 607 stores "before learning," "learning," "learning completed," and the like.

[0054] The valid flag 608 stores a flag indicating whether or not the model is valid as a model to be used by the prediction unit 111. For example, the valid flag 608 stores True indicating that the model is valid, False indicating that the model is invalid, and the like.

[0055] The accuracy evaluation index 609 is a field that stores the value of an index for evaluating the prediction accuracy of the model. For example, the accuracy evaluation index 609 stores the accuracy rate, the recall rate, the precision rate, the F-score, and the like.

[0056] The evaluation result 610 is a field that stores the result of the evaluation process. Evaluation result data 650 as shown in Fig. 6B is stored in the evaluation result 610. One evaluation result data 650 exists for one test data 141.

[0057] The evaluation result data 650 includes a data ID 651, a classification label 652, a confidence level 653, a classification label correct / incorrect 654, a model judgment basis 655, and a judgment basis correct / incorrect 656. The evaluation result data 650 may include fields other than those described above.

[0058] Data ID 651 is the same field as data ID 311.

[0059] The classification label 652 is a field for storing the classification label obtained by inputting the test data 141 into the model.

[0060] The confidence 653 is a field that stores the confidence (probability) of the classification label output by the model.

[0061] The classification label true / false 654 is a field that stores a value indicating whether or not the value of the classification label 313 of the test data 141 matches the value of the classification label 652. For example, the classification label true / false 654 stores True, which indicates that the two values ​​match, and False, which indicates that the two values ​​do not match.

[0062] The model judgment basis 655 is a group of fields that stores information about keywords that the model considers important when outputting a classification label. That is, data indicating the judgment basis of the model is stored. The model judgment basis 655 includes a token list 661 and an attention list 662. As shown in FIG. 6C, the token list 661 stores a list of character strings such as words extracted from text data. The attention list 662 stores a list of the importance of character strings stored in the token list 661. The importance of a character string is a value calculated using a known technique such as an attention mechanism and SHAP (SHapley Additive exPlanations).

[0063] The judgment basis correctness 656 is a field that stores a value indicating whether the judgment basis of the user and the judgment basis of the model match. For example, the classification label correctness 654 stores True, which indicates that the judgment basis of the user and the model match, and False, which indicates that the judgment basis of the user and the model do not match.

[0064] FIG. 7 is a sequence diagram illustrating a process flow of the system according to the first embodiment.

[0065] In the system of the first embodiment, there are three processing phases: registration of a dataset, generation and evaluation of a model, and updating of the learning dataset 130.

[0066] A user operates the terminal 101 to transmit a dataset registration request for setting at least one of the learning dataset 130 and the test dataset 140 to the computer system 100 (step S101). The dataset registration request includes the name of the dataset, the type of task, data to be included in the dataset, and the like.

[0067] When the data storage unit 113 receives a data set registration request via the API 112, it registers the data set in a storage area (step S102) and transmits a completion notification to the terminal 101 (step S103). At this time, the data storage unit 113 generates at least one of the data set management data 400 and the data set management data 410 corresponding to the data set.

[0068] The user operates the terminal 101 to transmit a learning execution request to the computer system 100 (step S111). The learning execution request includes the name of the model, the name of the learning dataset 130, the name of the test dataset 140, the learning parameters, and the judgment basis information 120.

[0069] When the learning unit 110 receives a learning execution request via the API 112, the learning unit 110 executes a learning / evaluation process (step S112). Details of the learning / evaluation process will be described with reference to FIG.

[0070] When the learning / evaluation process is completed, the learning unit 110 transmits a completion notification to the terminal 101 via the API 112 (step S113).

[0071] The user operates the terminal 101 to transmit an acquisition request for acquiring the evaluation result to the computer system 100 (step S114).

[0072] When the learning unit 110 receives the acquisition request via the API 112, it generates evaluation information and transmits the evaluation information to the terminal 101 (step S115). The evaluation information includes, for example, the value of the accuracy evaluation index and evaluation result data 650. Note that the evaluation information may include only the evaluation result data 650 in which the classification label true / false 654 is false.

[0073] The user refers to the evaluation information and determines how to update the dataset. For example, if there are errors in both the classification label and the judgment basis of the model, the user determines that the model cannot correctly recognize the character string specified as the judgment basis, and adds learning data 131 related to the character string. On the other hand, if the judgment basis is correct but the classification label of the model is incorrect, the user determines that there is an error in the test data 141, and corrects the test data 141.

[0074] The learning unit 110 may perform the above-mentioned determination and include the determination result in the evaluation information.

[0075] After determining the method for updating the dataset, the user operates the terminal 101 to transmit a dataset update request including the update contents of the dataset to the computer system 100 (step S121).

[0076] When the data storage unit 113 receives a data set update request via the API 112, it updates the data set to be updated (step S122) and transmits a completion notification to the terminal 101 (step S123). At this time, the data storage unit 113 updates at least one of the data set management data 400 and the data set management data 410 corresponding to the data set.

[0077] After updating the data set, the user operates the terminal 101 to transmit a learning execution request to the computer system 100 (step S111).

[0078] FIG. 8 is a flowchart illustrating the learning / evaluation process executed by the computer system 100 of the first embodiment.

[0079] The learning unit 110 generates the model data 600 and stores the determination basis information 120 in a work area (step S201).

[0080] Specifically, based on the information included in the learning execution request, the learning unit 110 sets values ​​for each of the model name 601, task 602, learning parameters 604, learning dataset name 605, and test dataset name 606 of the model data 600. In addition, the learning unit 110 sets the status 607 of the model data 600 to “before learning”.

[0081] Next, the learning unit 110 acquires the learning data 131 from the learning data set 130 specified by the user (step S202). Note that all of the learning data 131 in the learning data set 130 may be acquired, or a predetermined number of the learning data 131 may be acquired.

[0082] Next, the learning unit 110 executes a learning process for generating a model using the learning data 131, the learning parameters, etc. (step S203). The learning process is a known technique, and therefore a detailed description thereof will be omitted. Note that the present invention is not limited to the type of model to be learned and the learning method.

[0083] At the start of the learning process, the learning unit 110 updates the status 607 of the model data 600 to “learning”, and sets information about the model generated in pre-learning in the model parameters 603. When the learning process ends, the learning unit 110 updates the status 607 of the model data 600 to “learning completed”, and sets the parameters of the generated model in the model parameters 603.

[0084] Next, the learning unit 110 acquires test data 141 from the test data set 140 specified by the user (step S204). Note that all test data 141 in the test data set 140 may be acquired, or a predetermined number of test data 141 may be acquired.

[0085] Next, the learning unit 110 starts the evaluation process using the acquired test data 141 (step S205). The learning unit 110 selects one piece of test data 141 from the acquired test data 141.

[0086] Next, the learning unit 110 inputs the test data to the model generated by the learning process and obtains an output from the model (step S206). The output obtained from the model includes a classification label, a confidence level, and model judgment grounds data (a token list and an attention list).

[0087] Next, the learning unit 110 identifies keywords that the model considers important based on the model judgment grounds data (step S207). For example, a keyword with the highest attention value or a keyword with an attention value larger than a threshold value is identified.

[0088] Next, the learning unit 110 judges whether the classification label and the judgment basis are correct or incorrect (step S208). Specifically, the following process is executed.

[0089] (S208-1) The learning unit 110 compares the value of the classification label 313 of the test data 141 with the classification label output by the model to determine whether the classification label is correct. In other words, the correctness of the model output is evaluated.

[0090] (S208-2) The learning unit 110 refers to the determination basis information 120 and searches for determination basis data 500 whose classification label 501 matches the classification label 313 of the test data 141. The learning unit 110 compares the identified keywords with the keywords set in the keywords 502 of the searched determination basis data 500 to determine whether the determination basis is correct or not. In other words, the correctness of the model algorithm is evaluated.

[0091] For example, if the identified keyword completely matches the keyword set in keyword 502, or if the identified keyword is included in the keywords set in keyword 502, the learning unit 110 determines that the human judgment basis and the model judgment basis match.

[0092] This concludes the description of the process in step S208.

[0093] Next, the learning unit 110 generates evaluation result data 650 (step S209).

[0094] Specifically, the learning unit 110 generates evaluation result data 650 in which identification information of the test data 141 is set in a data ID 651. The learning unit 110 also stores the evaluation result data 650 in the evaluation result 610 of the model data 600.

[0095] Next, the learning unit 110 determines whether or not the processing has been completed for all of the acquired test data 141 (step S210).

[0096] If the processing has not been completed for all of the acquired test data 141, the learning unit 110 returns to step S205 and executes the same processing.

[0097] When the processing is completed for all the acquired test data 141, the learning unit 110 calculates an accuracy evaluation index (step S211). At this time, the learning unit 110 sets the calculated accuracy evaluation index to the accuracy evaluation index 609 of the model data 600.

[0098] Next, the learning unit 110 determines whether or not the termination condition is satisfied (step S212). For example, if the accuracy evaluation index is greater than a threshold value, or if the number of times the learning process has been executed is greater than a threshold value, the learning unit 110 determines that the termination condition is satisfied.

[0099] If it is determined that the end condition is not satisfied, the learning unit 110 returns to step S202 and executes the same processing. At this time, the learning unit 110 initializes the accuracy evaluation index 609 and the evaluation result 610 of the model data 600.

[0100] If it is determined that the end condition is satisfied, the learning unit 110 ends the learning / evaluation process.

[0101] According to the present invention, the computer system 100 can evaluate the correctness of the model's algorithm by comparing the human judgment basis with the model's judgment basis, and present the result to the user. The user can improve the training data and test data by taking into account the model's output and the correctness of the algorithm. This makes it possible to generate a model with high prediction accuracy.

[0102] The present invention is not limited to the above-mentioned embodiment, but includes various modified examples. For example, the above-mentioned embodiment describes the configuration in detail in order to easily explain the present invention, and the present invention is not necessarily limited to the configuration including all the described configurations. Also, it is possible to add, delete, or replace a part of the configuration of the embodiment with another configuration. [Explanation of symbols]

[0103] 100 Computer Systems 101 Terminal 110 Learning Department 111 Prediction Department 112 API 113 Data storage unit 120 Basis information for decision 121 Model Management Information 130 Training Data Set 131 Training Data 140 test dataset 141 Test Data 200 calculator 201 Processor 202 Main storage 203 Secondary storage device 204 Network Interface 400, 410 Data set management data 500 Judgment Basis Data 600 Model Data 650 Evaluation result data

Claims

1. A method for evaluating a model, executed by a computer system, which receives a document as an input, executes a task using the document, and outputs a classification label, comprising: The computer system comprises: at least one computer having a processor, a storage device coupled to the processor, and an interface coupled to the processor; retaining judgment basis information for managing the association between the classification label and a keyword of interest that is considered important when a person assigns the classification label; The method for evaluating the model includes: A first step in which the at least one computer inputs test data including input documents and ground truth classification labels to the model; A second step in which the at least one computer identifies basis keywords in the input document that the model considered important when outputting the classification label; A third step in which the at least one computer determines whether an output of the model is correct or incorrect based on the classification label and the correct classification label; a fourth step in which the at least one computer judges whether the judgment basis of the model is correct or not based on the basis keyword and the target keyword corresponding to the classification label; A fifth step in which the at least one computer presents an evaluation result including information serving as an improvement guideline for the training data and the test data used for re-learning the model based on the output of the model and the result of determining whether the decision basis of the model is correct or incorrect; A method for evaluating a model, comprising:

2. A method for evaluating a model according to claim 1, comprising the steps of: The fifth step is a method for evaluating a model, characterized in that it includes a step in which the at least one computer presents the evaluation result including information indicating the classification label to be improved based on the judgment results of the correctness of the output of the model and the correctness of the judgment basis of the model.

3. A method for evaluating a model according to claim 1, comprising the steps of: The second step includes: The at least one computer obtains an index representing the importance of a keyword included in the input document in the natural language processing of the model; and identifying, by the at least one computer, the basis keywords from among the keywords included in the input document based on the index.

4. A method for evaluating a model according to claim 1, comprising the steps of: A method for evaluating a model, comprising a step of: providing an interface for inputting the decision basis information, by said at least one computer.

5. 1. A computer system comprising: at least one computer having a processor, a storage device coupled to the processor, and an interface coupled to the processor; retaining information on a model that receives a document as an input and outputs a classification label by executing a task using the document, and judgment basis information that manages associations between the classification label and a keyword of interest that is considered important when a person assigns the classification label; The at least one computer inputting test data including input documents and correct classification labels into the model; Identifying basis keywords in the input document that the model considered important when outputting the classification label; determining whether an output of the model is correct or not based on the classification label and the correct classification label; determining whether the judgment basis of the model is correct or not based on the basis keyword and the target keyword corresponding to the classification label; A computer system characterized by presenting evaluation results including information that serves as a guideline for improving the training data and test data used for re-learning the model based on the output of the model and the judgment results of the correctness of the model's judgment basis.

6. 6. The computer system of claim 5, The at least one computer presents the evaluation result including information indicating the classification label to be improved based on the judgment results of the correctness of the output of the model and the correctness of the judgment basis of the model.

7. 6. The computer system of claim 5, The at least one computer In the natural language processing of the model, an index representing the importance of a keyword included in the input document is obtained; A computer system comprising: a computer that identifies the basis keyword from among the keywords included in the input document based on the index.

8. 6. The computer system of claim 5, A computer system, wherein the at least one computer provides an interface for inputting the decision basis information.

Citation Information

Patent Citations

  • Document classification system, document classification program, and document classification method

    JP2011170786A

  • Learning data accuracy visualization system, learning data accuracy visualization method, and program

    JP2019020946A

  • Information processing system, information processing method, and program

    JP2020154684A

  • Data analysis system, data analysis method, data analysis program, and recording medium

    WO2016157467A1

  • Learning device, learning method, and learning program

    WO2020044425A1