Decompose Dynamics Before Learning Dependencies in Spatiotemporal Systems

Ziqi Wang, Daojiang Hu, Cheng Bao, Zhiwei Ling, Wenzhuo Qian, Jiahui Zhai, Hailiang ZhaoarXiv 2026

TL;DR

CANDOR (Component-Aware Network Dynamics with Ordered Relations) improves spatiotemporal forecasting by disentangling local dynamics into background, accumulation, release, and shock components before modeling node interactions. This "decomposition-first" approach allows the model to precisely capture both physical propagation over known networks and latent functional relationships, setting new performance benchmarks for traffic and water-quality systems.

What Problem Does This Paper Address?

Spatiotemporal systems, such as urban traffic grids or river networks, are notoriously difficult to model because local observations are "entangled." A sensor reading at a specific node reflects a messy mix of local trends, gradual changes, and sudden shocks, all while being influenced by neighboring nodes.

Current state-of-the-art models often attempt to learn these complex dependencies directly from raw, entangled data. The authors argue that this obscures the underlying mechanisms: how does a local process evolve, and how does that evolution propagate across the network? For instance, in a river, a sudden "shock" (like heavy rain) at an upstream station propagates downstream with a specific delay, but this is often lumped together with the river's steady "background" flow.

Real-world spatiotemporal systems exhibit coexisting dynamics, edge-specific delays, and nonlocal dependencies.

Methods

The core innovation is the CANDOR framework, which operates on a central principle: decompose dynamics before learning dependencies.

  1. Evolution-Structured Dynamics Decomposition: CANDOR first breaks down each node's trajectory into four semantically distinct components:
  2. Background: Persistent, long-term patterns.
  3. Accumulation: Gradual buildup of a state.
  4. Release: Gradual decline or relaxation.
  5. Shock: Abrupt, sparse deviations (e.g., a traffic accident or a sudden storm).
  6. Dual-Graph Learning: Once decomposed, these components inform two specialized relational branches:
  7. Physical Branch: Models how "release" at one node propagates to "accumulation" at a downstream neighbor over the directed physical topology, accounting for time delays.
  8. Functional Branch: Discovers "hidden" dependencies between nodes that aren't physically connected but share similar background dynamics (e.g., two traffic sensors near different shopping malls).
  9. Context-Adaptive Fusion: The model uses an MLP to adaptively weight the predictions from the physical and functional branches based on the specific node, the time of day, and the forecast horizon.
  10. Semantic Consistency Losses: To ensure the decomposition components actually behave as intended, the authors introduce auxiliary losses. For example, a "role-consistency" loss encourages the "release" component to align with the signals that actually propagate downstream in the physical graph.
Figure 2: Overview of CANDOR. (1) Evolution-structured dynamics decomposition separates persistent and transient dynamics through complementary residual references. (2) Decomposition- conditioned dual-graph learning combines delay-aware propagation over directed physical sup- port with background-conditioned functional relations beyond topology. (3) Context-adaptive fu- sion integrates functional, forward, and reverse-support forecasts contextually.

Datasets

The authors evaluated CANDOR on two very different types of systems:

  • Urban Traffic: Standard benchmarks METR-LA and PEMS-BAY, which feature dense networks and recurrent human-driven patterns.
  • River Water Quality: The authors introduced three new five-year datasets (BASIN030501, BASIN031300, and BASIN180102) comprising 1.8 million station-hour observations of dissolved oxygen. These represent sparse, naturally evolving systems with long-range propagation delays.

Key Insights and Ideas

  • Decomposition as an Inductive Bias: By forcing the model to separate "shocks" from "background," the authors provide a powerful inductive bias. The model doesn't just see numbers; it "understands" that a sudden spike is a different physical event than a seasonal trend.
  • The "Release-to-Accumulation" Pipeline: The most elegant "aha moment" is the alignment of release and accumulation. By training the model to see "release" as the precursor to a neighbor's "accumulation," they capture the directional flow of information inherent in physical systems like rivers.
  • Topology is Not the Whole Story: The functional branch proves that nodes can be highly correlated without being physically adjacent. Learning these latent dependencies from the "background" component provides a stable basis for prediction that raw data cannot offer.

Key Results

CANDOR consistently outperformed 15 representative baselines (including TESTAM and AutoSTF) across all datasets:

  • Traffic: Reduced Mean Absolute Error (MAE) by up to 4.31%.
  • Water Quality: Reduced Mean Squared Error (MSE) by up to 5.47%.
  • Efficiency: Despite its complexity, CANDOR is remarkably compact, using fewer than 0.91M parameters. It sits on the high-accuracy end of the Pareto frontier for parameter-accuracy trade-offs.
  • Interpretability: The authors validated the "Shock" component by comparing it to external rainfall data (which the model never saw during training). They found a significant correlation, proving the model successfully "discovered" weather-related disturbances on its own.

Limitations and Future Work

While CANDOR excels at discovering latent relations, the authors note that in extremely sparse networks with weak spatial coupling, general time-series models can sometimes be more effective. A potential future direction is the direct integration of exogenous variables (like weather forecasts) into the decomposition gates to further sharpen the distinction between local and external drivers. Additionally, the current model assumes a fixed physical topology; extending this to dynamic or uncertain graphs could be a fruitful next step.

Summary updated

BibTeX
@misc{wang2026decompose,
  author = {Ziqi Wang and Daojiang Hu and Cheng Bao and Zhiwei Ling and Wenzhuo Qian and Jiahui Zhai and Hailiang Zhao},
  title = {{Decompose Dynamics Before Learning Dependencies in Spatiotemporal Systems}},
  year = {2026},
  eprint = {2609.36637},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.36637},
}
Figure