IP Library Granted Patent US 12,682,280
Granted Patent B2
US 12,682,280 · 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 12,682,280
App. No.
17/827,495
Filed
May 27, 2022
Granted
Jul 14, 2026
Kind
B2
Art Unit
2457
USPC
706/12
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.

Assignments (3)
SECURITY INTEREST Recorded Jul 8, 2025
From: ANTHROPIC, PBC
To: MORGAN STANLEY SENIOR FUNDING, INC., AS COLLATERAL AGENT
Reel/Frame 071626/0234 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 22, 2025
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: ANTHROPIC, PBC
Reel/Frame 071201/0198 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 27, 2022
From: XU, JING; HAN, SI ER; BARBEE, STEVEN GEORGE; ZHANG, XUE YING; YANG, JI HUI
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 060043/0821 →
Continuity (2)
Continuation 16684396 · Nov 14, 2019
Related Publication 20220292401A1 · Sep 15, 2022
References Cited (48)
US 10257072B1 · Salam · 2019 [cited by applicant]
US 10318882B2 · Brueckner · 2019 [cited by examiner]
US 10768583B2 · Fuji et al. · 2020 [cited by applicant]
US 11132602B1 · Xie · 2021 [cited by examiner]
US 11276023B1 · Butler · 2022 [cited by examiner]
US 20090210371A1 · Laan · 2009 [cited by examiner]
US 20160071017A1 · Adjaoute · 2016 [cited by applicant]
US 20160078361A1 · Brueckner · 2016 [cited by examiner]
US 20170083829A1 · Kang · 2017 [cited by examiner]
US 20170132528A1 · Aslan et al. · 2017 [cited by applicant]
US 20170372201A1 · Gupta et al. · 2017 [cited by applicant]
US 20180268280A1 · Tokuchi · 2018 [cited by applicant]
US 20180314947A1 · Morris, II · 2018 [cited by examiner]
US 20190102693A1 · Yates · 2019 [cited by examiner]
US 20190102709A1 · Correa · 2019 [cited by examiner]
US 20190156205A1 · Gebre et al. · 2019 [cited by applicant]
US 20190164110A1 · Shiraishi · 2019 [cited by applicant]
US 20190205748A1 · Fukuda et al. · 2019 [cited by applicant]
US 20190287515A1 · Li · 2019 [cited by examiner]
US 20200134445A1 · Che · 2020 [cited by examiner]
US 20200134759A1 · Refila · 2020 [cited by examiner]
US 20200209858A1 · Trofymov · 2020 [cited by examiner]
US 20200218940A1 · Anglin · 2020 [cited by examiner]
US 20200225385A1 · O'Donncha · 2020 [cited by examiner]
US 20200257980A1 · Bhattacharjee · 2020 [cited by examiner]
US 20200302334A1 · Yang · 2020 [cited by examiner]
US 20200334538A1 · Meng · 2020 [cited by examiner]
US 20200364502A1 · Anping et al. · 2020 [cited by applicant]
US 20200401949A1 · Dangi · 2020 [cited by examiner]
US 20210117776A1 · Cheng · 2021 [cited by examiner]
US 20210142208A1 · Osogami · 2021 [cited by examiner]
US 20220366678A1 · Ishii · 2022 [cited by examiner]
US 20230119593A1 · Yao · 2023 [cited by examiner]
CN 110175628A · 2019 [cited by applicant]
JP 2018151950A · 2018 [cited by applicant]
JP 2019046422A · 2019 [cited by applicant]
Examination Report from United Kingdom Intellectual Property Office for Application No. GB2207662.4 dated Jun. 22, 2022, pp. 1-10. [cited by applicant]
Fan et al., “Learning to Teach,” Sixth International Conference on Learning Representations, Apr. 30-May 3, 2018, pp. 1-16. [cited by applicant]
Freund et al., “A Decision-Theoretic Generalization of On-Line Learning and an Application to Boosting,” Journal of Computer and System Sciences, vol. 55, 1997, pp. 119-139. [cited by applicant]
Ronald J. Williams, “Simple Statistical Gradient-Following Algorithms for Connectionist Reinforcement Learning,” Machine Learning, vol. 8, 1992, pp. 229-256. [cited by applicant]
Kim et al., “A Weight-Adjusted Voting Algorithm for Ensemble of Classifiers,” Journal of the Korean Statistical Society, vol. 40, Issue 4, Dec. 2011, pp. 437-449. [cited by applicant]
Kuhn et al., “Applied Predictive Modeling,” “Chapter 14: Classification Trees and Rule-Based Models,” Springer Science+Business Media, New York, 2013, pp. 369-413. [cited by applicant]
International Search Report and the Written Opinion of the International Searching Authority for International Application No. PCT/IB2020/060581 dated Feb. 23, 2021, pp. 1-10. [cited by applicant]
Notice of Acceptance of Patent Application for Australian Application No. 2020385049 dated Jan. 16, 2023, pp. 1-3. [cited by applicant]
Examination Report for United Kingdom Application No. GB2207662.4 dated Sep. 2, 2022, pp. 1-6. [cited by applicant]
List of IBM Patents or Patent Applications Treated as Related, Jul. 17, 2022, pp. 1-2. [cited by applicant]
Decision to Grant a Patent for Japanese Patent Application No. 2022-525521 dated Mar. 18, 2204, pp. 1-2. [cited by applicant]
Search Report mailed Jun. 3, 2025, in Singapore Patent Application No. 11202204720U, filed Nov. 10, 2020. [cited by applicant]