Unveiling Mode Connectivity in Graph Neural Networks

Bingheng Li, Zhikai Chen, Haoyu Han, Shenglai Zeng, Jingzhe Liu +1 more
2/18/2025
cs.LGcs.AI
gnn

No confident code implementation found for this paper.

Abstract

A fundamental challenge in understanding graph neural networks (GNNs) lies in characterizing their optimization dynamics and loss landscape geometry, critical for improving interpretability and robustness. While mode connectivity, a lens for analyzing geometric properties of loss landscapes has proven insightful for other deep learning architectures, its implications for GNNs remain unexplored.

Show full abstract

This work presents the first investigation of mode connectivity in GNNs. We uncover that GNNs exhibit distinct non-linear mode connectivity, diverging from patterns observed in fully-connected networks or CNNs. Crucially, we demonstrate that graph structure, rather than model architecture, dominates this behavior, with graph properties like homophily correlating with mode connectivity patterns. We further establish a link between mode connectivity and generalization, proposing a generalization bound based on loss barriers and revealing its utility as a diagnostic tool. Our findings further bridge theoretical insights with practical implications: they rationalize domain alignment strategies in graph learning and provide a foundation for refining GNN training paradigms.

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{li2025unveiling,
  title  = {Unveiling Mode Connectivity in Graph Neural Networks},
  author = {Bingheng Li and Zhikai Chen and Haoyu Han and Shenglai Zeng and Jingzhe Liu and Jiliang Tang},
  year   = {2025},
  eprint = {2502.12608},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.12608v1}
}

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/2502.12608.svg)](https://codeofpaper.com/paper/2502.12608)

Discussion