Sanity Checking Causal Representation Learning on a Simple Real-World System

Juan L. Gamella, Simon Bing, Jakob Runge · DOI

Introduction

Causal Representation Learning (CRL) is often considered the "holy grail" of machine learning, promising to extract high-level causal variables—such as velocity or friction—directly from raw, high-dimensional data like pixels. However, a significant gap exists between theoretical advancements and practical application. Most CRL research relies on synthetic simulations where data-generating processes perfectly align with algorithmic assumptions. This paper introduces a physical "light tunnel" as a real-world sanity check, revealing that state-of-the-art CRL methods struggle to recover even simple physical factors when faced with real-world noise.

The Physical Light Tunnel Benchmark

To provide a controlled yet authentic environment, the authors developed a physical "light tunnel" (the Causal Chamber). This system consists of an elongated chamber equipped with a controllable RGB light source, two rotating linear polarizers, a camera, and various sensors for light intensity and polarizer angles.

The Causal Chamber: A physical setup for testing causal representation learning, featuring a light source, rotating polarizers, and a camera output.

The resulting dataset, lt_crl_benchmark_v1, includes over 60,000 images and sensor readings. To isolate failure points, the authors also provided synthetic ablation data generated by both mechanistic models and neural simulators. This allows researchers to distinguish between failures caused by algorithmic fragility and those caused by real-world stochasticity.

Experimental Evaluation

The study evaluated three primary families of CRL methods: Contrastive CRL (CCRL), Multiview CRL, and Temporal CRL (CITRIS). The results across the board were sobering:

  • Contrastive CRL: While achieving a Mean Correlation Coefficient (MCC) of 0.89 on synthetic data, its performance dropped to 0.28 on real-world data, failing to recover the causal graph.
  • Multiview CRL: This method successfully identified light colors (easily separable R, G, B channels) but failed to disentangle the two polarizer angles ($\theta_1, \theta_2$), despite their distinct physical signatures.
  • Temporal CRL (CITRIS): This approach failed catastrophically on both real and synthetic data, showing virtually no correlation between learned latents and ground truth.
Sample camera outputs (A-D) showing the visual impact of varying RGB levels and polarizer angles (θ1, θ2).

Why Do Current Methods Fail?

The authors identify several key hurdles that prevent current CRL algorithms from succeeding in the real world:

  1. The Deterministic Mixing Assumption: Most CRL theories assume a deterministic "mixing function" that maps latents to observations. In reality, light flicker and sensor noise introduce non-deterministic elements that break these mathematical assumptions.
  2. Reproducibility and Sensitivity: Even on synthetic data, many methods proved highly sensitive to hyperparameter tuning and network architecture, making them difficult to deploy reliably.
  3. Information Presence vs. Extraction: To ensure the task was feasible, the authors trained a supervised model to predict factors from images, achieving an $R^2 > 0.97$. This confirms that the causal information is present in the pixels; the unsupervised CRL methods simply fail to extract it.

Conclusion

This work highlights a critical need for the CRL community to move beyond synthetic "toy" problems. The light tunnel serves as a necessary first step for validating new algorithms. Future research must focus on developing methods robust to real-world stochasticity and non-deterministic mixing if CRL is to ever reach its potential in complex, real-world applications.

Summary updated

BibTeX
@inproceedings{gamella2025sanity,
  author = {Juan L. Gamella and Simon Bing and Jakob Runge},
  title = {{Sanity Checking Causal Representation Learning on a Simple Real-World System}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=d2aGLPSpFz},
}
Figure