Abstract
Modern graph representation learning is dominated by Message-Passing Neural Networks (MPNNs), which often struggle with interpretability and limited mathematical expressivity. Kernel Graph Neural Networks (KGNNs) offer a theoretically robust alternative but face significant challenges in optimization and a lack of self-supervised learning frameworks. This paper introduces SWAG (Smoothed random WAlk Graph neural network), a differentiable architecture that facilitates gradient-based training for KGNNs, and LGA (Latent Graph Augmentation), a structure-preserving augmentation method. By integrating these components, the authors demonstrate that KGNNs can achieve state-of-the-art performance in both supervised and self-supervised settings while maintaining high model transparency.
Introduction
Graph AI has seen rapid advancement through MPNNs, yet these models are frequently criticized as "black boxes" with inherent limitations in distinguishing complex graph structures. Kernel Graph Neural Networks (KGNNs) provide a more expressive alternative by comparing input graphs to a set of trainable "hidden" graphs. However, the discrete and combinatorial nature of traditional graph kernels makes them difficult to optimize via backpropagation. Furthermore, while self-supervised learning (SSL) has revolutionized MPNNs, its application to kernel-based models has remained largely unexplored.
This research addresses these gaps by proposing a two-fold solution: a new differentiable architecture (SWAG) and a novel augmentation strategy (LGA) designed specifically to preserve the structural integrity of graphs during self-supervised training.
Methods
SWAG: Differentiable Graph Kernels
To overcome the optimization hurdles of discrete kernels, the authors developed SWAG. Instead of relying on discrete random walk steps, SWAG utilizes a "smoothed" version of the kernel based on graph diffusion (conceptually similar to PageRank). This transformation converts the graph comparison process into a continuous, differentiable operation. Consequently, the model can be trained efficiently using standard gradient descent, allowing the "hidden graphs" to be learned directly from data.
LGA: Latent Graph Augmentation
Standard data augmentation techniques in graph learning, such as random node or edge dropping, often introduce noise that can destroy critical structural features. To mitigate this, the authors propose LGA. This method employs Universal Singular Value Thresholding (USVT) to estimate the underlying probability matrix of a graph. By "denoising" the graph to its latent signal, LGA generates augmented versions that respect the original structural semantics. This approach ensures that the model learns from variations that are representative of the graph's true topology rather than random perturbations.
These methods were integrated into both contrastive and non-contrastive self-supervised learning frameworks to evaluate their efficacy in unlabeled data environments.
Experimental Evaluation
The proposed methods were benchmarked against eight widely recognized datasets across two primary domains:
- Bio/Chemo-informatics: MUTAG, D&D, NCI1, and PROTEINS.
- Social Interaction Networks: IMDB-BINARY, COLLAB, REDDIT-BINARY, and REDDIT-MULTI-5K.
These datasets provided a rigorous testing ground ranging from small, highly structured molecules to large, dense social graphs.
Key Results
- Supervised Performance: SWAG achieved results comparable or superior to existing KGNN and MPNN baselines. Its performance was particularly notable on dense social graphs like COLLAB, where structural nuances are critical.
- Self-Supervised Success: The combination of SWAG and LGA yielded significant improvements. On seven of the eight datasets, this pairing outperformed other self-supervised KGNN approaches.
- Competitive Edge: Even when compared to highly optimized MPNN-based SSL frameworks (such as GraphCL or InfoGraph), the SWAG+LGA framework remained highly competitive, frequently setting new performance benchmarks on social network tasks.
Interpretability and Insights
A significant advantage of the SWAG architecture is its inherent interpretability. Unlike the abstract vector representations in MPNNs, the "hidden graphs" learned by SWAG can be visualized and inspected. The authors observed that the model naturally adapts its learned structures to the domain: for protein datasets, the model prioritized "ring" structures, while for social datasets, it focused on "chains." This suggests that the model is capturing domain-relevant structural motifs autonomously.
Conclusion and Future Work
The introduction of SWAG and LGA demonstrates that kernel-based graph models can be both computationally efficient and highly effective in self-supervised regimes. While the computational complexity of LGA (specifically the $O(n^3)$ SVD requirement) remains a bottleneck for extremely large-scale graphs, the research provides a clear path forward for interpretable graph AI. Future work will focus on improving the scalability of these methods and exploring the utility of learned "hidden graphs" for complex downstream tasks beyond classification.
Summary updated