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

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

Abstract

Causal discovery, or identifying causal relationships from observational data, is a notoriously challenging task, with numerous methods proposed to tackle it. Despite this, in-the-wild evaluation of these methods is still lacking, as works frequently rely on synthetic data evaluation and sparse real-world examples under critical theoretical assumptions. Real-world causal structures, however, are often complex, making it hard to decide on a proper causal discovery strategy. To bridge this gap, we introduce CausalRivers, the largest in-the-wild causal discovery benchmarking kit for time-series data to date. CausalRivers features an extensive dataset on river discharge that covers the eastern German territory (666 measurement stations) and the state of Bavaria (494 measurement stations). It spans the years 2019 to 2023 with a 15-minute temporal resolution. Further, we provide additional data from a flood around the Elbe River, as an event with a pronounced distributional shift. Leveraging multiple sources of information and time-series meta-data, we constructed two distinct causal ground truth graphs (Bavaria and eastern Germany). These graphs can be sampled to generate thousands of subgraphs to benchmark causal discovery across diverse and challenging settings. To demonstrate the utility of CausalRivers, we evaluate several causal discovery approaches through a set of experiments to identify areas for improvement. CausalRivers has the potential to facilitate robust evaluations and comparisons of causal discovery methods. Besides this primary purpose, we also expect that this dataset will be relevant for connected areas of research, such as time-series forecasting and anomaly detection. Based on this, we hope to push benchmark-driven method development that fosters advanced techniques for causal discovery, as is the case for many other areas of machine learning.

Introduction

Identifying causal relationships from purely observational data—causal discovery—is a fundamental goal in fields ranging from climate science to economics. Despite the proliferation of new algorithms, evaluating these methods in real-world scenarios remains a significant challenge. Most existing benchmarks rely on synthetic data or small-scale real-world datasets that often satisfy strict theoretical assumptions rarely met in practice.

Real-world data is characterized by non-linearity, non-stationarity, and hidden confounders. To bridge this "reality gap," we introduce CausalRivers, a large-scale benchmarking kit designed to provide an "ImageNet moment" for causal discovery in time-series data. By leveraging the physical laws of hydrology, CausalRivers provides a robust ground truth for evaluating how well algorithms can recover the underlying structure of complex physical systems.

The CausalRivers Dataset

CausalRivers is the largest in-the-wild causal discovery benchmarking kit for time-series to date. It focuses on river discharge (flow) data, which provides an intuitive and physically grounded ground truth: water physically flows from upstream to downstream stations.

The dataset encompasses three primary components:

  • RiversEastGermany: 666 measurement stations across eastern German territory.
  • RiversBavaria: 494 stations in the state of Bavaria.
  • RiversElbeFlood: A specialized subset of 42 stations capturing a massive precipitation event in 2024, designed to test model robustness under distributional shifts.

The data spans the years 2019 to 2023 with a high-frequency 15-minute temporal resolution. To establish a reliable ground truth, the authors integrated station metadata, Wikipedia crawls, and remote sensing data to map the exact physical connectivity of 1,160 stations.

Benchmarking Methodology

Evaluating causal discovery on over 1,000 nodes is computationally prohibitive for many algorithms. To address this, CausalRivers includes tools to sample thousands of subgraphs. These subgraphs are curated to represent specific causal challenges, such as "root cause" chains or "confounder" scenarios where unobserved weather events influence multiple measurement points.

We evaluated several prominent causal discovery approaches, including PCMCI, Varlingam, and Dynotears. These were compared against "naive" physical baselines, such as Reverse Physical (RP), which assumes causality based on the mean discharge (i.e., water flows from stations with lower mean volume to those with higher volume).

Key Insights and Results

Our experiments revealed several critical findings regarding the current state of causal discovery in the wild:

1. The Strength of Physical Baselines

One of the most humbling findings is that simple physical heuristics, like the RP baseline, often perform as well as or better than sophisticated causal discovery algorithms. This highlights the difficulty of outperforming domain-specific intuition with purely data-driven methods.

2. Robustness of Linear Methods

Despite the inherent non-linearity of fluid dynamics, linear methods such as Vector Autoregression (VAR) and Varlingam remained the most robust performers. These methods consistently achieved Area Under the Receiver Operating Characteristic (AUROC) scores between 0.75 and 0.84 across various graph structures.

3. The Innovation Paradox

We observed that certain gradient-based methods, like Dynotears, struggled with "boring" data (periods of low rainfall/innovation) but showed marked improvement during flood events. This suggests that causal signals in physical systems are often most detectable during periods of high activity or variance, whereas they may be masked by noise during stationary periods.

4. The Power of Domain Adaptation

Deep learning approaches initially struggled, often performing only slightly better than random guessing (AUROC 0.50-0.60) when trained from scratch. However, the study demonstrated that "Causal Pretraining"—training a model on Bavarian data and then finetuning it on Eastern German data—yielded substantial gains. Finetuning on as few as five variables increased AUROC scores by up to 0.21, allowing these models to outperform the best "from-scratch" strategies on half of the tested datasets.

Conclusion

CausalRivers provides a rigorous framework for evaluating causal discovery methods in complex, real-world settings. While current results show that simple linear models and physical baselines are difficult to beat, the success of domain adaptation suggests a promising path for deep learning in this field.

Beyond causal discovery, we anticipate that this dataset will serve as a valuable resource for research in time-series forecasting and anomaly detection. By providing a large-scale, high-quality benchmark, CausalRivers aims to foster the development of techniques that are truly robust when faced with the complexities of the physical world.

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