IP Library Granted Patent US 12,646,068
Granted Patent B2
US 12,646,068 · App. 18/202,516 · Granted Jun 2, 2026

Systems and methods for identity graph based fraud detection

Inventors: Ryan Drapeau (Seattle, WA); Feiyi Ouyang (Seattle, WA); Tianshi Zhu (San Francisco, CA); David Abrahams (San Francisco, CA); Joshua Rosen (Berkeley, CA)
Assignee: STRIPE, LLC
G06Q20/4016G06N3/08G06N5/01G06N20/00G06N20/20G06Q20/12G06Q20/4014G06Q20/405G06Q30/0185G06N3/0499G06N3/09G06Q20/02G06Q20/34G06Q20/4012G06Q20/407G06Q30/06G06Q50/265
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,646,068
App. No.
18/202,516
Granted
Jun 2, 2026
Kind
B2
Abstract

A method and apparatus for fraud detection during transactions using identity graphs are described. A method includes receiving, at a commerce platform system, a transaction from a user having initial transaction attributes and transaction data. The method also includes determining, by the commerce platform system, an identity associated with the user associated with additional transaction attributes not received with the transaction. Furthermore, the method includes accessing a feature set associated with the initial transaction attributes and the additional transaction attributes that includes machine learning (ML) model features for detecting transaction fraud. The method also includes performing, by the commerce platform system, a machine learning model analysis using the feature set and the transaction data to determine a likelihood that the transaction is fraudulent, and performing, by the commerce platforms system, the transaction when the likelihood that the transaction is fraudulent does not satisfy a transaction fraud threshold.

Claims (78)

1 . A method for generating and updating identities for machine learning (ML) based fraud detection, the method comprising:

generating, by at least one computing system of a commerce platform system, a plurality of nodes and edges from prior transaction data, the plurality of nodes being transaction attributes, and the edges joining two nodes when there is a concurrence of two attributes in a single transaction,

executing, by the at least one computing system, a graph analysis of the plurality of nodes and edges to generate a first set of user identity graphs, where each generated user identity graph in the first set of user identity graphs is a cluster of nodes and edges formed by joining related nodes and/or edges and forms an identity of a user that has performed one or more transactions with the commerce platform system, and

storing, by the at least one computing system, the first set of user identity graphs in a data store of the commerce platform system;

updating, by the at least one computing system, the first set of user identity graphs with new transaction data generated after generation of the first set of user identity graphs; and

generating, by the at least one computing systems, for each user identity graph in the data store, an identity based machine learning model feature set across one or more transaction attributes of said each user identity graph,

training, by the at least one computing systems, the identity based machine learning model with the feature set;

retraining, by the at least one computing systems, the identity based machine learning model by employing a combination of serial processing techniques during identity generation, parallel processing techniques during identity updating, and identity based ML feature generation to improve the model;

receiving, by the at least one computing system, a current transaction from a user having initial transaction attributes and transaction data;

determining, by the at least one computing system, an identity graph associated with the user;

accessing, by the at least one computing system, an identity based machine learning model feature set corresponding to the user selected based on the identity graph associated with the user;

executing, by the at least one computing system, the retrained improved machine learning model to determine a likelihood of fraud based on transaction data for a current transaction, wherein the machine learning model uses the identity based machine learning model feature set; and

executing, by the at least one computing system, the current transaction when the likelihood of fraud does not satisfy a transaction fraud threshold.

2 . The method of claim 1 , wherein executing the analysis of the plurality of nodes and edges to generate the first set of user identity graphs comprises:

performing, by the at least one computing system to form the first set of user identity graphs, a serial connected components analysis on a sequential stream of nodes and edges to join nodes and edges with said each user identity graph having a concurrence of at least one node or edge.

3 . The method of claim 2 , wherein the updating further comprises:

periodically generating a second plurality of nodes and edges from the new transaction data; and

performing a distributed label propagation analysis of new identity subgraphs to augment the first set of user identity graphs by joining transaction attributes from the new identity subgraphs with associated user identity graphs from the first set of user identity graphs, and wherein generating the new identity subgraphs comprises:

distributing, to the plurality of computing system, nodes and edges from the second plurality of nodes and edges to

(i) propagate the plurality of nodes and edges to existing user identity graphs having a concurrence of at least one node or edge, or

(ii) generate a new user identity graph that is added to the first set of user identity graphs when there is no concurrence between a node and edge and nodes and edges of an existing identity graph.

4 . The method of claim 1 , wherein prior to the updating, the method further comprises:

removing, by the at least one computing system, user identity graphs from the first set of user identity graphs that have a cluster size above a maximum cluster size threshold to generate a second set of user identity graphs;

storing, by the at least one computing system, the second set of user identity graphs in the data store of the commerce platform system; and

performing the updating using the second set of user identity graphs.

5 . The method of claim 1 , wherein the identity based machine learning model feature set generated for said each user identity graph in the data store comprises, for each identity, a total transaction count across all transactions associated with said each identity, a total transaction fraud count across with said each identity, a count of a total number of different cards associated with said each identity, and a count of a total number of countries from which cards are issued to said each identity.

6 . The method of claim 1 , further comprising:

training, by the at least one computing system of the commerce platform system, one or more fraud detection machine learning models, at least in part, using a set of the identity based machine learning model feature sets and corresponding past transaction data for which a fraud detection has been made.

7 . The method of claim 6 , wherein at least one of the set of the identity based machine learning model feature sets comprises one or more transaction features derived from two or more different payment types associated with a single user, and wherein the past transaction data comprises a fraud detection result and transaction data associated with at least one of the two or more different payment types for a past transaction involving the single user from which the fraud detection result was generated.

8 . The method of claim 6 , wherein the one or more fraud detection machine learning models comprise a neural network machine learning model and a tree-based machine learning model each trained, at least in part, using identity based features, wherein each of the neural network machine learning model and the tree-based machine learning model make an independent fraud risk determination based on the machine learning model feature sets and the transaction data, and wherein the likelihood that the current transaction is fraudulent is an ensemble decision that combines the independent fraud risk determinations made by the neural network machine learning model and the tree-based machine learning model.

9 . The method of claim 1 , wherein each edge comprises an undirected and unweighted connection between corresponding nodes.

10 . The method of claim 1 , wherein the transaction attributes comprise one or more of a card number used in the transaction, a personal identification number associated with the card used in the transaction, an email address of the user participating in the transaction, a commerce platform identifier for the user, and a cookie identifier collected from a computing device used in the transaction.

11 . The method of claim 1 , wherein the current transaction comprises a commercial transaction performed using a card number associated with a payment card tendered for the current transaction by the user, and the transaction data for the current transaction comprises at least a transaction location, a transaction amount, and a merchant associated with the current transaction.

12 . A non-transitory computer readable storage medium including instructions that, when executed by at least one processor of a commerce platform system a cause the at least one processor to perform operations for generating and updating identities for machine learning (ML) based fraud detection, the operations comprising:

generating a plurality of nodes and edges from prior transaction data, the plurality of nodes being transaction attributes, and the edges joining two nodes when there is a concurrence of two attributes in a single transaction;

executing a graph analysis of the plurality of nodes and edges to generate a first set of user identity graphs, where each generated user identity graph in the first set of user identity graphs is a cluster of nodes and edges formed by joining related nodes and/or edges and forms an identity of a user that has performed one or more transactions with the commerce platform system;

storing the first set of user identity graphs in a data store of the commerce platform system;

updating the first set of user identity graphs with new transaction data generated after generation of the first set of user identity graphs;

generating for each user identity graph in the data store, an identity based machine learning model feature set across one or more transaction attributes of said each user identity graph; and

training the identity based machine learning model with the feature set;

retraining the identity based machine learning model by employing a combination of serial processing techniques during identity generation, parallel processing techniques during identity updating, and identity based ML feature generation to improve the identity based machine learning model;

receiving a current transaction from a user having initial transaction attributes and transaction data;

determining an identity graph associated with the user;

accessing an identity based machine learning model feature set corresponding to the user selected based on the identity graph associated with the user;

executing the retrained improved identity based machine learning model to determine a likelihood of fraud based on transaction data for the current transaction, wherein the identity based machine learning model uses the identity based machine learning model feature set; and

executing the current transaction when the likelihood of fraud does not satisfy a transaction fraud threshold.

13 . The non-transitory computer readable storage medium of claim 12 , wherein executing the analysis of the plurality of nodes and edges to generate the first set of user identity graphs comprises:

performing to form the first set of user identity graphs, a serial connected components analysis on a sequential stream of nodes and edges to join nodes and edges with said each user identity graph having a concurrence of at least one node or edge.

14 . The non-transitory computer readable storage medium of claim 13 , wherein the updating further comprises:

periodically generating a second plurality of nodes and edges from the new transaction data; and

performing a distributed label propagation analysis of new identity subgraphs to augment the first set of user identity graphs by joining transaction attributes from the new identity subgraphs with associated user identity graphs from the first set of user identity graphs, and wherein generating the new identity subgraphs comprises:

distributing nodes and edges from the second plurality of nodes and edges to

(i) propagate the plurality of nodes and edges to existing user identity graphs having a concurrence of at least one node or edge, or

(ii) generate a new user identity graph that is added to the first set of user identity graphs when there is no concurrence between a node and edge and nodes and edges of an existing identity graph.

15 . The non-transitory computer readable storage medium of claim 12 , wherein prior to the updating, the operations further comprises:

removing user identity graphs from the first set of user identity graphs that have a cluster size above a maximum cluster size threshold to generate a second set of user identity graphs;

storing the second set of user identity graphs in the data store of the commerce platform system; and

performing the updating using the second set of user identity graphs.

16 . The non-transitory computer readable storage medium of claim 12 , further comprising:

training one or more fraud detection machine learning models, at least in part, using a set of the identity based machine learning model feature set and corresponding past transaction data for which a fraud detection has been made.

17 . The non-transitory computer readable storage medium of claim 16 , wherein at least one of the set of the identity based machine learning model feature sets comprises one or more transaction features derived from two or more different payment types associated with a single user, and wherein the past transaction data comprises a fraud detection result and transaction data associated with at least one of the two or more different payment types for a past transaction involving the single user from which the fraud detection result was generated.

18 . The non-transitory computer readable storage medium of claim 16 , wherein the one or more fraud detection machine learning models comprise a neural network machine learning model and a tree-based machine learning model each trained, at least in part, using identity based features, wherein each of the neural network machine learning model and the tree-based machine learning model make an independent fraud risk determination based on the machine learning model feature sets and the transaction data, and wherein the likelihood that the current transaction is fraudulent is an ensemble decision that combines the independent fraud risk determinations made by the neural network machine learning model and the tree-based machine learning model.

19 . The non-transitory computer readable storage medium of claim 12 , wherein the transaction attributes comprise one or more of a card number used in the transaction, a personal identification number associated with the card used in the transaction, an email address of the user participating in the transaction, a commerce platform identifier for the user, and a cookie identifier collected from a computing device used in the transaction.

20 . A commerce platform system for generating and updating identities for machine learning (ML) based fraud detection, comprising:

a memory; and

at least one computing system configured to:

generate a plurality of nodes and edges from prior transaction data, the plurality of nodes being transaction attributes, and the edges joining two nodes when there is a concurrence of two attributes in a single transaction,

execute a graph analysis of the plurality of nodes and edges to generate a first set of user identity graphs, where each generated user identity graph in the first set of user identity graphs is a cluster of nodes and edges formed by joining related nodes and/or edges and forms an identity of a user that has performed one or more transactions with the commerce platform system, and

store the first set of user identity graphs in a data store of the commerce platform system;

update the first set of user identity graphs with new transaction data generated after generation of the first set of user identity graphs; and

generate, for each user identity graph in the data store, an identity based machine learning model feature set across one or more transaction attributes of said each user identity graph, and

training the identity based machine learning model with the feature set;

retraining the identity based machine learning model by employing a combination of serial processing techniques during identity generation, parallel processing techniques during identity updating, and identity based ML feature generation to improve the identity based machine learning model;

receive a current transaction from a user having initial transaction attributes and transaction data;

determine an identity graph associated with the user;

access an identity based machine learning model feature set corresponding to the user selected based on the identity graph associated with the user;

execute the retrained improved identity based machine learning model to determine a likelihood of fraud based on transaction data for the current transaction, wherein the identity based machine learning model uses the identity based machine learning model feature set; and

execute the current transaction when the likelihood of fraud does not satisfy a transaction fraud threshold.

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 Sep 10, 2024
From: DRAPEAU, RYAN; OUYANG, FEIYI; ZHU, TIANSHI; ABRAHAMS, DAVID; ROSEN, JOSHUA
To: STRIPE, INC.
Reel/Frame 068541/0674 →
Continuity (2)
Continuation 16915477 · Jun 29, 2020
Related Publication 20230298031A1 · Sep 21, 2023
References Cited (34)
US 7686214B1 · Shao et al. · 2010 [cited by applicant]
US 7793835B1 · Coggeshall et al. · 2010 [cited by applicant]
US 20060149674A1 · Cook et al. · 2006 [cited by applicant]
US 20110231225A1 · Winters · 2011 [cited by examiner]
US 20140201048A1 · Lin et al. · 2014 [cited by applicant]
US 20170178139A1 · Gieseke · 2017 [cited by applicant]
US 20170200164A1 · Choi et al. · 2017 [cited by applicant]
US 20180053188A1 · Zoldi · 2018 [cited by examiner]
US 20180219888A1 · Apostolopoulos · 2018 [cited by applicant]
US 20180276710A1 · Tietzen · 2018 [cited by examiner]
US 20180316665A1 · Caldera · 2018 [cited by examiner]
US 20190295088A1 · Jia et al. · 2019 [cited by applicant]
US 20190295089A1 · Jia et al. · 2019 [cited by applicant]
US 20200005195A1 · Fang · 2020 [cited by examiner]
US 20200065816A1 · Walters · 2020 [cited by examiner]
US 20200126085A1 · Roche · 2020 [cited by examiner]
US 20200226460A1 · Bruss · 2020 [cited by examiner]
US 20210176262A1 · Harris · 2021 [cited by examiner]
US 20230308213A1 · Amicangioli · 2023 [cited by examiner]
AU 2015210357A1 · 2016 [cited by applicant]
CN 103927307A · 2014 [cited by applicant]
CN 110717816A · 2020 [cited by applicant]
KR 1020160017629A · 2016 [cited by applicant]
KR 1020170083330A · 2017 [cited by applicant]
Charles Ross, Reducing Payment-Card Fraud, Walden University, Jun. 2020, pp. 42-43, 52, 125 (Year: 2020). [cited by applicant]
Galler Bernard A. and Fischer, Michael J., “Disjoint-Set Data Structure,” Jun. 22, 2022, https://en.wikipedia.org/wiki/Disjoint-set_data_structure. [cited by applicant]
International Preliminary Report on Patentability received for PCT Patent Application No. PCT/US21/39235, mailed on Jan. 12, 2023, 6 pages. [cited by applicant]
International Search Report and Written Opinion received for PCT Patent Application No. PCT/US21/39235, mailed on Oct. 20, 2021, 7 pages. [cited by applicant]
Liu, S. Cliff and Tarjan, Robert, “Simple Concurrent Labeling Algorithms for Connected Components,” Mar. 3, 2020. https://arxiv.org/abs/1812.06177. [cited by applicant]
Extended European Search Report dated May 21, 2024 on EPO Appl. 21833347.4 (13 pages). [cited by applicant]
Iverson J et al: “Evaluation of connected-component labeling algorithms for distributed-memory systems”, Parallel Computing, vol. 44, 2015, pp. 53-68, XP029150561, ISSN: 0167-8191, DOI: 10.1016/J.PARCO.2015.02.005 * the… [cited by applicant]
Office Action issued in corresponding Chinese Patent Application No. 202180040657.9 dated Nov. 3, 2025. [cited by applicant]
Examination Report No. 1 DTD Jun. 27, 2025 for AU App. 2021302469 (4 pages). [cited by applicant]
1st Office Action on CN Application 202180040657.9 dated Apr. 22, 2025 (18 pages incl. English translation). [cited by applicant]