# US 2025/0165874 A1 · Method, System, and Computer Program Product for Improving Machine Learning Models

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

- Number: US 2025/0165874 A1
- Document ID: US20250165874A1
- Status: Published application
- Kind: A1
- Application number: 18/833,603
- Filed: 2024-01-03
- Published: 2025-05-22
- Earliest claimed: 2023-01-04
- Assignees: Visa International Service Association
- Applicants: Visa International Service Association
- Inventors: Mert Kosan; Linyun He; Shubham Agrawal; Yuhang Wu; Hongyi Liu; Chiranjeet Chetia
- Web page: https://patentgrep.com/patent/US20250165874A1

## CPC

- G06N 20/20: Ensemble learning
- G06Q 40/03: Credit; Loans; Processing thereof
- G06N 3/045: Combinations of networks
- G06N 3/09: Supervised learning
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06Q 30/06: Buying, selling or leasing transactions
- G06Q 40/02: Banking, e.g. interest calculation or account maintenance (credit or loans G06Q40/03)
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/048: Activation functions
- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

Methods, systems, and computer program products are provided for improving machine learning models which include receiving a data set including data records; inputting the data set to a pre-trained first machine learning model to generate first embeddings; inputting the first embeddings to a second machine learning model to generate second embeddings in a user-specific embedding space; inputting the plurality of second embeddings to a third machine learning model to extract feature data associated with a feature; inputting an output from a machine learning system and the feature data to a fourth machine learning model to generate a relevance score for each entity; determining a subset of entities based on the relevance score; communicating a feedback request to a user; receiving feedback data from the user; and training at least one of the models based on the feedback data.

## Claims

### Claim 1

A computer-implemented method, comprising:
receiving, with at least one processor, a data set comprising a plurality of data records, each data record of the plurality of data records associated with an entity of a plurality of entities;
inputting, with at least one processor, the data set to a pre-trained first machine learning model to generate a plurality of first embedding vectors, each respective first embedding vector of the plurality of first embedding vectors associated with a respective entity of the plurality of entities;
inputting, with at least one processor, the plurality of first embedding vectors to a second machine learning model to generate a plurality of second embedding vectors by mapping each respective first embedding vector of the plurality of first embedding vectors to a respective second embedding vector in a user-specific embedding space associated with a user;
inputting, with at least one processor, the plurality of second embedding vectors to a third machine learning model to extract feature data associated with at least one feature based on the plurality of second embedding vectors;
inputting, with at least one processor, an output from a machine learning system and the feature data to a fourth machine learning model to generate a relevance score for each entity of the plurality of entities;
determining, with at least one processor, a subset of entities of the plurality of entities based on the relevance score for each entity of the subset of entities;
communicating, with at least one processor, a feedback request to a user device of the user based on the subset of entities;
receiving, with at least one processor, feedback data from the user device for each entity of the subset of entities; and
training, with at least one processor, at least one of the following: the second machine learning model, the third machine learning model, the fourth machine learning model, or any combination thereof based on the feedback data.

### Claim 2 (depends on 1)

The method of claim 1, wherein training the at least one of the following: the second machine learning model, the third machine learning model, the fourth machine learning model, or any combination thereof comprises modifying at least one parameter of at least one of the following: the second machine learning model, the third machine learning model, the fourth machine learning model, or any combination thereof based on the feedback data.

### Claim 3 (depends on 1)

The method of claim 1, wherein the feedback data comprises a binary classification for each entity of the subset of entities.

### Claim 4 (depends on 1)

The method of claim 1, wherein the data set comprises multivariate time-series data comprising the plurality of data records, each respective data record of the plurality of data records comprising data elements based on a time sequence for a plurality of variables.

### Claim 5 (depends on 1)

The method of claim 1, wherein the data set comprises transaction data associated with a plurality of transactions, each data record associated with at least one transaction of the plurality of transactions.

### Claim 6 (depends on 1)

The method of claim 1, wherein the relevance score is associated with at least one of the following: an authorization decision, a fraud determination, a credit application decision, an insurance application decision, or any combination thereof.

### Claim 7 (depends on 1)

The method of claim 1, wherein training the at least one of the following: the second machine learning model, the third machine learning model, the fourth machine learning model, or any combination thereof comprises:
determining, with at least one processor, a loss based on the feedback data and a loss function; and
training, with at least one processor, the at least one of the following: the second machine learning model, the third machine learning model, the fourth machine learning model, or any combination thereof based on the loss.

### Claim 8 (depends on 7)

The method of claim 7, wherein the loss function comprises at least one of the following:
a first component to widen a gap between pairs of entities of the subset of entities having feedback data associated with a correct relative ranking between entities of each pair of entities based on the relevance scores thereof;
a second component configured to narrow a gap between pairs of entities of the subset of entities having feedback data associated with an incorrect relative ranking between entities of each pair of entities based on the relevance scores thereof;
a third component configured to narrow a gap between entities of the subset of entities having feedback data associated with an incorrect relative ranking between the entities of the subset of entities and other entities of the plurality of entities not included in the subset of entities;
or any combination thereof.

### Claim 9 (depends on 8)

The method of claim 8, wherein the loss function further comprises a first hyperparameter for the first component, a second hyperparameter for the second component, and a third hyperparameter for the third component.

### Claim 10 (depends on 1)

The method of claim 1, wherein the subset of entities comprises a predetermined number of entities having one of a highest relevance score or a lowest relevance score.

### Claim 11

A system comprising at least one processor configured to:
receive a data set comprising a plurality of data records, each data record of the plurality of data records associated with an entity of a plurality of entities;
input the data set to a pre-trained first machine learning model to generate a plurality of first embedding vectors, each respective first embedding vector of the plurality of first embedding vectors associated with a respective entity of the plurality of entities;
input the plurality of first embedding vectors to a second machine learning model to generate a plurality of second embedding vectors by mapping each respective first embedding vector of the plurality of first embedding vectors to a respective second embedding vector in a user-specific embedding space associated with a user;
input the plurality of second embedding vectors to a third machine learning model to extract feature data associated with at least one feature based on the plurality of second embedding vectors;
input an output from a machine learning system and the feature data to a fourth machine learning model to generate a relevance score for each entity of the plurality of entities;
determine a subset of entities of the plurality of entities based on the relevance score for each entity of the subset of entities;
communicate a feedback request to a user device of the user based on the subset of entities;
receive feedback data from the user device for each entity of the subset of entities; and
train at least one of the following: the second machine learning model, the third machine learning model, the fourth machine learning model, or any combination thereof based on the feedback data.

### Claim 12 (depends on 11)

The system of claim 11, wherein training the at least one of the following: the second machine learning model, the third machine learning model, the fourth machine learning model, or any combination thereof comprises modifying at least one parameter of at least one of the following: the second machine learning model, the third machine learning model, the fourth machine learning model, or any combination thereof based on the feedback data.

### Claim 13 (depends on 11)

The system of claim 11, wherein the feedback data comprises a binary classification for each entity of the subset of entities.

### Claim 14 (depends on 11)

The system of claim 11, wherein the data set comprises multivariate time-series data comprising the plurality of data records, each respective data record of the plurality of data records comprising data elements based on a time sequence for a plurality of variables.

### Claim 15 (depends on 11)

The system of claim 11, wherein the data set comprises transaction data associated with a plurality of transactions, each data record associated with at least one transaction of the plurality of transactions.

### Claim 16 (depends on 11)

The system of claim 11, wherein the relevance score is associated with at least one of the following: an authorization decision, a fraud determination, a credit application decision, an insurance application decision, or any combination thereof.

### Claim 17 (depends on 11)

The system of claim 11, wherein training the at least one of the following: the second machine learning model, the third machine learning model, the fourth machine learning model, or any combination thereof comprises the at least one processor configured to:
determine a loss based on the feedback data and a loss function; and
train the at least one of the following: the second machine learning model, the third machine learning model, the fourth machine learning model, or any combination thereof based on the loss.

### Claim 18 (depends on 17)

The system of claim 17, wherein the loss function comprises at least one of the following:
a first component to widen a gap between pairs of entities of the subset of entities having feedback data associated with a correct relative ranking between entities of each pair of entities based on the relevance scores thereof;
a second component configured to narrow a gap between pairs of entities of the subset of entities having feedback data associated with an incorrect relative ranking between entities of each pair of entities based on the relevance scores thereof;
a third component configured to narrow a gap between entities of the subset of entities having feedback data associated with an incorrect relative ranking between the entities of the subset of entities and other entities of the plurality of entities not included in the subset of entities;
or any combination thereof.

### Claim 19 (depends on 18)

The system of claim 18, wherein the loss function further comprises a first hyperparameter for the first component, a second hyperparameter for the second component, and a third hyperparameter for the third component.

### Claim 20

(canceled)

### Claim 21

A computer program product, comprising at least one non-transitory computer-readable medium including program instructions that, when executed by at least one processor, cause the at least one processor to:
receive a data set comprising a plurality of data records, each data record of the plurality of data records associated with an entity of a plurality of entities;
input the data set to a pre-trained first machine learning model to generate a plurality of first embedding vectors, each respective first embedding vector of the plurality of first embedding vectors associated with a respective entity of the plurality of entities;
input the plurality of first embedding vectors to a second machine learning model to generate a plurality of second embedding vectors by mapping each respective first embedding vector of the plurality of first embedding vectors to a respective second embedding vector in a user-specific embedding space associated with a user;
input the plurality of second embedding vectors to a third machine learning model to extract feature data associated with at least one feature based on the plurality of second embedding vectors;
input an output from a machine learning system and the feature data to a fourth machine learning model to generate a relevance score for each entity of the plurality of entities;
determine a subset of entities of the plurality of entities based on the relevance score for each entity of the subset of entities;
communicate a feedback request to a user device of the user based on the subset of entities;
receive feedback data from the user device for each entity of the subset of entities; and
train at least one of the following: the second machine learning model, the third machine learning model, the fourth machine learning model, or any combination thereof based on the feedback data.

### Claim at position 22

22-36. (canceled)
