IP Library › Granted Patent US 12,748,988
Granted Patent B2
US 12,748,988 · App. 18/184,407 · Granted Sep 29, 2026

Dynamic prototype learning framework for non-homophilous graphs

Inventor: Yanfei Dong (Singapore, SG)
Assignee: PayPal, Inc.
G06N5/027G06N5/022G06Q20/3678G06Q20/4016G06Q2220/00
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,748,988
App. No.
18/184,407
Granted
Sep 29, 2026
Kind
B2
Abstract

Methods and systems are presented for providing a framework for analyzing graphs that exhibit non-homophilous behavior. Under the framework, a structural analysis and a feature-based analysis will be performed on a sequence of graphs. When performing the feature-based analysis, various features are extracted from each node in the sequence of graphs, and clusters of nodes are identified from each graph based on the features. A set of evolving prototypes is generated to represent evolving characteristics of the clusters of nodes, and a set of persistent prototypes is generated to represent persistent characteristics of the clusters of nodes. Information derived from the structural analysis of the graphs, the set of evolving prototypes, and the set of persistent prototypes are embedded within the nodes of the graphs. The embedded information is then used to classify the nodes.

Claims (50)

1 . A system, comprising:

a non-transitory memory; and

one or more hardware processors coupled with the non-transitory memory and configured to read instructions from the non-transitory memory to cause the system to perform operations comprising:

receiving a sequence of graphs corresponding to a plurality of time periods, wherein each graph in the sequence of graphs represents transactions conducted in a corresponding time period of the plurality of time periods, wherein each graph in the sequence of graphs comprises nodes and edges, and wherein each edge that connects two nodes in a graph of the sequence of graphs represents a transaction conducted by two accounts represented by the two nodes during the corresponding time period;

determining, for the nodes, positions within a node feature space based on node features associated with corresponding accounts represented by the nodes, wherein the node features are determined independent from topological structures of the sequence of graphs;

clustering the nodes in each of the sequence of graphs into a plurality of clusters based on the positions of the nodes within the node feature space;

deriving, based on the plurality of clusters, one or more prototypes that represent patterns associated with the positions of the nodes within the node feature space;

modifying the sequence of graphs, wherein the modifying the sequence of graphs comprises embedding the one or more prototypes into the nodes of the sequence of graphs;

classifying the nodes using a machine learning model system and based on the modified sequence of graphs; and

modifying an access level associated with an account represented by one of the nodes from the sequence of graphs based on the classifying.

2 . The system of claim 1 , wherein the operations further comprise:

providing the sequence of graphs to a first model in the machine learning model system; and

obtaining a set of intermediate outputs from the first model, wherein the modifying the sequence of graphs further comprises embedding the set of intermediate outputs into the nodes of the sequence of graphs.

3 . The system of claim 1 , wherein the one or more prototypes comprise a first set of prototypes representing evolving patterns associated with the nodes across the plurality of time periods.

4 . The system of claim 3 , wherein the one or more prototypes further comprise a second set of prototypes representing persistent patterns associated with the nodes over the plurality of time periods.

5 . The system of claim 1 , wherein the operations further comprise:

sequentially analyzing clusters, from the plurality of clusters, corresponding to each graph in the sequence of graphs, wherein the one or more prototypes are derived based on the sequentially analyzing the clusters.

6 . The system of claim 1 , wherein the node feature space comprises a plurality of feature dimensions.

7 . The system of claim 1 , wherein the operations further comprise:

collectively analyzing the plurality of clusters corresponding to the sequence of graphs, wherein the one or more prototypes are derived based on the collectively analyzing the plurality of clusters.

8 . The system of claim 1 , wherein the machine learning model system is configured to classify the nodes based on the topological structures of the sequence of graphs and the one or more prototypes embedded within the nodes of the sequence of graphs.

9 . A method, comprising:

receiving one or more graphs representing transactions conducted in one or more time periods, wherein the one or more graphs comprise nodes and edges, and wherein each edge that connects two nodes in the one or more graphs represents a transaction conducted by two accounts represented by the two nodes during a corresponding time period;

determining, by a computer system and for the nodes, positions within a node feature space based on node features associated with corresponding accounts represented by the nodes, wherein the node features are determined independent from a topological structure of the one or more graphs;

clustering, by the computer system, the nodes in the one or more graphs into a plurality of clusters based on the positions of the nodes within the node feature space;

deriving, by the computer system and based on the plurality of clusters, a set of prototypes representing patterns associated with the nodes within the node feature space;

modifying, by the computer system, the one or more graphs, wherein the modifying the one or more graphs comprises embedding the set of prototypes into the nodes of the one or more graphs;

classifying, by the computer system, the nodes using a machine learning model system and based on the one or more modified graphs; and

causing, by the computer system, an access level associated with an account corresponding to one of the nodes to be modified based on the classifying.

10 . The method of claim 9 , wherein each node in the one or more graphs represents a cryptocurrency wallet, and wherein the transaction is a cryptocurrency transaction conducted between two cryptocurrency wallets represented by the two nodes.

11 . The method of claim 10 , wherein the classifying comprises determining that the one of the nodes represents a particular cryptocurrency wallet that has been used to conduct malicious activities.

12 . The method of claim 9 , wherein the node features comprise at least one of a number of outgoing transactions conducted through a cryptocurrency wallet represented by a node of the one or more graphs, a number of incoming transactions conducted through the cryptocurrency wallet represented by the node, an average amount associated with transactions conducted through the cryptocurrency wallet represented by the node, an average time between transactions conducted through the cryptocurrency wallet represented by the node, or statistical data associated with neighboring nodes of the node.

13 . The method of claim 9 , wherein the set of prototypes represents evolving characteristics of the plurality of clusters over the one or more time periods.

14 . The method of claim 9 , wherein the set of prototypes represents persistent characteristics of the plurality of clusters across the one or more time periods.

15 . The method of claim 9 , wherein each prototype in the set of prototypes represents attributes associated with a corresponding cluster from the plurality of clusters.

16 . A non-transitory machine-readable medium having stored thereon machine-readable instructions executable to cause a machine to perform operations comprising:

accessing a sequence of graphs representing transactions conducted in a plurality of corresponding time periods, wherein each graph in the sequence of graphs comprises nodes and edges, and wherein each edge that connects two nodes in a graph of the sequence of graphs represents a transaction conducted by two accounts represented by the two nodes during a corresponding time period from the plurality of corresponding time periods;

determining, for the nodes, positions within a node feature space based on node features associated with corresponding accounts represented by the nodes, wherein the node features are determined independent from topological structures of the sequence of graphs;

clustering the nodes of each graph in the sequence of graphs into a plurality of clusters based on the positions of the nodes within the node feature space;

deriving, based on the plurality of clusters, a first set of prototypes representing patterns associated with the nodes within the node feature space;

modifying the sequence of graphs, wherein the modifying the sequence of graphs comprises embedding the first set of prototypes into the nodes of the sequence of graphs; and

classifying the nodes using a machine learning model system and based on the modified sequence of graphs.

17 . The non-transitory machine-readable medium of claim 16 , wherein the operations further comprise:

sequentially analyzing clusters, from the plurality of clusters, corresponding to each graph in the sequence of graphs; and

deriving the first set of prototypes based on the sequentially analyzing the clusters.

18 . The non-transitory machine-readable medium of claim 16 , wherein the first set of prototypes represents evolving characteristics of the plurality of clusters over the plurality of corresponding time periods.

19 . The non-transitory machine-readable medium of claim 16 , wherein the operations further comprise:

collectively analyzing the plurality of clusters corresponding to the sequence of graphs; and

deriving a second set of prototypes based on the collectively analyzing the plurality of clusters, wherein the modifying the sequence of graphs further comprises embedding the second set of prototypes into the nodes.

20 . The non-transitory machine-readable medium of claim 19 , wherein the second set of prototypes represents persistent characteristics of the plurality of clusters across the plurality of corresponding time periods.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 15, 2023
From: DONG, YANFEI
To: PAYPAL, INC.
Reel/Frame 062993/0819 →
Continuity (1)
Related Publication 20240311658A1 · Sep 19, 2024
References Cited (22)
US 11238368B2 · Fang · 2022 [cited by examiner]
US 11704673B1 · Drapeau · 2023 [cited by examiner]
US 12079885B2 · Tayeb · 2024 [cited by examiner]
US 12229777B1 · Hayman · 2025 [cited by examiner]
US 20200005195A1 · Fang · 2020 [cited by examiner]
US 20200167785A1 · Kursun · 2020 [cited by examiner]
US 20200394707A1 · Guo · 2020 [cited by examiner]
US 20210334811A1 · Gu · 2021 [cited by examiner]
US 20220044244A1 · Chen · 2022 [cited by examiner]
US 20220051125A1 · Ho · 2022 [cited by examiner]
US 20220101401A1 · Zhao · 2022 [cited by examiner]
US 20220292340A1 · Gogoglou · 2022 [cited by examiner]
US 20220394049A1 · Abrahamian · 2022 [cited by examiner]
US 20230107703A1 · Zhang · 2023 [cited by examiner]
US 20230237493A1 · Gu · 2023 [cited by examiner]
US 20250005571A1 · Das · 2025 [cited by examiner]
Yang, Yinghui, et al., “GHIC: A Hierarchical Pattern Clustering Algorithm for Grouping Web Transactions”, IEEE Transactions on Knowledge and Data Engineering, vol. 17, Issue 9, Sep. 2005, pp. 1300-1304. [cited by examiner]
Li, Yiming, et al., “Temporal Graph Representation Learning for Detecting Anomalies in E-payment Systems”, ICDMW 2021, Auckland, New Zealand, Dec. 7-10, 2021, pp. 983-990. [cited by examiner]
Vaganov, Danila, et al., “Workflow”, Socinfo 2018, LNCS 11185, © Springer Nature, Switzerland, AG, 2018, pp. 439-454. [cited by examiner]
Bruss, C. Bayan, et al., “DeepTrax: Embedding Graphs of Financial Transactions”, ICMLA 2019, Boca Raton, FL, Dec. 16-19, 2019, pp. 126-133. [cited by examiner]
Pei, Yulong, et al., “Subgraph Anomaly Detection in Financial Transaction Networks”, ICAIF '20, New York, NY, Oct. 15-16, 2020, @ Association for Computing Machinery, 8 pages. [cited by examiner]
Chandola, Varun, et al., “Anomaly Detection for Discrete Sequences: A Survey”, IEEE Transactions on Knowledge and Data Engineering, vol. 24, No. 5, May 2012, pp. 823-839. [cited by examiner]