Abstract
Graph Neural Networks (GNNs) are notoriously fragile when faced with adversarial "poisoning" attacks that manipulate a graph's structure. This paper introduces pLapGNN, a framework that utilizes the mathematical properties of the $p$-Laplacian to denoise corrupted graphs prior to training. By treating graph denoising as a preprocessing step, pLapGNN offers a defense that is both more robust and significantly faster than current state-of-the-art joint optimization methods. Experimental results on standard benchmarks demonstrate that pLapGNN maintains high accuracy even under heavy structural perturbations while achieving linear computational complexity.
Introduction
GNNs typically operate under the assumption of homophily, where connected nodes are expected to share similar features or labels. Adversarial poisoning attacks exploit this reliance by strategically adding or removing edges to increase heterophily (connecting dissimilar nodes), which significantly degrades model performance. Existing defense mechanisms often face a trade-off between robustness and efficiency; for instance, methods relying on Singular Value Decomposition (SVD) suffer from $O(|V|^3)$ complexity, making them impractical for large-scale graphs. This work proposes a holistic defense that restores the graph's natural structure efficiently, allowing GNNs to learn from "cleaned" data.
Methods
The core of the pLapGNN framework is the weighted $p$-Laplacian. Unlike the standard Laplacian ($p=2$), the $p$-Laplacian introduces a tunable parameter $p$ that modifies the model's sensitivity to node differences. Specifically, $p > 2$ enhances robustness against outliers by reducing the influence of large feature differences, while $p < 2$ promotes sparsity, helping the model retain only essential edges.
The framework follows a two-stage approach:
- Preprocessing (Graph Denoising): A noise removal objective is solved using a majorization-minimization framework. This stage "cleans" the adjacency matrix by adjusting edge weights to minimize Dirichlet energy based on the $p$-Laplacian.
- Training: A standard GNN architecture, such as a Graph Convolutional Network (GCN), is trained on the resulting cleaned graph structure.
Key Insights
- Local Inhomogeneity: The $p$-Laplacian is more adept at capturing local variations than the standard Laplacian, allowing for surgical removal of adversarial edges.
- Efficiency: pLapGNN achieves a complexity of $O(|V| + |E|)$, offering superior scalability compared to SVD-based methods.
- Convergence: The preprocessing stage typically converges within 200 epochs, significantly faster than the 1,000+ epochs often required by joint optimization methods.
Results
The pLapGNN framework was evaluated on the Cora and Citeseer citation networks against various adversarial structural perturbations.
On the Cora dataset under a 25% perturbation rate, pLapGNN achieved an accuracy of 76.83%, outperforming ProGNN (69.72%) and RWLGNN (76.53%). Across various perturbation rates (0% to 25%), pLapGNN consistently demonstrated superior or competitive performance compared to state-of-the-art baselines. Furthermore, the method proved significantly more efficient in terms of training time compared to computationally demanding joint optimization baselines like ProGNN.
Conclusion
pLapGNN provides a scalable and robust solution for defending GNNs against structural attacks. While the current two-stage approach is highly efficient, the authors acknowledge it may result in slightly suboptimal graphs compared to joint optimization. Future work will explore single-stage optimization methods to potentially reach even higher accuracy while maintaining the stability and speed of the $p$-Laplacian framework.
Summary updated