# US 2026/0099716 A1 · Authority-based training process for a large language model

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

- Number: US 2026/0099716 A1
- Document ID: US20260099716A1
- Status: Published application
- Kind: A1
- Application number: 18/905,542
- Filed: 2024-10-03
- Published: 2026-04-09
- Earliest claimed: 2024-10-03
- Assignees: Red Hat, Inc.
- Applicants: Red Hat, Inc.
- Inventors: Anna Luti; Paolo Antinori
- Web page: https://patentgrep.com/patent/US20260099716A1

## CPC

- G06F 16/33295: {in dialogue systems}
- G06N 3/0895: Weakly supervised learning, e.g. semi-supervised or self-supervised learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

An authority-based training process for a large language model is provided. The process can involve generating corresponding sets of data quality metrics for each sample in a training dataset. The training dataset can encompass a group of topics. The process can also involve generating a corresponding set of authority scores for each sample based on the corresponding sets of data quality metrics. Each authority score can indicate a respective authority level of the sample in relation to a particular topic of the group of topics. The process can further involve training the large language model using a loss function that includes a set of weights. During training, the set of weights can be dynamically adjusted based on the corresponding set of authority scores for each sample in the training dataset. This can produce a large language model that is more accurate than may otherwise be possible.

## Claims

### Claim 1

A system comprising:
one or more processors; and
one or more memories storing program code that is executable by the one or more processors for causing the one or more processors to perform operations including:
for each sample in a training dataset for training a large language model, generating corresponding sets of data quality metrics, wherein the training dataset encompasses a plurality of topics;
for each sample in the training dataset, generating a corresponding set of authority scores based on the corresponding sets of data quality metrics for the sample, each authority score in the corresponding set of authority scores indicating a respective authority level of the sample in relation to a particular topic of the plurality of topics; and
executing a training process in which the large language model is trained using a loss function that includes a set of weights, wherein the training process involves dynamically adjusting the set of weights based on the corresponding set of authority scores for each sample in the training dataset.

### Claim 2 (depends on 1)

The system of claim 1, wherein the operation of dynamically adjusting the set of weights causes more importance to be given to higher authority data in the training dataset with respect to each topic of the plurality of topics than to lower authority data in the training dataset with respect to each topic of the plurality of topics.

### Claim 3 (depends on 1)

The system of claim 1, wherein the corresponding set of authority scores, for each sample in the training dataset, includes normalized scores generated using a predefined normalization technique.

### Claim 4 (depends on 1)

The system of claim 1, wherein each set of data quality metrics in the corresponding sets of data quality metrics for a given sample corresponds to a respective topic of the plurality of topics and includes a reference count metric, a maturity metric, and a sentiment metric.

### Claim 5 (depends on 1)

The system of claim 1, wherein the operations further comprise, after the training process is complete:
executing a topic model on a query from a user to automatically determine one or more topics present in the query;
generating an input prompt based on the query and the one or more topics;
providing the input prompt as input to the large language model, the large language model being configured to generate an output based on the input prompt; and
providing the output to the user as a response to the query.

### Claim 6 (depends on 1)

The system of claim 1, wherein the operations further comprise, after the training process is complete:
detecting an event; and
in response to detecting the event:
for each sample of the training dataset, updating the corresponding set of authority scores to thereby generate an updated set of authority scores for the sample; and
retraining the large language model based on the updated sets of authority scores for the samples in the training dataset.

### Claim 7 (depends on 6)

The system of claim 6, wherein the operations further comprise:
for each sample of the training dataset:
generating updated sets of data quality metrics corresponding to the plurality of topics; and
updating the corresponding set of authority scores based on the updated sets of data quality metrics to thereby generate the updated set of authority scores for the sample.

### Claim 8 (depends on 1)

The system of claim 1, wherein the operations further comprise:
automatically deriving the plurality of topics from the training dataset by executing a topic model on the training dataset; and
after automatically deriving the plurality of topics from the training dataset, generating the corresponding set of authority scores for each sample in the training dataset based on the plurality of topics.

### Claim 9

A computer-implemented method comprising:
for each sample in a training dataset for training a large language model, generating corresponding sets of data quality metrics, wherein the training dataset encompasses a plurality of topics;
for each sample in the training dataset, generating a corresponding set of authority scores based on the corresponding sets of data quality metrics for the sample, each authority score in the corresponding set of authority scores indicating a respective authority level of the sample in relation to a particular topic of the plurality of topics; and
executing a training process in which the large language model is trained using a loss function that includes a set of weights, wherein the training process involves dynamically adjusting the set of weights based on the corresponding set of authority scores for each sample in the training dataset.

### Claim 10 (depends on 9)

The method of claim 9, wherein the operation of dynamically adjusting the set of weights causes more importance to be given to higher authority data in the training dataset with respect to each topic of the plurality of topics than to lower authority data in the training dataset with respect to each topic of the plurality of topics.

### Claim 11 (depends on 9)

The method of claim 9, wherein the corresponding set of authority scores, for each sample in the training dataset, includes normalized scores generated using a predefined normalization technique.

### Claim 12 (depends on 9)

The method of claim 9, wherein each set of data quality metrics in the corresponding sets of data quality metrics for a given sample corresponds to a respective topic of the plurality of topics and includes a reference count metric.

### Claim 13 (depends on 9)

The method of claim 9, further comprising, after the training process is complete:
executing a topic model on a query from a user to automatically determine one or more topics present in the query;
generating an input prompt based on the query and the one or more topics;
providing the input prompt as input to the large language model, the large language model being configured to generate an output based on the input prompt; and
providing the output to the user as a response to the query.

### Claim 14 (depends on 9)

The method of claim 9, further comprising, after the training process is complete:
detecting an event; and
in response to detecting the event:
for each sample of the training dataset, updating the corresponding set of authority scores to thereby generate an updated set of authority scores for the sample; and
retraining the large language model based on the updated sets of authority scores for the samples in the training dataset.

### Claim 15 (depends on 9)

The method of claim 9, further comprising:
for each sample of the training dataset, generating an additional data quality metric;
for each sample of the training dataset, updating the corresponding set of authority scores based on the additional data quality metric to thereby generate an updated set of authority scores for the sample; and
retraining the large language model based on the updated sets of authority scores for the samples in the training dataset.

### Claim 16 (depends on 9)

The method of claim 9, further comprising:
automatically deriving the plurality of topics from the training dataset by executing a topic model on the training dataset; and
after automatically deriving the plurality of topics from the training dataset, generating the corresponding set of authority scores for each sample in the training dataset based on the plurality of topics.

### Claim 17

A non-transitory computer-readable medium comprising program code that is executable by one or more processors for causing the one or more processors to perform operations including:
for each sample in a training dataset for training a large language model, generating corresponding sets of data quality metrics, wherein the training dataset encompasses a plurality of topics;
for each sample in the training dataset, generating a corresponding set of authority scores based on the corresponding sets of data quality metrics for the sample, each authority score in the corresponding set of authority scores indicating a respective authority level of the sample in relation to a particular topic of the plurality of topics; and
executing a training process in which the large language model is trained using a loss function that includes a set of weights, wherein the training process involves dynamically adjusting the set of weights based on the corresponding set of authority scores for each sample in the training dataset.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the operation of dynamically adjusting the set of weights causes more importance to be given to higher authority data in the training dataset with respect to each topic of the plurality of topics than to lower authority data in the training dataset with respect to each topic of the plurality of topics.

### Claim 19 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the operations further comprise, after the training process is complete:
detecting an event; and
in response to detecting the event:
for each sample of the training dataset, updating the corresponding set of authority scores to thereby generate an updated set of authority scores for the sample; and
retraining the large language model based on the updated sets of authority scores for the samples in the training dataset.

### Claim 20 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein the operations further comprise:
automatically deriving the plurality of topics from the training dataset by executing a topic model on the training dataset; and
after automatically deriving the plurality of topics from the training dataset, generating the corresponding set of authority scores for each sample in the training dataset based on the plurality of topics.
