# US 2025/0209347 A1 · Re-training a machine learning model in real-time using a fast algorithm

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

- Number: US 2025/0209347 A1
- Document ID: US20250209347A1
- Status: Published application
- Kind: A1
- Application number: 18/390,359
- Filed: 2023-12-20
- Published: 2025-06-26
- Earliest claimed: 2023-12-20
- Assignees: Intuit Inc.
- Applicants: Intuit Inc.
- Inventors: Ivelin Georgiev ANGELOV; Ruobing LU
- Web page: https://patentgrep.com/patent/US20250209347A1

## CPC

- G06N 5/022: Knowledge engineering; Knowledge acquisition
- G06N 20/00: Machine learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method for re-training a machine learning model includes generating an embedding of an item of data associated with a user of a software application; storing the embedding of the item of data prior to a trigger event comprising a user action with respect to the item of data; obtaining data indicative of the trigger event during an online session for the user of the software application; retrieving the embedding of the item of data from the data store in response to obtaining the data indicative of the trigger event during the online session; generating updated training data for the machine learning model based, at least in part, on the embedding of the item of data and the user action with respect to the item of data; and providing the updated training data to a re-training algorithm configured to re-train the machine learning model in real-time model.

## Claims

### Claim 1

A method for re-training a machine learning model in real-time, comprising:
generating an embedding of an item of data associated with a user of a software application;
storing the embedding of the item of data on a data store prior to a trigger event comprising a user action with respect to the item of data;
obtaining data indicative of the trigger event during an online session for the user of the software application;
retrieving the embedding of the item of data from the data store in response to obtaining the data indicative of the trigger event during the online session;
generating updated training data for the machine learning model based, at least in part, on the embedding of the item of data and the user action with respect to the item of data; and
providing the updated training data to a re-training algorithm configured to re-train the machine learning model in real-time to generate a re-trained machine learning model.

### Claim 2 (depends on 1)

The method of claim 1, wherein generating the embedding of the item of data comprises generating the embedding during the online session for the user of the software application.

### Claim 3 (depends on 1)

The method of claim 1, wherein generating the embedding of the item of data comprises generating embedding before the online session for the user of the software application.

### Claim 4 (depends on 1)

The method of claim 1, wherein providing the updated training data to the re-training algorithm comprises providing the embedding of the item of data as a feature for the re-training algorithm.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
obtaining one or more predictions generated by the re-trained machine learning model, wherein the one or more predictions comprise a predicted label for an unlabeled item of data associated with the user.

### Claim 6 (depends on 5)

The method of claim 5, wherein obtaining the one or more predictions generated by the re-trained machine learning model during the online session comprises:
providing an embedding generated for the unlabeled item of data before the online session or during the online session as a feature to the re-trained machine learning model; and
obtaining a predicted label for the unlabeled item of data as an output of the re-trained machine learning model during the online session.

### Claim 7 (depends on 5)

The method of claim 5, further comprising:
updating a user interface of the software application during the online session to display the one or more predictions generated by the re-trained machine learning model.

### Claim 8 (depends on 1)

The method of claim 1, wherein providing the updated training data to a re-training algorithm comprises providing the updated training data to a regression algorithm configured to re-train the machine learning model in real-time to generate the re-trained machine learning model.

### Claim 9

A system for re-training a machine learning model in real-time, the system comprising:
a memory including computer executable instructions; and
a processor configured to execute the computer executable instructions and cause the system to:
generate an embedding of an item of data associated with a user of a software application;
store the embedding of the item of data on a data store prior to a trigger event comprising a user action with respect to the item of data;
obtain data indicative of the trigger event during an online session for the user of the software application;
retrieve the embedding of the item of data from the data store in response to obtaining the data indicative of the trigger event during the online session;
generate updated training data for the machine learning model based, at least in part, on the embedding of the item of data and the user action with respect to the item of data; and
provide the updated training data to a re-training algorithm configured to re-train the machine learning model in real-time to generate a re-trained machine learning model.

### Claim 10 (depends on 9)

The system of claim 9, wherein to generate the embedding of the item of data, the computer executable instructions cause the processor to generate the embedding during the online session for the user of the software application.

### Claim 11 (depends on 9)

The system of claim 9, wherein to generate the embedding of the item of data, the computer executable instructions cause the processor to generate the embedding before the online session for the user of the software application.

### Claim 12 (depends on 9)

The system of claim 9, wherein to provide the updated training data to the re-training algorithm, the computer executable instructions cause the processor to provide the embedding of the item of data as a feature for the re-training algorithm.

### Claim 13 (depends on 9)

The system of claim 9, wherein the computer executable instructions further cause the processor to:
obtain one or more predictions generated by the re-trained machine learning model, wherein the one or more predictions comprise a predicted label for an unlabeled item of data associated with the user.

### Claim 14 (depends on 13)

The system of claim 13, wherein to obtain the one or more predictions generated by the re-trained machine learning model, the computer executable instructions cause the processor to:
provide an embedding generated for the unlabeled item of data before the online session or during the online session as a feature to the re-trained machine learning model; and
obtain a predicted label for the unlabeled item of data as an output of the re-trained machine learning model during the online session.

### Claim 15 (depends on 13)

The system of claim 13, wherein the computer executable instructions further cause the processor to:
update a user interface of the software application during the online session to display the predicted label generated by the re-trained machine learning model.

### Claim 16 (depends on 9)

The system of claim 9, wherein the re-training algorithm comprises a regression algorithm.

### Claim 17 (depends on 16)

The system of claim 16, wherein the regression algorithm comprises a linear regression algorithm or a logistical regression algorithm.

### Claim 18 (depends on 9)

The system of claim 9, wherein the re-training algorithm is configured to re-train the machine learning model is less than 200 milliseconds.

### Claim 19

A non-transitory computer readable medium comprising instructions to be executed in a computer system to re-train a machine learning model in real-time, wherein the instructions when executed in the computer system cause the computer system to:
generate an embedding of an item of data associated with a user of a software application;
store the embedding of the item of data on a data store prior to a trigger event comprising a user action with respect to the item of data;
obtain data indicative of the trigger event during an online session for the user of the software application;
retrieve the embedding of the item of data from the data store in response to obtaining the data indicative of the trigger event during the online session;
generate updated training data for the machine learning model based, at least in part, on the embedding of the item of data and the user action with respect to the item of data; and
provide the updated training data to a re-training algorithm configured to re-train the machine learning model in real-time to generate a re-trained machine learning model.

### Claim 20 (depends on 19)

The non-transitory computer readable medium of claim 19, wherein the embedding of the item of data is generated before the online session for the user of the software application.
