Abstract
Standard Graph Neural Networks (GNNs) are fundamentally limited by the 1-Weisfeiler-Leman (1-WL) test, preventing them from distinguishing structurally distinct graphs. This paper introduces "pre-coloring," a technique that enhances initial node features using spectral or combinatorial information. By leveraging the Heat Kernel of the graph Laplacian, the authors demonstrate that simple GNN architectures can bypass their theoretical limits, achieving state-of-the-art performance on complex synthetic and real-world benchmarks.
Introduction: The 1-WL Expressivity Barrier
Most modern GNNs utilize Message Passing (MPGNNs), where node states are updated via local neighbor aggregation. While computationally efficient, these models face a mathematical "glass ceiling": their structural discriminative power is strictly bounded by the 1-WL test. Consequently, graphs that are 1-WL indistinguishable—such as the Decalin and Bicyclopentyl molecules—result in identical embeddings regardless of model depth or parameter count. Traditional solutions often involve complex, high-order GNN architectures that are computationally prohibitive. This research proposes a simpler alternative: improving the initial node features through pre-coloring.
Methodology: Pre-Coloring for Enhanced Expressivity
The authors advocate for a two-phase approach where sophisticated features are generated before the learning process begins.
Combinatorial and Spectral Pre-coloring
Theoretically, the authors prove that if a 1-WL GNN is initialized with information derived from a $k$-WL test, the entire system becomes as powerful as a $k$-WL GNN. Practically, the paper introduces "Spectral WL" based on the Heat Kernel of the graph Laplacian ($H_t = e^{-tL}$). This method captures multi-scale structural information through diagonal signatures and distributional features.
To handle large-scale graphs, the authors employ Model Order Reduction (MOR) to approximate the heat kernel using the smallest $k$ eigenvectors, ensuring the method remains computationally viable.
Experimental Results
The "Spectral Pre-processed" (SP) versions of standard GNNs (GIN, GCN, GAT, GraphSAGE) show significant performance gains across diverse datasets. On synthetic tasks involving 1-WL indistinguishable pairs, SP-GNNs achieved near 100% accuracy, whereas standard models performed no better than random guessing.
The impact on real-world datasets was equally pronounced. In social network benchmarks like COLLAB, a standard GAT model's accuracy jumped from 36.5% to 73.7% when augmented with spectral features. These results suggest that spectral pre-coloring effectively mitigates the "over-squashing" problem by baking global structural information directly into the initial node states.
Conclusion
By demonstrating that expressivity can be "pre-loaded" into node features, this work provides a scalable path for GNNs to climb the Weisfeiler-Leman hierarchy. Spectral pre-coloring offers a plug-and-play boost for existing architectures, proving that simple models can solve high-order structural problems when provided with the right starting information.
Summary updated