Abstract
Graph Neural Networks (GNNs) typically operate as a sequence of discrete layers. We present GRAND (Graph Neural Diffusion), a framework that reinterprets GNNs as a continuous diffusion process governed by Partial Differential Equations (PDEs). By viewing GNN layers as time-steps in a numerical PDE solver, GRAND addresses common pitfalls like oversmoothing and bottlenecks. This approach allows for significantly deeper networks, improved stability, and state-of-the-art performance with a fraction of the parameters required by traditional models.
Introduction
Traditional Graph Neural Networks face three primary challenges:
- Oversmoothing: Increasing network depth causes node features to converge to the same value, making them indistinguishable and rendering deep networks ineffective.
- Bottlenecks: Information "over-squashing" occurs when signals from distant nodes are compressed through a limited number of edges, leading to signal loss.
- Ad-hoc Architectures: Many GNN designs are heuristic, lacking a unified mathematical foundation to explain their success.
GRAND addresses these by modeling feature evolution as a continuous diffusion process, leveraging well-established mathematical tools from physics and image processing to provide a more principled architecture.
Methodology
The core of GRAND is the evolution of node features $\mathbf{x}(t)$ over continuous time $t$ via the diffusion equation: $$\frac{\partial \mathbf{x}(t)}{\partial t} = \text{div}[\mathbf{G}(\mathbf{x}(t), t)\nabla \mathbf{x}(t)]$$ In this framework, network layers correspond to discretization steps of a numerical solver. The paper introduces three variants:
- GRAND-l (Linear): Uses constant attention weights, allowing for analytical solutions but offering less flexibility.
- GRAND-nl (Non-linear): Dynamically updates attention weights at each step, allowing the graph structure to evolve with the information flow.
- GRAND-nl-rw (Rewiring): Employs a preprocessing step to densify the graph based on diffusion weights, mitigating bottlenecks before the main process begins.
By moving beyond simple Forward Euler schemes, GRAND can utilize sophisticated solvers like Runge-Kutta for accuracy or Implicit Euler for unconditional stability. Implicit schemes effectively enable multi-hop message passing in a single step by inverting a matrix, which naturally addresses graph bottlenecks by connecting nodes to their distant neighbors mathematically.
Experimental Results
GRAND was evaluated on standard benchmarks including citation networks (Cora, Citeseer, Pubmed) and large-scale datasets like OGB-arxiv.
Depth Resilience and Stability
A key advantage of the PDE-based approach is its stability at depth. While traditional GCNs often see performance collapse after just 4 layers due to oversmoothing, GRAND maintains high accuracy even with 32 or more layers.
Parameter Efficiency
Because the diffusion dynamics are shared across time steps, GRAND is remarkably parameter-efficient. On the OGB-arxiv dataset, it achieves competitive results with approximately 20x fewer parameters than a standard Graph Attention Network (GAT) (70K vs 1.63M parameters).
Conclusion
GRAND provides a robust mathematical framework for GNNs by linking them to continuous diffusion processes. This perspective not only explains the behavior of existing architectures but also provides a path toward more stable, deep, and efficient graph learning models. Future work may explore time-dependent parameters and more efficient approximations for implicit solvers on massive, dense graphs.
Summary updated