# US 2023/0068513 A1 · Testing models in data pipeline

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0068513 A1
- Document ID: US20230068513A1
- Status: Published application
- Kind: A1
- Application number: 17/463,673
- Filed: 2021-09-01
- Published: 2023-03-02
- Earliest claimed: 2021-09-01
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Sattwati Kundu; Samiulla Zakir Hussain Shaikh
- Web page: https://patentgrep.com/patent/US20230068513A1

## CPC

- G06N 20/00: Machine learning
- G06N 5/02: Knowledge representation; Symbolic representation
- G06N 5/022: Knowledge engineering; Knowledge acquisition
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Embodiments of the present invention provide computer-implemented methods, computer program products and computer systems. Embodiments of the present invention can, in response to receiving information, generate a data profile for a model that includes metadata for data requirements, model specific requirements, and data quality metrics. Embodiments of the present invention can generate one or more perturbations for training data associated with the received information and validate at least one perturbation of the one or more perturbations of training data as relevant test data based, at least in part on context associated with the model. Embodiments of the present invention can then generate one or more test scenarios based on the at least one validated perturbation and varying hyperparameters of the model and generate a test report based on an execution of at least one generated test scenario of the generated one or more test scenarios.

## Claims

### Claim 1

A computer-implemented method comprising:
in response to receiving information, generating a data profile for a model that includes metadata for data requirements, model specific requirements, and data quality metrics;
generating one or more perturbations for training data associated with the received information;
validating at least one perturbation of the one or more perturbations of training data as relevant test data based, at least in part on context associated with the model; and
generating one or more test scenarios based on the at least one validated perturbation and varying hyperparameters of the model; and
generating a test report based on an execution of at least one generated test scenario of the generated one or more test scenarios.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
identifying constraints of the model; and
generating variants of the model by performing parameter space sampling.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, further comprising:
executing the generated one or more test scenarios.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein a data profile further includes existing training data, test data, payload data, model specific requirements, and user input.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein data quality metrics includes a minimum frequency of data, seasonality, and missing data.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, further comprising:
updating a knowledge graph with quality metrics of the generated data profile for the model as a part of a knowledge graph for an artificial intelligence (AI) pipeline.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the generated test report includes an identification of a parameter that has a most sensitive learning rate, performance impacts of parameters included in a generated test scenario of the one or more generated test scenarios, and respective learning rates of each parameter.

### Claim 8

A computer program product comprising:
one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions comprising:
program instructions to in response to receiving information, generate a data profile for a model that includes metadata for data requirements, model specific requirements, and data quality metrics;
program instructions to generate one or more perturbations for training data associated with the received information;
program instructions to validate at least one perturbation of the one or more perturbations of training data as relevant test data based, at least in part on context associated with the model; and
program instructions to generate one or more test scenarios based on the at least one validated perturbation and varying hyperparameters of the model; and
program instructions to generate a test report based on an execution of at least one generated test scenario of the generated one or more test scenarios.

### Claim 9 (depends on 8)

The computer program product of claim 8, wherein the program instructions stored on the one or more computer readable storage media further comprise:
program instructions to identify constraints of the model; and
program instructions to generate variants of the model by performing parameter space sampling.

### Claim 10 (depends on 8)

The computer program product of claim 8, wherein the program instructions stored on the one or more computer readable storage media further comprise:
program instructions to execute the generated one or more test scenarios.

### Claim 11 (depends on 8)

The computer program product of claim 8, wherein a data profile further includes existing training data, test data, payload data, model specific requirements, and user input.

### Claim 12 (depends on 8)

The computer program product of claim 8, wherein data quality metrics includes a minimum frequency of data, seasonality, and missing data.

### Claim 13 (depends on 8)

The computer program product of claim 8, wherein the program instructions stored on the one or more computer readable storage media further comprise:
program instructions to update a knowledge graph with quality metrics of the generated data profile for the model as a part of a knowledge graph for an artificial intelligence (AI) pipeline.

### Claim 14 (depends on 8)

The computer program product of claim 8, wherein the generated test report includes an identification of a parameter that has a most sensitive learning rate, performance impacts of parameters included in a generated test scenario of the one or more generated test scenarios, and respective learning rates of each parameter.

### Claim 15

A computer system comprising:
one or more computer processors;
one or more computer readable storage media; and
program instructions stored on the one or more computer readable storage media for execution by at least one of the one or more computer processors, the program instructions comprising:
program instructions to in response to receiving information, generate a data profile for a model that includes metadata for data requirements, model specific requirements, and data quality metrics;
program instructions to generate one or more perturbations for training data associated with the received information;
program instructions to validate at least one perturbation of the one or more perturbations of training data as relevant test data based, at least in part on context associated with the model; and
program instructions to generate one or more test scenarios based on the at least one validated perturbation and varying hyperparameters of the model; and
program instructions to generate a test report based on an execution of at least one generated test scenario of the generated one or more test scenarios.

### Claim 16 (depends on 15)

The computer system of claim 15, wherein the program instructions stored on the one or more computer readable storage media further comprise:
program instructions to identify constraints of the model; and
program instructions to generate variants of the model by performing parameter space sampling.

### Claim 17 (depends on 15)

The computer system of claim 15, wherein the program instructions stored on the one or more computer readable storage media further comprise:
program instructions to execute the generated one or more test scenarios.

### Claim 18 (depends on 15)

The computer system of claim 15, wherein a data profile further includes existing training data, test data, payload data, model specific requirements, and user input.

### Claim 19 (depends on 15)

The computer system of claim 15, wherein data quality metrics includes a minimum frequency of data, seasonality, and missing data.

### Claim 20 (depends on 15)

The computer system of claim 15, wherein the program instructions stored on the one or more computer readable storage media further comprise:
program instructions to update a knowledge graph with quality metrics of the generated data profile for the model as a part of a knowledge graph for an artificial intelligence (AI) pipeline.
