Robust Graph Neural Networks via Unbiased Aggregation
Under adaptive attacks, the strongest robust GNNs (SoftMedian, TWIRLS, ElasticGNN) all behave like one model: ℓ1 graph smoothing. ℓ1 resists a few bad edges, but its estimate is biased, and every adversarial edge adds to the bias.
RUNG swaps the ℓ1 penalty for an unbiased one (MCP) and solves the problem with a stepsize-free Quasi-Newton IRLS. Unrolled, each solver step is a GNN layer that reweights edges and cuts the ones connecting nodes with very different features. The demos below run that mechanism live in your browser.
Three defenses, one estimator
Under adaptive attacks, which target the victim model itself instead of a surrogate, most defenses are barely more robust than an undefended GCN.
Three models stand out: SoftMedian, TWIRLS and ElasticGNN. Their architectures look unrelated, yet their robustness curves nearly coincide, and they collapse together once the attacker can add more edges.
All three approximately solve the same problem: graph signal smoothing with an ℓ1-type penalty on edge differences.
| Model | Smoothing penalty | Type |
|---|---|---|
| SoftMedian | ℓ₁ | |
| TWIRLS | ℓ₁ | |
| ElasticGNN | ℓ₁ | |
| GCN / APPNP | ℓ₂ · not robust |
Every outlier pulls a little
Message passing estimates a node's feature from its neighbors, which is a mean estimation problem. Adversarial edges add outliers to that sample. Drag the outlier ratio and watch three estimators.
Mean estimation with outliers
The mean moves linearly with the outlier ratio. The ℓ1 median resists for a while and then drifts, because ℓ1 shrinks every difference by a constant. MCP stops counting a point once it is farther than γ, so its estimate stays put until the outliers are almost the majority.
A penalty that stops growing
RUGE, the Robust and Unbiased Graph signal Estimator, keeps the smoothing objective and replaces the edge penalty with the Minimax Concave Penalty ργ:
For small differences ργ behaves like ℓ1, so normal neighbors are smoothed together. Past γ it is flat: a neighbor that far away adds a constant cost and exerts no pull. That is where the bias goes away.
The right plot is what actually enters the GNN. Each IRLS step weights edge (i, j) by Wij = dρ/dy², which is exactly zero for y ≥ γ.
Penalty and edge weight
As γ → ∞, MCP becomes ℓ1. As γ → 0, it approaches ℓ0 and prunes almost every edge.
Dissimilar neighbors lose their vote
We solve RUGE with Quasi-Newton IRLS, which is stepsize-free and decreases the objective at every step (Theorem 2). Unrolled, each step is one GNN layer:
So a RUNG layer is a reweighted neighbor average. The weight Wij is recomputed in every layer from the feature distance yij. Close neighbors count a lot, distant ones count less, and beyond γ an edge counts for nothing. An adversarial edge usually joins two nodes that look different, so it gets cut.
Drag the attacker away from node i
Small crosses mark where node i lands under each penalty. Degree normalization is left out to keep the picture simple.
RUNG holds up as the budget grows
Adaptive PGD attacks on Cora ML and Citeseer, averaged over 5 splits. Pick a dataset and an attack budget to rank every model.
BibTeX
@inproceedings{hou2024robust,
title = {Robust Graph Neural Networks via Unbiased Aggregation},
author = {Hou, Zhichao and Feng, Ruiqi and Derr, Tyler and Liu, Xiaorui},
booktitle = {Advances in Neural Information Processing Systems (NeurIPS)},
year = {2024}
}