Joint Certification for Attributed Graphs: Beyond Topology-Only Robustness

Blaise Delattre, Hengyu Wu, Wei Yang Bryan Lim, Yang CaoNeurIPS 2026

TL;DR

When bad actors try to fool a Graph Neural Network (GNN) into missing a fraudster or social media bot, they don't just add fake friend requests—they tweak their continuous behavioral stats at the exact same time. Existing mathematical safety guarantees mostly treat graph connections and continuous features separately, creating a dangerous blind spot. This paper introduces a tractable way to jointly certify GNNs against simultaneous discrete link-rewiring and continuous feature tampering, proving your model stays reliable when real-world attackers hit from both angles.

What Problem Does This Paper Address?

Graph Neural Networks make predictions by passing messages along connections: edges dictate which neighbors talk to a target node, while node features dictate what information gets passed. In high-stakes settings like financial fraud or bot detection, an adversary exploits this coupling. A coordinated botnet will simultaneously link up to legitimate accounts (discrete edge flips) and subtly massage its continuous activity metrics (feature perturbations).

Figure 1: Motivating challenge for certified robustness under realistic attributed-graph attacks. In social-media bot detection, coordinated attackers may perturb many controlled accounts and rewire local connections simultaneously. This motivates certifying robustness under a joint budget with up to d edge flips incident to the target node and continuous feature perturbations on a prescribed node set, with ∥X′ −X∥F ≤ε.

We want certified robustness—a mathematical proof that a node's prediction won't change as long as an attacker stays within a budget of $d$ edge flips connected to the target node and a continuous feature shift of size $\epsilon$ (measured via Frobenius norm across a set of nodes). Historically, certificates either held continuous features frozen ("topology-only"), assumed features were strictly binary, or counted how many nodes were corrupted rather than bounding the continuous energy of the tweak. What was missing was a computationally tractable certificate that handles discrete edge flips and continuous feature shifts together.

Methods

The authors adapt randomized smoothing—a standard technique where you inject random noise into inputs and take a majority vote, turning a brittle neural network into a provably smooth classifier. Here, they combine two noise channels: randomly flipping edges around the target node with uniform probabilities, and adding isotropic Gaussian noise to node features.

To prove predictions won't flip, standard smoothing relies on the Neyman-Pearson (NP) lemma to find the absolute worst-case adversary. The authors compare two sound ways to do this:

  1. Sequential NP (Baseline): A compositional approach that calculates the worst-case drop from edge flips first, and feeds that pessimistic number into the Gaussian feature bound (or vice versa).
  2. Hybrid NP (Proposed): Instead of chaining two separate bounds, this analyzes the coupled likelihood ratio of the joint discrete-continuous noise space directly.

Searching over all possible adversarial graph edits sounds combinatorially explosive. The authors' key mathematical trick is proving that under homogeneous edge smoothing, the identity of specific edges doesn't matter to the NP bound—only the counts of added and deleted edges do. This collapses a massive outer optimization over adjacency matrices into an exact, breezy $O(d^2)$ grid search. They also carefully lock down the "noise support" across the graph so that if an attacker inserts a new edge to a previously unreachable node, the math behind the probability distributions doesn't break down.

Datasets

No new datasets were introduced; the authors evaluate on four established attributed-graph benchmarks:

  • YelpChi and Amazon Fraud: Review and transaction graphs for fraud detection (paired with a BWGNN detector).
  • MGTAB: A social-media user network for bot detection (paired with a 2-layer GCN).
  • PubMed: A scientific citation network for paper classification (paired with a 2-layer GCN).

Key Insights and Ideas

  • Topology-only certificates give a false sense of security: Models certified to withstand up to 9–14 edge flips look rock-solid on paper. Yet when the authors allowed an attacker just one edge flip plus a tiny continuous feature nudge, those "certified" predictions crumbled rapidly.
  • Coupling beats chaining: Chaining a discrete certificate and a continuous certificate (Sequential NP) compounds pessimism at each step. Ordering outcomes by their joint topology-feature likelihood ratio (Hybrid NP) strictly dominates sequential approaches, unlocking much larger certified safe zones at higher edge-flip budgets.
  • Adding an edge changes who is in the room: In message-passing GNNs, inserting a single edge can suddenly pull a distant, un-noised node into the target's neighborhood, invalidating naive probability bounds. Smoothing features globally across the vertex set neatly sidesteps this trap while allowing local computation during inference.

Key Results

Across all four datasets, Hybrid NP consistently certifies a larger fraction of nodes over wider perturbation budgets than the Sequential NP baseline.

Figure 2: Certified accuracy (%) versus ϵ for Hybrid NP (solid) and Sequential NP (dotted) certificates. Colors indicate topology budget d. All panels use global Gaussian feature smoothing (C = V ), N = 10,000 draws per target, and the total Frobenius feature budget ϵ.
  • Extending the safe zone: On Amazon Fraud at $d=2$ edge flips and $\epsilon \approx 0.10$, Hybrid NP certifies 58.2% of targets compared to 46.6% for Sequential NP. Crank the budget up to $d=5$ at the same $\epsilon$, and Sequential NP collapses to 0%, while Hybrid NP still certifies 25.8% of nodes. Similarly, on YelpChi ($d=5$), Sequential NP dies out around $\epsilon \simeq 0.002$, whereas Hybrid NP holds on until $\epsilon \simeq 0.006$.
  • Exposing the topology-only gap: Using a joint Nettack + PGD attack with just 1 edge flip on nodes certified by topology-only smoothing ($d=1$), the estimated prediction failure rate shoots up to 61.5% on YelpChi at a tiny $\epsilon = 0.01$ (hitting 100% by $\epsilon = 0.03$), 82.4% on PubMed at $\epsilon = 0.05$, and 100% on Amazon Fraud at $\epsilon = 0.5$. Nodes protected by the Hybrid NP control channel suffered zero estimated flips under the exact same budget.

Limitations and Future Work

  • Local structural scope: The evaluated threat model allows rewiring edges directly connected to the target node, but excludes indirect "non-incident" edge flips elsewhere in the graph and the injection of brand-new fake nodes.
  • Model-agnostic conservatism: Because the NP bound only looks at clean prediction probabilities and noise laws—ignoring GNN weights and specific edge identities—it is conservative for any specific architecture.
  • Uniformity requirements: The $O(d^2)$ speedup relies on homogeneous edge-flipping probabilities; heterogeneous or relation-specific noise kernels require tracking richer count statistics. Furthermore, global Frobenius budgets don't exploit cases where an attacker is restricted to perturbing an unknown sparse subset of nodes.
  • Future directions: Extending this product-space machinery to graph-level classification, link prediction, and multi-relational graphs.

Summary updated

Abstract

Graph neural networks for bot and fraud detection operate on attributed graphs, where adversaries can jointly modify local edges and continuous node features. We study node-level certification under a mixed threat model with up to $d$ edge flips incident to the target node and a Frobenius feature budget $\epsilon$ on a prescribed node set. We instantiate hybrid randomized smoothing for this graph setting and compare two sound certificates: a Sequential NP composition baseline for the joint topology–continuous-feature threat model, and a coupled Hybrid NP certificate. Under homogeneous edge smoothing, the outer Neyman–Pearson optimization over adversarial adjacency matrices reduces exactly to an $O(d^2)$ search over edge-deletion and edge-addition counts. Across PubMed, Amazon Fraud, YelpChi, and MGTAB, the Hybrid NP certificate yields non-trivial certified regions under joint edge and global feature perturbations. We also construct joint attacks that change estimated smoothed predictions on topology-only certified nodes across PubMed, Amazon Fraud, MGTAB and YelpChi, illustrating the robustness gap when continuous feature perturbations are allowed. The results support joint discrete–continuous certification as the appropriate robustness notion for attributed graphs with continuous features. Code is available [online](https://github.com/tdsai-lab/hybrid-rs-graph).
BibTeX
@inproceedings{delattre2026joint,
  author = {Blaise Delattre and Hengyu WU and Wei Yang Bryan Lim and Yang Cao},
  title = {{Joint Certification for Attributed Graphs: Beyond Topology-Only Robustness}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=RhmrtYOQxz},
}
Figure