On the Relationship Between Robustness and Expressivity of Graph Neural Networks

Lorenz Kummer, Wilfried N. Gansterer, Nils M. Kriege
4/18/2025
cs.LG

No confident code implementation found for this paper.

Abstract

We investigate the vulnerability of Graph Neural Networks (GNNs) to bit-flip attacks (BFAs) by introducing an analytical framework to study the influence of architectural features, graph properties, and their interaction. The expressivity of GNNs refers to their ability to distinguish non-isomorphic graphs and depends on the encoding of node neighborhoods. We examine the vulnerability of neural multiset functions commonly used for this purpose and establish formal criteria to characterize a GNN's susceptibility to losing expressivity due to BFAs. This enables an analysis of the impact of homophily, graph structural variety, feature encoding, and activation functions on GNN robustness. We derive theoretical bounds for the number of bit flips required to degrade GNN expressivity on a dataset, identifying ReLU-activated GNNs operating on highly homophilous graphs with low-dimensional or one-hot encoded features as particularly susceptible. Empirical results using ten real-world datasets confirm the statistical significance of our key theoretical insights and offer actionable results to mitigate BFA risks in expressivity-critical applications.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kummer2025relationship,
  title  = {On the Relationship Between Robustness and Expressivity of Graph Neural Networks},
  author = {Lorenz Kummer and Wilfried N. Gansterer and Nils M. Kriege},
  year   = {2025},
  eprint = {2504.13786},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.13786v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.13786.svg)](https://codeofpaper.com/paper/2504.13786)

Discussion