A Generalized Neural Diffusion Framework on Graphs

Yibo Li, Xiao Wang, Hongrui Liu, Chuan Shi

Abstract

Graph Neural Networks (GNNs) are often designed heuristically, leading to challenges in unification and performance on heterophilous or noisy data. This paper introduces a Generalized Neural Diffusion Framework that mathematically unifies diverse GNN architectures like GCN, GAT, and APPNP as specific instances of a parabolic partial differential equation (PDE). We propose HiD-Net, a high-order diffusion model that exploits "monophily"—the tendency for 2-hop neighbors to be more similar than 1-hop neighbors. HiD-Net effectively mitigates over-smoothing and achieves state-of-the-art performance on both homophilous and heterophilous graphs, demonstrating significant robustness to structural noise.

Introduction

While GNNs have become the standard for relational data, their theoretical foundations often lack a unified perspective. Most existing models rely on the "homophily" assumption, where connected nodes are expected to share labels. However, in heterophilous graphs or noisy environments, standard 1-hop message passing often fails. Furthermore, deep GNNs frequently suffer from over-smoothing, where node features converge to indistinguishable representations. This work addresses these gaps by bridging GNN design with the physics of diffusion.

Methods: A Unified Diffusion Framework

The core of our approach is a Generalized Neural Diffusion Framework based on a parabolic PDE: $$\frac{\partial x_i^{(t)}}{\partial t} = \alpha(x_i^{(0)} - x_i^{(t)}) + \beta \text{div}(f(\nabla x)_{ij}^{(t)})$$

This equation consists of two primary components:

  • The Fidelity Term ($\alpha$): This term anchors nodes to their initial features ($x_i^{(0)}$), preventing the loss of identity and solving the over-smoothing problem.
  • The Diffusion Term ($\beta$): This governs the flow of information between neighbors.

High-Order Diffusion (HiD-Net)

A key discovery in this work is the property of monophily. In many real-world graphs, even if immediate neighbors are dissimilar, "neighbors-of-neighbors" (2-hop) often exhibit higher similarity. HiD-Net incorporates a second-order diffusion term to capture this broader context.

Local graph structures illustrating different neighborhood topologies for diffusion.

By adjusting the parameters $\alpha, \beta,$ and the diffusivity function $f$, we can recover the update rules of popular architectures like GCN and GAT, providing a rigorous mathematical foundation for their heuristic designs.

Key Results and Robustness

HiD-Net was evaluated on seven benchmark datasets, including citation networks (Cora, Citeseer) and Wikipedia networks (Chameleon, Squirrel). It consistently outperformed baselines, with particularly significant gains on heterophilous graphs. For instance, on the Chameleon dataset, HiD-Net achieved an F1-macro score of 61.0, vastly exceeding GCN's 38.5.

Robustness of HiD-Net against edge addition noise on Cora, Citeseer, and Squirrel datasets.

As shown in the experimental results, HiD-Net exhibits remarkable robustness to structural attacks. While competing models like ADC and GCN show rapid performance decay as the edge addition rate increases, HiD-Net maintains high test accuracy. This stability is attributed to the 2-hop diffusion mechanism, which provides a more reliable signal than noisy 1-hop connections.

Discussion and Conclusion

The proposed framework views GNNs as energy minimizers, offering a global objective for the forward pass. Theoretically, we guarantee that HiD-Net converges to stable, discriminative representations even with many propagation steps, unlike models that collapse due to over-smoothing. Future work includes exploring learnable, time-varying diffusivity coefficients to further adapt to complex graph dynamics.

Summary updated

BibTeX
@inproceedings{li2024generalized,
  author = {Yibo Li and Xiao Wang and Hongrui Liu and Chuan Shi},
  title = {{A Generalized Neural Diffusion Framework on Graphs}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i8.28716},
}
Figure