How Graph Neural Networks Learn: Lessons from Training Dynamics in Function Space

Chenxiao Yang, Qitian Wu, David Wipf, Ruoyu Sun, Junchi Yan
2/12/2026

No official code found. Best implementation: chr26195/ResidualPropagation (10 stars, MIT, last commit 2024-05-28).

Abstract

A long-standing goal in deep learning has been to characterize the learning behavior of black-box models in a more interpretable manner. For graph neural networks (GNNs), considerable advances have been made in formalizing what functions they can represent, but whether GNNs will learn desired functions during the optimization process remains less clear. To fill this gap, we study their training dynamics in function space. In particular, we find that the gradient descent optimization of GNNs implicitly leverages the graph structure to update the learned function, as can be quantified by a phenomenon which we call \emph{kernel-graph alignment}. We provide theoretical explanations for the emergence of this phenomenon in the overparameterized regime and empirically validate it on real-world GNNs. This finding offers new interpretable insights into when and why the learned GNN functions generalize, highlighting their limitations in heterophilic graphs. Practically, we propose a parameter-free algorithm that directly uses a sparse matrix (i.e. graph adjacency) to update the learned function. We demonstrate that this embarrassingly simple approach can be as effective as GNNs while being orders-of-magnitude faster.

View on arXivView PDF

Code Implementations(1)

MIT

This is the official implementation for paper "How Graph Neural Networks Learn: Lessons from Training Dynamics".

101Shell, PythonMay 28, 20242 years agoMIT

Similar Papers

Cite this paper

@article{yang2026graph,
  title  = {How Graph Neural Networks Learn: Lessons from Training Dynamics in Function Space},
  author = {Chenxiao Yang and Qitian Wu and David Wipf and Ruoyu Sun and Junchi Yan},
  year   = {2026},
  eprint = {2310.05105},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2310.05105},
  journal = {ICML 2023 2023}
}

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

Discussion