Abstract
Spectral Graph Neural Networks (GNNs) are highly effective for modeling complex graph structures due to their ability to capture multi-hop information through polynomial filters. Despite their theoretical advantages, scaling these models to massive graphs remains a significant challenge, often leading to GPU memory exhaustion or requiring "decoupled" training that sacrifices accuracy. This paper introduces Spectral Graph Neural Networks with Laplacian Sparsification (SGNN-LS), a novel framework that approximates multi-hop propagation using a single, spectrally similar sparse matrix. By compressing multi-hop communication into a single-step operation, SGNN-LS enables efficient end-to-end training on billion-edge graphs. Experimental results show that SGNN-LS not only scales to the largest available benchmarks but also frequently improves performance by acting as a structural denoiser.
The Scalability Bottleneck in Spectral GNNs
Spectral GNNs are prized for their versatility, performing well on both homophilous (neighbors are similar) and heterophilous (neighbors are different) graphs. Unlike spatial GNNs, they use polynomial filters to aggregate information from distant neighbors. However, this multi-hop propagation is computationally expensive. Standard implementations require $K$ iterations of full-graph propagation per training step, which quickly exhausts GPU memory on large datasets.
To circumvent this, many existing methods use a "detaching trick," where propagation is precomputed and a simple MLP is trained on the static results. While scalable, this decoupling prevents the model from learning from raw features during training and often leads to suboptimal accuracy.
Methodology: Laplacian Sparsification
The core innovation of SGNN-LS is the use of Laplacian sparsification to replace the dense $K$-hop propagation matrix with a sparse approximation. This allows the model to "squeeze" multi-hop communication into a single-step operation, making mini-batching possible for spectral GNNs.
The framework follows a multi-step process:
- Sampling: Using an unbiased sampling algorithm based on random walks, the model identifies "important" edges based on spectral properties like effective resistance.
- Sparsification: A single sparse matrix is constructed to mimic the spectral properties of the $K$-step polynomial filter.
- Stacking and Approximation: The multi-hop communication is compressed into a single-step operation, allowing for standard mini-batch training.
This "plug-and-play" approach can be integrated into various spectral models, such as APPNP (static filters) and GPR-GNN (learnable filters), resulting in APPNP-LS and GPR-LS.
Experimental Evaluation and Results
The authors evaluated SGNN-LS across a diverse set of benchmarks, ranging from small citation networks to the massive Ogbn-papers100M dataset (111 million nodes, 1.6 billion edges).
Key findings include:
- Breaking the Scale Barrier: SGNN-LS successfully trained on Ogbn-papers100M, whereas standard spectral GNNs (like GPR-GNN and APPNP) consistently hit GPU memory limits.
- Accuracy Gains: On the Penn94 dataset, GPR-LS achieved 85.00% accuracy, surpassing the 82.92% of standard GPR-GNN. The sparsification process appears to act as a "denoising" mechanism, filtering out weak or unnecessary connections.
- End-to-End Advantage: SGNN-LS consistently outperformed "detached" models. This is particularly evident in datasets with high-dimensional features, like MAG-scholar-C (2.8M features), where end-to-end training allows for dimensionality reduction during the propagation process.
Conclusion and Future Directions
SGNN-LS provides a robust solution for scaling spectral GNNs without sacrificing the benefits of end-to-end training. By approximating complex polynomials with sparse matrices, it bridges the gap between theoretical power and practical scalability. While the method introduces a new hyperparameter for edge sampling (--ec), it significantly reduces training time and memory overhead. Future work may involve extending these techniques to directed or temporal graphs and further optimizing the initial sampling overhead.
Summary updated