Graph-Sprints Low-Latency Feature Extraction for Dynamic Graphs

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current machine learning models for dynamic graphs, especially continuous-time dynamic graphs (CTDGs), face high latency issues due to computationally costly methods like random-walk based feature extraction, which are unsuitable for real-time applications such as fraud detection in financial transactions.

Innovation Solution

The graph-sprints method computes time-aware node embeddings using single-hop operations on incoming edges, enabling low-latency feature extraction while utilizing the most up-to-date information, and approximates random-walk based features in a streaming setting.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If random-walk based feature extraction is used to compute node embeddings on continuous-time dynamic graphs, then time-aware embeddings capturing multi-hop information are obtained, but computational cost increases significantly resulting in high inference latencies

Engineering Contradiction:
Improveembedding accuracyVSAvoidinference latency
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent segments the complex random-walk computation into multiple simpler single-hop operations. Instead of performing complete random-walks that traverse multiple hops, the method breaks down the feature extraction into sequential single-hop updates that accumulate neighborhood information incrementally, reducing computational complexity while preserving embedding quality

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs preliminary computation of single-hop features and stores them in advance. When node embeddings are needed, these pre-computed features are readily available, eliminating the need to perform costly multi-hop random-walks at inference time and significantly reducing latency

Inventive Principle:
Principle #10Preliminary action

2Loss of information

If multiple random-walks are generated for each seed node to extract features, then comprehensive neighborhood information is captured, but computation time increases making it infeasible for high-frequency use-cases

Engineering Contradiction:
Improveneighborhood information completenessVSAvoidprocessing throughput
Core Design Contradiction:
Loss of informationVSProductivity

Solution Approach 1:

The patent merges multiple random-walk computations into a single unified single-hop operation. By combining the information gathering from what would traditionally require multiple separate random-walks into one efficient pass that aggregates neighborhood features, the method maintains information completeness while dramatically improving processing throughput

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent performs a single-hop operation that captures essential neighborhood information without completing full multi-hop random-walks. This partial action approach extracts the most critical features from immediate neighbors, providing sufficient information for accurate embeddings while avoiding the excessive computation of deeper walks

Inventive Principle:
Principle #16Partial or excessive action

3Reliability

If feature extraction is performed for each incoming edge in continuous-time dynamic graphs, then up-to-date embeddings are maintained, but computational overhead becomes prohibitive for real-time applications

Engineering Contradiction:
Improveembedding freshnessVSAvoidcomputational overhead
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent segments the feature extraction process to operate independently on each incoming edge as it arrives, rather than batch-processing. This allows the system to maintain embedding freshness by immediately incorporating new edge information through efficient single-hop updates, while keeping computational overhead manageable through the simplicity of each incremental update

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20250013923A1Method for low-latency feature extraction for training a machine-learning model
Publication Date: 2025.01.09 FEEDZAI CONSULTADORIA E INOVACAO TECHCA SA
  • US20250013923A1 patent drawing
  • US20250013923A1 patent drawing

AI summary

The disclosure relates to a method and system for low-latency feature extraction on continuous-time dynamic graphs (“CTDG”), in particular for training a machine-learning model. The disclosure includes feature extraction using a CTDG from a stream of transaction data, wherein each transaction is carried between a first node and a second node among a plurality of nodes, for obtaining a feature histogram for each node, each feature histogram comprising a plurality of histogram bins for one or more features, each bin comprising a count of data values falling within each bin. The method includes obtaining a first weighted average histogram from the feature histogram of the first node using a first discount factor; and obtaining a second weighted average histogram, from the feature histogram of the second node using a second discount factor. The disclosure also includes using a hashed representation of the histogram bins of the feature histogram.