# US 12,717,821 B2 · Machine-learning-automated recognition and labelling of columnar data

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

- Number: US 12,717,821 B2
- Document ID: US12717821B2
- Status: Granted
- Kind: B2
- Application number: 19/052,765
- Filed: 2025-02-13
- Published: 2025-06-05
- Granted: 2026-08-25
- Earliest claimed: 2023-08-25
- Assignees: Express Scripts Strategic Development, Inc.
- Applicants: Express Scripts Strategic Development, Inc.
- Inventors: Jonathan J. Lisic
- Web page: https://patentgrep.com/patent/US12717821B2

## CPC

- G06F 16/285: {Clustering or classification}
- G06F 16/221: {Column-oriented storage; Management thereof}
- G06N 20/00: Machine learning
- G06N 20/20: Ensemble learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Example embodiments of the present disclosure include a method, system and computer-readable medium including receiving input data that is organized into a set of rows and a set of columns, maintaining a machine learning header model that is trained on tabular data with header rows, supplying the input data to generate header row identification data that identifies a set of header rows that is a subset of the set of rows, to generate column label data that applies a set of defined labels to the set of columns, predicting one of the set of defined labels for the column, determining a column confidence score, generating a notification seeking user feedback when the column confidence score is below a threshold for the column, applying user feedback to predict the one of the set of defined labels for the column, and generating output data that is organized into rows and columns.

## Claims

### Claim 1

A computer-implemented method comprising:
receiving input data that is organized into a set of rows and a set of columns;
maintaining a machine learning header model that is trained on tabular data with header rows;
supplying the input data as input to the machine learning header model to generate header row identification data that identifies a set of header rows that is a subset of the set of rows;
maintaining a machine learning column model that is trained on the tabular data;
supplying the header row identification data and features of the input data to the machine learning column model to generate column label data that applies a set of defined labels to the set of columns, wherein:
for each column of the set of columns:
predicting one of the set of defined labels for the column;
determining a column confidence score from the machine learning column model for a column label prediction;
generating a first notification seeking first user feedback when the column confidence score is below a first threshold for the column;
receiving the first user feedback; and
applying the first user feedback to predict the one of the set of defined labels for the column; and
generating output data that is organized into rows and columns, wherein columns of the output data are labelled based on the column label data,
wherein:
the machine learning column model includes a plurality of column-specific machine learning models,
each of the plurality of column-specific machine learning models corresponds to a respective one of the set of defined labels, and
the set of defined labels includes an undefined label;
for each column of the set of columns:
determining scores from the plurality of column-specific machine learning models for the column;
determining a highest scoring model of the plurality of column-specific machine learning models;
selectively applying the one of the set of defined labels corresponding to the highest scoring model to the column; and
applying the undefined label to the column in response to the score of the highest scoring model being less than the first threshold.

### Claim 2 (depends on 1)

The method of claim 1 wherein, to each of the set of columns, the column label data applies one of the set of defined labels.

### Claim 3 (depends on 1)

The method of claim 1, further comprising generating a user interface configured to display the first notification and generate one or more user activatable components allowing a user to validate or override the column label prediction.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first notification comprises sending an email to a user, generating a pop-up menu on a user interface, or sending a text message.

### Claim 5 (depends on 1)

The method of claim 1 wherein:
supplying the header row identification data and features of the input data to the machine learning column model includes, for each column of the set of columns, supplying features of the column to each of the plurality of column-specific machine learning models; and
for each column of the set of columns, the features include data values from the column.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
using the machine learning header model to determine a header row score for a subset of the set of rows; and
in response to the header row score for a row exceeding the first threshold, including the row in the header row identification data;
generating a second notification seeking second user feedback when the header row score for the row is below the first threshold;
receiving the second user feedback; and
applying the second user feedback to train the machine learning header model.

### Claim 7 (depends on 1)

The method of claim 1 further comprising:
maintaining a machine learning junk model that is trained on tabular data;
supplying features of the input data to the machine learning junk model to generate junk scores for the set of rows; and
for any row of the set of rows having a junk score above the first threshold, excluding the row from the output data.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
generating a third notification seeking third user feedback when the junk score is below the first threshold and exceeds a second threshold;
receiving the third user feedback; and
applying the third user feedback to train the machine learning junk model.

### Claim 9 (depends on 1)

The method of claim 1, further comprising the machine learning column model backpropagating the column label prediction to a first predicted column of the set of columns after receiving the first user feedback.

### Claim 10 (depends on 1)

The method of claim 1, further comprising the machine learning column model backpropagating the column label prediction to a predicted column of the set of columns that had the column confidence score lower than the first threshold after receiving the first user feedback.

### Claim 11

A system comprising:
processor hardware; and
memory hardware configured to store instructions that, when executed by the processor hardware, cause the processor hardware to perform operations, wherein the operations include:
receiving input data that is organized into a set of rows and a set of columns;
maintaining a machine learning header model that is trained on tabular data with header rows;
supplying the input data as input to the machine learning header model to generate header row identification data that identifies a set of header rows that is a subset of the set of rows;
maintaining a machine learning column model that is trained on the tabular data;
supplying the header row identification data and features of the input data to the machine learning column model to generate column label data that applies a set of defined labels to the set of columns, wherein:
for each column of the set of columns:
predicting one of the set of defined labels for the column;
determining a column confidence score from the machine learning column model for a column label prediction;
generating a first notification seeking user feedback when the column confidence score is below a threshold for the column;
receiving the first user feedback; and
applying the first user feedback to predict the one of the set of defined labels for the column; and
generating output data that is organized into rows and columns, wherein columns of the output data are labelled based on the column label data;
wherein the operations further include:
maintaining a machine learning junk model that is trained on tabular data;
supplying features of the input data to the machine learning junk model to generate junk scores for the set of rows;
for any row of the set of rows having a junk score above the first threshold, excluding the row from the output data
generating a third notification seeking third user feedback when the junk score is below the first threshold and exceeds a second threshold;
receiving the third user feedback; and
applying the third user feedback to train the machine learning junk model.

### Claim 12 (depends on 11)

The system of claim 11, wherein the operations further include generating a user interface configured to display the first notification and generate one or more user activatable components allowing a user to validate or override the column label prediction.

### Claim 13 (depends on 11)

The system of claim 11, wherein the operations further include sending an email to a user, generating a pop-up menu on a user interface, or sending a text message to generate the first notification.

### Claim 14 (depends on 11)

The system of claim 11, wherein the operations further include:
using the machine learning header model to determine a header row score for a subset of the set of rows; and
in response to the header row score for a row exceeding the first threshold, including the row in the header row identification data;
generating a second notification seeking second user feedback when the header row score for the row is below the first threshold;
receiving the second user feedback; and
applying the second user feedback to train the machine learning header model.

### Claim 15 (depends on 11)

The system of claim 11, wherein the operations further include the machine learning column model backpropagating the column label prediction to a first predicted column of the set of columns after receiving the first user feedback.

### Claim 16 (depends on 11)

The system of claim 11, wherein the operations further include the machine learning column model backpropagating the column label prediction to a predicted column of the set of columns that had the column confidence score lower than the first threshold after receiving the first user feedback.

### Claim 17

A non-transitory computer-readable medium storing processor-executable instructions, the instructions comprising:
receiving input data that is organized into a set of rows and a set of columns;
maintaining a machine learning header model that is trained on tabular data with header rows;
supplying the input data as input to the machine learning header model to generate header row identification data that identifies a set of header rows that is a subset of the set of rows;
maintaining a machine learning column model that is trained on the tabular data;
supplying the header row identification data and features of the input data to the machine learning column model to generate column label data that applies a set of defined labels to the set of columns, wherein:
for each column of the set of columns:
predicting one of the set of defined labels for the column;
determining a column confidence score from the machine learning column model for a column label prediction;
generating a first notification seeking first user feedback when the column confidence score is below a threshold for the column;
receiving the first user feedback; and
applying the first user feedback to predict the one of the set of defined labels for the column; and
generating output data that is organized into rows and columns, wherein columns of the output data are labelled based on the column label data;
wherein:
the machine learning column model includes a plurality of column-specific machine learning models,
each of the plurality of column-specific machine learning models corresponds to a respective one of the set of defined labels, and
the set of defined labels includes an undefined label;
for each column of the set of columns:
determining scores from the plurality of column-specific machine learning models for the column;
determining a highest scoring model of the plurality of column-specific machine learning models;
selectively applying the one of the set of defined labels corresponding to the highest scoring model to the column; and
applying the undefined label to the column in response to the score of the highest scoring model being less than the first threshold.

### Claim 18

A computer-implemented method comprising:
receiving input data that is organized into a set of rows and a set of columns;
maintaining a machine learning header model that is trained on tabular data with header rows;
supplying the input data as input to the machine learning header model to generate header row identification data that identifies a set of header rows that is a subset of the set of rows;
maintaining a machine learning column model that is trained on the tabular data;
supplying the header row identification data and features of the input data to the machine learning column model to generate column label data that applies a set of defined labels to the set of columns, wherein:
for each column of the set of columns:
predicting one of the set of defined labels for the column;
determining a column confidence score from the machine learning column model for a column label prediction;
generating a first notification seeking first user feedback when the column confidence score is below a first threshold for the column;
receiving the first user feedback; and
applying the first user feedback to predict the one of the set of defined labels for the column; and
generating output data that is organized into rows and columns, wherein columns of the output data are labelled based on the column label data;
maintaining a machine learning junk model that is trained on tabular data;
supplying features of the input data to the machine learning junk model to generate junk scores for the set of rows;
for any row of the set of rows having a junk score above the first threshold, excluding the row from the output data;
generating a third notification seeking third user feedback when the junk score is below the first threshold and exceeds a second threshold;
receiving the third user feedback; and
applying the third user feedback to train the machine learning junk model.

### Claim 19 (depends on 18)

The method of claim 18, wherein, to each of the set of columns, the column label data applies one of the set of defined labels.

### Claim 20 (depends on 18)

The method of claim 18, further comprising generating a user interface configured to display the first notification and generate one or more user activatable components allowing a user to validate or override the column label prediction.
