Papers › Robustness of Graph Neural Networks at Scale

Robustness of Graph Neural Networks at Scale

26 Oct 2021NeurIPS 2021 12arXiv:2110.14038archive 2025-07-28

Simon Geisler, Tobias Schmidt, Hakan Şirin, Daniel Zügner, Aleksandar Bojchevski, Stephan Günnemann

Graph Neural Networks (GNNs) are increasingly important given their popularity and the diversity of applications. Yet, existing studies of their vulnerability to adversarial attacks rely on relatively small graphs. We address this gap and study how to attack and defend GNNs at scale. We propose two sparsity-aware first-order optimization attacks that maintain an efficient representation despite optimizing over a number of parameters which is quadratic in the number of nodes. We show that common surrogate losses are not well-suited for global attacks on GNNs. Our alternatives can double the attack strength. Moreover, to improve GNNs' reliability we design a robust aggregation function, Soft Median, resulting in an effective defense at all scales. We evaluate our attacks and defense with standard GNNs on graphs more than 100 times larger compared to previous work. We even scale one order of magnitude further by extending our techniques to a scalable GNN.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2110.14038")

Code

Syntology Ran 5 of 20 code samples harvested from 2 repositories linked to this paper; 15 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · our draft was wrong; 2 ran with no contract checked.

By repository: official repository: 7 samples from 1 repository, 2 ran; community (archive-listed): 13 samples from 1 repository, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

sigeisler/robustness_of_gnns_at_scale officialmentioned on GitHubpytorchMIT report
ventr1c/res-gcl mentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

20 samples harvested; 5 ran; 1 honoured the contract we drafted; 15 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
2ran · our draft was wrong
2ran
15unverified

Licence: 0 of the 20 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

partial_distance_matrix sigeisler/robustness_of_gnns_at_scale/rgnn_at_scale/aggregation.py official repository ran MIT (permissive) · 0d6e69d908e99da6 · report
sparse_mx_to_torch_sparse_tensor sigeisler/robustness_of_gnns_at_scale/rgnn_at_scale/models/deeprobust_rgcn.py official repository ran · our draft was wrong MIT (permissive) · c97b99c4e8201a97 · report
accuracy sigeisler/robustness_of_gnns_at_scale/rgnn_at_scale/models/deeprobust_rgcn.py official repository unverified MIT (permissive) · b3092c017157cf84 · report
compute_alpha sigeisler/robustness_of_gnns_at_scale/rgnn_at_scale/attacks/nettack.py official repository unverified MIT (permissive) · 3dfa8f8448457f20 · report
compute_new_a_hat_uv sigeisler/robustness_of_gnns_at_scale/rgnn_at_scale/attacks/nettack.py official repository unverified MIT (permissive) · f7fada718dfb80fa · report
connected_after sigeisler/robustness_of_gnns_at_scale/rgnn_at_scale/attacks/nettack.py official repository unverified MIT (permissive) · e76a55dd6370c052 · report
to_tensor sigeisler/robustness_of_gnns_at_scale/rgnn_at_scale/models/deeprobust_rgcn.py official repository unverified MIT (permissive) · 4947c15e3f5ad1d3 · report
drop_feature ventr1c/res-gcl/model.py community (archive-listed) ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 22bfb6129463d322 · report
parse_index_file ventr1c/res-gcl/dataset.py community (archive-listed) ran · honoured contract Apache-2.0 (permissive) · 5c3fa9402a9405bc · report
softmax_entropy ventr1c/res-gcl/PRBCD.py community (archive-listed) ran Apache-2.0 (permissive) · 91c9b17caed9c461 · report
bisection ventr1c/res-gcl/models/Ariel.py community (archive-listed) unverified Apache-2.0 (permissive) · 9498bd40d6f15afd · report
construct_noisy_graph ventr1c/res-gcl/construct_graph.py community (archive-listed) unverified Apache-2.0 (permissive) · 80acc2e293289c02 · report
drop_adj_1by1 ventr1c/res-gcl/construct_graph.py community (archive-listed) unverified Apache-2.0 (permissive) · 2b95b2022a5eee3b · report
entropy ventr1c/res-gcl/PRBCD.py community (archive-listed) unverified Apache-2.0 (permissive) · 984b1cb236080dc5 · report
get_train_test ventr1c/res-gcl/dataset.py community (archive-listed) unverified Apache-2.0 (permissive) · 27df0ca78376c074 · report
get_train_val_test ventr1c/res-gcl/dataset.py community (archive-listed) unverified Apache-2.0 (permissive) · 820df99d83238fea · report
make_gin_conv ventr1c/res-gcl/models/BGRL_G2L.py community (archive-listed) unverified Apache-2.0 (permissive) · f026518c0f413ac8 · report
test ventr1c/res-gcl/models/GAE.py community (archive-listed) unverified Apache-2.0 (permissive) · 0cd45d466fcc03c8 · report
train ventr1c/res-gcl/models/BGRL.py community (archive-listed) unverified Apache-2.0 (permissive) · 09cbcddd5413d6be · report
train ventr1c/res-gcl/models/BGRL_G2L.py community (archive-listed) unverified Apache-2.0 (permissive) · c310eff3a8517be9 · report

Tasks

Diversity

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections