INDEQS: Informed Neural controlled Differential EQuationS

Michael Detzel, Gabriel Nobis, Kristiyan Blagov, Juri Schubert, Jackie Ma, Wojciech Samek

TL;DR

INDEQS (Informed Neural controlled Differential EQuationS) bridges the gap between continuous-time deep learning and physical topology by injecting prior directed graph knowledge directly into Neural Controlled Differential Equations (NCDEs). By strategically placing graph structures at distinct architectural positions ("inner" vs. "outer" mixing), INDEQS significantly improves forecasting accuracy and parameter efficiency on advective spatio-temporal tasks like river flow and traffic prediction.

What Problem Does This Paper Address?

Spatio-temporal forecasting is critical for systems governed by physical networks, such as traffic routing or river basins. While Neural Controlled Differential Equations (NCDEs) excel at modeling continuous-time dynamics from irregularly sampled data, standard graph-based extensions (like STG-NCDE) treat spatial relationships as blank slates. They attempt to learn graph structures entirely from data via node embeddings, completely ignoring known a priori physical topologies (e.g., which way a river flows).

This data-pure approach is highly inefficient and prone to learning spurious correlations. The authors tackle a fundamental challenge: How do we elegantly bake known, directed graph structures into the continuous-time vector fields of NCDEs without sacrificing the model's ability to adapt to unobserved real-world nuances?

Methods

The authors introduce INDEQS, which decouples spatial processing into two distinct architectural mechanisms:

  1. Outer Informedness ($\text{INDEQS}_{\text{outer}}$): Injects the prior adjacency matrix ($A_V$) into the outer mapping, which dictates how incoming data (the control path) directly updates the hidden state. This acts similarly to a spatial shortcut or residual connection, guiding how information propagates across nodes while still allowing an Adaptive Graph Convolution (AGC) layer to learn latent, data-driven connections.
  2. Inner Informedness ($\text{INDEQS}_{\text{inner}}$): Hardcodes the adjacency matrix into the inner hidden-state mixing layer, completely replacing the learnable node embeddings. This forces the model to strictly respect the physical topology, preventing causally unrelated nodes from communicating.
Visualizing the information transport differences between inner and outer graph connections.

Additionally, the paper explores Higher-Order Adjacencies (using powers of the adjacency matrix to capture multi-hop upstream effects) and replaces standard discrete convolutional decoders with Continuous Decoders ($\text{NODE}_g$ and $\text{NODE}_{\text{ctrl}}$) to extrapolate future states continuously in time.

The complete INDEQS encoder and decoder pipeline.

Datasets

The framework was evaluated across three distinct spatio-temporal benchmarks:

  • Synthetic Advection Simulation (New): A novel continuous-time simulation environment developed by the authors. It models linear advection (mass moving continuously along edges, splitting at forks, and merging at junctions) on Growing Networks with Redirection (GNR) graphs to provide a clean ground-truth flow structure.
  • River Discharge Data: Real-world daily runoff measurements from the Weser River network in Germany, featuring 45 nodes and 44 edges structured strictly as a physical drainage basin.
  • Traffic Flow Data (PeMS08): A standard benchmark capturing traffic flow across 170 nodes and 295 edges on the California highway system, where dynamics are influenced by human behavior and spatial proximity.

Key Insights and Ideas

  • Location Matters: The "outer" position is highly effective because it constrains the inflow of new data across the network, acting as a physical prior, while leaving the internal hidden states free to model complex latent dynamics.
  • Constraint vs. Flexibility: $\text{INDEQS}_{\text{inner}}$ acts as a strict physical constraint, making it highly parameter-efficient and fast. $\text{INDEQS}_{\text{outer}}$ provides a flexible compromise, blending hardcoded physical pathways with data-driven adaptive convolutions.
  • Continuous Alignment: Using continuous-time decoders to extrapolate predictions yields superior performance on real-world tasks compared to discrete convolutional heads. Aligning a continuous encoder with a continuous decoder preserves the mathematical elegance of the underlying differential equations.

Key Results

  • River Discharge Forecasting: $\text{INDEQS}_{\text{outer}}$ achieved a Mean Absolute Error (MAE) of 5.20, outperforming the uninformed STG-NCDE baseline (5.59). When paired with a continuous $\text{NODE}_{\text{ctrl}}$ decoder, the MAE dropped further to 5.01.
  • Parameter Efficiency: $\text{INDEQS}_{\text{inner}}$ reduced the parameter footprint significantly (e.g., 291K parameters vs. 415K for STG-NCDE) and trained 24% faster than the baseline while maintaining competitive accuracy.
  • Traffic Prediction (PeMS08): Even in noisy, human-centric systems where the causal graph is less rigid, optimizing the adjacency matrix power within $\text{INDEQS}_{\text{outer}}$ yielded an MAE of 16.39, outperforming the baseline's 16.55.
  • Graph Scale Stability: On synthetic data, as the graph size scaled up to 128 nodes, the error of uninformed models spiked, whereas $\text{INDEQS}_{\text{outer}}$ maintained a stable, low error rate.

Limitations and Future Work

The primary limitation of INDEQS is its strict reliance on a known, static underlying graph structure, which is not always available or may change dynamically over time (e.g., road closures or seasonal stream changes). Furthermore, distinguishing between a true causal flow network and a simple spatial proximity graph remains challenging in real-world deployments.

Future research directions suggested by the authors include extending INDEQS to dynamic, time-varying graph topologies and exploring its utility in broader physics-informed machine learning domains.

Summary updated

BibTeX
@article{detzel2026indeqs,
  author = {Michael Detzel and Gabriel Nobis and Kristiyan Blagov and Juri Schubert and Jackie Ma and Wojciech Samek},
  title = {{INDEQS: Informed Neural controlled Differential EQuationS}},
  journal = {Accepted by TMLR},
  year = {2026},
  url = {https://openreview.net/forum?id=okGwJeKlZ4},
}
Figure