Rhino: Deep Causal Temporal Relationship Learning with History-dependent Noise

Wenbo Gong, Joel Jennings, Cheng Zhang, Nick Pawlowski

Introduction

Discovering causal relationships—identifying "who causes what"—in time series data is a fundamental challenge across fields like finance, healthcare, and climate science. Most existing methods, such as traditional Granger causality, fall short because they rely on three simplifying assumptions that rarely hold in the real world:

  1. Linearity: They assume relationships between variables are simple linear equations.
  2. No Instantaneous Effects: They assume causes always precede effects by at least one time step. However, if data is sampled slowly (e.g., daily stock prices), a cause and its effect might appear to occur in the exact same "timestamp."
  3. Fixed Noise: They assume the "randomness" or noise in the system is independent and follows a fixed distribution. In reality, past actions often change future volatility (e.g., a high-performing student might show less variation in future test scores).

The authors identify history-dependent noise as a particularly neglected area. Modeling it is difficult because it often breaks "identifiability"—the mathematical ability to distinguish between a true causal graph and a fake one that produces the exact same data. To address this, the authors introduce Rhino (Deep Causal Relationship Learning with History-dependent Noise), a new framework that simultaneously handles non-linear interactions, instantaneous effects, and history-dependent noise.

The Rhino Framework

Rhino utilizes a sophisticated Structural Equation Model (SEM) composed of three core components:

  • Neural Networks for Dynamics: Rhino uses deep learning to model complex, non-linear relationships for both lagged (past) and instantaneous (current) parents.
  • Conditional Spline Flows for Noise: Instead of assuming standard Gaussian noise, Rhino employs a conditional normalizing flow. This allows the noise distribution itself to be a function of historical observations, effectively capturing non-stationary "volatility" or uncertainty.
  • Variational Bayesian Inference: Rather than searching for a single "best" graph, Rhino learns a distribution over possible graphs. It uses a variational approach with a Gumbel-softmax gradient estimator to efficiently navigate the massive space of possible causal structures.

A major contribution of the paper is Theoretical Identifiability. The authors provide a mathematical proof showing that Rhino's specific functional form is "structurally identifiable," meaning the true causal structure can be uniquely recovered under certain conditions, even with highly complex noise.

Experimental Evaluation & Results

The authors evaluated Rhino against a wide range of baselines (including PCMCI+, DYNOTEARS, and VAR-LiNGaM) using both synthetic and real-world datasets.

Synthetic Benchmarks

Rhino was tested across 160 different synthetic settings varying in dimensionality (5 to 40 nodes), graph types, and noise types. Rhino consistently outperformed baselines in recovering instantaneous, lagged, and temporal edges, demonstrating robustness even when the model's "lag" (how far back it looks) was misspecified.

F1 scores on synthetic datasets across varying dimensions.

Real-World Datasets

Rhino's real-world utility was proven on two complex benchmarks:

  • Netsim Brain Connectivity: On simulated fMRI imaging data describing 15 different regions of the human brain, Rhino achieved a nearly optimal AUROC of 0.99, significantly outperforming the next best baseline (cMLP at 0.93).
  • DREAM3 Gene Network: This classic biological benchmark consists of in silico measurements of gene expression levels for 5 different networks (100 genes each). Rhino and its variants consistently outperformed state-of-the-art Granger causality methods, proving its scalability and accuracy in high-dimensional biological systems.
Performance comparison on the DREAM3 biological benchmark.

Furthermore, while some constraint-based methods (like PCMCI+) took over a week to run on 40-node graphs, Rhino remained computationally efficient.

Key Insights

  • The "Instantaneous" Necessity: The paper highlights that "instantaneous" effects are often just an artifact of slow sampling. If a sensor checks every hour, but a reaction takes seconds, the cause and effect look simultaneous. Rhino’s ability to handle these "within-step" edges is crucial for real-world data.
  • Noise as a Signal: Traditionally, noise is something to be filtered out. Rhino treats the structure of the noise (how its variance or shape changes over time) as a source of information that helps identify the underlying causal graph.
  • Identifiability is Possible with Complex Noise: The most surprising theoretical insight is that you can have extremely flexible, history-dependent noise without losing the ability to prove the model is mathematically sound.

Limitations and Future Work

While Rhino represents a significant step forward, it has limitations. First, it assumes the underlying causal mechanism stays the same over time; it does not yet account for "concept drift" where the rules of the system fundamentally change. Second, the model assumes "causal sufficiency," meaning there are no hidden, unmeasured variables influencing the system. Extending Rhino to handle latent confounders is a primary direction for future work. Finally, while Rhino excels at temporal graphs, mapping these to collapsed "summary graphs" can be complex and requires careful post-processing.

Summary updated

BibTeX
@inproceedings{gong2023rhino,
  author = {Wenbo Gong and Joel Jennings and Cheng Zhang and Nick Pawlowski},
  title = {{Rhino: Deep Causal Temporal Relationship Learning with History-dependent Noise}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=i_1rbq8yFWC},
}
Figure