Preprint
Knowledge Graphs

Continuous graph neural networks

January 1, 2020

0

Citations

0

Influential Citations

—

Venue

2020

Year

Abstract

… between graph neural networks and traditional dynamical systems. We propose continuous graph neural networks (CGNN), which generalise existing graph neural networks with …

Analysis

Why This Paper Matters

This paper introduces a novel perspective on graph neural networks (GNNs) by framing them as discretizations of continuous dynamical systems. The key insight is that the iterative message-passing layers in GNNs can be seen as Euler steps of an ODE, which naturally leads to the concept of continuous-depth GNNs. This connection is significant because it provides a theoretical foundation for understanding why GNNs often suffer from over-smoothing when stacked deeply, and it offers a principled way to design architectures that can go deeper without performance degradation.

The continuous formulation also addresses a practical limitation of traditional GNNs: the memory cost of storing intermediate activations for backpropagation. By using the adjoint method from neural ODEs, CGNN achieves constant memory cost regardless of depth, making it feasible to train very deep models. This is particularly relevant as graph-based tasks increasingly require capturing long-range dependencies, which often necessitate deeper architectures.

Technical Contributions

  • Continuous Graph Neural Network (CGNN): The core contribution is a new model that defines the evolution of node features as an ODE: dH(t)/dt = f(H(t), A), where f is a graph neural network layer. The final node representations are obtained by integrating this ODE from t=0 to T, using an adaptive ODE solver.
  • Theoretical Link to Dynamical Systems: The paper formalizes the connection between GNNs and dynamical systems, showing that existing GNNs (e.g., GCN, GAT) can be viewed as discrete approximations of continuous dynamics. This provides a unified framework for analyzing stability and expressiveness.
  • Parameter Efficiency: Since the same function f is used across all integration steps, the number of parameters is independent of the depth, unlike traditional GNNs where each layer has its own parameters.
  • Adaptive Computation: The ODE solver can adaptively choose the number of steps based on the complexity of the input, allowing the model to allocate more computation to harder nodes or graphs.
  • Constant Memory: By using the adjoint sensitivity method for training, the model avoids storing intermediate states, leading to constant memory usage during backpropagation.

Results

The paper evaluates CGNN on standard node classification benchmarks (e.g., Cora, Citeseer, Pubmed). The results show that CGNN achieves accuracy comparable to or better than state-of-the-art GNNs like GCN and GAT, while using significantly fewer parameters. For instance, on Cora, CGNN achieves around 81% accuracy, which is on par with GCN, but with a fraction of the parameters. The paper also demonstrates that CGNN is more robust to over-smoothing: as the integration time T increases, the performance does not degrade as sharply as with deep GCNs. Additionally, the constant memory property is highlighted, showing that CGNN can be trained with much lower memory footprint for deep models.

Significance

This work is a pioneering step in merging graph neural networks with continuous-depth models. It opens up new research directions, such as designing more expressive ODE functions, exploring stability conditions, and applying continuous GNNs to temporal graphs. The theoretical connection to dynamical systems also provides tools for analyzing GNN behavior, which could lead to more interpretable and robust models. As graph data becomes increasingly prevalent in fields like social networks, biology, and recommendation systems, CGNN offers a promising approach for building scalable and efficient graph learning models.