Small representation-space perturbations collapse graph foundation models
The shared alignment layer in graph foundation models is vulnerable to low-budget inference-time attacks that drastically reduce prediction accuracy
AI/ML arXiv 20 Jul 2026 Attack Prototype evidence
Published as “Attacking Graph Foundation Models Through Their Shared Representation”
Why it matters
Practitioners can monitor the alignment layer with a lightweight density detector, but hardening the layer itself does not stop adaptive adversaries.
Summary
The paper shows that the alignment layer shared by graph foundation models is a new attack surface: a directed representation-space perturbation collapses most models at a budget similar to a plain graph network, but OpenGraph’s spectral tokenizer collapses at only one-fifth that budget. Realizable input-space attacks (editing edges, features, or text) succeed on three of the six models, removing at least half the correct predictions. Defenses that harden the alignment layer do not survive an adaptive attacker, but a simple density test on the low-dimensional continuous carriers detects attacks with near-perfect AUC at a 5% false-positive rate. The evidence is based on experiments across nine public datasets and multiple seeds.
What they found 2
- OpenGraph’s spectral token collapses at a much lower budget than other models
“OpenGraph is the exception: its spectral token collapses at 0.12, five times below that band, and a same-representation control (a linear probe and a perceptron on its own clean token collapse at 0.04 and 0.09, at or below the transformer’s 0.15) locates the cause in the tokenizer, not the decoder”
- A Mahalanobis density test separates attacked from clean inputs with AUC 1.00 at 5% false-positive rate
“a Mahalanobis test on GraphAny’s fusion distances and GFT’s pre-quantization embedding reaches AUC 1.00 at a five percent false-positive rate”
Caveats 5
- Robustifying the alignment layer fails against an adaptive attacker
- None survives the adaptive attacker, on the codebook they backfire even statically
- Causal localization is clean for the discrete codebook but confounded for continuous carriers
- The certified radius is in carrier space; an input-space guarantee needs a Lipschitz bound on Φ, which the codebook lacks
- feature and edge perturbations assume control of attributes or links and impose none of the unnoticeability constraints standard in the graph-attack literature
What’s new here 4
- First attacks targeting the alignment layer that maps all domains to a shared representation.
- A spectral rotation attack that exploits eigenvector perturbation theory to break OpenGraph’s tokenizer.
- Demonstration that robustness defenses fail against adaptive attackers while detection via density testing succeeds.
- Causal localization of the attack effect using a do-operator on discrete codebook assignments.