NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Accelerating Scalable Graph Neural Network Inference with Node-Adaptive Propagation

Xinyi Gao, Wentao Zhang, Junliang Yu, Yingxia Shao, Quoc Viet Hung Nguyen, Bin Cui, Hongzhi Yin

TL;DR

This paper introduces Node-Adaptive Inference (NAI), a framework that accelerates Graph Neural Network (GNN) inference by customizing the propagation depth for every individual node. By avoiding redundant computations and using a novel "Inception Distillation" technique to maintain accuracy, the authors achieve up to a 75× speedup on massive datasets like Ogbn-products.

What Problem Does This Paper Address?

While GNNs are powerful, they suffer from the "neighbor explosion problem." To understand a single node, a GNN often needs to aggregate information from its neighbors, their neighbors, and so on. As the "depth" of this search increases, the number of involved nodes grows exponentially, leading to massive computational overhead and high latency.

Existing "Scalable GNNs" (like SGC or SIGN) try to solve this by pre-computing these neighbor features during training. However, this trick fails in inductive settings—where the model encounters brand-new nodes in real-time (e.g., a new user in a recommendation system). In these cases, the model must perform feature propagation online. Most current methods use a fixed depth for all nodes, which is inefficient: some nodes only need a 1-hop look to be classified correctly, while others might need 5. Forcing a deep search on every node leads to redundant work and a phenomenon called "over-smoothing," where node features become indistinguishable.

Methods

The authors propose the Node-Adaptive Inference (NAI) framework, which consists of two main components:

  1. Node-Adaptive Propagation (NAP): This module decides the optimal propagation depth for each node on the fly. The paper offers two flavors:
  2. Distance-based (NAPd): It calculates the distance between a node's current feature and its "stationary state" (what the feature would look like after infinite propagation). If the feature is close enough to this limit, propagation stops.
  3. Gate-based (NAPg): It uses a lightweight neural "gate" at each layer to predict whether further propagation is necessary.
  4. Inception Distillation: To ensure that "early" predictions (at shallow depths) are still accurate, the authors use a knowledge distillation strategy. They train an ensemble of deep classifiers to act as a "teacher," which then transfers its multi-scale knowledge to the shallower "student" classifiers. This compensates for the potential accuracy loss of stopping early.

Datasets

The framework was evaluated on three public benchmarks representing different scales and domains:

  • Flickr: An image network (89k nodes, 900k edges).
  • Ogbn-arxiv: A citation network (169k nodes, 1.1M edges).
  • Ogbn-products: A massive product co-purchasing network (2.4M nodes, 123M edges).

Key Insights and Ideas

  • The "Stationary State" Shortcut: One of the most clever ideas is using the theoretical limit of infinite propagation ($X^\infty$) as a reference point. Since this state is purely dependent on graph topology (node degrees), it can be calculated very quickly, providing a "north star" for the NAPd module.
  • Personalization is Efficiency: The paper demonstrates that node distributions are highly skewed. On the Flickr dataset, for instance, many nodes can be classified with high accuracy at depth 2, while a fixed-depth model would waste cycles pushing them to depth 5 or 7.
  • Mitigating Over-smoothing: By stopping propagation early for high-degree nodes (which smooth out the fastest), NAI actually improves classification accuracy in some cases compared to vanilla fixed-depth models.

Key Results

  • Massive Speedups: On the largest dataset (Ogbn-products), NAI achieved a 75× inference speedup and an 86× reduction in feature processing time compared to the standard SGC model.
  • Accuracy Preservation: Despite the aggressive speedups, NAI maintained or even slightly exceeded the accuracy of base models. For example, on Ogbn-products, it achieved 73.89% accuracy compared to SGC's 74.24%, while being orders of magnitude faster.
  • Superiority over Baselines: NAI consistently outperformed other acceleration methods like TinyGNN, GLNN, and Quantization in the trade-off between latency and accuracy.

Limitations and Future Work

  • Overhead of Stationary State: While calculating the stationary state is faster than deep propagation, it still requires a global view of the graph (specifically node degrees and edge counts), which might be challenging in extremely dynamic, rapidly shifting graphs.
  • Hyper-parameter Sensitivity: The framework introduces several new hyper-parameters (like the distance threshold $T_s$ and distillation weights). While the authors provide a grid search strategy, finding the "sweet spot" for a new, custom dataset might require significant tuning.
  • Generalization to Non-Scalable GNNs: The current work focuses on "Scalable GNNs" (those that decouple propagation and transformation). Applying these adaptive stopping rules to standard message-passing GNNs (like GAT or GraphSAGE) remains an open area for exploration.

Summary updated

BibTeX
@inproceedings{gao2024accelerating,
  author = {Xinyi Gao and Wentao Zhang and Junliang Yu and Yingxia Shao and Quoc Viet Hung Nguyen and Bin Cui and Hongzhi Yin},
  title = {{Accelerating Scalable Graph Neural Network Inference with Node-Adaptive Propagation}},
  booktitle = {ICDE},
  year = {2024},
  doi = {10.1109/icde60146.2024.00236},
}
Figure