Abstract
Modeling dynamic graphs requires capturing both evolving node features and shifting network structures over continuous time. Previous Graph Neural Controlled Differential Equations (GN-CDEs) lacked permutation equivariance, forcing models to learn graph symmetries from scratch and leading to sub-optimal generalization. This paper introduces Permutation Equivariant Neural Graph CDEs (PENG-CDEs), which project model dynamics onto a mathematically grounded permutation-equivariant function space. PENG-CDE drastically reduces parameter counts, improves training efficiency, and achieves state-of-the-art performance on real-world dynamic graph benchmarks, including the Temporal Graph Benchmark (TGB).
Introduction
Real-world graphs, such as social networks, traffic systems, and protein interactions, are inherently dynamic. To model these continuous changes, researchers have combined Graph Neural Networks (GNNs) with Neural Controlled Differential Equations (Neural CDEs). While this combination (GN-CDEs) excels at handling irregular, continuous-time data, it suffers from a critical theoretical flaw: it is not permutation equivariant.
In graph learning, permutation equivariance ensures that the model's output is consistent regardless of node indexing. The original GN-CDE used a "fusion" step to combine the graph's adjacency matrix with its time-derivative using standard weight matrices, breaking this symmetry. This lack of geometric grounding results in bloated models that struggle to generalize.
Methodology
PENG-CDE addresses this by deriving a fusion operation from first principles of Geometric Deep Learning. Instead of arbitrary learnable matrices, the authors project the fusion step onto a subspace of linear permutation-equivariant functions.
Drawing on prior theoretical work, they parameterize this step using a linear combination of exactly 15 basis terms that span the space of permutation-equivariant linear maps for edge-valued signals. The authors mathematically prove (Theorem 3.1) that PENG-CDE is the optimal approximation of the original GN-CDE within this equivariant space. The final architecture is proven to be both permutation-equivariant (in space) and time-warp equivariant (in time).
Experimental Setup
The model was evaluated across a diverse set of benchmarks:
- Synthetic Dynamical Systems: Heat diffusion, gene regulation, wealth dynamics, and opinion dynamics on various topologies (grid, small-world, power-law, community).
- Snapshot-based Real-World Graphs:
england-covidandtwitter-tennisdatasets. - Event-based Real-World Graphs:
tgbn-tradeandtgbn-genrefrom the Temporal Graph Benchmark (TGB).
Results and Discussion
Enforcing permutation equivariance acts as a powerful inductive bias. By restricting the model to equivariant functions, PENG-CDE prevents overfitting to arbitrary node orderings.
A key insight from the ablation studies is that the model heavily utilizes specific basis terms, such as row/column sums (node degrees), to understand global graph properties. Furthermore, PENG-CDE demonstrated unique robustness to irregular sampling and superior extrapolation capabilities. In synthetic forecasting tests, it was the only model to maintain stable, low loss when predicting into the future.
Quantitative Performance
PENG-CDE achieved significant performance gains across all tasks. On synthetic heat diffusion and gene regulation, it outperformed the original GN-CDE by 30% to 74% in terms of Mean Squared Error (MSE).
On the competitive tgbn-genre dataset, PENG-CDE achieved an NDCG@10 of 0.523, becoming the first machine-learned method to surpass the simple moving average heuristic. Beyond accuracy, the model is computationally efficient; its parameter count is independent of graph size, leading to a 510% relative improvement in runtime per epoch on large graphs compared to the baseline GN-CDE.
Conclusion
PENG-CDE represents a significant step forward in dynamic graph representation learning by integrating geometric priors into continuous-time models. While currently limited by $O(N^2)$ memory complexity due to dense adjacency matrix requirements, future work will focus on scaling the architecture to massive sparse graphs and exploring advanced ODE solvers tailored for graph structures.
Summary updated