# US 2024/0202814 A1 · Graph feature based system for flow management

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

- Number: US 2024/0202814 A1
- Document ID: US20240202814A1
- Status: Published application
- Kind: A1
- Application number: 18/080,851
- Filed: 2022-12-14
- Published: 2024-06-20
- Earliest claimed: 2022-12-14
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Ryo Kawahara; Mikio Takeuchi
- Web page: https://patentgrep.com/patent/US20240202814A1

## CPC

- G06Q 40/02: Banking, e.g. interest calculation or account maintenance (credit or loans G06Q40/03)
- G06F 16/9024: {Graphs; Linked lists (G06F16/9027 takes precedence)}
- 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
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Input data is obtained and converted into a graph. Based on the converted input data, a time series of snapshot graphs is generated by selecting edges whose timestamps are in a given time window for each of a plurality of time windows, each edge having a corresponding attribute. Internal flow probabilities are computed for each snapshot graph of the time series of snapshot graphs and a system is controlled based on the internal flow probabilities.

## Claims

### Claim 1

A method comprising:
obtaining input data;
converting the input data into a graph;
based on the converted input data, generating a time series of snapshot graphs by selecting edges whose timestamps are in a given time window for each of a plurality of time windows, each edge having a corresponding attribute;
computing internal flow probabilities for each snapshot graph of the time series of snapshot graphs; and
controlling a system based on the internal flow probabilities.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
computing aggregated features from the internal flow probabilities;
training a model based on the aggregated features; and
predicting a future effect of internal flows using the trained model;
wherein controlling the system is based on the predicted future effect of the internal flows.

### Claim 3 (depends on 2)

The method of claim 2, further comprising computing other features from the internal flow probabilities and wherein the training of the model is further based on the other computed features.

### Claim 4 (depends on 2)

The method of claim 2, wherein the computing of the internal flow probabilities further comprises:
computing an edge weight for each edge of each vertex of the snapshot graph;
initializing an in 0-hop probability and an out 0-hop probability for each internal vertex of the graph;
computing an in n-hop probability and an out n-hop probability for each internal vertex of the graph and for each value of n between one and a maximum value of n; and
outputting the in n-hop probabilities and the out n-hop probabilities to generate feature data.

### Claim 5 (depends on 2)

The method of claim 2, further comprising computing a vertex-level feature of a given vertex in the graph, wherein the vertex-level feature corresponds to an n-hop probability of a random walker to or from the given vertex, wherein a probability of the random walker depends on an edge attribute of an edge which is connected to the given vertex and wherein the probability of the random walker depends on a membership of vertices on both ends of the edge which is connected to the given vertex, wherein the vertex belongs to a specific subset of vertices in the graph of a plurality of subsets.

### Claim 6 (depends on 1)

The method of claim 1, further comprising maintaining the edge attributes and one or more attributes of nodes of the snapshot graph in memory for direct access by using compact representations of the edge attributes and the node attributes.

### Claim 7 (depends on 1)

The method of claim 1, further comprising using message-passing-based or a vertex-centric bulk synchronous parallel algorithm for each node.

### Claim 8 (depends on 1)

The method of claim 1, further comprising computing a graph-level feature based on vertex-level features of vertices in the graph by aggregating the vertex-level features with weights, wherein each weight depends on a corresponding vertex, wherein each weight depends on a membership of vertices on both ends of an edge, and wherein a sign of each weight depends on a type of a random walk.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
training a model based on the internal flow probabilities; and
predicting a future effect of internal flows using the trained model;
wherein controlling the system is based on the predicted future effect of the internal flows.

### Claim 10 (depends on 9)

The method of claim 9, wherein the input data comprises account data, an account subset L⊆an internal account set, a time series of a prediction target {f(t′)|t′<=t}, and hyper-parameters comprising a time window size W, a prediction length T, and a maximum number of hops nmax.

### Claim 11 (depends on 9)

The method of claim 9, wherein, in the time series of snapshot graphs {snapshot graph(t)|t<=t′}, each internal vertex corresponds to an internal account of a bank and each of the selected edges corresponds to a transaction and has a timestamp attribute and an amount attribute.

### Claim 12 (depends on 9)

The method of claim 9, wherein the trained model comprises model MT for a prediction length T.

### Claim 13

A non-transitory computer readable medium comprising computer executable instructions which when executed by a computer cause the computer to perform the method of:
obtaining input data;
converting the input data into a graph;
based on the converted input data, generating a time series of snapshot graphs by selecting edges whose timestamps are in a given time window for each of a plurality of time windows, each edge having a corresponding attribute;
computing internal flow probabilities for each snapshot graph of the time series of snapshot graphs; and
controlling a system based on the internal flow probabilities.

### Claim 14

An a shared-memory graph analysis platform based on a graph computer comprising:
a memory; and
at least one processor, coupled to said memory, and operative to perform operations comprising:
obtaining input data;
converting the input data into a graph;
based on the converted input data, generating a time series of snapshot graphs by selecting edges whose timestamps are in a given time window for each of a plurality of time windows, each edge having a corresponding attribute;
computing internal flow probabilities for each snapshot graph of the time series of snapshot graphs; and
controlling a system based on the internal flow probabilities.

### Claim 15 (depends on 14)

The shared-memory graph analysis platform of claim 14, the operations further comprising:
computing aggregated features from the internal flow probabilities;
training a model based on the aggregated features; and
predicting a future effect of internal flows using the trained model;
wherein controlling the system is based on the predicted future effect of the internal flows.

### Claim 16 (depends on 15)

The shared-memory graph analysis platform of claim 15, the operations further comprising computing other features from the internal flow probabilities and wherein the training of the model is further based on the other computed features.

### Claim 17 (depends on 15)

The shared-memory graph analysis platform of claim 15, wherein the computing the internal flow probabilities further comprises:
computing an edge weight for each edge of each vertex of the graph;
initializing an in 0-hop probability and an out 0-hop probability for each internal vertex of the graph;
computing an in n-hop probability and an out n-hop probability for each internal vertex of the graph and for each value of n between one and a maximum value of n; and
outputting the in n-hop probabilities and the out n-hop probabilities to generate feature data.

### Claim 18 (depends on 14)

The shared-memory graph analysis platform of claim 14, the operations further comprising maintaining the edge attributes and one or more attributes of nodes of the snapshot graph in memory for direct access by using compact representations of the edge attributes and the node attributes.

### Claim 19 (depends on 14)

The shared-memory graph analysis platform of claim 14, the operations further comprising using message-passing-based or a vertex-centric bulk synchronous parallel algorithm for each node.

### Claim 20 (depends on 14)

The shared-memory graph analysis platform of claim 14, the operations further comprising:
training a model based on the internal flow probabilities; and
predicting a future effect of internal flows using the trained model;
wherein controlling the system is based on the predicted future effect of the internal flows.
