NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Provable Robustness of (Graph) Neural Networks Against Data Poisoning and Backdoor Attacks

Lukas Gosch, Mahalakshmi Sabanayagam, Debarghya Ghoshdastidar, Stephan Günnemann · DOI

Machine learning models are increasingly deployed in security-critical applications, yet they remain notoriously vulnerable to data poisoning. In these attacks, an adversary injects malicious examples into the training set to manipulate the model's behavior at test time. A particularly dangerous variant is the backdoor attack, where a model is trained to misclassify any input containing a specific "trigger."

While many empirical defenses have been proposed, they often fail against adaptive attackers. This paper, published in Transactions on Machine Learning Research, introduces QPCert, the first "white-box" framework for providing deterministic robustness certificates for neural networks, specifically Graph Neural Networks (GNNs), against such training-time attacks.

Methodology: The QPCert Framework

The core challenge in certifying neural networks against poisoning lies in their complex, non-linear training dynamics. QPCert overcomes this by bridging deep learning with classical optimization through two main pillars:

  1. The NTK Bridge: Leveraging Neural Tangent Kernel (NTK) theory, the authors show that wide neural networks trained with gradient descent behave like Support Vector Machines (SVMs) using a specific kernel. This "linearizes" the training process into a predictable mathematical form.
  2. Bilevel Optimization to MILP: Data poisoning is a bilevel problem: the attacker maximizes test error while the model minimizes training loss. By applying Karush–Kuhn–Tucker (KKT) conditions, the authors collapse this into a single-level Mixed-Integer Linear Program (MILP).
Conceptual overview of the QPCert framework, showing the transition from (G)NNs to SVMs via NTK, and the derivation of certificates via MILP.

By solving this MILP, QPCert identifies the "worst-case" poisoning an attacker could perform and provides a mathematical guarantee: if the attacker's budget is below a certain threshold, the model's prediction is guaranteed to remain correct.

Experimental Evaluation

The researchers evaluated QPCert on several node classification benchmarks, including citation networks (Cora-ML), Wikipedia hyperlink graphs (WikiCS), and synthetic Contextual Stochastic Block Models (CSBM).

Key Results and Insights

QPCert is the first method to derive white-box poisoning certificates for NNs and GNNs. In head-to-head comparisons on toy datasets, it certified robustness for perturbations an order of magnitude larger than previous state-of-the-art probabilistic methods.

Certified accuracy of various GNN architectures across different datasets and perturbation budgets.

The experiments yielded several critical insights into GNN robustness:

  • Graph Structure as a Shield: GNNs are inherently more robust to feature poisoning than standard MLPs. The aggregation of neighbor information dilutes the impact of a single poisoned node.
  • The Connectivity Trade-off: While higher graph connectivity helps robustness against small attacks by further diluting poison, it can hurt against large attacks by allowing malicious signals to spread more easily.
  • Architecture Matters: QPCert's deterministic nature allows for a fine-grained comparison of architectures, revealing that choices like sum-aggregation versus mean-aggregation significantly impact certifiable robustness.

Limitations and Future Directions

Despite its breakthrough status, QPCert faces some hurdles. The reliance on NTK theory assumes networks are "sufficiently wide," which, while effective in practice, makes the guarantees technically probabilistic for standard-sized models. Furthermore, the current framework focuses on feature poisoning. Certifying against structural poisoning (adding/removing edges) remains a significant challenge because it makes the NTK itself a variable, leading to complex non-linear constraints. Finally, as the number of labeled training examples grows, the MILP becomes computationally expensive, highlighting the need for more efficient optimization relaxations in future work.

Summary updated

BibTeX
@article{gosch2025provable,
  author = {Lukas Gosch and Mahalakshmi Sabanayagam and Debarghya Ghoshdastidar and Stephan Günnemann},
  title = {{Provable Robustness of (Graph) Neural Networks Against Data Poisoning and Backdoor Attacks}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=jIAPLDdGVx},
}
Figure