# US 2025/0110934 A1 · Data health evaluation using generative language models

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

- Number: US 2025/0110934 A1
- Document ID: US20250110934A1
- Status: Published application
- Kind: A1
- Application number: 18/374,991
- Filed: 2023-09-29
- Published: 2025-04-03
- Earliest claimed: 2023-09-29
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Victor Chukwuma DIBIA; Chenglong WANG; Bongshin LEE; Jeevana Priya INALA; John THOMPSON
- Web page: https://patentgrep.com/patent/US20250110934A1

## CPC

- G06F 16/215: Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
- G10L 15/08: Speech classification or search
- G06F 16/24542: {Plan optimisation}
- G10L 15/16: using artificial neural networks
- G06F 40/35: Discourse or dialogue representation
- G10L 2015/085: {Methods for reducing search complexity, pruning}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

The disclosed concepts relate to leveraging a language model to identify data health issues in a data set. One example method involves accessing a data set. The example method also involves, using an automated evaluation planning agent, inputting a prompt to generate a data evaluation plan for the data set to a generative language model, the prompt including context describing the data set. The example method also involves receiving the data evaluation plan generated by the generative language model and identifying one or more data health issues in the data set by performing the data evaluation plan using an automated evaluation plan execution agent.

## Claims

### Claim 1

A method performed on a computing device, the method comprising:
accessing a data set;
using an automated evaluation planning agent, inputting a prompt to generate a data evaluation plan for the data set to a generative language model, the prompt including context describing the data set;
receiving the data evaluation plan generated by the generative language model; and
identifying one or more data health issues in the data set by performing the data evaluation plan using an automated evaluation plan execution agent.

### Claim 2 (depends on 1)

The method of claim 1, wherein the one or more data health issues include one or more of invalid values in the data set, inconsistent formats in the data set, inconsistent semantic types in the data set, missing values in the data set, outliers in the data set, duplicate unique values in the data set, or inconsistent units in the data set.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
generating a summary of the data set; and
inputting the summary of the data set to the generative language model as the context describing the data set.

### Claim 4 (depends on 3)

The method of claim 3, further comprising, by an automated summarization agent:
prompting the generative language model to generate one or more annotations for the data set using a name of the data set, a name of a field of the data set, or values in the data set as context;
receiving the one or more annotations for the data set from the generative language model; and
including the one or more annotations in the summary, wherein the one or more annotations produced by the generative language model are employed as context for generating the data evaluation plan.

### Claim 5 (depends on 4)

The method of claim 4, the annotations including a semantic description of the data set produced by the generative language model, semantic types of fields of the data set produced by the generative language model, and textual descriptions of the fields produced by the generative language model.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
by an automated aggregation and scoring agent, determining a data health score for the data set based at least on the one or more data health issues.

### Claim 7 (depends on 6)

The method of claim 6, the data health score being determined by the automated aggregation and scoring agent using at least one of a severity dictionary or a regression model.

### Claim 8 (depends on 1)

The method of claim 1, further comprising, by the automated evaluation plan execution agent:
prompting the generative language model to write code to implement one or more data evaluation actions of the data evaluation plan;
receiving the code from the generative language model; and
executing the code to implement the data evaluation plan.

### Claim 9 (depends on 8)

The method of claim 8, wherein the code written by the generative language model obtains samples from the data set and performs the one or more data evaluation actions of the data evaluation plan on the samples.

### Claim 10 (depends on 9)

The method of claim 9, wherein the code performs one or more data cleaning actions on the data set.

### Claim 11 (depends on 10)

The method of claim 10, wherein the one or more data cleaning actions include removing values from the data set or changing values in the data set.

### Claim 12 (depends on 11)

The method of claim 11, further comprising, by the automated evaluation plan execution agent:
prompting the generative language model to determine whether the one or more data cleaning actions improve data quality of the data set; and
responsive to a response from the generative language model indicating that a particular data cleaning action does not improve the data quality of the data set, performing a different data cleaning action on the data set.

### Claim 13 (depends on 1)

The method of claim 1, wherein the generative language model comprises a transformer decoder neural network.

### Claim 14 (depends on 13)

The method of claim 13, further comprising:
performing pruning or distillation on another generative language model having another transformer decoder neural network to obtain the generative language model,
the generative language model having fewer parameters than the another generative language model.

### Claim 15

A system comprising:
a hardware processing unit; and
a storage resource storing computer-readable instructions which, when executed by the hardware processing unit, cause the system to:
access a data set;
input a prompt to a generative language model to generate a data evaluation plan for the data set, the prompt including a summary of the data set as context;
receive the data evaluation plan from the generative language model, the data evaluation plan including one or more data evaluation actions; and
perform the one or more data evaluation actions received from the generative language model to identify one or more data health issues in the data set.

### Claim 16 (depends on 15)

The system of claim 15, wherein the computer-readable instructions, when executed by the hardware processing unit, cause the system to:
prompt the generative language model for annotations of the data set; and
include the annotations from the generative language model with the prompt to generate the data evaluation plan.

### Claim 17 (depends on 16)

The system of claim 16, wherein the annotations include a semantic description of the data set produced by the generative language model, semantic types of fields of the data set produced by the generative language model, and textual descriptions of the fields produced by the generative language model.

### Claim 18 (depends on 17)

The system of claim 17, wherein the computer-readable instructions, when executed by the hardware processing unit, cause the system to:
include, in the summary included as context in the prompt, at least:
data types of fields of the data set, and
statistics for a particular field of the data set.

### Claim 19 (depends on 18)

The system of claim 18, wherein the statistics include a minimum value, maximum value, and number of unique values of the particular field.

### Claim 20

A computer-readable storage medium storing computer-readable instructions which, when executed by a processing unit, cause the processing unit to perform acts comprising:
accessing a data set;
inputting a prompt to generate a data evaluation plan for the data set to a generative language model, the prompt including context describing the data set;
receiving the data evaluation plan produced by the generative language model; and
identifying one or more data health issues in the data set by performing the data evaluation plan.
