NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Graph Neural Aggregation-diffusion with Metastability

Kaiyuan Cui, Xinyan Wang, Zicheng Zhang, Weichen ZhaoarXiv 2024

Abstract

Continuous graph neural models based on differential equations have expanded the architecture of graph neural networks (GNNs). Due to the connection between graph diffusion and message passing, diffusion-based models have been widely studied. However, diffusion naturally drives the system towards an equilibrium state, leading to issues like over-smoothing. To this end, we propose GRADE inspired by graph aggregation-diffusion equations, which includes the delicate balance between nonlinear diffusion and aggregation induced by interaction potentials. The node representations obtained through aggregation-diffusion equations exhibit metastability, indicating that features can aggregate into multiple clusters. In addition, the dynamics within these clusters can persist for long time periods, offering the potential to alleviate over-smoothing effects. This nonlinear diffusion in our model generalizes existing diffusion-based models and establishes a connection with classical GNNs. We prove that GRADE achieves competitive performance across various benchmarks and alleviates the over-smoothing issue in GNNs evidenced by the enhanced Dirichlet energy.

Introduction

Standard Graph Neural Networks (GNNs) often suffer from over-smoothing: as the number of layers increases (or "time" progresses in continuous models), node representations tend to converge toward a single uniform value. This phenomenon occurs because most GNNs essentially perform graph diffusion, which naturally drives a system toward a global equilibrium. While diffusion helps capture neighborhood context, it eventually washes out the unique features necessary for downstream tasks like node classification.

Methodology: The GRADE Framework

To address this, we introduce GRADE (GRaph Aggregation-Diffusion Equations), a framework grounded in the physics of interacting particles. GRADE is formulated as a Neural Ordinary Differential Equation (Neural ODE) where node states evolve under two competing forces:

  1. Nonlinear Diffusion: Spreads information across the graph using a nonlinear activation function to maintain expressive power.
  2. Aggregation via Interaction Potentials: Acts as an attractive or repulsive force between nodes based on an interaction kernel, preventing the collapse of features into a single point.
The competition between aggregation and diffusion leads to metastability, where features form stable, distinct clusters over time.

The core innovation is the concept of metastability. In these systems, dynamics do not rush to a global equilibrium. Instead, they settle into "local equilibria" where features form clusters that persist for long periods. This effectively "traps" information, preventing the over-smoothing that plagues pure diffusion models.

Key Insights and Dirichlet Energy

A critical metric for over-smoothing is Dirichlet energy, which quantifies the smoothness of signals on a graph. In traditional GNNs like GCN and GAT, Dirichlet energy vanishes exponentially as depth increases, signaling a loss of discriminative information.

Dirichlet energy comparison across different GNN architectures. GRADE-GAT maintains stable energy levels over many layers, whereas standard models collapse.

As shown in the experimental analysis, GRADE’s energy remains bounded and stable over time. This stability allows the model to go much "deeper" than traditional architectures without performance decay. Mathematically, we demonstrate that for specific interaction kernels (e.g., logarithmic), the model is guaranteed to mitigate over-smoothing.

Experimental Results

GRADE was evaluated across a variety of benchmarks, including both homophilic (similar nodes connect) and heterophilic (dissimilar nodes connect) datasets:

  • Homophilic Performance: GRADE-GAT achieved state-of-the-art results on datasets like Cora (84.2%) and CiteSeer, outperforming previous continuous models like GRAND and ACMP.
  • Heterophilic Robustness: On challenging heterophilic graphs such as Texas (88.3%) and Wisconsin (87.7%), GRADE significantly outperformed standard GNNs and matched specialized heterophilic models.
  • Depth Stability: Unlike GCN or GAT, which see performance drop sharply after 10 layers, GRADE remains stable even as the number of layers or integration time increases significantly.

Conclusion

GRADE provides a mathematically principled approach to GNN design by balancing nonlinear diffusion with aggregation. By leveraging metastability, the model ensures that node identities are preserved even in deep architectures, offering a robust solution to the over-smoothing problem across diverse graph structures.

Summary updated

BibTeX
@misc{cui2024graph,
  author = {Kaiyuan Cui and Xinyan Wang and Zicheng Zhang and Weichen Zhao},
  title = {{Graph Neural Aggregation-diffusion with Metastability}},
  year = {2024},
  eprint = {2403.20221},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.20221},
}
Figure