NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Hierarchical Regime-Conditioned Dynamics for Spatiotemporal Graphs

Jeremy Baffou, Pascal Frossard, Dorina Thanou

TL;DR

HERON is a self-supervised generative framework that unifies trajectory forecasting on graphs with the discovery of discrete "dynamical regimes." By factorizing latent states into global system-level modes and local entity-level dynamics, it enables both highly accurate predictions and the ability to simulate alternative "what-if" futures by intervening on the underlying dynamical mode.

What Problem Does This Paper Address?

Predicting the future of complex, interacting systems—like players on a basketball court or proteins in a biological network—is notoriously difficult. While modern Temporal Graph Neural Networks (TGNNs) are excellent at predicting where a system will go, they are often "black boxes" that fail to explain why.

The core challenge is that similar observations can arise from different underlying mechanisms. For instance, two patients might show similar tumor growth patterns, but one is in an early disease phase while the other is in a late, aggressive phase. Existing models often entangle these different "dynamical modes" in a single continuous latent space, making them hard to interpret or control. Conversely, classical regime-inference methods (like switching linear dynamical systems) can identify these modes but struggle to generate the complex, graph-structured trajectories seen in real-world multi-agent systems.

Methods

The authors introduce HERON (HiErar-chical Regime-cOnditioned dyNamics), a hierarchical generative framework designed to bridge this gap.

1. Hierarchical Latent Factorization

HERON splits the system's state into two levels:

  • System Level: A discrete stochastic variable ($r_t$) representing the global "regime" (e.g., "Offense" vs. "Defense" in basketball) and a deterministic recurrent state ($h^G_t$) capturing global context.
  • Entity Level: Continuous stochastic states ($z^i_t$) and recurrent states ($h^i_t$) for each individual node in the graph, capturing fine-grained local behavior.

2. Regime-Conditioned Mixture-of-Experts (MoE)

Crucially, the inferred global regime acts as a "gatekeeper." It conditions the entity-level dynamics through a Mixture-of-Experts module. Each expert is specialized in a specific dynamical mode. This means the global regime actively governs how individual entities evolve, rather than just acting as a passive label.

Hierarchical state representation showing how global regimes condition local entity states.

3. Self-Supervised Learning

HERON doesn't require manual labels for regimes. It learns them jointly with the forecast using a multi-part loss function:

  • Prediction Loss: Ensures accurate trajectory forecasting.
  • Posterior-Prior Alignment: Allows the model to generate autonomous "rollouts" even when future observations are missing.
  • Structural Regularization: Prevents the model from collapsing all dynamics into a single regime or creating redundant experts.

Datasets

The authors evaluated HERON on a mix of synthetic and real-world datasets:

  • Synthetic: Three controlled settings—Linear (independent trajectories), Gompertz (non-linear growth with changing graph topology), and Network Interaction (dynamics driven by how information flows through edges).
  • SportVU NBA: Real-world player tracking data where regimes are defined by play outcomes (e.g., scoring vs. rebounding).
  • AMASS (with BABEL): Human motion capture data where regimes change within a single sequence (e.g., walking, then turning, then sitting).

Key Insights and Ideas

  • Regimes as Operational Variables: Unlike models that treat regimes as post-hoc explanations, HERON uses them as active conditioning variables. This allows for interventional analysis: you can take a "walking" sequence and force the model to simulate what a "turning" sequence would look like from that same starting point.
  • Bidirectional Information Flow: The model aggregates local spatio-temporal signals to infer a global state, which then flows back down to dictate individual entity transitions.
  • Modularity: The authors demonstrated that the HERON regime interface is "backbone-agnostic." They successfully wrapped it around GraphSSM, a state-of-the-art graph state-space model, significantly improving its interpretability and forecasting performance on regime-heavy tasks.
Figure 1: Example of regime-conditioned graph rollouts. A) The system can evolve according to distinct dynamics referred to as regimes. B) Given an observed graph sequence acting as context, we forecast future node features while inferring the latent regime trajectory that conditions the rollout. The regime exposes which dynamical mode drives the predictions and allows alternative regime-aware futures beyond forecasting alone.

Key Results

  • Forecasting Accuracy: HERON achieved the lowest Average Displacement Error (ADE) across all synthetic benchmarks and remained highly competitive on real-world datasets.
  • Regime Recovery: Without any supervision, HERON recovered ground-truth regimes with high fidelity. For example, it achieved a 0.891 Macro-F1 score on the NBA dataset, significantly outperforming HMM-based baselines.
  • Quantitative Interventions: In "what-if" scenarios, clamping the model to the "correct" regime consistently yielded the lowest error, proving that the learned experts truly capture distinct, functional dynamics.
Quantitative comparison showing HERON's competitive forecasting performance across various models and datasets.

Limitations and Future Work

  • Parameter Scaling: Because HERON uses a Mixture-of-Experts, the number of parameters scales linearly with the number of regimes ($K$). For systems with hundreds of modes, lighter conditioning mechanisms (like FiLM-style modulation) might be needed.
  • Fixed Topology: While HERON handles changing node sets during context, it currently assumes a fixed graph structure during the future rollout phase.
  • Hyperparameter Sensitivity: The model relies on balancing multiple loss terms (e.g., balancing expert usage vs. prediction accuracy), which can require careful tuning.
  • Future Directions: The authors suggest moving toward adaptive regime discovery, where the model can automatically spawn or prune regimes during training as the data complexity demands.

Summary updated

BibTeX
@inproceedings{baffou2026hierarchical,
  author = {Jeremy Baffou and Pascal Frossard and Dorina Thanou},
  title = {{Hierarchical Regime-Conditioned Dynamics for Spatiotemporal Graphs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=k39QrQmBiI},
}
Figure