SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2308.08173 · ICML · 2023

Expressivity of Graph Neural Networks Through the Lens of Adversarial Robustness

Stephan Ünnemann, Tom Wollschläger, Lukas Gosch, Yan Scholten, Francesco Campi

arXiv · PDF · Open in the Atlas

Code that ran

7 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 5 failures of our instrument; 5 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2308.08173.json · badge: /api/ran/2308.08173.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
francesco-campi/Rob-Subgraphs canonical (classifier label)
classifier basis: classifier_2025
4 ran · 0 no recorded run
francesco-campi/rob-subgraphs canonical (classifier label)
classifier basis: census
3 ran · 5 no recorded run
FunctionStatusWhere it lives
evaluate_epoch Ran
ran, honoured the contract we drafted
francesco-campi/Rob-Subgraphs/pipelines/GNN_train.py
pointer only (licence: NONE) · get_code("a2e61cd3c32caa2f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, francesco-campi/Rob-Subgraphs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

evaluate_epoch_SAN Ran
ran, honoured the contract we drafted
francesco-campi/Rob-Subgraphs/pipelines/GNN_train.py
pointer only (licence: NONE) · get_code("cffde786f40d311f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, francesco-campi/Rob-Subgraphs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

generate_dataset Ran
ran; our contract draft was wrong, not the code
francesco-campi/Rob-Subgraphs/pipelines/dataset_creation.py
pointer only (licence: NONE) · get_code("f36fce9a4c6d8239")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, francesco-campi/Rob-Subgraphs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

generate_dataset_mix Ran
ran; our contract draft was wrong, not the code
francesco-campi/Rob-Subgraphs/pipelines/dataset_creation.py
pointer only (licence: NONE) · get_code("002d22a70fccfbbf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, francesco-campi/Rob-Subgraphs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

generate_gnn_input Ran
ran; our contract draft was wrong, not the code
francesco-campi/rob-subgraphs/pipelines/adversarial_robustness.py
pointer only (licence: NONE) · get_code("e7a348cebe5d2fd3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, francesco-campi/rob-subgraphs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

imp_exp_attn Ran
ran; our contract draft was wrong, not the code
francesco-campi/rob-subgraphs/src/SAN/graph_transformer_layer.py
pointer only (licence: NONE) · get_code("700de849477f93ce")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, francesco-campi/rob-subgraphs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

scaling Ran
ran; our contract draft was wrong, not the code
francesco-campi/rob-subgraphs/src/SAN/graph_transformer_layer.py
pointer only (licence: NONE) · get_code("a3fb87a259b15eae")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, francesco-campi/rob-subgraphs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

add_edge_laplace_feats Not yet run
unverified (harvested, no recorded run)
francesco-campi/rob-subgraphs/src/SAN/SAN_dataset.py
pointer only (licence: NONE) · get_code("465d802548a63b62")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, francesco-campi/rob-subgraphs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

create_subgraphs Not yet run
unverified (harvested, no recorded run)
francesco-campi/rob-subgraphs/src/I2GNN/utils.py
pointer only (licence: NONE) · get_code("d6cfd82366cf960d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, francesco-campi/rob-subgraphs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

create_subgraphs2 Not yet run
unverified (harvested, no recorded run)
francesco-campi/rob-subgraphs/src/I2GNN/utils.py
pointer only (licence: NONE) · get_code("8dd808b1856f5968")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, francesco-campi/rob-subgraphs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

create_subgraphs3 Not yet run
unverified (harvested, no recorded run)
francesco-campi/rob-subgraphs/src/I2GNN/utils.py
pointer only (licence: NONE) · get_code("5eddec66681a8f7f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, francesco-campi/rob-subgraphs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

src_dot_dst Not yet run
unverified (harvested, no recorded run)
francesco-campi/rob-subgraphs/src/SAN/graph_transformer_layer.py
pointer only (licence: NONE) · get_code("9408c2ca6e799410")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, francesco-campi/rob-subgraphs when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 3 the same month, 3 later) and 9 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
scaling 6 other papers
2 dated earlier, 1 the same month, 3 later
2110.07875 (2021-10)
Graph Neural Networks with Learnable Structural and Positional Representations
2201.09332 (2022-01)
How Expressive are Transformers in Spectral Domain for Graphs?
2308.09517 (2023-08)
Transitivity-Preserving Graph Representation Learning for Bridging Local Connectivity and Role-based Similarity
and 3 more not named here
src_dot_dst 6 other papers
2 dated earlier, 1 the same month, 3 later
2110.07875 (2021-10)
Graph Neural Networks with Learnable Structural and Positional Representations
2201.09332 (2022-01)
How Expressive are Transformers in Spectral Domain for Graphs?
2308.09517 (2023-08)
Transitivity-Preserving Graph Representation Learning for Bridging Local Connectivity and Role-based Similarity
and 3 more not named here
imp_exp_attn 5 other papers
2 dated earlier, 1 the same month, 2 later
2110.07875 (2021-10)
Graph Neural Networks with Learnable Structural and Positional Representations
2201.09332 (2022-01)
How Expressive are Transformers in Spectral Domain for Graphs?
2308.09517 (2023-08)
Transitivity-Preserving Graph Representation Learning for Bridging Local Connectivity and Role-based Similarity
and 2 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

We perform the first adversarial robustness study into Graph Neural Networks (GNNs) that are provably more powerful than traditional Message Passing Neural Networks (MPNNs). In particular, we use adversarial robustness as a tool to uncover a significant gap between their theoretically possible and empirically achieved expressive power. To do so, we focus on the ability of GNNs to count specific subgraph patterns, which is an established measure of expressivity, and extend the concept of adversarial robustness to this task. Based on this, we develop efficient adversarial attacks for subgraph counting and show that more powerful GNNs fail to generalize even to small perturbations to the graph's structure. Expanding on this, we show that such architectures also fail to count substructures on out-of-distribution graphs.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2308.08173")
get_code_for_paper("2308.08173")
have("2308.08173")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2308.08173.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2308.08173.svg)](https://syntology.ai/paper/2308.08173)

Connect an agent — have() is free.