Abstract
Dynamic graph learning is essential for modeling real-world networks where nodes and edges continuously merge, vanish, and reconnect. A significant challenge in this domain is that node neighborhoods often exhibit diverse and time-evolving topologies, such as hierarchical, grid-like, and cyclic patterns. Existing methods typically embed these graphs into a single curvature space, limiting representation quality when the embedding geometry misaligns with the local topology. To address this, researchers propose DyGMoCE, a Dynamic Graph Transformer utilizing a Mixture of Curvature-aware Experts. By dynamically assigning each node to its ideal geometric space and introducing a highly efficient "Fast Riemannian Attention" module, DyGMoCE achieves state-of-the-art accuracy while reducing memory usage by over 50%.
Introduction: The Geometric Challenge of Dynamic Graphs
Real-world dynamic graphs—ranging from social networks and global trade routes to traffic patterns—are inherently messy and complex. Their structural topology changes constantly. Crucially, these structures are not uniform across the graph. At any given moment, one region might resemble a hierarchy (a tree), another a grid, and yet another a dense cluster (a cycle). Furthermore, a single node’s neighborhood might be tree-like at one timestamp but evolve into a dense, cyclic cluster hours later.
Standard Graph Neural Networks (GNNs) typically embed nodes into Euclidean space (flat geometry). While computationally straightforward, flat space severely distorts hierarchical or complex cyclic structures. Recent advancements have introduced Hyperbolic space (curved like a saddle) to better handle hierarchies. However, these models force the entire graph into a single geometry, failing to capture the "cross-node heterogeneity" present in diverse networks. A model is needed that can dynamically adjust its "geometric lens" on the fly.
Methodology: The DyGMoCE Architecture
To solve the geometric rigidity of previous models, the authors introduce DyGMoCE (Dynamic Graph Transformer with a Mixture of Curvature-aware Experts). The architecture is built upon three core innovations:
1. Mixture of Curvature-Aware Experts (MoE)
Instead of relying on a single standard layer, DyGMoCE employs a Mixture-of-Experts framework within both its attention and feed-forward modules. Each expert operates on a Riemannian manifold assigned a specific curvature ($\kappa$). Negative $\kappa$ corresponds to Hyperbolic geometry (ideal for trees), zero to Euclidean (grids), and positive to Spherical (cycles). This allows geometry to be treated as a learnable, continuous feature rather than a rigid architectural constraint.
2. Geometrically Continuous Routing (GCRouter)
In conventional MoE models, a router simply selects the "top-k" experts. Because curvature exists on a continuous spectrum, DyGMoCE utilizes a sliding window approach to select a contiguous block of experts, ensuring geometric consistency. Furthermore, the model employs a Ranking Constraint guided by a mathematical property called Gromov’s $\delta$-hyperbolicity. By calculating this property for each node's neighborhood, the router is forced to select experts whose curvature aligns with the empirical structural measurement.
3. Fast Riemannian Attention
Performing mathematical operations on curved manifolds (Riemannian geometry) is notoriously slow and memory-intensive, often bottlenecked by complex operations like "Möbius addition" and "logarithmic mappings." The authors achieved an efficiency breakthrough by reformulating the attention mechanism using polar decomposition and the Riemannian Law of Cosines. By switching to a polar coordinate view (radial distance and angular direction), complex manifold aggregation is simplified into a weighted sum of scalars and vectors, making it highly friendly to modern GPUs.
Experimental Evaluation and Results
DyGMoCE was rigorously evaluated on eight diverse real-world dynamic graph datasets, spanning social/interaction networks (Wikipedia, Reddit, MOOC, LastFM, Enron) and political/economic networks (US Legislature, UN Trade, UN Vote).
The results demonstrate significant advancements across multiple fronts:
- State-of-the-Art Performance: DyGMoCE ranked #1 across almost all datasets for dynamic link prediction and node classification, substantially outperforming Euclidean-based models like TGAT and DyGFormer.
- Speed and Memory Efficiency: The Fast Riemannian Attention module delivered an average 27.5% speedup and a massive 52.6% reduction in memory usage compared to standard Riemannian attention mechanisms.
- Scalability: Standard Riemannian models frequently suffer from Out-of-Memory (OOM) crashes when processing long historical sequences. Thanks to its optimized attention module, DyGMoCE easily handled long sequences (e.g., length $L=64$), allowing the model to retain and process more of the graph's historical context.
Limitations and Future Directions
Despite its success, the authors note that DyGMoCE faces a limitation regarding information redundancy. Because the Hyperbolic, Euclidean, and Spherical experts are trained simultaneously, there is a risk that they learn similar, generic graph features rather than purely specializing in their designated geometries.
To mitigate this, future work will explore knowledge distillation—training a "teacher" model to guide the experts toward more effective specialization. Additionally, the researchers aim to scale this curvature-aware, dynamic approach to build large-scale Graph Foundation Models.
Summary updated