CausalRivers - Scaling up benchmarking of causal discovery for real-world time-series

Gideon Stein, Maha Shadaydeh, Jan Blunk, Niklas Penzel, Joachim Denzler

Executive Summary

CausalRivers is the largest "in-the-wild" benchmarking kit for causal discovery in time-series data, featuring over 1,000 measurement stations across German river systems. By leveraging the inherent physics of river flow as a ground truth, researchers reveal that many sophisticated causal discovery algorithms struggle to outperform simple, physics-informed baselines in real-world scenarios.

The Synthetic Gap in Causal Discovery

Causal discovery—the art of inferring "what causes what" from purely observational data—is a holy grail in fields like climate science and medicine where controlled experiments are often impossible. However, the field suffers from a significant "synthetic gap." Most methods are developed and tested on clean, simulated data or tiny real-world datasets that often contain fewer than 10 nodes.

Real-world data is rarely so polite. It is non-linear, non-stationary, and plagued by "hidden confounders" (unobserved factors like weather affecting multiple variables). Practitioners often don't know which method to trust when theoretical assumptions—like linearity or causal sufficiency—are inevitably violated. CausalRivers addresses this by providing a massive, high-resolution dataset where the "ground truth" is dictated by geography and physics, providing a rigorous playground for testing how these algorithms actually perform in the wild.

Building the CausalRivers Benchmark

The authors introduce a benchmarking kit that moves beyond static datasets. Key components include:

  • Ground Truth Construction: Instead of simulating relationships, the researchers used metadata, remote sensing, and Wikipedia crawls to map the actual flow of rivers. Simply put: if water flows from Station A to Station B, A causes B.
  • Sampling Strategies: Because running causal discovery on 1,000+ nodes is computationally prohibitive for many methods, the kit provides tools to sample thousands of subgraphs. These subgraphs are categorized by difficulty, such as "Root Cause" (chains), "Confounder" (hidden variables), and "Disjoint" (unrelated stations).
  • Naive Baselines: They introduced simple baselines like Reverse Physical (RP)—which assumes water flows from smaller to larger rivers—and Cross-Correlation (CC).
  • Evaluation: They benchmarked established methods (PCMCI, Varlingam, Dynotears, VAR) against newer deep-learning approaches (CDMI, Causal Pretraining) across different temporal resolutions ranging from 15 minutes to 24 hours.

The Datasets

The benchmark consists of three primary datasets with a 15-minute temporal resolution spanning the years 2019 to 2023:

  1. RiversEastGermany: 666 stations and 651 causal edges.
  2. RiversBavaria: 494 stations and 490 causal edges.
Causal ground truth graphs for Eastern Germany and Bavaria.
  1. RiversElbeFlood: A subset of 42 stations during a massive precipitation event, specifically designed to test model robustness under "distributional shifts" (extreme, unusual events).
Time-series discharge data and distributional shift during the Elbe River flood event.

Key Insights: Simple Baselines vs. Complex Algorithms

  • The "Simple is Better" Surprise: In many settings, naive baselines (like simply checking which river is larger) achieved scores comparable to or better than complex causal discovery algorithms. This suggests that current state-of-the-art methods may be over-optimized for synthetic data.
  • Linearity Wins (For Now): Among established methods, the linear Granger causal approach (VAR) proved to be the most reliable. Despite the non-linear nature of hydrology, the linear approximation was more robust than more "sophisticated" non-linear models.
  • The Power of Domain Adaptation: One of the most promising findings was that a model "pre-trained" on synthetic data could be significantly improved by fine-tuning it on a real-world region (e.g., Bavaria) before testing it on another (Eastern Germany). This "domain adaptation" often led to the best overall performance.
  • Geography Matters: Performance varied significantly based on the "elevation" and "distance" of nodes. Methods struggled more in flat areas where the causal lag is less predictable.

Performance Highlights and The Flood Test

  • Robustness: VAR and CDMI (a non-linear Granger approach) were the top performers among "official" causal discovery strategies, often hitting AUROC scores between 0.80 and 0.85 on "Random" and "Close" graph structures.
  • The Flood Test: Most methods saw a performance boost during the "Flood" event compared to "No Rain" periods. The authors hypothesize that strong causal signals (large volumes of water moving quickly) make relationships easier to detect than during quiet, low-innovation periods.
  • Finetuning Boost: Using Causal Pretraining (CP) with domain-specific finetuning increased performance across almost all graph types, sometimes outperforming the best non-neural methods by a significant margin.

Limitations and Future Directions

The authors acknowledge that river systems have specific "domain biases." For example, rivers rarely split (one parent, multiple children), which is a common structure in other fields like gene regulatory networks. Consequently, a method that excels here might rely on the "single-successor" nature of rivers.

Future work includes expanding the benchmark to include more diverse geographical features (like dams and tide effects) and exploring how this data can be used for adjacent tasks like anomaly detection and time-series forecasting. The ultimate goal is to move the field toward "benchmark-driven development," similar to how ImageNet transformed computer vision.

Summary updated

BibTeX
@inproceedings{stein2025causalrivers,
  author = {Gideon Stein and Maha Shadaydeh and Jan Blunk and Niklas Penzel and Joachim Denzler},
  title = {{CausalRivers - Scaling up benchmarking of causal discovery for real-world time-series}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=wmV4cIbgl6},
}
Figure