Skip to content
AI.info

Research

Enhancing Robustness of Graph Neural Networks through p-Laplacian

Overview Research area: Adversarial robustness of Graph Neural Networks (GNNs); spectral graph theory and graph-structured machine learning. Technical level: Advanced — the paper assumes familiarity w

Enhancing Robustness of Graph Neural Networks through p-Laplacian
arXiv
2511.06143
Published
2025-11-08
Authors
Anuj Kumar Sirohi, Subhanu Halder, Kabir Kumar, Sandeep Kumar

AI summary

Overview

Research area: Adversarial robustness of Graph Neural Networks (GNNs); spectral graph theory and graph-structured machine learning.

Technical level: Advanced — the paper assumes familiarity with GNN message passing, the graph Laplacian, and constrained convex optimization (majorization–minimization, KKT conditions).

Scope: The paper proposes and empirically evaluates pLapGNN, a two-stage framework that uses a weighted p-Laplacian regularizer to denoise adversarially perturbed graphs before training a GCN, tested on three citation-network benchmarks against Nettack, Metattack, and Random attacks.

What This Paper Is About

GNNs learn from both node features and graph edges, so an attacker who adds a few carefully chosen edges can distort the structure the model relies on and degrade its predictions. The paper's goal is to clean up that corrupted graph structure before training, so that the GNN sees something closer to the original, honest graph. The authors do this with a weighted p-Laplacian: a generalization of the standard graph Laplacian where the squared feature difference between connected nodes is replaced by its p-th power, giving the model a tunable knob between sparse, edge-pruning behavior and smooth, stability-oriented behavior.

Key Contributions

  1. A p-Laplacian denoising framework for GNNs (pLapGNN). The noise-removal objective combines a Frobenius-norm fidelity term α‖Φ* − Φ_n‖²_F that keeps the learned Laplacian close to the observed one, with a weighted p-Laplacian term β Σ w_ij ‖x_i − x_j‖^p_p that suppresses edges between nodes with dissimilar features.

  2. A reformulation into a non-negative constrained quadratic program. Using a linear Laplacian operator ℒ and its adjoint ℒ*, the structured Laplacian-constraint problem is rewritten over a vector w of edge weights with w ≥ 0, and solved with a majorization–minimization (MM) scheme using step size η_w = 1/L₁ where the Lipschitz constant is L₁ = ‖ℒ‖²₂ = 2n.

  3. Extensive robustness evaluation across attack types. Experiments cover a targeted attack (Nettack), a non-targeted meta-learning attack (Metattack / Meta-Self), and Random attacks on Cora, Citeseer, and Pubmed, compared against GCN-Jaccard, ProGNN, ProGNN-2, and RWLGNN.

  4. Efficiency analysis and ablation. The paper shows the method runs in O(|V| + |E|) time versus the O(|V|³) cost of SVD-based defenses, and isolates the contributions of the nonlinear regularizer, the two-stage design, and the choice of p.

Main Findings

  • Best or comparable accuracy under Metattack. On Cora, pLapGNN reaches 83.75 ± 0.71% at 0% perturbation ratio (PR) and 76.83 ± 0.50% at 25% PR, versus 69.72 ± 1.69% for ProGNN and 75.50 ± 0.72% for RWLGNN at 25%. On Citeseer it reaches 73.08 ± 0.73% at 0% PR and 69.01 ± 0.53% at 25%. On PubMed it reaches 90.17 ± 0.28% at 0% PR and 83.95 ± 0.49% at 25%, the highest of any method reported at that setting.

  • Consistent gains on the largest and smallest benchmarks. The paper states that on Cora, pLapGNN stays above 76% accuracy even at 25% perturbation, outperforming ProGNN and RWLGNN by 3–4%; on Citeseer it yields 1–2% higher accuracy than GCN-Jaccard and ProGNN at moderate perturbation levels; on PubMed it surpasses all baselines while converging faster.

  • Targeted attacks are harder to beat. Under Nettack, Figure 3 shows pLapGNN consistently outperforming or matching the best baselines. The conclusion reports that it remains within a narrow 1–2% margin under Nettack, while achieving up to 4% higher accuracy than the best baseline under Metattack.

  • Faster convergence. pLapGNN requires only 200 epochs in the Stage 1 preprocessing phase, compared with 1000 epochs for ProGNN (Joint) under Nettack.

  • Ablation on Cora at 10% Metattack. The standard quadratic Laplacian (p = 2) without the nonlinear regularizer scores 77.54 ± 0.62%; the joint-optimization variant scores 78.02 ± 0.48%; the full two-stage pLapGNN with p = 2.4 scores 79.07 ± 0.61%. Removing the nonlinear term reduces accuracy by 1.5–3% across all datasets and attack types, and the two-stage strategy improves training efficiency by approximately 35%.

  • An intermediate p is best. Varying p over [1.5, 3.0] shows that values below 2 promote sparsity and suit mild noise, values above 2 give smoother reconstructions under stronger perturbations, and p = 2.4 consistently provides the best trade-off.

  • Linear scalability. The framework's complexity is O(|V| + |E|), comparable to standard message-passing GNNs, whereas SVD-based defenses cost O(|V|³) with significant memory use.

Methodology in Plain English

The approach treats the corrupted adjacency matrix as something to be repaired before any learning happens.

First, the graph is rewritten in terms of edge weights rather than a matrix, so the "must be a valid Laplacian" constraint becomes simply "all edge weights are non-negative." The denoising objective then asks for edge weights that (a) keep the reconstructed Laplacian close to the observed noisy one, and (b) assign low weight to edges joining nodes whose features differ a lot — with the differences measured by ‖x_i − x_j‖^p_p rather than the usual squared distance.

Because the non-negativity constraint blocks a closed-form solution, the authors use majorization–minimization: at each step they build a simple quadratic upper bound on the objective, minimize it, and project the result onto the non-negative orthant. This gives a gradient-style update, w^(t+1) = (w^(t) − (1/L₁) ∇f(w^(t)))^+, where the gradient is ℒ*(ℒw^(t)) − c. Iterations stop when the relative change in w falls below 10⁻⁴.

Second, the denoised weights are turned back into a symmetric adjacency matrix, and a standard two-layer GCN is trained on that cleaned graph. The authors also describe an alternative joint formulation that optimizes graph denoising and GNN parameters simultaneously; they report it performs comparably under low perturbations (<10%) but becomes less stable at higher attack ratios.

Experimental setup: Cora (2,708 nodes, 5,429 edges, 7 classes, 1,433 features), Citeseer (3,327 nodes, 4,732 edges, 6 classes, 3,703 features), and Pubmed (19,717 nodes, 44,338 edges, 3 classes, 500 features), split 80% train / 10% validation / 10% test. Nettack targets test-set nodes with degree greater than 10, with 1 to 5 perturbations per node. Metattack perturbation ratios run from 0% to 25% in 5% steps; Random attack rates run from 0% to 100% in 20% steps. SGD is used throughout, with learning rate 1×10⁻³ for Laplacian optimization and 1×10⁻² for the GNN, 200 epochs for denoising and 250 for GNN training, α fixed at 1, and β tuned over [0.1, 1.5]. Implementations use the DeepRobust library.

Why This Matters

Adversarial robustness is a prerequisite for trusting graph learning in any setting where an adversary can influence network structure — a much easier thing to do than tampering with a model's weights. This paper's contribution is showing that a well-chosen, cheap non-linear regularizer can substitute for expensive matrix decomposition, keeping defense costs in line with ordinary GNN training.

Real-world applications cited or implied by the paper:

  • Social network analysis, where malicious accounts can fabricate connections to evade detection.
  • Recommendation systems, where fake user–item interactions distort the collaborative signal.
  • Drug discovery and protein interaction networks, where spurious edges could mislead predictions with real biological consequences.
  • Modeling of physical and structural systems, where graphs represent real dependencies that adversarial noise would misrepresent.

Industry relevance: The O(|V| + |E|) complexity matters commercially. Defenses that require repeated singular value decompositions do not scale to production-sized graphs, and the paper's 200-epoch Stage 1 versus ProGNN's 1000 epochs translates directly into lower compute cost. Its drop-in compatibility with existing GCN pipelines, and the availability of code at https://github.com/anujksirohi/pLAPGNN/tree/main, lower the barrier to adoption.

Future Directions

  • Adaptive p. The paper's own future work proposes adaptive variants of the p-Laplacian, which would remove the need to tune p by hand; it is not reported whether p = 2.4 transfers to graphs unlike the three citation networks tested.
  • More expressive regularization strategies to further improve stability, scalability, and generalization across adversarial environments.
  • Scaling beyond citation benchmarks. The authors plan to extend pLapGNN to large-scale heterogeneous networks and dynamic graphs, both of which violate the static, undirected, positively weighted graph assumption used in the formulation.
  • Open questions from the results. The paper reports that the joint optimization variant is less stable under higher attack ratios but does not report the crossover point beyond "<10%"; and the ablation is reported only on Cora, leaving it open whether the 1.5–3% gain from the nonlinear term holds on larger graphs. GNNGuard is listed as a baseline but does not appear as a column in the reported Metattack table.

Target Audience

Researchers and graduate students working on GNN robustness, adversarial machine learning on graphs, or spectral graph methods; practitioners who need a scalable defense they can bolt onto an existing GCN pipeline; and anyone interested in how p-Laplacian operators from spectral graph theory translate into practical machine-learning regularization. Readers without a background in Laplacian operators or constrained optimization will find the methodological sections demanding, though the two-stage intuition and the experimental results are accessible on their own.

Authors’ abstract

With the increase of data in day-to-day life, businesses and different stakeholders need to analyze the data for better predictions. Traditionally, relational data has been a source of various insights, but with the increase in computational power and the need to understand deeper relationships between entities, the need to design new techniques has arisen. For this graph data analysis has become an extraordinary tool for understanding the data, which reveals more realistic and flexible modelling of complex relationships. Recently, Graph Neural Networks (GNNs) have shown great promise in various applications, such as social network analysis, recommendation systems, drug discovery, and more. However, many adversarial attacks can happen over the data, whether during training (poisoning attack) or during testing (evasion attack), which can adversely manipulate the desired outcome from the GNN model. Therefore, it is crucial to make the GNNs robust to such attacks. The existing robustness methods are computationally demanding and perform poorly when the intensity of attack increases. This paper presents a computationally efficient framework, namely, pLAPGNN, based on weighted p-Laplacian for making GNNs robust. Empirical evaluation on real datasets establishes the efficacy and efficiency of the proposed method.

Read the original paper