Skip to main content
Back

CTDG-SSM Beats Top Graph AI Models Using One-Tenth the Parameters

CTDG-SSM fuses HiPPO memory with graph Laplacian polynomials to achieve state-of-the-art on dynamic link prediction with 10x fewer parameters than competitors

Pro

Paper, Full Access
  • CTDG-SSM is a new state-space model for continuous-time dynamic graphs that simultaneously handles long-range temporal and spatial dependencies -- something no prior model achieved.
  • The core innovation, CTT-HiPPO, extends the HiPPO memory framework to graphs by projecting compressed history through a polynomial of the graph Laplacian, making memory topology-aware.
  • On the MOOC dataset (a key long-range temporal benchmark), it achieves 99.00% AUC-ROC vs. 89.58% for DyGMamba and 88.08% for DyGFormer.
  • On a spatial long-range sequence classification task at chain length 20, CTDG-SSM scores 98.60% while DyGFormer scores 42.79% and DyGMamba 45.29%.
  • The model uses roughly one-tenth the parameters of competing methods and trains 6x faster per epoch than DyGFormer on several datasets.
  • Code is available; the paper is under review at ICLR 2026 (arXiv:2606.04672).

Most real-world networks are not static. Friendships form and fade, financial transactions flow, students engage with course content at irregular intervals. Modeling these systems as continuous-time dynamic graphs (CTDGs) -- where each interaction is a timestamped event rather than a snapshot -- gives far richer signal than the traditional approach of slicing time into discrete windows. But getting a neural network to actually learn from that richness has been stubbornly hard, especially when the patterns that matter span long time horizons and multiple hops across the graph. A new paper, "Learning Long Range Spatio-Temporal Representations over Continuous Time Dynamic Graphs with State Space Models", proposes a framework called CTDG-SSM that attacks both problems simultaneously -- and does it with a fraction of the parameters of competing methods.

The two walls every CTDG model hits

Existing approaches still face two primary challenges: (1) long-range temporal dependencies (LRT) -- the ability to preserve and use node states and interactions over extended time horizons; and (2) long-range spatial dependencies (LRS) -- the ability to capture multi-hop structural interactions beyond immediate neighborhoods in dynamic graphs. These are not just academic concerns. These capabilities have made CTDGs increasingly important in domains including finance, healthcare, e-commerce, and social network analysis. In financial fraud detection, for instance, money laundering typically spans long transaction chains rather than isolated local interactions -- exactly the kind of pattern that existing models miss.

The field has split into two camps, each solving one problem while ignoring the other. Event-driven models like TGN and JODIE update node states at each interaction and are computationally lean, but they mainly capture short-term patterns and struggle to preserve long-range temporal context. Sequence-based models like DyGFormer and DyGMamba use Transformers or Mamba to explicitly target long-range temporal dependencies, but these methods pre-process temporal data by restricting attention to one-hop temporal neighborhoods, thereby significantly limiting their ability to maintain LRS. No existing model handles both at once.

Building memory that knows the graph

The core insight of CTDG-SSM is to marry two powerful ideas: the HiPPO memory framework and graph Laplacian polynomials. HiPPO (High-order Polynomial Projection Operators) is a mathematical framework originally developed for sequence modeling. HiPPO defines a general mathematical and algorithmic framework for online compression and representation of sequential data via optimal projection onto polynomial bases, underpinning state-of-the-art models in recurrent neural networks, state-space systems, and Gaussian processes for efficient long-range sequence modeling. In plain terms: instead of trying to remember every past event, HiPPO compresses history into a compact set of polynomial coefficients that optimally summarize what happened.

The paper's key contribution is CTT-HiPPO (Continuous-Time Topology-Aware HiPPO), which extends this idea to graphs. The authors derive a continuous-time, topology-aware higher-order polynomial projection operator in which time-varying node signals are jointly represented using temporal and spatial polynomial bases. The coefficients of CTT-HiPPO are obtained by minimizing the discrepancy between observed node features and their graph-filtered polynomial approximations. Concretely, the classical HiPPO solution is projected through a polynomial of the graph Laplacian matrix -- a standard operator that encodes the graph's connectivity structure. This single move makes the memory topology-aware: the compressed history of a node reflects not just its own past interactions, but the evolving structure of its neighborhood.

Architecture diagram of CTDG-SSM showing encoder-decoder system with memory module and graph processing pipeline

From CTT-HiPPO, the authors derive an equivalent state-space model (CTDG-SSM) that governs how these topology-aware memory coefficients evolve over time. The continuous-time formulation is then made practical using zero-order hold (ZOH) discretization -- a standard technique that assumes inputs are piecewise constant between events, turning the continuous ODE into a discrete recurrence that can be run efficiently on hardware. The resulting update rule looks structurally similar to a Mamba update, but with two key differences: two state-transition matrices that jointly operate on the state, one for time and one for graph structure.

How it works, step by step

The full architecture has three stages that run on each incoming batch of events:

  1. Subgraph sampling: For each node involved in a batch of events, the model samples up to Nu of its most recent neighbors and builds a batch-level Laplacian. This captures multi-hop context while keeping the active node set NB much smaller than the full graph, making the matrix inversion tractable.
  2. Node feature encoding: Node features, edge attributes, static embeddings, and a time-encoding of the inter-event gap are concatenated and projected into a latent space via a 2-layer MLP encoder.
  3. CTDG-SSM layers: The encoded features and the batch Laplacian are fed into stacked CTDG-SSM layers with residual connections, RMSNorm, and GeLU activations. Each layer updates the node memory according to the discrete recurrence. After the batch, only the active nodes' memory states are written back to the global memory store.

For downstream tasks, a decoder reads from the memory store. Link prediction concatenates the memory states of both nodes plus a learned temporal embedding; node classification uses a single node's memory state fed through a linear layer.

The numbers are hard to argue with

For temporal long-range dependency, CTDG-SSM outperforms state-of-the-art methods on LRT benchmarks, including LastFM, Enron, and MOOC. On the MOOC dataset -- a student-course interaction graph spanning 17 months -- it achieves 99.00% AUC-ROC in the transductive setting, compared to 89.58% for DyGMamba and 88.08% for DyGFormer. On Enron (email communications over 3 years), it hits 94.98% vs. 93.34% for DyGMamba. These are the datasets specifically designed to stress-test long-range temporal reasoning, and the gaps are large.

Scatter plot comparing CTDG-SSM against other models on AUC-ROC vs parameter count, showing CTDG-SSM achieves top performance with fewest parameters

The spatial long-range story is equally compelling. To evaluate spatial long-range dependency, the authors conduct a sequence classification experiment demonstrating the model's capacity to capture LRS through node states generated using spatiotemporal updates. In this task, models must classify a node after traversing a long chain of interactions -- a direct test of multi-hop reasoning. At chain length 20, CTDG-SSM (second-order filter) achieves 98.60% accuracy. DyGFormer scores 42.79% and DyGMamba 45.29% -- essentially random. CTAN, the previous best, reaches 88.93% but with much higher variance.

The efficiency story is just as striking. The authors also provide theoretical guarantees demonstrating the robustness of memory representations under graph structure perturbations. On the MOOC dataset, CTDG-SSM achieves top AUC-ROC while using roughly one-tenth the parameters of competing methods. Per-epoch training time on LastFM is 4.45 minutes vs. 28.45 for DyGMamba and 47.00 for DyGFormer, with GPU memory usage of 1.15 GB vs. 4.17 GB and 7.57 GB respectively.

Where it falls short

The model is not universally dominant. On the UCI dataset (a social network with shorter interaction chains), CTDG-SSM scores 89.24% AUC-ROC vs. 94.77% for DyGMamba -- suggesting that when long-range dependencies are not the bottleneck, the added complexity of topology-aware memory does not always pay off. The polynomial graph filter used is a fixed-order linear approximation, which limits expressiveness. The authors acknowledge this: an important future direction is learning the graph operators directly through GNNs rather than fixing their functional form. The framework also currently assumes fully observed node and edge features, with no mechanism for handling missing data in the event stream.

What this unlocks in practice

The practical use cases map directly to the datasets the model was tested on:

  • Financial fraud detection: Catching money laundering requires tracing chains of transactions across many hops and long time windows -- exactly the LRS + LRT combination CTDG-SSM was designed for.
  • Recommendation systems: User-item interaction graphs (like LastFM's listening history) benefit from models that remember long-term preferences without forgetting recent shifts.
  • Social network analysis: Predicting future connections in email or messaging graphs (Enron, UCI) where relationship patterns evolve over months or years.
  • Online education platforms: Modeling student engagement on MOOC platforms where learning trajectories span many months and involve complex prerequisite chains.

The parameter efficiency is a practical advantage beyond benchmarks. These capabilities have made CTDGs increasingly important in domains including finance, e-commerce, and social network analysis. In production settings where model size translates directly to inference cost, a method that matches or beats the competition at one-tenth the parameter count is genuinely deployable where heavier models are not.

The paper is currently under review at ICLR 2026. Code to reproduce the results is available via an anonymous repository. The real breakthrough here is not just the performance numbers -- it is the theoretical unification: by deriving the SSM from first principles using HiPPO and the graph Laplacian, the authors show that long-range temporal and spatial reasoning on dynamic graphs are not two separate problems requiring two separate architectures, but two facets of a single well-posed mathematical problem with a clean, parameter-efficient solution.