# US 2025/0166058 A1 · System and method for training and using a machine-learning model to categorize transactions

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

- Number: US 2025/0166058 A1
- Document ID: US20250166058A1
- Status: Published application
- Kind: A1
- Application number: 18/947,671
- Filed: 2024-11-14
- Published: 2025-05-22
- Earliest claimed: 2023-11-17
- Assignees: Fiserv, Inc.
- Applicants: Fiserv, Inc.
- Inventors: Zhiqiang ZHANG; Rong WANG; Zezhi LAN
- Web page: https://patentgrep.com/patent/US20250166058A1

## CPC

- G06Q 20/405: {Establishing or using transaction specific rules}
- G06Q 40/02: Banking, e.g. interest calculation or account maintenance (credit or loans G06Q40/03)
- G06N 3/08: Learning methods
- G06N 20/00: Machine learning
- G06Q 20/401: {Transaction verification}
- G06Q 40/12: Accounting
- 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
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A system and method of training a neural network for categorizing transactions may include one or more processors and a computer-readable, non-transitory medium including instructions which, when executed by the one or more processors, cause at least one of the one or more processors to obtain transaction data of a transaction, the transaction data including an amount and a description, apply a machine-learning model on the transaction data to extract a confidence vector, wherein the machine-learning model is trained to categorize transactions, determine whether a confidence score of a transaction category satisfies a predetermined threshold, in response to determining that the confidence score of the transaction category does not satisfy the predetermined threshold, augment the description of the transaction using additional data, and in response to determining that the confidence score of the transaction category satisfies the predetermined threshold, assign the transaction category to the transaction.

## Claims

### Claim 1

A system comprising:
one or more processors; and
a computer-readable, non-transitory medium including instructions which, when executed by the one or more processors, cause at least one of the one or more processors to:
obtain transaction data of a transaction, the transaction data including an amount and a description;
execute a machine-learning model using as input the transaction data to extract a first confidence vector comprising confidence scores for transaction categories;
determine whether a first confidence score of a first transaction category of the first confidence vector satisfies a predetermined threshold;
in response to determining that the first confidence score of the transaction category does not satisfy the predetermined threshold, augment the description of the transaction using additional data;
execute the machine-learning model using as input the transaction data and the augmented description to extract a second confidence vector; and
in response to determining that a second confidence score in the second confidence vector of the transaction category satisfies the predetermined threshold, assign the transaction category to the transaction.

### Claim 2 (depends on 1)

The system of claim 1, wherein the machine-learning model is trained to categorize transactions using a training set comprising a set of categorized transactions.

### Claim 3 (depends on 2)

The system of claim 2, wherein the categorized transactions comprise standardized transaction categories and augmented descriptions.

### Claim 4 (depends on 1)

The system of claim 1, wherein the at least one of the one or more processors augments the description of the transaction by adding additional words to the description based on the description and additional information.

### Claim 5 (depends on 4)

The system of claim 4, wherein the additional information comprises at least one of an amount of the transaction, information from a website associated with a merchant associated with the transaction, historical user input, and location-specific information.

### Claim 6 (depends on 1)

The system of claim 1, wherein the second confidence score is a highest confidence score of the second confidence vector.

### Claim 7

A computer-implemented method of training a machine-learning model comprising:
obtaining a set of transactions from a database;
applying one or more transformations to each transaction from the set of transactions to create a modified set of transactions, the one or more transformations comprising at least one of standardizing a transaction category of each transaction or augmenting a description of each transaction;
creating a first training set comprising the modified set of transactions;
training a machine-learning model to categorize transactions in a first stage using the first training set;
creating a second training set for a second stage of training, the second training set comprising transactions that were incorrectly categorized after the first stage of training; and
training the machine-learning model to categorize transactions in a second stage using the second training set.

### Claim 8 (depends on 7)

The computer-implemented method of claim 7, wherein the transaction category comprises a transaction code corresponding to a categorization standard different from a categorization standard used in standardizing the transaction category.

### Claim 9 (depends on 7)

The computer-implemented method of claim 7, wherein standardizing the transaction category of each transaction comprises applying, to the transaction category, a mapping of transaction categories to a standard categorization.

### Claim 10 (depends on 9)

The computer-implemented method of claim 9, wherein standardizing the transaction category of each transaction comprises determining a category and a sub-category for the standardized transaction category.

### Claim 11 (depends on 7)

The computer-implemented method of claim 7, wherein augmenting the description of each transaction comprises adding additional words to the description based on the description and additional information.

### Claim 12 (depends on 11)

The computer-implemented method of claim 11, wherein the additional information comprises at least one of an amount of the transaction, information from a website associated with a merchant associated with the transaction, historical user input, and location-specific information.

### Claim 13 (depends on 7)

The computer-implemented method of claim 7, further comprising identifying the incorrectly categorized transactions based on user input.

### Claim 14

A computer-readable, non-transitory medium including instructions which, when executed by one or more processors, cause at least one of the one or more processors to:
obtain a set of transactions from a database;
apply one or more transformations to each transaction from the set of transactions to create a modified set of transactions, the one or more transformations comprising at least one of standardizing a transaction category of each transaction or augmenting a description of each transaction;
create a first training set comprising the modified set of transactions;
train a machine-learning model to categorize transactions in a first stage using the first training set;
create a second training set for a second stage of training, the second training set comprising transactions that were incorrectly categorized after the first stage of training; and
train the machine-learning model to categorize transactions in a second stage using the second training set.

### Claim 15 (depends on 14)

The computer-readable, non-transitory medium of claim 14, wherein the transaction category comprises a transaction code corresponding to a categorization standard different from a categorization standard used in standardizing the transaction category.

### Claim 16 (depends on 14)

The computer-implemented method of claim 14, wherein standardizing the transaction category of each transaction comprises applying, to the transaction category, a mapping of transaction categories to a standard categorization.

### Claim 17 (depends on 16)

The computer-implemented method of claim 16, wherein standardizing the transaction category of each transaction comprises determining a category and a sub-category for the standardized transaction category.

### Claim 18 (depends on 14)

The computer-implemented method of claim 14, wherein augmenting the description of each transaction comprises adding additional words to the description based on the description and additional information.

### Claim 19 (depends on 18)

The computer-implemented method of claim 18, wherein the additional information comprises at least one of an amount of the transaction, information from a website associated with a merchant associated with the transaction, historical user input, and location-specific information.

### Claim 20 (depends on 14)

The computer-implemented method of claim 14, further comprising identifying the incorrectly categorized transactions based on user input.
