TL;DR
Real-time Graph Neural Network (GNN) inference on streaming graphs is notoriously slow due to the "neighbor explosion" problem, where minor edge updates trigger massive, redundant multi-hop recomputations. This paper introduces an incremental computation framework and system called NeutronRT that decouples GNN operators to update only the affected subgraphs without sacrificing accuracy. The result is a massive 64%–99% reduction in computation and up to a 145.8× speedup over state-of-the-art baselines.
What Problem Does This Paper Address?
Streaming graphs—like real-time user-video interactions on TikTok or transaction networks in financial fraud detection—change constantly. To provide accurate recommendations or alerts, GNN systems must update node embeddings on the fly using Runtime Embedding Computation (RTEC).
However, RTEC hits a major bottleneck: the neighbor explosion problem. Because GNNs aggregate information across multiple hops ($L$-layers), updating a single edge propagates outward, forcing the system to recompute large neighborhoods even if most of the connections remain unchanged. The authors observe that up to 95% of this computation is completely redundant, wasted on unaffected subgraphs. Existing workarounds either randomly drop neighbors (which tanks accuracy) or reuse node embeddings while still performing heavy full-neighborhood aggregations.
Methods
The authors propose a fine-grained operator decoupling framework that breaks down standard GNN layers into five distinct steps:
- Local message computation (
ms_local) - Neighborhood context aggregation (
nbr_ctx) - Message combination (
msg_cbn) - Standard aggregation
- Updates
By isolating the neighborhood context (such as degree normalization in GCN or attention sums in GAT), they can incrementally update the context. Crucially, they introduce an inverse operation (msg_cbn⁻¹) to mathematically "subtract" outdated edge contributions and "add" new ones without touching the rest of the neighborhood.
To make this practical for massive graphs, they built NeutronRT, a CPU-GPU co-processing system. It stores intermediate embeddings in large CPU memory and streams them to the GPU using zero-copy memory access over PCIe. It also utilizes chunked task scheduling to maximize embedding reuse across GPU execution chunks.
Datasets
The framework was evaluated on six real-world datasets spanning different scales:
- Small/Medium:
ogbn-arxiv(citation network),reddit(post-to-post network), andogbn-products(co-purchasing network). - Large/Billion-scale:
Twitter(social media),ogbn-paper(citation network), andfriendster(social gaming network).
Key Insights and Ideas
- The Power of Inverses: If a GNN's neighborhood context function is associative and distributive over aggregation, you don't need to re-aggregate everything. You can simply apply an inverse operation to remove the stale data and patch in the update.
- Structure Trumps Freshness: The paper reveals that GNN embedding quality is highly sensitive to structural graph changes but less sensitive to minor model parameter staleness. Incremental updates preserve full structural accuracy, easily outperforming periodic retraining.
- Hub Nodes Dominate: On power-law graphs (like Twitter), a tiny fraction of high-degree "hub" nodes drive almost all neighborhood expansion. Eliminating redundant edge accesses around these specific hubs accounts for 72%–85% of NeutronRT's total computation reduction.
Key Results
- Zero Accuracy Loss: Incremental RTEC achieves exact mathematical equivalence to full recomputation (mean squared error $< 10⁻⁴$), avoiding the accuracy drops seen in neighborhood sampling methods.
- Massive Speedups: On large-scale graphs, NeutronRT achieves speedups of 37.8× to 145.8× over full RTEC, and 7.3× to 17.1× over sampling-based methods.
- Drastic Computation Reduction: The system reduces edge and vertex data access volumes by 64% to 99% across various GNN models (including GCN, GraphSAGE, GIN, and GAT).
- Memory Efficiency: Their recomputation-based embedding storage optimization reduces CPU memory overhead by 19%–30% with negligible ($<1\%$) recomputation overhead on the GPU.
Limitations and Future Work
- Constrained Models: For GNNs like GAT where destination node embeddings directly affect edge messages, any change to a destination node invalidates its neighbors' messages. NeutronRT handles this by falling back to full neighborhood recomputation for these specific destination-affected nodes. While these nodes are usually a small fraction of the graph, it does introduce overhead.
- Out-of-CPU Memory Bottleneck: The system assumes intermediate embeddings fit entirely in CPU memory. If a graph is so massive that it exceeds CPU capacity, falling back to selective caching and on-demand recomputation causes an order-of-magnitude slowdown due to the inherent space-time trade-off of incremental processing.
Summary updated