Skip to main content
Back

ScaleGNN Trains on 111 Million Nodes 6.7x Faster Without Losing Accuracy

ScaleGNN tackles two long-standing GNN problems at once — over-smoothing and poor scalability — with a smart attention-based neighbor filtering system that runs up to 6.7x faster than state-of-the-art methods.

Pro

  • ScaleGNN is a new GNN framework accepted at WWW '26 that simultaneously solves over-smoothing and scalability on graphs with up to 111M nodes.
  • It introduces per-hop pure adjacency matrices that isolate each neighborhood level, preventing the blurring effect of standard message passing.
  • A Local Contribution Score (LCS) — attention-based neighbor scoring — prunes irrelevant high-order neighbors, keeping only the most informative connections.
  • ScaleGNN runs 4.1x to 6.7x faster than top baselines on ogbn-papers100M while achieving new state-of-the-art accuracy across all 6 tested datasets.
  • The model stays stable at 30 hops where competing methods like S²GC and GAMLP collapse from over-smoothing.
  • Code is open-source at github.com/lx970414/ScaleGNN; runs on a single RTX 4090.

ScaleGNN, published at the ACM Web Conference 2026 (WWW '26), takes on one of the most stubborn problems in graph machine learning: how do you run a Graph Neural Network on a graph with 111 million nodes without it either running out of memory, taking forever, or producing node embeddings so blended together they're useless? The answer, it turns out, involves teaching the model to be selective about which neighbors it actually listens to.

Why Big Graphs Break GNNs

Graph Neural Networks work by passing messages between nodes , each node aggregates information from its neighbors, then its neighbors' neighbors, and so on. GNNs have demonstrated impressive performance across diverse graph-based tasks by leveraging message passing to capture complex node relationships, but on large-scale real-world graphs they face two major challenges: they struggle to ensure scalability and efficiency as repeated aggregation of large neighborhoods incurs significant computational overhead, and they suffer from over-smoothing, where excessive propagation makes node representations indistinguishable.

Over-smoothing (the second problem) is worth unpacking. Imagine you're trying to classify nodes in a social network. After enough rounds of message passing, every node's representation becomes a blurry average of the whole graph , like zooming out on a photo until everything looks the same shade of grey. Node representations become indistinguishable as the number of propagation layers increases, and this problem is particularly severe in large-scale graphs such as ogbn-papers100M, where excessive feature mixing leads to performance degradation.

GNN advances highly impact graph-based applications in many areas, including computer vision, natural language processing, biology, medication, and social science , but scaling up GNN models poses a formidable and long-lasting challenge, hindering application to industrial-level graphs featuring millions or billions of nodes and edges. Real-world use cases , recommendation systems, fraud detection, citation networks, co-purchasing graphs , all live at this scale.

The Two Existing Camps, and Their Trade-offs

Prior work split into two main strategies for handling large graphs:

  • Sampling-based methods (e.g., GraphSAGE, Cluster-GCN): Pick a subset of neighbors at each layer to keep computation tractable. Fast, but you lose structural information from the nodes you dropped.
  • Pre-computation-based methods (e.g., SGC, SIGN, GAMLP): Compute all the neighborhood aggregations offline before training, then train a simple MLP on top. Efficient, but the pre-computation itself gets expensive at scale, and over-smoothing still creeps in at high hop counts.

Despite advances in sampling-based, pre-computation-based, deep and high-order aggregation, and plug-in modules, scalability and over-smoothing issues still hinder scalable GNNs for large-scale and complex graphs , a unified solution resolving both over-smoothing and scalability remains essential.

ScaleGNN's Three-Part Solution

ScaleGNN addresses over-smoothing, computational inefficiency, and redundant high-order information through three synergistic components: Adaptive High-order Feature Fusion, Low-order Enhanced Feature Aggregation, and High-order Redundant Feature Masking. Here's how each piece works:

ScaleGNN architecture diagram showing the three main components: low-order enhanced feature aggregation, k-hop neighbor message passing, and high-order redundant feature masking

1. Adaptive High-order Feature Fusion. Standard GNNs stack the same adjacency matrix repeatedly, which causes the over-smoothing blur. ScaleGNN instead computes a pure per-hop matrix for each neighborhood level by subtracting consecutive hop matrices: A_i = A^i - A^(i-1). This isolates exactly the new nodes that appear at hop i and nowhere else. A set of learnable weights (normalized via softmax) then blends these per-hop matrices into a single fused adjacency, so the model can learn to up-weight the hops that actually matter for the task.

2. Low-order Enhanced Feature Aggregation. High-order features (distant neighbors) can easily drown out local structure. ScaleGNN explicitly separates low-order features (up to 2 hops) from high-order ones, then combines them with a learnable balancing factor β. This enhanced feature fusion strategy significantly balances low-order and high-order information, preserving both local detail and global correlations without incurring excessive complexity.

3. High-order Redundant Feature Masking via LCS. This is the most novel piece. The Local Contribution Score (LCS)-based masking mechanism filters out less relevant high-order neighbors, ensuring that only the most meaningful information is aggregated. LCS is essentially a scaled dot-product attention score between a target node and each of its k-hop neighbors , the same mechanism behind Transformer attention. For each node, only the top-m neighbors by LCS score survive; the rest are pruned from the adjacency matrix. Crucially, m is itself a learnable parameter per hop, so the model decides how many neighbors to keep at each distance.

The training objective combines three losses: standard cross-entropy for node classification, an LCS regularization term that pushes retained neighbors to have high relevance scores, and an L1 sparsity constraint on the filtered adjacency matrices to keep the pruning aggressive.

# Conceptual sketch of ScaleGNN's forward pass
# Step 1: Build per-hop pure adjacency matrices
A_pure = [A**i - A**(i-1) for i in range(1, K+1)]
# Step 2: Adaptive weighted fusion
alpha = softmax(learnable_weights)  # shape: [K]
A_fused = sum(alpha[i] * A_pure[i] for i in range(K))
# Step 3: Low-order branch
H_low = activation(A**2 @ X @ W_low)
# Step 4: Compute LCS scores, keep top-m neighbors per hop
A_filtered = top_m_filter(A_fused, LCS_scores)
# Step 5: High-order branch with filtered adjacency
H_high = activation(A_filtered @ X @ W_high)
# Step 6: Fuse with learnable beta
H = beta * H_low + (1 - beta) * H_high

Benchmarks: Speed and Accuracy

The team evaluated ScaleGNN on six real-world graph datasets: three small-scale (Citeseer, Cora, Pubmed) and three large-scale (ogbn-arxiv, ogbn-products, and ogbn-papers100M). The large-scale benchmarks are the meaningful ones , ogbn-papers100M alone has 111 million nodes and 1.6 billion edges.

Bar chart comparing total training time across ogbn-arxiv, ogbn-products, and ogbn-papers100M for seven GNN methods on a logarithmic scale

The efficiency results are striking. On ogbn-papers100M, ScaleGNN's lightweight base variant (ScaleGNN_b) completes training in 4,110 seconds. Compare that to S²GC at 19,914 seconds, GBP at 35,706 seconds, and GAMLP at 35,656 seconds. ScaleGNN_b reduces runtime by at least 4.1x to 6.7x compared to the best-performing baseline. Even RpHGNN, one of the more efficient baselines, runs 2.5x to 3.1x slower.

On accuracy, ScaleGNN sets new state-of-the-art Micro-F1 scores across all six datasets. On ogbn-products (2.4M nodes), it hits 81.82% Micro-F1 vs. the previous best of 80.93%. On ogbn-papers100M, it reaches 65.69% vs. 63.97%. The gains are statistically significant (p < 0.01 by t-test).

The over-smoothing resistance is equally notable. Traditional GNNs like S²GC, GBP, and GAMLP achieve their peak performance at moderate depths (around 8–12 layers) but degrade rapidly beyond this point. ScaleGNN maintains stable performance even at 30 hops, where competing methods have already collapsed.

Line graph comparing Micro-F1 performance of six GNN models as number of hops increases from 2 to 30, showing ScaleGNN maintaining performance while others degrade

What the Ablation Tells You

The paper's ablation study is worth reading carefully. Removing the adaptive fusion module causes the biggest drop , up to 3.07% Micro-F1 on ogbn-arxiv. Removing the low-order branch costs another ~1.3%. Removing LCS masking degrades performance further. Every component pulls its weight, and the full model beats all variants on every dataset tested.

There's also a useful two-variant design: ScaleGNN_b (base, no LCS masking) is the speed-optimized version, while full ScaleGNN trades some runtime for better accuracy. The paper frames this explicitly as a dial you can tune based on your resource constraints.

Where It Fits and Where It Doesn't

ScaleGNN is a strong fit for:

  • Node classification on large homogeneous graphs , citation networks, product co-purchase graphs, web-scale social graphs
  • Fraud detection and anomaly detection , tasks where long-range graph structure matters but you can't afford deep stacked GNNs
  • Recommender systems , large item-user graphs where scalability is non-negotiable
  • Any setting where you need more than 10 hops of neighborhood context without the over-smoothing penalty

The current limitations are worth noting. Future work includes extending ScaleGNN to heterogeneous graphs and optimizing large-scale training. Heterogeneous graphs , where nodes and edges have different types (think knowledge graphs or multi-relational social networks) , are not yet supported. The LCS computation also adds overhead over the base variant, so if you're purely latency-constrained, ScaleGNN_b is the better choice.

Code and Reproducibility

The source code is available at https://github.com/lx970414/ScaleGNN. The paper was accepted at WWW '26 and experiments were run on a single machine with an AMD EPYC 7402 CPU and NVIDIA RTX 4090 (24GB), which means the setup is accessible , you don't need a cluster to reproduce the ogbn-arxiv and ogbn-products results. The ogbn-papers100M runs will push that 4090 harder, but it's still a single-GPU result, which is itself a statement about the method's efficiency.