IP Library Granted Patent US 12,561,701
Granted Patent B2
US 12,561,701 · App. 18/194,701 · Granted Feb 24, 2026

Processing graphs using graph patterns

Inventors: Jovan Blanuşa (Zurich, CH); Maximo Cravero Baraja (San Marino, CA); Kubilay Atasu (Rueschlikon, CH); Charalampos Pozidis (Thalwil, CH)
Assignee: International Business Machines Corporation
G06Q30/0185G06Q40/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,561,701
App. No.
18/194,701
Granted
Feb 24, 2026
Kind
B2
Abstract

In an approach, a processor identifies subgraphs of predefined patterns in a first graph, the first graph: (i) representing a specific ontology and (ii) comprising nodes representing first entities and first edges representing relationships between the first entities. A processor represents the identified subgraphs by respective second graphs, thereby forming multi-relational graphs, each second graph comprising nodes representing second entities and second edges representing relationships between the second entities, where: the second entities are the respective nodes of the first graph; and each second edge indicates that the two second entities linked by the second edge are part of a pattern of the predefined patterns. A processor inputs the multi-relational graphs to a multi-relational graph neural network for generating output in accordance with the specific ontology. A processor provides the output.

Claims (74)

1 . A computer-implemented method comprising:

training, using a full-batch gradient descent technique, a multi-relational graph neural network using training data comprising a set of multi-relational graphs with labeled nodes, wherein:

the multi-relational graph neural network is a relational graph convolutional network (RGCN), for generating embeddings for input entities and input edges of multi-relational graphs, that takes a set of vectors representing nodes as input, together with a structure of a graph, and generates a new collection of representations for nodes in the graph; and

multiple layers of the multi-relational graph neural network are stacked such that output of a preceding layer is used as input for a current layer;

identifying subgraphs of predefined patterns in a first graph, the first graph: (i) representing a specific ontology and (ii) comprising nodes representing first entities and first edges representing relationships between the first entities, wherein:

the specific ontology comprises concepts of a specific domain; and

each edge is connected to two nodes;

generating, by one or more processors, multi-relational graphs by representing the identified subgraphs by respective second graphs, each second graph comprising a matrix with nodes representing second entities and second edges representing relationships between the second entities, wherein:

for each respective matrix, each axis of the matrix corresponds to edges present within first graph cells set to a predefined value for each edge associated with the respective subgraph pattern;

the second entities are the respective nodes of the first graph;

each second edge indicates that the two second entities linked by the second edge are part of a pattern of the predefined patterns; and

the multi-relational graphs are represented as a three-dimensional matrix obtained by concatenating each individual matrix;

inputting the multi-relational graphs to the multi-relational graph neural network for generating output in accordance with the specific ontology; and

providing the output of the multi-relational graph neural network, the output including an indication of a class of the ontology for each node in the multi-relational graphs.

2 . The computer-implemented method of claim 1 , further comprising prior to inputting the multi-relational graphs to the multi-relational graph neural network, adding an additional graph to the multi-relational graphs.

3 . The computer-implemented method of claim 1 , wherein representing the identified subgraphs by the respective second graphs further comprises adding a node to the respective second graph that represents the pattern associated with a subgraph of the identified subgraphs and linking the second entities that belong to the pattern with a created entity.

4 . The computer-implemented method of claim 1 , wherein responsive to the second entities being the first entities of the first graph, the second edges comprise first edges of the first graph.

5 . The computer-implemented method of claim 1 , further comprising:

creating a table having a record per second entity of the second graph, the table comprising fields representing a predicted embedding and one or more attributes descriptive of the second entities; and

providing records of the table as input to a Light Gradient Boosting Model for classification of the second entities into classes of the specific ontology.

6 . The computer-implemented method of claim 1 , wherein the predefined patterns are defined according to rules of the specific ontology.

7 . The computer-implemented method of claim 1 , wherein the predefined patterns are selected from the group consisting of: fan-out pattern, bipartite pattern, cycle pattern, gather-scatter pattern, fan-in pattern, stacked bipartite pattern, and scatter-gather pattern.

8 . The computer-implemented method of claim 1 , further comprising creating a table having a record per second entity of the second graph, the table comprising fields representing a predicted embedding and one or more attributes descriptive of the second entities and storing the table.

9 . The computer-implemented method of claim 1 , wherein:

for each pattern, multiple subgraphs are identified in the first graph; and

for each pattern, the second graph represents the multiple subgraphs representing the pattern.

10 . The computer-implemented method of claim 2 , wherein, responsive to the second entities of the second graph representing the first entities, the additional graph is the first graph.

11 . The computer-implemented method of claim 2 , wherein, responsive to the second entities of the second graph representing the first edges, the additional graph is a line graph representing the first graph.

12 . The computer-implemented method of claim 1 , further comprising:

minimizing cross-entropy loss on labeled nodes.

13 . The computer-implemented method of claim 1 , wherein:

the specific ontology comprises a biology ontology; and

the relationships between the first entities for each of the first edges comprise associative relationships.

14 . A computer program product comprising:

one or more computer readable storage media; and

program instructions stored on the one or more computer readable storage media to perform operations comprising:

training, using a full-batch gradient descent technique, a multi-relational graph neural network using training data comprising a set of multi-relational graphs with labeled nodes, wherein:

the multi-relational graph neural network is a relational graph convolutional network (RGCN), for generating embeddings for input entities and input edges of multi-relational graphs, that takes a set of vectors representing nodes as input, together with a structure of a graph, and generates a new collection of representations for nodes in the graph; and

multiple layers of the multi-relational graph neural network are stacked such that output of a preceding layer is used as input for a current layer;

identifying subgraphs of predefined patterns in a first graph, the first graph: (i) representing a specific ontology and (ii) comprising nodes representing first entities and first edges representing relationships between the first entities, wherein:

the specific ontology comprises concepts of a specific domain; and

each edge is connected to two nodes;

generating multi-relational graphs by representing the identified subgraphs by respective second graphs, each second graph comprising a matrix with nodes representing second entities and second edges representing relationships between the second entities, wherein:

for each respective matrix, each axis of the matrix corresponds to edges present within first graph cells set to a predefined value for each edge associated with the respective subgraph pattern;

the second entities are the respective nodes of the first graph;

each second edge indicates that the two second entities linked by the second edge are part of a pattern of the predefined patterns; and

the multi-relational graphs are represented as a three-dimensional matrix obtained by concatenating each individual matrix;

inputting the multi-relational graphs to the multi-relational graph neural network for generating output in accordance with the specific ontology; and

providing the output of the multi-relational graph neural network, the output including an indication of a class of the specific ontology for each node in the multi-relational graphs.

15 . The computer program product of claim 14 , wherein the operations further comprise:

prior to inputting the multi-relational graphs to the multi-relational graph neural network, adding an additional graph to the multi-relational graphs.

16 . The computer program product of claim 14 , wherein representing the identified subgraphs by the respective second graphs further comprises adding a node to the respective second graph that represents the pattern associated with a subgraph of the identified subgraphs and linking the second entities that belong to the pattern with a created entity.

17 . The computer program product of claim 14 , wherein responsive to the second entities being the first entities of the first graph, the second edges comprise first edges of the first graph.

18 . The computer program product of claim 14 , wherein the operations further comprise:

creating a table having a record per second entity of the second graph, the table comprising fields representing a predicted embedding and one or more attributes descriptive of the second entities; and

providing records of the table as input to a Light Gradient Boosting Model for classification of the second entities into classes of the specific ontology.

19 . The computer program product of claim 14 , wherein the predefined patterns are defined according to rules of the specific ontology.

20 . A computer system comprising:

a processor set;

one or more computer readable storage media; and

program instructions stored on the one or more computer readable storage media to cause the processor set to perform operations comprising:

training, using a full-batch gradient descent technique, a multi-relational graph neural network using training data comprising a set of multi-relational graphs with labeled nodes, wherein:

the multi-relational graph neural network is a relational graph convolutional network (RGCN), for generating embeddings for input entities and input edges of multi-relational graphs, that takes a set of vectors representing nodes as input, together with a structure of a graph, and generates a new collection of representations for nodes in the graph; and

multiple layers of the multi-relational graph neural network are stacked such that output of a preceding layer is used as input for a current layer;

identifying subgraphs of predefined patterns in a first graph, the first graph: (i) representing a specific ontology and (ii) comprising nodes representing first entities and first edges representing relationships between the first entities, wherein:

the specific ontology comprises concepts of a specific domain; and

each edge is connected to two nodes;

generating multi-relational graphs by representing the identified subgraphs by respective second graphs, each second graph comprising a matrix with nodes representing second entities and second edges representing relationships between the second entities, wherein:

for each respective matrix, each axis of the matrix corresponds to edges present within first graph cells set to a predefined value for each edge associated with the respective subgraph pattern;

the second entities are the respective nodes of the first graph;

each second edge indicates that the two second entities linked by the second edge are part of a pattern of the predefined patterns; and

the multi-relational graphs are represented as a three-dimensional matrix obtained by concatenating each individual matrix;

inputting the multi-relational graphs to the multi-relational graph neural network for generating output in accordance with the specific ontology; and

providing the output of the multi-relational graph neural network, the output including an indication of a class of the specific ontology for each node in the multi-relational graphs.

Assignments (2)
CORRECTIVE ASSIGNMENT TO CORRECT THE FIRST ASSIGNOR'S NAME PREVIOUSLY RECORDED AT REEL: 63201 FRAME: 227. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Nov 24, 2025
From: BLANUŠA, JOVAN; CRAVERO BARAJA, MAXIMO; ATASU, KUBILAY; POZIDIS, CHARALAMPOS
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 074025/0471 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 3, 2023
From: BLANU¿A, JOVAN; CRAVERO BARAJA, MAXIMO; ATASU, KUBILAY; POZIDIS, CHARALAMPOS
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 063201/0277 →
Continuity (1)
Related Publication 20240330959A1 · Oct 3, 2024
References Cited (32)
US 10970292B1 · White · 2021 [cited by examiner]
US 20180075038A1 · Azvine · 2018 [cited by examiner]
US 20190236464A1 · Feinson · 2019 [cited by examiner]
US 20200401908A1 · Ortega · 2020 [cited by examiner]
US 20210232918A1 · Cheng · 2021 [cited by applicant]
US 20210342352A1 · Stuart · 2021 [cited by examiner]
US 20210342397A1 · Oberhofer · 2021 [cited by examiner]
US 20220027707A1 · Wu · 2022 [cited by applicant]
US 20220138502A1 · Li · 2022 [cited by applicant]
CN 111476662A · 2020 [cited by applicant]
Addanki, et al., “Large-Scale Graph Representation Learning With Very Deep GNNS and Self-Supervision”, https://arxiv.org/abs/2107.09422, Cornell University, Computer Science, Machine Learning, Jul. 20, 2021, pp. 1-14. [cited by applicant]
Altman, “IBM Transactions for Anti Money Laundering (AML)”, Kaggle, https://www.kaggle.com/datasets/ealtman2019/ibm-transactions-for-anti-money-laundering-aml, Accessed Mar. 29, 2023, pp. 1-11. [cited by applicant]
Barabasi, “Network science”, The Royal Society Publishing, Philosophical Transactions of the Royal Society A mathematical, Physical and Engineering Sciences, https://royalsocietypublishing.org/doi/epdf/10.1098/rsta.2012… [cited by applicant]
Bevilacqua, et. al., “Equivariant Subgraph Aggregation Networks”, https://arxiv.org/abs/2110.02910, Published as a conference paper at ICLR 2022, Computer Science, Machine Learning, V3, Mar. 16, 2022, pp. 1-47. [cited by applicant]
Blanusa, et. al., “Manycore Clique Enumeration with Fast Set Intersections”, https://research.ibm.com/publications/many-core-clique-enumeration-with-fast-set-intersections, IBM, VLDB 2020 Conference paper, Accessed Mar.… [cited by applicant]
Bouritsas, et. al., “Improving Graph Neural Network Expressivity via Subgraph Isomorphism Counting”, https://arxiv.org/abs/2006.09252, Computer Science, Machine Learning, V3, Jul. 5, 2021, pp. 1-30. [cited by applicant]
Garg, et. al., “Generalization and Representational Limits of Graph Neural Networks”, https://arxiv.org/abs/2002.06157, Cornell University, Computer Science, Machine Learning, Feb. 14, 2020, pp. 1-23. [cited by applicant]
Hajdu, et. al., “Temporal Network Analytics for Fraud Detection in the Banking Sector”, https://www.researchgate.net/publication/343701757_Temporal_Network_Analytics_for_Fraud_Detection_in_the_Banking_Sector, Springer N… [cited by applicant]
Islam, et. al., “An Approach to Improve Collusion Set Detection Using MCL Algorithm”, https://ieeexplore.ieee.org/document/5407133, Proceedings of 2009 12th International Conference on Computer and Information Technolog… [cited by applicant]
Jiang, et. al., “Trading networks, abnormal motifs and stock manipulation”, https://www.tandfonline.com/doi/full/10.1080/21649502.2013.802877, Taylor & Francis, Quantitative Finance Letters, vol. 1, Jun. 21, 2013, pp. 1… [cited by applicant]
Kanezashi, “Transaction Model: Alert Model”, https://github.com/IBM/AMLSim/wiki/Transaction-Model:-Alert-Model, IBM/AMLSim, Edited page on Oct. 13, 2021, 14 revisions, Accessed Mar. 27, 2023, pp. 1-9. [cited by applicant]
Leskovec, “Machine Learning with Graphs”, Stanford University, http://cs224w.stanford.edu, Dec. 6, 2018, pp. 1-66. [cited by applicant]
Liu, et. al., “Knowledge Discovery in Cryptocurrency Transaction: A Survey”, https://ieeexplore.ieee.org/document/9364978, IEEE, vol. 9, Mar. 10, 2021, pp. 37229-37254. [cited by applicant]
Nicholls, et. al., “Financial Cybercrime: A Comprehensive Survey of Deep Learning Approaches to Tackle the Evolving Financial Crime Landscape”, https://ieeexplore.ieee.org/document/9642993, vol. 9, 2021, Dec. 20, 2021, … [cited by applicant]
Oono, et. al., “Graph Neural Networks Exponentially Lose Expressive Power For Node Classification”, https://arxiv.org/abs/1905.10947, Published as a conference paper at ICLR 2020, Cornell University, Computer Science, M… [cited by applicant]
Palshikar, et. al., “Collusion set detection using graph clustering”, https://link.springer.com/article/10.1007/s10618-007-0076-8, Springer, Data Min Knowl Disc (2008) 16, Published online Jun. 16, 2007, pp. 135-164. [cited by applicant]
Qiu, et. al., “Real-time Constrained Cycle Detection in Large Dynamic Graphs”, https://dl.acm.org/doi/10.14778/3229863.3229874, ACM, Proceedings of the VLDB Endowment, vol. 11, No. 12, Aug. 2018, pp. 1876-1888. [cited by applicant]
Schlichtkrull, et. al., “Modeling Relational Data with Graph Convolutional Networks”, https://arxiv.org/abs/1703.06103, Statistics, Machine Learning, V4, Oct. 26, 2017, pp. 1-10. [cited by applicant]
Tahmasebi, et. al., “Counting Substructures with Higher-Order Graph Neural Networks: Possibility and Impossibility Results”, https://arxiv.org/abs/2012.03174, Cornell University, Computer Science, Machine Learning, V2, … [cited by applicant]
Xu, et. al., “How Powerful Are Graph Neural Networks?”, https://arxiv.org/abs/1810.00826, Published as a conference paper at ICLR 2019, Cornell University, Computer Science, Machine Learning, V3, Feb. 22, 2019, Pages. [cited by applicant]
Ying, et. al., “Neural Subgraph Matching”, https://arxiv.org/abs/2007.03092, Computer Science, Machine Learning, V2, Oct. 27, 2020, pp. 1-17. [cited by applicant]
Zhao, et. al., “From Stars to Subgraphs: Uplifting Any GNN With Local Structure Awareness”, https://arxiv.org/abs/2110.03753, Published as a conference paper at ICLR 2022, Computer Science, Machine Learning, V3, Apr. 20… [cited by applicant]