IP Library Granted Patent US 12682280
Granted Patent B2
US 12682280 · App. 17/827,495 · Granted Jul 14, 2026

Identifying optimal weights to improve prediction accuracy in machine learning techniques

Inventors: Jing Xu (Xi'an, CN); Si Er Han (Xi'an, CN); Steven George Barbee (Amenia, NY); Xue Ying Zhang (Xi'an, CN); Ji Hui Yang (Beijing, CN)
Assignee: Anthropic, PBC
G06N20/00G06N5/02
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12682280
App. No.
17/827,495
Granted
Jul 14, 2026
Kind
B2
Abstract

A computer-implemented method, system and computer program product for improving prediction accuracy in machine learning techniques. A teacher model is constructed, where the teacher model generates a weight for each data case. The current student model is then trained using training data and the weights generated by the teacher model. After training the current student model, the current student model generates state features, which are used by the teacher model to generate new weights. A candidate student model is then trained using training data and these new weights. A reward is generated by comparing the current student model with the candidate student model using training and testing data, which is used to update the teacher model if a stopping rule has not been satisfied. Upon a stopping rule being satisfied, the weights generated by the teacher model are deemed to be the “optimal” weights which are returned to the user.

Claims (55)

1 . A computer-implemented method for improving prediction accuracy in machine learning techniques, the computer-implemented method comprising:

training a candidate student model using training data and weights generated by a teacher model;

comparing a current student model with the candidate student model using the training data and testing data to determine which is better at predicting an observed target;

determining whether the candidate student model is better at predicting the observed target than the current student model based on how close predictions generated by the candidate student model are to the observed target; and

in response to determining that the candidate student model is better at predicting the observed target than the current student model, updating the current student model with the candidate student model and updating current weights with the weights.

2 . The computer-implemented method of claim 1 , further comprising:

training the current student model using the training data and a current weight for each data case generated by the teacher model;

generating a reward based on the comparing the current student model with the candidate student model; and

updating the teacher model with the reward in response to a stopping rule not being satisfied.

3 . The computer-implemented method of claim 2 , further comprising:

prior to the updating the teacher model, generating the weights by the teacher model using state features; and

subsequent to the updating the teacher model, generating a set of weights by the updated teacher model using the state features in response to determining that the candidate student model is not better at predicting the observed target than the current student model.

4 . The computer-implemented method of claim 3 , further comprising:

training the candidate student model using the training data and the set of weights.

5 . The computer-implemented method of claim 3 , wherein the state features comprise one or more of data features, case weights, student model features, or features representing a combination of data and the current student model.

6 . The computer-implemented method of claim 1 , further comprising:

returning the weights and the current student model to a user in response to a stopping rule being satisfied, wherein the returned current student model provides a prediction of the observed target, and wherein the stopping rule comprises one or more of: reaching a specified number of trials, reaching a specified training time, converging of a prediction accuracy, or a user-initiated termination.

7 . The computer-implemented method of claim 1 , wherein the weights are generated by the teacher model using reinforcement learning techniques.

8 . A computer program product for improving prediction accuracy in machine learning techniques, the computer program product comprising one or more computer readable storage mediums having program code embodied therewith, the program code comprising programming instructions for:

training a candidate student model using training data and weights generated by a teacher model;

comparing a current student model with the candidate student model using the training data and testing data to determine which is better at predicting an observed target;

determining whether the candidate student model is better at predicting the observed target than the current student model based on how close predictions generated by the candidate student model are to the observed target; and

in response to determining that the candidate student model is better at predicting the observed target than the current student model, updating the current student model with the candidate student model and updating current weights with the weights.

9 . The computer program product of claim 8 , wherein the programming instructions are further for:

training the current student model using the training data and a current weight for each data case generated by the teacher model;

generating a reward based on the comparing the current student model with the candidate student model; and

updating the teacher model with the reward in response to a stopping rule not being satisfied.

10 . The computer program product of claim 9 , wherein the programming instructions are further for:

prior to the updating the teacher model, generating the weights by the teacher model using state features; and

subsequent to the updating the teacher model, generating a set of weights by the updated teacher model using the state features in response to determining that the candidate student model is not better at predicting the observed target than the current student model.

11 . The computer program product of claim 10 , wherein the programming instructions are further for:

training the candidate student model using the training data and the set of weights.

12 . The computer program product of claim 10 , wherein the state features comprise one or more of data features, case weights, student model features, or features representing a combination of data and the current student model.

13 . The computer program product of claim 8 , wherein the programming instructions are further for:

returning the weights and the current student model to a user in response to a stopping rule being satisfied, wherein the returned current student model provides a prediction of the observed target, and wherein the stopping rule comprises one or more of the following: reaching a specified number of trials, reaching a specified training time, converging of a prediction accuracy, and a user-initiated termination.

14 . The computer program product of claim 8 , wherein the weights are generated by the teacher model using reinforcement learning techniques.

15 . A system, comprising:

a memory for storing a computer program for improving prediction accuracy in machine learning techniques; and

a processor connected to the memory, wherein the processor is configured to execute program instructions of the computer program comprising:

training a candidate student model using training data and weights generated by a teacher model;

comparing the current student model with the candidate student model using the training data and testing data to determine which is better at predicting an observed target;

determining whether the candidate student model is better at predicting the observed target than the current student model based on how close predictions generated by the candidate student model are to the observed target; and

in response to determining that the candidate student model is better at predicting the observed target than the current student model, updating the current student model with the candidate student model and updating current weights with the weights.

16 . The system as recited in claim 15 , wherein the program instructions of the computer program further comprise:

training the current student model using the training data and a current weight for each data case generated by the teacher model;

generating a reward based on the comparing the current student model with the candidate student model; and

updating the teacher model with the reward in response to a stopping rule not being satisfied.

17 . The system of claim 16 , wherein the program instructions of the computer program further comprise:

prior to the updating the teacher model, generating the weights by the teacher model using state features; and

subsequent to the updating the teacher model, generating a set of weights by the updated teacher model using the state features in response to determining that the candidate student model is not better at predicting the observed target than the current student model.

18 . The system of claim 17 , wherein the program instructions of the computer program further comprise:

training the candidate student model using the training data and the set of weights.

19 . The system of claim 15 , wherein the program instructions of the computer program further comprise:

returning the weights and the current student model to a user in response to a stopping rule being satisfied, wherein the returned current student model provides a prediction of the observed target, and wherein the stopping rule comprises one or more of: reaching a specified number of trials, reaching a specified training time, converging of a prediction accuracy, or a user-initiated termination.

20 . The system of claim 17 , wherein the state features comprise one or more of data features, case weights, student model features, or features representing a combination of data and the current student model.