# US 2026/0099674 A1 · Automated pipeline for training language models

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

- Number: US 2026/0099674 A1
- Document ID: US20260099674A1
- Status: Published application
- Kind: A1
- Application number: 18/909,206
- Filed: 2024-10-08
- Published: 2026-04-09
- Earliest claimed: 2024-10-08
- Assignees: U.S. Bank National Association
- Applicants: U.S. Bank National Association
- Inventors: Giacomo Domeniconi; Ali Fathi; Samuel A. Assefa; Kausik Gangopadhyay; Christopher Taggert; Samuel Atkins
- Web page: https://patentgrep.com/patent/US20260099674A1

## CPC

- G06F 40/295: Named entity recognition
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06F 40/30: Semantic analysis
- G06F 40/40: Processing or translation of natural language (natural language analysis G06F40/20; semantic analysis G06F40/30)
- G06N 3/045: Combinations of networks
- G06N 3/0475: Generative networks
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/094: Adversarial learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

The disclosed embodiments describe a method, system, and computer-readable medium for generating a training dataset for training a model in the field of natural language processing involving receiving a set of input samples and performing a rephrasing operation to produce new versions of the set of input samples, where the new versions preserve semantic equivalence as the set of input samples but have different phrasing. A dataset of generated versions of the input samples is generated using a generative Language Learning Model (LLM), all entity references present in the generated versions of the input samples are labeled, and the generated versions of the input samples and their corresponding labeled versions to form an expanded labeled dataset are aggregated.

## Claims

### Claim 1

A method for generating a training dataset for training a model, comprising:
receiving a set of input samples;
performing a rephrasing operation to produce new versions of the set of input samples, wherein the new versions preserve semantic equivalence as the set of input samples but have different phrasing;
generating a dataset of generated versions of the input samples using a generative Language Learning Model (LLM);
labeling all entity references present in the generated versions of the input samples; and
aggregating the generated versions of the input samples and their corresponding labeled versions to form an expanded labeled dataset.

### Claim 2 (depends on 1)

The method of claim 1, wherein the rephrasing operation includes training a generative LLM in-context by providing the LLM with a prompt that instructs the LLM to create rephrased versions of a target sample.

### Claim 3 (depends on 1)

The method of claim 1, wherein the rephrasing operation includes training a generative LLM in-context to produce multiple rephrased versions of a single input sentence.

### Claim 4 (depends on 1)

The method of claim 1, wherein the rephrasing operation includes generating a modified version of an input sample by applying a random noise based on a random parameter.

### Claim 5 (depends on 1)

The method of claim 1, wherein the rephrasing operation includes generating a modified version of an input sample by applying a rephrasing function based on a random parameter.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
applying a function to the generated versions of the input samples and corresponding placeholders for entity values, where the function replaces the corresponding placeholders with a list of potential values.

### Claim 7 (depends on 6)

The method of claim 6, wherein the function replaces the corresponding placeholders with actual values for a list of potential values for each entity.

### Claim 8 (depends on 1)

The method of claim 1, wherein the expanded labeled dataset is used to train models in text-to-structured tasks.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
converting a text-based query into an executable database query by:
receiving a text-based query;
interpreting the text-based query using a pre-trained Named Entity Recognition (NER) model to classify entities within the query thereby generating identified entities, wherein the NER model is trained on the expanded labeled dataset;
converting the identified entities into a predetermined standardized format to create a structured representation of the text-based query;
mapping the structured representation to a query format compatible with a target database to generate an executable query;
executing the executable query on the target database to perform a requested search or transaction; and
communicating a response from the target database back to a user device for presentation to a user.

### Claim 10 (depends on 9)

The method of claim 9, wherein the text-based query is tokenized into tokens, and the NER model tags each token with corresponding entity labels.

### Claim 11 (depends on 9)

The method of claim 9, wherein the NER model classifies the identified entities into respective categories based on labels used during training of the NER model.

### Claim 12 (depends on 1)

The method of claim 1, further comprising:
receiving the expanded labeled dataset, wherein the expanded labeled dataset comprises rephrased versions of the set of input samples;
using a generator in a Generative Adversarial Network (GAN) pipeline to select particular samples from the rephrased versions of the set of input samples, thereby generating selected samples; and
feeding the selected samples along with corresponding entity values into a Named Entity Recognition (NER) model to train the NER model.

### Claim 13 (depends on 12)

The method of claim 12, further comprising:
optimizing the generator and the NER model through backpropagation using a loss function;
converting, using the trained NER model, a text-based query into a structured format by identifying and classifying entities within the text-based query;
mapping the structured representation of the query to a query format compatible with a target database; and
executing the mapped query on the target database to perform a requested search or transaction.

### Claim 14 (depends on 12)

The method of claim 12, further comprising:
evaluating the authenticity of the selected samples, using a discriminator of the GAN pipeline, by distinguishing between real and generated data.

### Claim 15 (depends on 12)

The method of claim 12, wherein the structured format of the query includes representing each identified entity as a key-value pair.

### Claim 16 (depends on 1)

The method of claim 1, further comprising:
generating synthetic text samples using a generator within a Generative Adversarial Network (GAN) pipeline;
fine-tuning, using a pre-trained Language Learning Model (LLM) within the GAN pipeline the LLM with an inverse loss function of a subsequent model used to generate subsequent model output, the fine-tuning causing the LLM to generate more training samples for the subsequent model;
evaluating a quality of entity recognition performed by the subsequent model using a discriminator, wherein the discriminator includes the NER model; and
updating the generator based on the evaluation of the generated samples by the discriminator, the updating involving modifying internal parameters or changing a prompt to produce alternative samples.

### Claim 17 (depends on 16)

The method of claim 16, further comprising:
generating, using the pre-trained LLM, synthetic text samples that resemble the initial known dataset by fine-tuning the weights and biases within the LLM causing a change in a prompt.

### Claim 18 (depends on 16)

The method of claim 16, wherein the inverse loss function is propagated back through the GAN pipeline to the generator, providing a gradient indicating parameters of the generator to be adjusted.

### Claim 19 (depends on 16)

The method of claim 16, wherein the GAN pipeline includes an iterative cycle of generating new samples, evaluating them using the discriminator, and updating the generator based on the evaluation.

### Claim 20

A system for generating a training dataset for training a model, comprising:
a processor;
a memory operatively connected to the processor and storing instructions which, when executed by the processor, cause the system to perform:
receiving a set of input samples;
performing a rephrasing operation to produce new versions of the set of input samples, wherein the new versions preserve semantic equivalence as the set of input samples but have different phrasing;
generating a dataset of generated versions of the input samples using a generative Language Learning Model (LLM);
labeling all entity references present in the generated versions of the input samples; and
aggregating the generated versions of the input samples and their corresponding labeled versions to form an expanded labeled dataset.
