Introduction
Graph Neural Networks (GNNs) have become the standard for modeling relational data, yet they face a significant bottleneck: the "neighbor explosion" problem. As GNNs aggregate information from multi-hop neighborhoods, the number of nodes involved grows exponentially with depth. This leads to high latency and computational costs, particularly in inductive settings where graph structures change dynamically, making precomputation impossible.
Existing scalable GNNs often apply a uniform propagation depth to all nodes. However, nodes in a graph reach an informative "smooth" state at different rates. Applying the same number of steps to every node is computationally redundant and can lead to "over-smoothing," where distinct features are lost. This paper introduces Node-Adaptive Inference (NAI), a framework that customizes propagation depth for each individual node to optimize the accuracy-efficiency tradeoff.
Methodology: Node-Adaptive Inference
NAI consists of two primary components designed to enable flexible, high-speed inference without sacrificing predictive power.
1. Node-Adaptive Propagation (NAP)
Instead of a fixed $k$-hop aggregation, NAP determines the optimal depth for each node dynamically. It calculates a "stationary state"—the theoretical limit of feature propagation. During inference, NAP measures the distance between a node's current features and this stationary state. If the node is sufficiently "smooth" (i.e., the distance falls below a threshold $T_s$), the process stops early, and a prediction is made. This allows high-degree "hub" nodes to exit early while isolated nodes continue aggregating until they reach a stable state.
2. Inception Distillation
To ensure that early-exiting "shallow" nodes remain accurate, the authors employ Inception Distillation. This training routine utilizes multiple classifiers—one for each propagation depth. An Ensemble Teacher, powered by a self-attention mechanism, distills multi-scale knowledge into these student classifiers. This ensures that even 1-hop or 2-hop predictions benefit from the global context captured by deeper models.
Experimental Results
The framework was evaluated on several large-scale datasets, including PubMed, Flickr, Ogbn-arxiv, and the massive Ogbn-products (2.4M nodes, 123M edges).
Performance and Efficiency
NAI achieves remarkable speedups compared to vanilla GNN architectures and other acceleration baselines like GLNN (which ignores graph structure at inference) and Quantization. On the Ogbn-products dataset, NAI delivered a 75× inference speedup over SGC while maintaining competitive accuracy.
As shown in the figures above, NAI provides a flexible Pareto frontier. By adjusting the smoothness threshold $T_s$, engineers can prioritize either extreme low-latency (raising the threshold) or maximum accuracy (lowering it). Notably, NAI excels in inductive scenarios, proving highly effective at handling unseen nodes by performing its adaptive propagation online.
Conclusion
Node-Adaptive Inference (NAI) addresses the core inefficiency of GNNs by recognizing that not all nodes require the same amount of context. By combining a distance-based early-exit strategy with multi-scale distillation, NAI provides a scalable solution for real-time applications on massive graphs. Future work may extend this "early exit" philosophy to more complex, non-linear GNN architectures and explore its implications for model explainability.
Summary updated