Program, method, information processing device, and system

The program and system evaluate learning model inference quality by clustering datasets based on metadata similarity, enabling comprehensive assessment and targeted improvements.

JP7539738B1Active Publication Date: 2024-08-26ADANSONS INC
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
JP2023196973
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2023-11-20
Publication Date
2024-08-26
Estimated Expiration
2043-11-20

AI Technical Summary

Technical Problem

The existing techniques fail to evaluate the inference quality of learning models for each part effectively, leading to incomplete assessment of their performance.

Method used

A program and system that evaluates the inference quality of learning models by storing models and associated datasets with metadata, performing data acquisition, clustering based on metadata similarity, and calculating inference quality for each group within the dataset.

Benefits of technology

Enables comprehensive evaluation of learning model quality for each part, identifying weak areas and allowing for targeted improvements through sub-model creation and combined model inference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007539738000001
    Figure 0007539738000001
Patent Text Reader

Abstract

There is a problem in that the inference quality of a learning model cannot be evaluated in parts. [Solution] A program to be executed on a computer having a processor and a memory unit, the program comprising: a model storage step in which the processor stores a learning model; a data acquisition step in which a dataset consisting of multiple data pieces, each of which is associated with metadata; and a model evaluation step in which, for each of multiple groups containing one or more data pieces, the dataset acquired in the data acquisition step is evaluated for the inference quality of a learning model for one or more data pieces included in the group.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a program, a method, an information processing device, and a system. [Background technology]

[0002] Techniques for verifying the reliability of artificial intelligence models and the like are known. Patent Document 1 discloses a technique for reducing the decrease in recognition accuracy even when there are a large number of objects. Patent Document 2 discloses a technology for providing an image analysis device or the like that recognizes an object based on a reference image from within an image to be analyzed, even when a plurality of feature points having identical or similar local features exist in the reference image. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2022-188727 A [Patent Document 2] JP 2012-190089 A Summary of the Invention [Problem to be solved by the invention]

[0004] There is a problem in that the inference quality of a learning model cannot be evaluated in parts. Therefore, the present disclosure has been made to solve the above problem, and its purpose is to provide a technology for evaluating the inference quality of a learning model on a part-by-part basis. [Means for solving the problem]

[0005] A program to be executed by a computer having a processor and a memory unit, the program comprising: a model storage step in which the processor stores a learning model; a data acquisition step in which a dataset consisting of a plurality of data, each of which is associated with metadata; and a model evaluation step in which, for each of a plurality of groups containing one or more data, the dataset acquired in the data acquisition step is evaluated for the inference quality of a learning model for one or more data included in the group. Effect of the Invention

[0006] According to the present disclosure, the inference quality of a learning model can be evaluated on a part-by-part basis. [Brief description of the drawings]

[0007] [Figure 1] FIG. 2 is a block diagram showing the functional configuration of the system 1. [Diagram 2] FIG. 2 is a block diagram showing the functional configuration of the server 10. [Diagram 3] 2 is a block diagram showing the functional configuration of a user terminal 20. FIG. [Figure 4] FIG. 13 is a diagram showing the data structure of a user table 1012. [Diagram 5] FIG. 13 is a diagram showing the data structure of a data table 1013. [Figure 6] FIG. 13 is a diagram showing the data structure of an evaluation table 1014. [Figure 7] FIG. 13 is a diagram showing the data structure of a model table 1021. [Figure 8] 13 is a diagram showing the data structure of a group table 1022. [Figure 9] FIG. 13 is a diagram showing the data structure of a sub-model table 1023. [Figure 10] 13 is a flowchart showing an operation of a quality evaluation process. [Figure 11] 13 is a flowchart showing the operation of a binding model inference process. [Figure 12]FIG. 2 is a block diagram showing a functional configuration of a combined model. [Figure 13] 11 is a first screen example showing the operation of the quality evaluation process. [Figure 14] 13 is a second example of a screen showing the operation of the quality evaluation process. [Figure 15] FIG. 2 is a block diagram showing the basic hardware configuration of a computer 90. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] Hereinafter, an embodiment of the present disclosure will be described with reference to the drawings. In all the drawings explaining the embodiment, the same reference numerals are given to common components, and repeated explanations are omitted. Note that the following embodiment does not unduly limit the contents of the present disclosure described in the claims. In addition, not all of the components shown in the embodiment are essential components of the present disclosure. In addition, each figure is a schematic diagram and is not necessarily illustrated strictly.

[0009] <System 1 Configuration> The system 1 in the present disclosure is an information processing system that evaluates the quality of a learning model. The learning model may include any artificial intelligence model, such as a machine learning, artificial intelligence, or deep learning model. The quality of the learning model includes any indicator of quality related to an artificial intelligence model, such as versatility, accuracy, robustness, speed and efficiency, reliability, etc. The system 1 includes an information processing device, a server 10, and a user terminal 20, which are connected via a network N. FIG. 1 is a block diagram showing the functional configuration of the system 1. FIG. 2 is a block diagram showing the functional configuration of the server 10. As shown in FIG. FIG. 3 is a block diagram showing the functional configuration of the user terminal 20. As shown in FIG. FIG. 12 is a block diagram showing the functional configuration of the combined model.

[0010] Each information processing device is configured by a computer equipped with a calculation device and a storage device. The basic hardware configuration of the computer and the basic functional configuration of the computer realized by the hardware configuration will be described later. For the server 10 and the user terminal 20, descriptions that overlap with the basic hardware configuration and basic functional configuration of the computer described later will be omitted. In the present disclosure, the user terminal 20 and the server 10 are configured as different devices as an example, but are not limited thereto. Specifically, the configuration of the user terminal 20 may include all of the configurations of the server 10. In this case, the user terminal 20 can execute the information processing according to the present disclosure by a single standalone configuration. In addition, the hardware configuration for realizing the information processing system may be realized by any system configuration within the scope in which the information processing according to the present disclosure can be executed.

[0011] <Server 10 Configuration> The server 10 is an information processing device that provides an information processing service for evaluating the quality of a learning model. The server 10 includes a storage unit 101 and a control unit 104 .

[0012] <Configuration of the storage unit 101 of the server 10> The storage unit 101 of the server 10 includes an application program 1011 , a user table 1012 , a data table 1013 , an evaluation table 1014 , a model table 1021 , a group table 1022 , and a sub-model table 1023 .

[0013] The application program 1011 is a program for causing the control unit 104 of the server 10 to function as each functional unit. Application programs 1011 include applications such as a web browser application.

[0014] User table 1012 is a table that stores and manages information about member users (hereinafter, users) who use the service. When a user registers to use the service, the user's information is stored in a new record in user table 1012. This allows the user to use the service according to the present disclosure. The user table 1012 is a table having columns of user ID and user name, with the user ID as the primary key. FIG. 4 is a diagram showing the data structure of the user table 1012. As shown in FIG.

[0015] The user ID is an item for storing user identification information for identifying a user. The user identification information is an item for which a unique value is set for each user. The user name is an item for storing the name of the user. The user name may be set to any character string such as a nickname instead of a name.

[0016] The data table 1013 is a table for storing and managing a data set (test data) used to evaluate the quality (versatility) of a learning model (main model). The data table 1013 may be configured to store any data set used for inputting the learning model, such as training data and validation data. The data table 1013 is a table having columns of data ID, user ID, data, and metadata, with the data ID as the primary key. FIG. 5 is a diagram showing the data structure of the data table 1013. As shown in FIG.

[0017] The data ID is an item for storing data identification information for identifying data. The data identification information is an item in which a unique value is set for each piece of data information. The user ID is an item for storing user identification information for identifying a user. The data includes any structured or unstructured data, such as image data, video data, text data, and audio data. In assessing the quality of an artificial intelligence model, such as an object detection model used in autonomous driving, the data includes the following information: Image data The image data may include still image data from an on-board camera, including road markings, other vehicles, pedestrians, obstacles, etc. In the present disclosure, the image data may also include video data. Video data The video data includes time-series video data output from an on-board camera or other sensors. The video data includes images of traffic conditions, such as the movements of other vehicles, pedestrians, and bicycles, intersections, pedestrian crossings, changes in traffic lights, and the appearance of roads with heavy traffic and roads with less traffic. The video data includes video of various weather conditions such as sunny, rainy, snowy, and foggy weather, as well as video of daytime, nighttime, and twilight, relating to the transcription conditions. The video data includes images of roads, such as highways, urban areas, country roads, mountain roads, and the like. The video data includes images of traffic signs, traffic signals, road markings, and the like relating to traffic rules. Text data Text data includes log data from vehicle sensors and data obtained from external sources (e.g., traffic information and weather forecasts). Audio data The voice data includes voice input from an in-vehicle microphone and information on surrounding sounds input from an outside-vehicle microphone. The metadata includes annotation information stored in association with the data, correct answer labels in object detection models, classification models, and the like. Image data and other data used in artificial intelligence models such as object detection models used in autonomous driving, etc., includes log data from vehicle sensors and any additional information obtained from external information sources when the data was created. Includes the following information: -Data measured by various sensors such as cameras, sunlight sensors, and acceleration sensors, in addition to the data input to the learning models such as the main model Log data such as event occurrence records and surrounding traffic conditions collected separately from the data input into the main model and other learning models -Data to be input into learning models such as the main model, such as information on the measurement date and time, location, situation, and events that occurred before and after, or information that supplements the environment in which learning models such as vehicles are operated Information describing the electronic attributes of data, such as file size Data that has been arbitrarily processed from one or more of the above data Any other information that is related or believed to be related to one or more of the above data In addition, the metadata in the present disclosure may include internal features output from an intermediate layer of a learning model such as a main model, output data output from a learning model such as a main model, input data input to a learning model such as a main model, data obtained by performing arbitrary processing on the input data, and other combinations of multiple metadata. The metadata in the present disclosure includes first metadata including internal features output from an intermediate layer of a learning model such as a main model, second metadata not including internal features output from an intermediate layer of a learning model such as a main model, third metadata which is output data output from a learning model such as a main model, fourth metadata which is input data input to a learning model such as a main model, fifth metadata which is data obtained by performing arbitrary processing on the input data, and any combination of one or more of the first metadata to the fifth metadata. Furthermore, the metadata in the present disclosure may include data quantitatively measuring the difference between the model prediction calculated during learning evaluation and the correct data, values ​​of evaluation function and loss function, values ​​indicating the pattern of errors (Example 1: mispredicting a dog as a cat, Example 2: mispredicting a cat as a dog), and values ​​quantifying the reliability of the prediction.

[0018] The internal feature amount includes, for example, the following information: In a Convolutional Neural Network (CNN) for classifying an input image, the output data of each layer from the input layer that receives the image to the fully connected layer that outputs input data to be input to an activation function used in the output layer (classification layer), such as a Softmax function, which uses the convolutional data as input data and outputs a class classification, is included in the internal features. In a CNN, the final class classification is performed based on the internal features output from the fully connected layer. The internal features include, in addition to the output data output from each layer of the network, information used or generated in the calculation process, such as weight parameters and gradients used in the calculations of each layer. For tasks other than classification, internal features include the output data that generates the final prediction for each task, as well as information used or generated during the computation process. For example, in object detection, these include the coordinate position of the object (bounding box) and the object class classification. In the present disclosure, when performance evaluation and quality evaluation of the main model are performed (including quality evaluation processing), one or more appropriate internal features may be selected from the above for each task. Specifically, the quality evaluation processing may include a step of selecting one or more internal features effective for quality evaluation from among multiple internal feature candidates (feature candidates) based on the evaluation result of the main model. For example, a first quality evaluation process is executed based on a combination of a plurality of internal features (first internal feature set, second internal feature set), and an evaluation result for the first internal feature set is compared with an evaluation result for the second internal feature set. If the evaluation result for the first internal feature set is superior to the evaluation result for the second internal feature set, the process may include a process of setting the internal features used in the second quality evaluation process as the first internal feature set.

[0019] The evaluation table 1014 is a table for storing and managing the evaluation results (evaluation information) of the main model for each data item. The evaluation table 1014 is a table having columns for a main model ID, a data ID, inference data, and error data. FIG. 6 is a diagram showing the data structure of the evaluation table 1014. As shown in FIG.

[0020] The main model ID is an item for storing main model identification information for identifying a main model. The data ID is an item for storing data identification information for identifying data. The inference data stores the output data output (inferred) from the main model when data (test data) identified by the data ID is applied as input data to the main model (learning model) identified by the main model ID. The error data is an item that stores information indicating the content, type, etc. of an error determined as a result of comparing the inference data with the metadata of the data specified by the data ID. Specifically, the error data includes the type of error (error code) and information indicating the content of the error (character string information indicating the content of the error) as follows: Label Error: This refers to a mislabeling in a dataset. A label error can negatively impact model learning because the training data is inaccurate. For example, if an image of a cat is labeled as a "dog," the model will learn this incorrect information. Label errors are often caused by human error during data collection and annotation, or by errors in the automated labeling process. EdgeCase: In classification tasks, the model makes mistakes between similar categories or categories with only minor differences, such as "passenger car" and "pickup truck." · False Positive (FP): Indicates a case where a class is incorrectly predicted but is not actually that class. False Negative (FN): Indicates a case where a class should be predicted but is not. Overfitting: A model is overfitted to the training data and does not generalize well to new, unseen data. ·Bias: Indicates when a prediction is biased towards a particular class or feature. Variance: Indicates when there is a large variance in predictions across different datasets or environments.

[0021] The model table 1021 is a table for storing and managing a main model to be evaluated for quality. In the present disclosure, an example in which the learning model is permanently stored in the model table 1021 is taken as an example, but is not limited thereto. For example, the learning model may be stored in a volatile storage medium that can be read and written at high speed in a memory (such as a RAM) included in the server 10. Specifically, the learning model received from outside the server 10 may be temporarily deployed in the volatile storage medium and processed when the quality evaluation process and the combined model inference process according to the present disclosure are executed. In this case, information processing can be executed at high speed even for a large-scale learning model. The model table 1021 is a table having a main model ID as a primary key, and columns of a main model ID, a user ID, a main model, and model quality. FIG. 7 is a diagram showing the data structure of the model table 1021. As shown in FIG.

[0022] The main model ID is an item for storing main model identification information for identifying a main model. The main model identification information is an item for which a unique value is set for each main model. The user ID is an item for storing user identification information for identifying a user. The main model is an item that stores data of a learning model related to the main model whose quality is to be evaluated. A learning model is an inference model that outputs (infers) output data in response to input data. The input data may include information relating to image data, video data, text data, audio data, etc. The output data may include information relating to metadata. The learning process of the learning model will be described later. The learning model may be a type of machine learning, artificial intelligence, deep learning model, etc. The learning model does not have to be a single learning model, but may be realized by switching between multiple independent learning models. As an example of the learning model, a deep learning model using a deep neural network in deep learning will be described. The learning model does not necessarily have to be a deep learning model, and may be any machine learning or artificial intelligence model. The model quality is an item for storing information indicating the evaluation result of the quality of the main model. Specifically, model quality is an item that stores an index indicating how appropriately a learning model related to the main model was able to make inference on a data set related to the data. In this disclosure, model quality includes coverage, which is the number of datasets that could be properly inferred (no errors occurred) out of the number of data datasets. The model quality includes evaluation indicators of inference quality such as accuracy rate, precision rate, recall rate, F1 score, mean absolute error, and mean squared error.

[0023] The group table 1022 is a table for storing and managing information relating to groups (group information). The group table 1022 is a table having a group ID as a primary key, and columns of a group ID, a main model ID, data IDs, the number of data, metadata, error data, and group quality. FIG. 8 is a diagram showing the data structure of the group table 1022. As shown in FIG.

[0024] The group ID is an item for storing group identification information for identifying a group. The group identification information is an item in which a unique value is set for each piece of group information. The main model ID is an item for storing main model identification information for identifying a main model. The data IDs is an item for storing data identification information of data belonging to a group. In the data IDs, one or more pieces of data identification information are stored. The number of data items is an item for storing the number of data items belonging to a group. Metadata is an item that stores metadata that represents (characterizes) a group. The metadata does not necessarily have to be stored in association with the group. In the present disclosure, it is sufficient that at least one of the metadata and the error data is stored in association with each group. The error data is an item that stores information indicating the content and type of an error that represents (characterizes) a group. The group quality is an item that stores information indicating the evaluation result of the inference quality of the main model for the data belonging to the group. The group quality includes information that comprehensively understands the execution result of the model, its importance, and its effect. Specifically, the group quality includes the following information: Indicators for evaluating inference quality, such as accuracy rate, precision rate, recall rate, F1 score, mean absolute error, and mean squared error. counts_total: Shows the total number of data items belonging to the group. This allows you to understand the scale of the data to be evaluated. model_effect_score: Indicates the impact of a particular piece of data on the model output. Specifically, it is expressed as the sum of the loss functions for each data in the group, and is an indicator of how much of a negative impact it has on the main model. Instead of a loss function, any indicator that quantifies the quality of data prediction or the degree of negative impact on operation may be used. priority_score: A weighted index based on other metrics such as the ease of improvement and the necessity / urgency of improvement for model_effect_score. For example, if certain data is very easy to improve, the priority_score is the score weighted based on a given priority for model_effect_score.

[0025] The sub-model table 1023 is a table for storing and managing sub-models. The sub-model table 1023 is a table having a sub-model ID as a primary key, and columns of a sub-model ID, a main model ID, a sub-model, and an application condition. FIG. 9 is a diagram showing the data structure of the sub-model table 1023.

[0026] The sub-model ID is an item for storing sub-model identification information for identifying a sub-model. The sub-model identification information is an item for which a unique value is set for each piece of sub-model information. The main model ID is an item for storing main model identification information for identifying a main model. The sub-model is an item that stores data of a learning model related to the sub-model. The application condition is an item that specifies the range of application conditions of input data to which a sub-model is applied instead of a main model. Specifically, the application condition stores information indicating the range of metadata of the input data. The application condition may also include one or more group IDs (group IDs) that identify a group to which the sub-model is applied. For example, based on the group IDs, data IDs are identified by referring to the group ID item in the group table 1022. Based on the identified data IDs, metadata is identified by referring to the data ID item in the data table 1013. Based on the metadata, the range of application conditions for input data to which the sub-model is applied instead of the main model may be specified.

[0027] <Configuration of the control unit 104 of the server 10> The control unit 104 of the server 10 includes a user registration control unit 1041. The control unit 104 executes an application program 1011 stored in the storage unit 101, thereby realizing each functional unit.

[0028] The user registration control unit 1041 performs processing to store, in the user table 1012, information on users who wish to use the service according to the present disclosure. The information stored in the user table 1012 is generated when a user opens a web page operated by a service provider from any information processing terminal, enters information into a specific input form, and transmits the information to the server 10. The user registration control unit 1041 stores the received information in a new record in the user table 1012, completing the user registration. This allows the user stored in the user table 1012 to use the service. Before the user registration control unit 1041 registers user information in the user table 1012, the service provider may carry out a predetermined examination to restrict whether or not the user is permitted to use the service. The user ID may be any character string or number that can identify the user, any character string or number desired by the user, or an arbitrary character string or number may be automatically set by the user registration control unit 1041.

[0029] <Configuration of User Terminal 20> The user terminal 20 is an information processing device operated by a user who uses a service. The user terminal 20 may be, for example, a mobile terminal such as a smartphone or a tablet, a stationary PC (Personal Computer), or a laptop PC. It may also be a wearable terminal such as an HMD (Head Mount Display) or a wristwatch-type terminal. The user terminal 20 includes a storage unit 201 , a control unit 204 , an input device 206 , and an output device 208 .

[0030] <Configuration of the storage unit 201 of the user terminal 20> The storage unit 201 of the user terminal 20 includes a user ID 2011 and an application program 2012 .

[0031] The user ID 2011 is an account ID of the user. The user transmits the user ID 2011 from the user terminal 20 to the server 10. The server 10 identifies the user based on the user ID 2011 and provides the user with the service according to the present disclosure. The user ID 2011 includes information such as a session ID temporarily assigned by the server 10 when identifying the user who is using the user terminal 20.

[0032] The application program 2012 may be stored in advance in the storage unit 201, or may be configured to be downloaded from a web server operated by a service provider via a communication IF. The application programs 2012 include applications such as a web browser application. The application program 2012 includes an interpreted programming language such as JavaScript™ that runs on a web browser application stored on the user terminal 20 .

[0033] <Configuration of the control unit 204 of the user terminal 20> The control unit 204 of the user terminal 20 includes an input control unit 2041 and an output control unit 2042. The control unit 204 executes an application program 2012 stored in the storage unit 201, thereby realizing each functional unit.

[0034] <Configuration of the input device 206 of the user terminal 20> The input device 206 of the user terminal 20 includes a camera 2061 , a microphone 2062 , a position information sensor 2063 , a motion sensor 2064 , and a touch device 2065 .

[0035] <Configuration of the output device 208 of the user terminal 20> The output device 208 of the user terminal 20 includes a display 2081 and a speaker 2082 .

[0036] <System 1 Operation> Each process of the system 1 will be described below. FIG. 10 is a flowchart showing the operation of the quality evaluation process. FIG. 11 is a flowchart showing the operation of the binding model inference process. FIG. 13 is a first screen example showing the operation of the quality evaluation process. FIG. 14 is a second example of a screen showing the operation of the quality evaluation process.

[0037] <Quality evaluation process> The quality evaluation process is a process of evaluating the quality of a learning model (main model) and presenting the evaluation result. The quality evaluation process may include a process of creating a sub-model with higher quality for a part of the main model based on the evaluation result.

[0038] <Overview of quality evaluation process> The quality assessment process is a series of processes that evaluate a main model by applying a dataset consisting of multiple test data to it, group (cluster) the dataset based on the evaluation results or metadata, evaluate the quality of the main model, visualize the evaluation results, accept the selection of a specific group, and create a sub-model that improves on the main model within a scope of application determined based on the selected specific group.

[0039] <Details of quality evaluation process> The quality evaluation process will be described in detail below.

[0040] In step S101, the control unit 104 of the server 10 executes a model storage step of storing a learning model. The user operates the input device 206 of the user terminal 20 to input the URL of a page for executing quality evaluation processing (quality evaluation processing page) into a web browser or the like, and opens the quality evaluation processing page. The control unit 204 of the user terminal 20 transmits a request to open the quality evaluation processing page to the server 10. The control unit 104 of the server 10 generates a quality evaluation processing page based on the received request, and transmits it to the user terminal 20. The control unit 204 of the user terminal 20 displays the received quality evaluation processing page on the display 2081 of the user terminal 20. The user operates the input device 206 of the user terminal 20 to select a file upload button or the like provided on the quality evaluation processing page, thereby selecting a learning model to be quality evaluated in the quality evaluation processing, stored in the storage unit 201 of the user terminal 20 or any other location such as a predetermined cloud service. The control unit 204 of the user terminal 20 transmits the user ID 2011 and the selected learning model to the server 10. The control unit 104 of the server 10 stores the received user ID and learning model in the user ID and main model items of a new record in the model table 1021, respectively. The main model identification information is newly assigned to the main model ID. In this disclosure, the learning model stored in this step is called the main model. The user may operate the input device 206 of the user terminal 20 to execute a command line or any program, thereby storing the learning model to be quality-evaluated in the quality evaluation process in the model table 1021.

[0041] In step S102, the control unit 104 of the server 10 executes a data acquisition step of acquiring a data set consisting of a plurality of data, each of which is associated with metadata. The user operates the input device 206 of the user terminal 20 to select a file upload button or the like provided on the quality evaluation processing page, and selects a dataset consisting of multiple test data used to evaluate the quality of the learning model in the quality evaluation processing, stored in the storage unit 201 of the user terminal 20 or any other location such as a predetermined cloud service. Each of the multiple test data is stored in association with metadata. The control unit 204 of the user terminal 20 transmits the user ID 2011 and the selected dataset to the server 10. The control unit 104 of the server 10 stores the received user ID, multiple test data included in the dataset, and metadata in the user ID, data, and metadata items of a new record in the data table 1013, respectively. In the data and metadata items of the data table 1013, multiple test data included in the dataset are stored in association with metadata. Data identification information is newly assigned to the data ID. In addition, the user may operate the input device 206 of the user terminal 20 to execute a command line or an arbitrary program, thereby storing multiple test data and metadata used to evaluate the quality of the learning model in the quality evaluation process in the data table 1013.

[0042] The control unit 104 of the server 10 applies each of the multiple data (test data) stored in the data table 1013 as input data to the main model, and acquires internal features and multiple output data as inference results. The control unit 104 of the server 10 compares each of the multiple output data with metadata (correct answer data) stored in association with each of the internal features and the input data (test data), thereby evaluating the inference quality of the main model regarding whether the output data is correct or incorrect. Specifically, the control unit 104 of the server 10 determines that the output data is correct when it matches the correct answer data, and that it is incorrect when it does not match. For example, when the main model is a classification model, the main model outputs an output label (classification label) in response to input of input data. The control unit 104 of the server 10 compares the output label with a correct answer label included in the metadata stored in association with each of the input data. For a plurality of input data, the control unit 104 of the server 10 determines that the input data is correct when the output label matches the correct answer label, and determines that the input data is incorrect when they do not match. In addition, when there is a combination of output data and correct answer data where it is not possible to determine whether the data is correct or incorrect, or when there is no correct answer data, any indicator may be used to evaluate the inference quality of the main model.

[0043] When the output data is incorrect (when the inference result is incorrect), the control unit 104 of the server 10 identifies information (error information) indicating the content of the error related to the reason for the incorrect answer. For example, the information indicating the content of the error includes an error code such as Label Error or EdgeCase (error type information related to the type of error in the inference result). For example, when the error code is Label Error, the information indicating the content of the error includes information (character string information, etc.) regarding the content of the error such as "a dog image is labeled as a cat" or "the position or size of the bounding box is inaccurate". For example, when the error code is Edge Case, the information indicating the content of the error includes information such as "detection failed under certain lighting conditions" or "misdetection of an object with an uncommon posture or viewpoint". The information indicating the content of the error may be specified by the control unit 104 of the server 10 using any machine learning model, deep learning model, artificial intelligence model, etc. based on the output data and metadata, or may be specified manually by a user. This makes it possible to obtain an evaluation result of the inference quality including an index measuring the accuracy and error of the prediction of the main model for the dataset.

[0044] The control unit 104 of the server 10 stores the main model ID, the data ID of the input data, the output data, and information indicating the content of the error in the main model ID, data ID, inference data, and error data items of the new record in the evaluation table 1014. Note that if the inference result is a "correct answer" or an inference result that can be considered to have no error defined by an arbitrary index, a null or blank (nothing is stored) may be stored in the error data. As a result, the evaluation results of the inference quality for the test data are stored as evaluation information in evaluation table 1014.

[0045] In this disclosure, an example of executing a quality evaluation process based on error information has been disclosed as an example, but if the output data is correct (if the inference result is correct), the configuration may be such that information indicating the content of the correct answer related to the reason for the correct answer (correct answer information) is identified. Specifically, the configuration may be such that the clustering process (first embodiment) and the clustering process (second embodiment) described later are executed by using correct answer information instead of the error information. Also, the configuration may be such that the quality evaluation process and the combined model inference process are executed by using correct answer information instead of the error information. In addition, both the error information and the correct answer information (correct / incorrect information) may be used to execute a clustering process (first embodiment) or a clustering process (second embodiment) described later. In addition, the correct / incorrect information may be used to execute a quality evaluation process or a combined model inference process.

[0046] <Clustering Processing (First Embodiment)> In step S103, the control unit 104 of the server 10 executes clustering based on the similarity of metadata for the data set acquired in the data acquisition step, and executes a clustering step of identifying clusters formed by the clustering as groups. Specifically, the control unit 104 of the server 10 searches the user ID item in the data table 1013 based on the user ID 2011, and acquires a data set consisting of a plurality of data IDs, data, and metadata. The control unit 104 of the server 10 executes a clustering process for a plurality of data (test data) included in the data set, in order to classify the plurality of data into a plurality of different groups based on the similarity of the metadata.

[0047] Specifically, the similarity of metadata is calculated as the distance between multiple data in each vector space such as internal feature amount, shooting date and time, time period (morning, noon, night, etc.), vehicle speed, vehicle location information, weather information, etc. Any distance measure can be selected for the distance between data, such as cosine similarity, Manhattan distance, Euclidean distance, etc. The control unit 104 of the server 10 classifies each of the multiple data included in the dataset into multiple groups (clusters) based on the distance between the multiple data by using any clustering method such as hierarchical clustering, K-means, DBSCAN, etc.

[0048] The control unit 104 of the server 10 stores, for each of a plurality of groups, the main model ID, the data IDs of the data classified into the group, and the number of data classified into the group in the items of main model ID, data IDs, and number of data of a new record in the group table 1022. The group ID is newly assigned with group identification information. Group metadata characterizing each group (e.g., a representative vector in a cluster, a centroid vector, etc.) may be stored in the metadata item of the group table 1022. The group metadata may be identified by the method described in the clustering process (second embodiment).

[0049] The control unit 104 of the server 10 executes a group quality assessment step of acquiring an inference result for each of the one or more pieces of data by applying each of the one or more pieces of data included in the group identified in the clustering step as input data for the learning model stored in the model storage step. The group quality assessment step acquires error information regarding an error in the inference result for each of the one or more pieces of data. Specifically, the control unit 104 of the server 10 refers to the evaluation table 1014 for a specific group and acquires evaluation information calculated for data included in the group. For specific group information, the control unit 104 of the server 10 searches the data ID item in the evaluation table 1014 based on multiple data IDs stored in the data IDs of the group information, and acquires multiple inference data and error data items for each of the multiple data. Note that the evaluation information may be calculated in this step.

[0050] The control unit 104 of the server 10 executes a group quality identifying step of identifying a group inference quality that characterizes at least a portion of the multiple groups, based on the inference result acquired in the group quality evaluating step.

[0051] The control unit 104 of the server 10 calculates an evaluation index (group inference quality) of the inference quality of the main model in a specified group, such as the accuracy rate, precision, recall, F1 score, mean absolute error, and mean squared error, depending on the content of the multiple error data contained in the specified group (the number of correct answers and incorrect answers). Furthermore, the control unit 104 of the server 10 may calculate evaluation indices such as counts_total, model_effect_score, and priority_score, which have been described in the section on group quality in the group table 1022. In addition, the control unit 104 of the server 10 may output group inference quality by applying the acquired multiple inference data and error data for a specified group as input data to any machine learning model, deep learning model, artificial intelligence model, etc.

[0052] The group quality identifying step identifies group error information and group error type information characterizing the groups for at least some of the plurality of groups. Specifically, the control unit 104 of the server 10 specifies the most numerous error data among the plurality of error data acquired for a given group as the error data characterizing the given group (group error data). For example, if the error code related to Label Error is the most common error code for a specific group, Label Error is identified as the error code (group error information, group error type information) that characterizes the specific group. In addition, when the inference quality is sufficiently good for a certain group, such as when the evaluation index of the inference quality is greater than a certain value, the error data characterizing the certain group may not be specified. In other words, the error data characterizing the group may not be specified for all groups, but may be specified for some groups. In addition, the control unit 104 of the server 10 may output group error data, group error information, and group error type information by applying the acquired multiple inference data and error data for a specified group as input data to any machine learning model, deep learning model, artificial intelligence model, etc.

[0053] The group quality evaluation step acquires group error type information regarding the type of error of the inference result for each of one or more data.

[0054] The control unit 104 of the server 10 executes a group quality storage step of storing the group inference quality identified in the group quality identification step in association with at least some of the multiple groups. The group quality storing step stores the group error information and the group error type information identified in the group quality identifying step in association with at least some of the multiple groups. Specifically, the control unit 104 of the server 10 stores the evaluation index of the inference quality of the main model calculated for the group and the error code characterizing the group in the group quality and error data items of the record identified by the group ID of the group in the group table 1022. As a result, in the group table 1022, the error data and group quality are stored in association with each group classified by clustering.

[0055] <Clustering Processing (Second Embodiment)> In step S103, the control unit 104 of the server 10 executes a data inference step to obtain an inference result for each of the multiple data by applying each of the multiple data included in the dataset acquired in the data acquisition step as input data for the learning model stored in the model storage step. The data inference step acquires error information regarding an error in an inference result and error type information regarding a type of error in the inference result for at least a portion of the plurality of data. Specifically, the control unit 104 of the server 10 searches the main model ID item of the evaluation table 1014 based on the main model ID, and acquires evaluation information including the data ID, inference data, and error data. This allows the control unit 104 of the server 10 to acquire an inference result based on the main model of the data set stored in the data table 1013.

[0056] In step S103, the control unit 104 of the server 10 executes clustering according to the inference result acquired in the data inference step, and executes a clustering step of identifying clusters formed by the clustering as groups. The clustering step performs clustering on the data set acquired in the data acquisition step based on the similarity of the error information and error type information acquired in the data inference step, and identifies clusters formed by the clustering as groups. Specifically, the control unit 104 of the server 10 performs a clustering process on multiple data (test data) included in the dataset to classify the multiple data into multiple different groups based on the similarity of error information included in the error data.

[0057] Specifically, the error information includes information about the type of error, such as an error code. The similarity of the error information is calculated as the distance between multiple data in a vector space defined based on the type of error. Any distance measure can be selected for the distance between data, such as cosine similarity, Manhattan distance, or Euclidean distance. The control unit 104 of the server 10 classifies each of the multiple data included in the dataset into multiple groups (clusters) based on the distance between the multiple data by using any clustering method such as hierarchical clustering, K-means, DBSCAN, etc.

[0058] The error information and the type of error themselves may be used as classification labels and classified into groups. For example, the data set may be classified by error code, such as into a LabelError group and an EdgeCase group. Data with no error data stored (data whose inference result is "correct") may be classified into a group indicating no error.

[0059] The control unit 104 of the server 10 stores, for each of a plurality of groups, the main model ID, the data IDs of the data classified into the group, and the number of data classified into the group in the items of main model ID, data IDs, and number of data of a new record in the group table 1022. The group ID is newly assigned with group identification information. Note that group error data, group error information, and group error type information (e.g., a representative vector, a centroid vector, etc. of error data in a cluster) that characterize each group may be stored in the error data item of the group table 1022. The group error data, group error information, and group error type information may be identified by the method described in the clustering process (first embodiment).

[0060] The control unit 104 of the server 10 executes a group metadata identification step to identify group metadata that characterizes at least a portion of the multiple groups based on metadata associated with one or more data included in the groups identified in the clustering step. Specifically, the control unit 104 of the server 10 refers to the data table 1013 for a specific group and acquires metadata stored in association with data included in the group. For specific group information, the control unit 104 of the server 10 searches for the data ID item in the data table 1013 based on multiple data IDs stored in the data IDs of the group information, and acquires multiple metadata items stored in association with each of the multiple data. The control unit 104 of the server 10 specifies the most numerous metadata among the multiple metadata acquired for a specific group as metadata that characterizes the specific group (group metadata). For example, metadata items (time is nighttime, weather is cloudy, vehicle speed is 50km to 60km) common to multiple data included in the group (a specific ratio or more of data) may be set as group metadata. In addition, metadata that characterizes each group (for example, a representative vector in a cluster, a center of gravity vector, etc.) may be set as group metadata. In addition, the control unit 104 of the server 10 may output group metadata by applying the acquired multiple metadata for a specified group as input data to any machine learning model, deep learning model, artificial intelligence model, etc.

[0061] The control unit 104 of the server 10 executes a group metadata storage step of storing the group metadata identified in the group metadata identification step in association with at least some of the multiple groups. Specifically, the control unit 104 of the server 10 stores the identified group metadata for a given group in the metadata item of the record in the group table 1022 that is identified by the group ID of the group.

[0062] <Main model quality evaluation process> In step S104, the control unit 104 of the server 10 executes a model evaluation step for evaluating the inference quality of the learning model for one or more pieces of data included in each of a plurality of groups including one or more pieces of data for the data set acquired in the data acquisition step. The model evaluation step evaluates the inference quality of the learning model for one or more pieces of data included in the group identified in the clustering step. The model evaluation step calculates the inference accuracy of the learning model. Specifically, the control unit 104 of the server 10 acquires the group ID, the number of data, the error data, and the group quality by searching the main model ID in the group table 1022 based on the main model ID. The control unit 104 of the server 10 can evaluate the inference quality of the learning model for each group by referring to the error data for each group (group error data) and the group quality. For example, the control unit 104 of the server 10 compares the evaluation index of the inference quality for each group with a predetermined value to calculate evaluation results regarding the inference quality, such as the number of groups whose inference quality is sufficiently good, the number of groups whose inference quality is not sufficiently good, the level of inference quality for each group (determined based on the evaluation index), and the number of data contained in each group. Furthermore, the control unit 104 of the server 10 acquires inference data and error data by searching the main model ID in the evaluation table 1014 based on the main model ID. The control unit 104 of the server 10 calculates a coverage, which is the number of datasets that were properly inferred (where no error occurred) out of the total number of datasets, based on the acquired inference data and error data, as an evaluation result regarding the inference quality. In addition, the control unit 104 of the server 10 may output evaluation results regarding inference quality by applying any machine learning model, deep learning model, artificial intelligence model, etc. The control unit 104 of the server 10 stores the evaluation result regarding the inference quality in the model quality item of the record specified based on the main model ID in the model table 1021. As a result, the model quality is stored in association with the main model.

[0063] <Evaluation result presentation process> In step S105, the control unit 104 of the server 10 executes a quality presentation step of presenting the multiple groups in association with the inference quality evaluated in the model evaluation step. The control unit 104 of the server 10 searches the group table 1022 based on the main model ID and acquires group information. The control unit 104 of the server 10 transmits the acquired group information to the user terminal 20. The control unit 204 of the user terminal 20 generates an evaluation result presentation screen based on the received group information, displays it on the display 2081 of the user terminal 20, and presents it to the user. This allows the quality of the entire learning model to be interpreted globally for each group range of the dataset, for example, it is possible to visually and intuitively check what proportion of the dataset has good inference quality and what proportion has poor inference quality.

[0064] FIG. 13 is an example of the first screen showing the evaluation results. The evaluation result presentation screen D1 shows a list of 204 group information records in a table format having columns for indicators D11, D12, and D13 related to group quality included in the group information, and the number of data D14. Note that in this disclosure, only groups (called hotspots) whose group quality is below a predetermined value (bad) are listed, and groups whose group quality is above a predetermined value (good) are excluded. Note that both groups (called hotspots) whose group quality is below a predetermined value (bad) and groups whose group quality is above a predetermined value (good) may be listed. The user can rearrange the presented group information in accordance with the order of the group quality indicators D11, D12, D13, the number of data D14, and the like. Furthermore, instead of using a table format, a hierarchical structure may be defined for each group based on the similarity between group metadata or group quality, and the data may be visualized in any format, such as a treemap.

[0065] The quality presentation step presents the multiple groups in association with an influence degree regarding the degree of influence on the learning model calculated based on the inference quality evaluated in the model evaluation step. The evaluation result presentation screen D1 includes a model_effect_score, which allows the quality of the entire learning model to be globally interpreted according to the degree of influence on the learning model for each group range of the data set.

[0066] FIG. 14 is an example of a second screen showing the evaluation results. The evaluation result presentation screen D3 includes a heat map D30. A heat map is a multidimensional space that is mapped based on the metadata of a dataset, and is mapped to a two-dimensional space using an arbitrary subspace, multidimensional scaling, or the like. The heat map D30 includes points D31, D32, etc. The points D31, D32, etc. are drawn in different colors according to the evaluation index of the inference quality included in the group quality of the corresponding group. Specifically, the better the inference quality, the greener the color, and the worse the inference quality, the redder the color. The heat map D30 shows the spatial spread of metadata, and the position of each group in the space is depicted as points D31, D32, . . . By looking at the heat map D30 from a bird's-eye view, the user can visually and intuitively confirm where in the metadata space groups with good and poor inference quality are positioned (in which metadata areas the main model is weak or weak).

[0067] <Group selection> In step S106, the control unit 204 of the user terminal 20 executes a group selection step of accepting a selection of a predetermined group from among a plurality of groups from the user. The user can operate the input device 206 of the user terminal 20 to select a group (each row) included in the evaluation result presentation screen D1. The user can operate the input device 206 of the user terminal 20 to select points D31, D32, . . . included in the evaluation result presentation screen D3. The control unit 204 of the user terminal 20 acquires and accepts the group ID associated with the selected group. Note that step S106 may be omitted. For example, the control unit 104 of the server 10 may be configured to automatically select a group that satisfies a predetermined condition, such as a group quality being equal to or lower than a predetermined value (for example, a group with poor inference quality), from the group table 1022 without accepting a selection operation from the user. In addition, the user may operate the input device 206 of the user terminal 20 to execute a command line or an arbitrary program, thereby executing a group selection step that accepts the selection of a specific group from among multiple groups.

[0068] <Sub-model creation> In step S107, the control unit 104 of the server 10 executes a model correction step of creating a correction function by correcting the learning model stored in the model storage step, based on one or more pieces of data included in the group. The model modification step creates a modification function that modifies the learning model stored in the model storage step, based on one or more pieces of data included in the predetermined group selected in the group selection step. The model modification step creates a modification function that modifies the learning model based on the inference quality of the group identified by applying one or more data included in the group as input data to the learning model.

[0069] Specifically, the control unit 104 of the server 10 searches for the group ID in the group table 1022 based on the group ID of the group selected in step S106, and acquires group information including data IDs, metadata, error data, and group quality. The control unit 104 of the server 10 transmits the group information to the user terminal 20. The control unit 204 of the user terminal 20 displays and presents the received group information on the display 2081 of the user terminal 20. The user can check the groups with poor inference quality together with the contents of the metadata, error data, and group quality. The user operates the input device 206 of the user terminal 20 to create a learning model (modified model, sub-model) by modifying the main model while referring to group information such as metadata, error data, and group quality. Specifically, for a group with poor inference quality, the user creates a sub-model with better inference quality than the main model for the dataset included in the group. Note that the following methods can be used to create the sub-model, but any method can be applied. The sub-model is created by retraining the main model based on the test data included in the group. A submodel is a model that has been modified through feature engineering, such as removing unimportant features from the main model, creating new features, or transforming existing features. Feature engineering can be performed automatically or by the user. A sub-model is a model in which hyperparameters such as the learning rate, regularization parameters, and model depth of the main model are adjusted. The adjustments can be performed automatically or by the user. The sub-model may be a fine-tuned version of the main model based on given data. In the present disclosure, an example of creating a correction model is given as an example, but is not limited thereto. For example, any function (which maps an input value to a predetermined output value), a constant function which outputs a predetermined constant regardless of the input value, or other correction functions (pre-processing or post-processing functions) including the correction model already described may be created. In the embodiments of the present disclosure, a case where a correction model is used as a correction function is described as an example, but the scope of application of the present invention is not limited thereto.

[0070] In step S107, the control unit 104 of the server 10 executes a condition storage step of storing application conditions for applying the modification function created in the model modification step in association with the modification function. The condition storage step stores the group metadata stored in association with the group of the modification function created in the model modification step as an application condition in association with the modification function. Specifically, the control unit 104 of the server 10 stores the main model ID, the created sub-model, and the metadata (group metadata) included in the group information of the selected group in the main model ID, sub-model, and application conditions fields of a new record in the sub-model table 1023, respectively. In this disclosure, the range of metadata has been described as an example of the application condition, but is not limited thereto. For example, the application condition may be any one or a combination of two or more of the metadata, error data (group error data), and group quality included in the group information. The application condition may also include a condition for information on the internal feature output from the intermediate layer of the main model. That is, the input data may be input once to the main model, and the application condition may include a condition for the output data output from the main model. In addition, the user may be able to set any conditions as application conditions for the sub-model.

[0071] In the present disclosure, the created correction function is used to create a binding model in step S108 described later, but is not limited thereto. For example, the correction function may be used to verify or correct a dataset, and may be configured to be capable of outputting output data for that purpose. For example, when the quality of the dataset itself created by the user is low (for example, when an image of a "dog" is annotated as a "cat"), the correction function may output a seemingly incorrect inference result (for example, "dog" for the annotation "cat"), but the inference result may actually be correct (the "dog" output by the correction function is actually correct). In such a case, the correction function may output information for executing a notification such as an alert to the user, etc. The control unit 104 of the server 10 notifies the user of the output contents according to the information output by the correction function. Also, the correction function may be configured to correct the data set.

[0072] <Creating a bond model> In step S108, the control unit 104 of the server 10 executes a combined model creation step of creating a combined model based on the learning model and the correction function. Specifically, the control unit 104 of the server 10 creates a combined model by combining a main model and one or more sub-models. 12 is a block diagram showing the functional configuration of the binding model. The operation of the binding model will be described later in the binding model inference process. The combined model may be configured as a single model separate from the main model and one or more sub-models, or may be configured as a model combining the main model and one or more sub-models. In the present disclosure, a combined model includes models in which one or more sub-models are combined to input input data for a particular domain of input data of a main model, and one or more sub-models are combined to output output data for a particular domain of output data of a main model.

[0073] The combined model created in the combined model creation step outputs output data based on a modified model associated with the application conditions stored in the condition storage step when the input data is included in the application conditions stored in the condition storage step, and outputs output data based on a learning model when the input data is not included in the application conditions stored in the condition storage step. The combined model created in the combined model creation step outputs output data based on a modified model associated with the group metadata if the metadata associated with the input data is included in the group metadata, and outputs output data based on a learning model if the metadata associated with the input data is not included in the group metadata.

[0074] The inference process using the combined model will be explained in detail in the combined model inference process.

[0075] <Combined model inference processing> The combined model inference process is a process of inferring output data for input data based on a combined model that combines two types of learning models, a main model and a sub-model.

[0076] <Overview of combined model inference processing> The combined model inference process is a series of processes that accepts input data, selects a learning model to which the input data should be applied from among a main model and one or more sub-models based on the accepted input data, and applies the input data to the learning model to output data as an inference result.

[0077] <Details of combined model inference process> The details of the combined model inference process will be described below.

[0078] In step S301, the control unit 104 of the server 10 accepts input data. The accepted data may be test data included in the data set accepted in step S101 of the quality evaluation process. The input data may be received from a user, or real-world data captured by an in-vehicle camera or the like in a production environment of an arbitrary information processing service or the like may be received as the input data. The method of receiving the input data is not limited.

[0079] In step S302, the control unit 104 of the server 10 determines whether or not the input data is included in the application conditions of the sub-model table 1023 (whether or not it matches), based on the metadata included in the input data.

[0080] When the control unit 104 of the server 10 is able to identify sub-model information related to the matching application conditions (when one or more records are extracted from the sub-model table 1023), it identifies the sub-model included in the extracted record of the sub-model table 1023. Note that when multiple records are extracted, it is also possible to configure the system to select only one sub-model based on an arbitrary algorithm. For example, a priority order may be assigned to each sub-model when it is extracted, or the sub-models may be extracted randomly. If the control unit 104 of the server 10 cannot identify sub-model information related to the matching application condition (if one or more records cannot be extracted from the sub-model table 1023), the control unit 104 identifies the main model. This allows us to create a combined model in which the model to be applied is switched between the correction model and the learning model for each range of metadata in the input data. The combined model can output output data with superior inference quality compared to the main model for the input data.

[0081] In this disclosure, the range of metadata has been described as an example of the application condition, but the application condition is not limited to this. The control unit 104 of the server 10 may specify a sub-model when the input data received in step S301 is included in the application condition, and may specify a main model when the input data is not included in the application condition.

[0082] In addition, the selection of the application model does not necessarily need to be performed before inputting input data into either the main model or the sub-model. For example, when the application conditions of the sub-model include a condition related to the internal feature amount output from the intermediate layer of the main model after inputting input data into the main model, the application of the sub-model may be selected according to the information of the output data output from the input data. In other words, the application conditions may include the output data output from the main model. In this case, the input data input to the sub-model does not necessarily need to be the input data received in step S301, and the output data of the main model may be input to the sub-model. In this way, the combined model in the present disclosure is not limited to the case where the input data received in step S301 is selectively input to either the main model or the sub-model, and may be configured such that the sub-model is selected according to the contents of the output data output from the main model. In addition, when the quality of the output data of the main model according to the input data is insufficient (when the reliability, accuracy, etc. are lower than a predetermined value, etc.), the output data from the sub-model may be used as the output data of the combined model.

[0083] In step S303, the control unit 104 of the server 10 inputs the input data received in step S301 as input data to the sub-model or main model identified in step S302. The control unit 104 of the server 10 acquires output data output from the sub-model or main model. When a sub-model is identified in step S302, the control unit 104 of the server 10 acquires the inference result of the sub-model for the input data as output data. When a main model is identified in step S302, the control unit 104 of the server 10 acquires the inference result of the main model for the input data as output data. This allows the creation of a combined model by switching the model to be applied between the correction model and the learning model for each range of input data (range of groups). The combined model can output output data with excellent inference quality for the input data input to the combined model.

[0084] In step S302, when the application conditions of the sub-model include conditions related to the internal features output from the intermediate layer of the main model after inputting the input data to the main model, it is preferable to use the output data from the sub-model as the output data of the combined data, thereby making it possible to output output data with excellent inference quality for the input data input to the combined model.

[0085] 12 is a block diagram showing the functional configuration of the binding model. The binding model inference process will be described based on the functional block diagram of the binding model. The binding model M1 outputs output data M18 in response to input of input data M11. The input data M11 input to the binding model M1 is subjected to validation M12 on the input data. The input data M11 is input to either the main model M13 or the sub-model M14 in response to the validation result for the input data M11. The main model M13 outputs output data in response to the input of the input data M11, and validation M15 is performed on the output data. Similarly, the sub-model M14 outputs output data in response to the input of the input data M11, and validation M16 is performed on the output data. When the application conditions include conditions on the internal features output from the intermediate layer of the main model, depending on the result of the validation M15, if the application conditions are met, the input data M11 or the output data of the main model is input to the sub-model M14. In this case, the output data of the sub-model M14 is output as the output data M18 of the combined model M1, and the output data of the main model M13 is not output as the output data M18 of the combined model M1. The output data from the main model M13 or the sub-model M14 is output as the output data M18 of the combined model M1. The output data from the sub-model M14 is manually verified M17 according to the result of the validation M16 on the output data, and the output data after the manual verification is also reflected in the output data M18. The output data from the sub-model M14 does not necessarily need to be verified M17. For example, when the quality of the data set itself created by the user is low (for example, when an image of a "dog" is annotated as a "cat"), the correction function may output a seemingly incorrect inference result (for example, "dog" for the annotation "cat"), but the inference result may actually be correct (the "dog" output by the correction function is actually correct). In such a case, validation M16 of the output data of the sub-model involves processing for issuing a notification such as an alert to the user, and manual verification M17 is then performed. The main model M13 and sub-model M14 may be a combination of a plurality of models and correction functions, or may be configured to undergo further sub-models after validation M16.

[0086] <Basic computer hardware configuration> 15 is a block diagram showing the basic hardware configuration of a computer 90. The computer 90 includes at least a processor 901, a main storage device 902, an auxiliary storage device 903, and a communication IF 991 (interface). These are electrically connected to each other by a communication bus 921.

[0087] The processor 901 is hardware for executing an instruction set described in a program, and is composed of an arithmetic unit, a register, a peripheral circuit, and the like.

[0088] The main memory device 902 is for temporarily storing programs, data to be processed by the programs, etc. For example, it is a volatile memory such as a DRAM (Dynamic Random Access Memory).

[0089] The auxiliary storage device 903 is a storage device for saving data and programs, such as a flash memory, a hard disk drive (HDD), a magneto-optical disk, a CD-ROM, a DVD-ROM, or a semiconductor memory.

[0090] The communication IF 991 is an interface for inputting and outputting signals for communicating with other computers via a network using a wired or wireless communication standard. The network is composed of the Internet, a LAN, various mobile communication systems constructed by wireless base stations, etc. For example, the network includes 3G, 4G, 5G mobile communication systems, LTE (Long Term Evolution), wireless networks that can connect to the Internet via a specified access point (e.g., Wi-Fi (registered trademark)), etc. In the case of wireless connection, communication protocols include, for example, Z-Wave (registered trademark), ZigBee (registered trademark), Bluetooth (registered trademark), etc. In the case of wired connection, the network also includes a network that is directly connected by a USB (Universal Serial Bus) cable or the like.

[0091] It should be noted that the computer 90 can be virtually realized by distributing all or part of each hardware configuration among multiple computers 90 and connecting them together via a network. In this way, the computer 90 is a concept that includes not only a computer 90 housed in a single housing or case, but also a virtualized computer system.

[0092] <Basic functional configuration of computer 90> A description will now be given of the functional configuration of a computer realized by the basic hardware configuration (FIG. 15) of a computer 90. The computer comprises at least the functional units of a control unit, a storage unit, and a communication unit.

[0093] The functional units of the computer 90 can also be realized by distributing all or part of the functional units among multiple computers 90 connected to each other via a network. The computer 90 is a concept that includes not only a single computer 90 but also a virtualized computer system.

[0094] The control unit is realized by the processor 901 reading out various programs stored in the auxiliary storage device 903, expanding the programs in the main storage device 902, and executing processes according to the programs. The control unit can realize functional units that perform various information processing depending on the type of program. In this way, the computer is realized as an information processing device that performs information processing.

[0095] The storage unit is realized by a main storage device 902 and an auxiliary storage device 903. The storage unit stores data, various programs, and various databases. Furthermore, the processor 901 can secure a storage area corresponding to the storage unit in the main storage device 902 or the auxiliary storage device 903 in accordance with a program. Furthermore, the control unit can cause the processor 901 to execute processes of adding, updating, and deleting data stored in the storage unit in accordance with the various programs.

[0096] The term database refers to a relational database, which is used to manage sets of data called masters and tables in a tabular format structurally defined by rows and columns, by associating them with each other. In a database, a table is called a table or master, a column in a table is called a column, and a row in a table is called a record. In a relational database, relationships between tables and masters can be set and associated. Usually, a column that serves as a primary key for uniquely identifying a record is set in each table and each master, but setting a primary key in a column is not essential. The control unit can cause the processor 901 to add, delete, or update records in a specific table or master stored in the storage unit according to various programs. Furthermore, by storing data, various programs, and various databases in the storage unit, it can be considered that the information processing device and information processing system according to the present disclosure have been manufactured.

[0097] In addition, the database and master in this disclosure may include any data structure (such as a list, a dictionary, an associative array, or an object) in which information is structurally defined. The data structure also includes data that can be considered as a data structure by combining data with a function, class, method, or the like written in any programming language.

[0098] The communication unit is realized by the communication IF 991. The communication unit realizes a function of communicating with other computers 90 via a network. The communication unit can receive information transmitted from other computers 90 and input the information to the control unit. The control unit can cause the processor 901 to execute information processing on the received information in accordance with various programs. In addition, the communication unit can transmit information output from the control unit to other computers 90.

[0099] <Additional Notes> The matters described in the above embodiments will be supplemented below.

[0100] (Appendix 1) A program to be executed by a computer having a processor and a memory unit, the program comprising: a model storage step (S101) in which the processor stores a learning model; a data acquisition step (S102) in which a dataset consisting of a plurality of data, each of which is associated with metadata; and a model evaluation step (S104) in which, for each of a plurality of groups containing one or more data, the dataset acquired in the data acquisition step is evaluated for the inference quality of a learning model for one or more data included in the group. This allows the inference quality of the learning model to be evaluated for each group, for example, areas where the learning model struggles can be identified as a group.

[0101] (Appendix 2) The program according to claim 1, wherein the model evaluation step (S104) is a step of calculating the inference accuracy of the learning model. This allows the inference accuracy of the learning model to be evaluated for each group.

[0102] (Appendix 3) A program described in Appendix 1 or 2, wherein the processor executes a data inference step (S103) in which the processor acquires an inference result for each of the multiple data included in the dataset acquired in the data acquisition step by applying each of the multiple data included in the data acquisition step as input data for the learning model stored in the model storage step, and a clustering step (S103) in which the processor performs clustering according to the inference result acquired in the data inference step and identifies clusters formed by the clustering as groups, and the model evaluation step (S104) is a step in which the processor evaluates the inference quality of the learning model for one or more data included in the group identified in the clustering step. This makes it possible to evaluate the inference quality of the learning model for each cluster range identified according to the inference result.

[0103] (Appendix 4) The program described in Appendix 3, wherein the data inference step (S103) is a step of acquiring error information regarding errors in inference results for at least a portion of the multiple data, and the clustering step (S103) is a step of performing clustering on the data set acquired in the data acquisition step based on the similarity of the error information acquired in the data inference step, and identifying clusters formed by the clustering as groups. This makes it possible to evaluate the inference quality of the learning model for each cluster range identified according to the similarity of errors in the inference results.

[0104] (Appendix 5) The program described in Appendix 4, wherein the data inference step (S103) is a step of acquiring error type information regarding the type of error in the inference result for at least a portion of the multiple data, and the clustering step (S103) is a step of performing clustering on the data set acquired in the data acquisition step based on the similarity of the error type information acquired in the data inference step, and identifying clusters formed by the clustering as groups. This makes it possible to evaluate the inference quality of the learning model for each cluster range identified according to the similarity in the types of errors in the inference results.

[0105] (Appendix 6) A program described in any one of Appendices 3 to 5, in which a processor executes a group metadata identification step (S103) of identifying group metadata characterizing at least a portion of the multiple groups based on metadata associated with one or more data included in the group identified in the clustering step, and a group metadata storage step (S103) of storing the group metadata identified in the group metadata identification step in association with at least a portion of the multiple groups. This allows the contents of each cluster to be interpreted based on the group metadata for each range of clusters identified based on the inference results. For example, for a cluster with poor inference quality, the cause of the poor inference quality can be interpreted based on the metadata.

[0106] (Appendix 7) A program described in Appendix 1 or 2, wherein a processor executes a clustering step (S103) in which the processor performs clustering based on metadata similarity on the data set acquired in the data acquisition step and identifies the clusters formed by the clustering as groups, and a model evaluation step (S104) in which the processor evaluates the inference quality of a learning model for one or more pieces of data included in the group identified in the clustering step. This makes it possible to evaluate the inference quality of the learning model for each cluster range identified according to the similarity of the metadata.

[0107] (Appendix 8) A program as described in Appendix 7, in which a processor executes a group quality evaluation step (S103) in which one or more pieces of data included in a group identified in the clustering step are applied as input data for a learning model stored in the model storage step to obtain an inference result for each of the one or more pieces of data, a group quality identification step (S103) in which a group inference quality that characterizes at least some of the multiple groups is identified based on the inference result obtained in the group quality evaluation step, and a group quality storage step (S103) in which the group inference quality identified in the group quality identification step is stored in association with at least some of the multiple groups. This makes it possible to evaluate the inference quality of the learning model for each cluster range identified according to the similarity of the metadata.

[0108] (Appendix 9) The program described in Appendix 8, wherein the group quality evaluation step (S103) is a step of obtaining error information regarding errors in inference results for each of one or more data, the group quality identification step (S103) is a step of identifying group error information characterizing at least a portion of the multiple groups, and the group quality storage step (S103) is a step of storing the group error information identified in the group quality identification step in association with at least a portion of the multiple groups. This makes it possible to evaluate the inference quality regarding errors in the inference results of the learning model for each cluster range identified according to the similarity of the metadata.

[0109] (Appendix 10) The program described in Appendix 9, wherein the group quality evaluation step (S103) is a step of acquiring group error type information regarding the type of error in the inference result for each of one or more data, the group quality identification step (S103) is a step of identifying group error type information characterizing at least a portion of the multiple groups, and the group quality storage step (S103) is a step of storing the group error type information identified in the group quality identification step in association with at least a portion of the multiple groups. This makes it possible to evaluate the inference quality regarding the types of errors in the inference results of the learning model for each cluster range identified according to the similarity of the metadata.

[0110] (Appendix 11) A program described in any one of Appendix 1 to 10, wherein a processor executes a quality presentation step (S105) of presenting multiple groups in association with the inference quality evaluated in the model evaluation step. This allows the quality of the entire learning model to be interpreted globally for each group range of the dataset, for example, it is possible to visually and intuitively check what proportion of the dataset has good inference quality and what proportion has poor inference quality.

[0111] (Appendix 12) The program described in Appendix 11, which executes a quality presentation step (S105) of presenting multiple groups in association with an influence degree regarding the degree of influence on the learning model calculated based on the inference quality evaluated in the model evaluation step. This allows the quality of the entire learning model to be interpreted globally according to the degree of influence each group range of the dataset has on the learning model.

[0112] (Appendix 13) A program described in any one of Appendices 1 to 12, in which a processor executes a model modification step (S107) of creating a modification function that modifies the learning model stored in the model storage step based on one or more data included in the group. This makes it possible to create a correction function that corrects the learning model for each group.

[0113] (Appendix 14) The program described in Appendix 13, wherein the model correction step (S107) is a step of creating a correction function that corrects the learning model based on the inference quality of the group identified by applying one or more data included in the group as input data for the learning model. This makes it possible, for example, to create a correction function that corrects the learning model for a particular group where the inference quality of the learning model is low.

[0114] (Appendix 15) The program described in Appendix 13, wherein the processor executes a group selection step (S106) of accepting a selection of a specific group from among a plurality of groups from a user, and a model modification step (S107) is a step of creating a modification function that modifies the learning model stored in the model storage step based on one or more data included in the specific group selected in the group selection step. This makes it possible to create a correction function that corrects the learning model for a selected group in response to the group selected by the user.

[0115] (Appendix 16) A program described in any one of Appendices 13 to 15, in which a processor executes a condition storage step (S107) of storing application conditions for applying a modification function created in the model modification step in association with the modification function, and a combined model creation step (S108) of creating a combined model based on the learning model and the modification function, and the combined model created in the combined model creation step outputs output data using the modification function associated with the application condition if the input data is included in the application condition stored in the condition storage step, and outputs output data using the learning model if the input data is not included in the application conditions stored in the condition storage step. This allows us to create a combined model by switching the model to be applied between the correction function and the learning model for each range of input data (range of group). The combined model can output output data with excellent inference quality for the input data.

[0116] (Appendix 17) The program described in Appendix 16, wherein a processor executes a group metadata identification step (S103) of identifying group metadata characterizing at least a portion of a plurality of groups based on metadata associated with one or more data included in the group, and a group metadata storage step (S103) of storing the group metadata identified in the group metadata identification step in association with at least a portion of the plurality of groups, wherein the condition storage step (S107) is a step of storing the group metadata stored in association with the group of the modification function created in the model modification step in association with the modification function as an application condition, and wherein the combined model created in the combined model creation step outputs output data by the modification function associated with the group metadata if the metadata associated with the input data is included in the group metadata, and outputs output data by a learning model if the metadata associated with the input data is not included in the group metadata. This allows us to create a combined model by switching the model to be applied between the correction function and the learning model for each range of metadata in the input data. The combined model can output output data with superior inference quality for the input data.

[0117] (Appendix 18) A method implemented on a computer having a processor and a memory, the processor performing all of the steps performed in any of the inventions according to claims 1 to 17. This allows the inference quality of the learning model to be evaluated for each group, for example, areas where the learning model struggles can be identified as a group.

[0118] (Appendix 19) An information processing device comprising a control unit and a memory unit, wherein the control unit executes all of the steps executed in the invention according to any one of Supplementary Note 1 to Supplementary Note 17. This allows the inference quality of the learning model to be evaluated for each group, for example, areas where the learning model struggles can be identified as a group.

[0119] (Appendix 20) A system comprising means for performing all the steps performed in any of the inventions according to appendix 1 to appendix 17. This allows the inference quality of the learning model to be evaluated for each group, for example, areas where the learning model struggles can be identified as a group. [Explanation of symbols]

[0120] 1 system, 10 server, 101 storage unit, 104 control unit, 106 input device, 108 output device, 20 user terminal, 201 storage unit, 204 control unit, 206 input device, 208 output device

Claims

1. A program to be executed by a computer having a processor and a storage unit, The processor, a model storage step of storing the learning model; a data acquisition step of acquiring a dataset of a plurality of data, each of the data being associated with metadata; a model evaluation step of evaluating, for each of a plurality of groups including one or more pieces of data, an inference quality of the learning model for the one or more pieces of data included in the group, for the data set acquired in the data acquisition step; a model modification step of creating a modification function by modifying the learning model stored in the model storage step based on one or more data included in the group; a condition storage step of storing an application condition for applying the modification function created in the model modification step in association with the modification function; A combined model creation step of creating a combined model based on the learning model and the correction function; Run The binding model created in the binding model creation step is When the input data is included in the application condition stored in the condition storage step, output data based on the correction function associated with the application condition is output; When the input data is not included in the application conditions stored in the condition storage step, output data based on the learning model is output. program.

2. The model evaluation step is a step of calculating the inference accuracy of the learning model. The program according to claim 1.

3. The processor, a data inference step of acquiring an inference result for each of the plurality of data by applying each of the plurality of data included in the data set acquired in the data acquisition step as input data for the learning model stored in the model storage step; a clustering step of executing clustering according to the inference result acquired in the data inference step and identifying clusters formed by the clustering as groups; Run The model evaluation step is a step of evaluating the inference quality of the learning model for the one or more data included in the group identified in the clustering step. The program according to claim 1.

4. The data inference step is a step of acquiring error information regarding an error in an inference result for at least a part of the plurality of data, The clustering step is a step of performing clustering on the data set acquired in the data acquisition step based on a similarity of the error information acquired in the data inference step, and identifying clusters formed by the clustering as groups. The program according to claim 3.

5. The data inference step is a step of acquiring error type information regarding a type of an error in an inference result for at least a part of the plurality of data, The clustering step is a step of performing clustering on the data set acquired in the data acquiring step based on a similarity of the error type information acquired in the data inference step, and identifying clusters formed by the clustering as groups. The program according to claim 4.

6. The processor, a group metadata identification step of identifying group metadata characterizing at least a portion of the plurality of groups based on metadata associated with one or more pieces of data included in the groups identified in the clustering step; a group metadata storage step of storing the group metadata identified in the group metadata identification step in association with at least a portion of the plurality of groups; Execute The program according to claim 3.

7. The processor, a clustering step of performing clustering on the data set acquired in the data acquisition step based on the similarity of the metadata, and identifying clusters formed by the clustering as groups; Run The model evaluation step is a step of evaluating the inference quality of the learning model for the one or more data included in the group identified in the clustering step. The program according to claim 1.

8. The processor, a group quality assessment step of acquiring an inference result for each of the one or more pieces of data by applying each of the one or more pieces of data included in the group identified in the clustering step as input data for the learning model stored in the model storage step; a group quality determination step of determining a group inference quality that characterizes at least a portion of the plurality of groups based on the inference results obtained in the group quality evaluation step; a group quality storage step of storing the group inference quality identified in the group quality identification step in association with at least a portion of the plurality of groups; Execute The program according to claim 7.

9. The group quality evaluation step is a step of acquiring error information regarding an error in an inference result for each of the one or more data, The group quality identifying step is a step of identifying group error information characterizing at least a portion of the plurality of groups, the group error information characterizing the group; the group quality storage step is a step of storing the group error information identified in the group quality identification step in association with at least a portion of the plurality of groups. The program according to claim 8.

10. The group quality evaluation step is a step of acquiring group error type information regarding a type of error of an inference result for each of the one or more data, The group quality identifying step is a step of identifying the group error type information characterizing at least a portion of the plurality of groups, the group error type information characterizing the group; the group quality storing step is a step of storing the group error type information identified in the group quality identifying step in association with at least a part of the plurality of groups. The program according to claim 9.

11. A program to be executed by a computer having a processor and a storage unit, The processor, a model storage step of storing the learning model; a data acquisition step of acquiring a dataset of a plurality of data, each of the data being associated with metadata; a model evaluation step of evaluating, for each of a plurality of groups including one or more pieces of data, an inference quality of the learning model for the one or more pieces of data included in the group, for the data set acquired in the data acquisition step; a quality presentation step of presenting the plurality of groups in association with the inference quality evaluated in the model evaluation step; Run The quality presentation step is a step of presenting a heat map in which a multidimensional space based on the data set is mapped onto a two-dimensional space, with areas corresponding to the evaluation index of the inference quality for each group being color-coded. program.

12. The processor, a quality presentation step of presenting the plurality of groups in association with the inference quality evaluated in the model evaluation step; Execute 12. The program according to claim 1.

13. The quality presentation step is a step of presenting the plurality of groups in association with an influence degree regarding a degree of influence on the learning model calculated based on the inference quality evaluated in the model evaluation step. Execute The program according to claim 12.

14. The model correction step is a step of creating the correction function by correcting the learning model based on the inference quality of the group identified by applying one or more data included in the group as input data of the learning model. The program according to claim 1.

15. The processor, a group selection step of accepting a selection of a predetermined group from the plurality of groups from a user; Run The model correction step is a step of creating the correction function by correcting the learning model stored in the model storage step, based on one or more data included in the predetermined group selected in the group selection step. The program according to claim 1.

16. The processor, a group metadata identification step of identifying group metadata characterizing at least a portion of the plurality of groups based on metadata associated with one or more pieces of data included in the group; a group metadata storage step of storing the group metadata identified in the group metadata identification step in association with at least a portion of the plurality of groups; Run the condition storing step is a step of storing the group metadata stored in association with the group of the modification function created in the model modifying step as the application condition in association with the modification function; The binding model created in the binding model creation step is If metadata associated with the input data is included in the group metadata, outputting output data by the modification function associated with the group metadata; If the metadata associated with the input data is not included in the group metadata, output data based on the learning model is output. The program according to claim 1.

17. A method implemented on a computer having a processor and a memory, the processor performing all of the steps performed in any of the inventions according to claims 1 to 11.

18. 12. An information processing apparatus comprising a control unit and a storage unit, the control unit executing all steps executed in the invention according to any one of claims 1 to 11.

19. A system comprising means for performing all the steps performed in any one of claims 1 to 11.

Citation Information

Patent Citations

  • Image analysis device recognizing object based on reference image from analysis object image, server, and program

    JP2012190089A

  • Method of creating learned model, method of classifying data, computer and program

    JP2020052935A

  • Information processing device, information processing method and program

    JP2022175062A

  • Recognition device, terminal device, recognizer builder, recognizer corrector, building method and correction method

    JP2022188727A

  • Data processing method and apparatus for training depth information estimation model

    JP2023147276A