IP Library Granted Patent US 12,373,844
Granted Patent B2
US 12,373,844 · App. 17/708,631 · Granted Jul 29, 2025

Adaptive machine learning threshold

Inventors: Michael Lewis (Santa Cruz, CA); Alexandre Franck Bondoux (Philadelphia, PA)
Assignee: Stripe, Inc.
G06Q20/409G06N20/20G06Q20/401
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,373,844
App. No.
17/708,631
Granted
Jul 29, 2025
Kind
B2
Abstract

In an example embodiment, a solution is provided wherein a threshold used by a classifier in a first machine learning model is dynamically set by a second machine learning model. More particularly, the threshold may be selected from two or more different threshold settings, based on the output of the second machine learning model. This acts to improve the reliability of predictions made by the first machine learning model in certain use cases where circumstances not adequately captured by the first machine learning model can affect the accuracy of the threshold used by the first machine learning model.

Claims (35)

1. A method for using a first neural network to improve operation of a second neural network, comprising:

training, by one or more processors, the first neural network based on a set of transaction data for a training transaction labeled with an indication that an enumeration attack occurred on a merchant computing device at the time that a validation of the training transaction was attempted;

training, by the one or more processors, the second neural network based on the set of transaction data used to train the first neural network, wherein the set of transaction data are labeled with an indication that the training transaction was validated by an issuer computing device;

receiving, by the one or more processors, transaction data for a credit card transaction initiated at the merchant computing device;

determining, by the one or more processors using the first neural network, the merchant computing device is under a first enumeration attack using the transaction data for the credit card transaction initiated at the merchant computing device;

adjusting, by the one or more processors, a confidence score threshold of the second neural network based on the determination by the first neural network that the merchant computing device is under the first enumeration attack;

determining, by the one or more processors using a second neural network, a confidence score that the credit card transaction will be validated by the issuer computing device; and

blocking, by the one or more processors, the credit card transaction responsive to determining the confidence score is below the adjusted confidence score threshold of the second neural network.

2. The method of claim 1 , further comprising training the first neural network and training of the second neural network using the same training data but with different labels.

3. The method of claim 2 , wherein the training data used for the training of the second neural network has labels obtained from actual approvals and declines of corresponding validations in the training data by the issuer computing device.

4. The method of claim 2 , wherein the training data includes features selected from the group comprising: time features, customer data, client data, and card metadata.

5. A system comprising:

one or more processors; and

at least one memory storing instructions that, when executed by at least one processor among the one or more processors, cause the at least one processor to perform operations comprising:

training a first neural network based on a set of transaction data for a training transaction labeled with an indication that an enumeration attack occurred on a merchant computing device at the time that a validation of the training transaction was attempted;

training a second neural network based on the set of transaction data used to train the first neural network, wherein the set of transaction data are labeled with an indication that the training transaction was validated by an issuer computing device;

receiving transaction data for a credit card transaction initiated at the merchant computing device;

determining, using the first neural network, the merchant computing device is under a first enumeration attack using the transaction data for the credit card transaction initiated at the merchant computing device;

adjusting a threshold based on the determination that the merchant computing device is under the first enumeration attack;

determining, using a second neural network, a confidence score that the credit card transaction will be validated by the issuer computing device; and

blocking the credit card transaction responsive to determining the confidence score is below the adjusted confidence score threshold.

6. The system of claim 5 , further comprising training the first neural network and training the second neural network using the same training data but with different labels.

7. The system of claim 6 , wherein the training data used for the training of the second neural network has labels obtained from actual approvals and declines of corresponding validations in the training data by the issuer computing device.

8. The system of claim 6 , wherein the training data includes features selected from the group comprising: time features, customer data, client data, and card metadata.

9. A non-transitory machine-readable medium comprising instructions which, when read by a machine, cause the machine to perform operations comprising:

training a first neural network based on a set of transaction data for a training transaction labeled with an indication that an enumeration attack occurred on a merchant computing device at the time that a validation of the training transaction was attempted;

training a second neural network based on the set of transaction data used to train the first neural network, wherein the set of transaction data are labeled with an indication that the training transaction was validated by an issuer computing device;

receiving transaction data for a credit card transaction initiated at the merchant computing device;

determining, using the first neural network, the merchant computing device is under a first enumeration attack using the transaction data for the credit card transaction initiated at the merchant computing device;

adjusting a confidence score threshold based on the determination that the merchant computing device is under the first enumeration attack;

determining, using the second neural network, a confidence score that the credit card transaction will be validated by the issuer computing device; and

blocking the credit card transaction responsive to determining the confidence score is below the adjusted confidence score threshold.

10. The non-transitory machine-readable medium of claim 9 , further comprising training the first neural network and training the second neural network using the same training data but with different labels.

11. The non-transitory machine-readable medium of claim 10 , wherein the training data used for the training of the second neural network has labels obtained from actual approvals and declines of corresponding validations in the training data by the issuer computing device.

12. The non-transitory machine-readable medium of claim 10 , wherein the training data includes features selected from the group comprising: time features, customer data, client data, and card metadata.

Assignments (2)
CHANGE OF NAME Recorded Jan 7, 2026
From: STRIPE, INC.
To: STRIPE, LLC
Reel/Frame 074264/0807 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 30, 2022
From: LEWIS, MICHAEL; BONDOUX, ALEXANDRE FRANCK
To: STRIPE, INC.
Reel/Frame 059445/0021 →