Papers › The Causal Chambers: Real Physical Systems as a Testbed for AI Methodology

The Causal Chambers: Real Physical Systems as a Testbed for AI Methodology

17 Apr 2024arXiv:2404.11341archive 2025-07-28

Juan L. Gamella, Jonas Peters, Peter Bühlmann

In some fields of AI, machine learning and statistics, the validation of new methods and algorithms is often hindered by the scarcity of suitable real-world datasets. Researchers must often turn to simulated data, which yields limited information about the applicability of the proposed methods to real problems. As a step forward, we have constructed two devices that allow us to quickly and inexpensively produce large datasets from non-trivial but well-understood physical systems. The devices, which we call causal chambers, are computer-controlled laboratories that allow us to manipulate and measure an array of variables from these physical systems, providing a rich testbed for algorithms from a variety of fields. We illustrate potential applications through a series of case studies in fields such as causal discovery, out-of-distribution generalization, change point detection, independent component analysis, and symbolic regression. For applications to causal inference, the chambers allow us to carefully perform interventions. We also provide and empirically validate a causal model of each chamber, which can be used as ground truth for different tasks. All hardware and software is made open source, and the datasets are publicly available at causalchamber.org or through the Python package causalchamber.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2404.11341")

Code

Syntology Ran 3 of 29 code samples harvested from 2 repositories linked to this paper; 26 have no recorded run. Of those that ran: 1 ran · violated contract; 2 ran with no contract checked.

By repository: official repository: 12 samples from 1 repository, 3 ran; community (archive-listed): 17 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

juangamella/causal-chamber-paper officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

29 samples harvested; 3 ran; 0 honoured the contract we drafted; 26 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · violated contract
2ran
26unverified

Licence: 0 of the 29 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

bool_flag juangamella/causal-chamber-paper/case_studies/src/symbolicregression/utils.py official repository ran · violated contract MIT (permissive) · cc66d68d2046d6a3 · report
compute_metrics juangamella/causal-chamber-paper/case_studies/src/symbolicregression/metrics.py official repository ran MIT (permissive) · 69b5fa55a312675e · report
timeout juangamella/causal-chamber-paper/case_studies/src/symbolicregression/utils.py official repository ran MIT (permissive) · 2fe9d54ddd8520af · report
centering juangamella/causal-chamber-paper/case_studies/src/hsic.py official repository unverified MIT (permissive) · 860aa91e378e0710 · report
create_logger juangamella/causal-chamber-paper/case_studies/src/symbolicregression/logger.py official repository unverified MIT (permissive) · 2f7db44ecae76417 · report
dHSIC_calc juangamella/causal-chamber-paper/case_studies/src/hsic.py official repository unverified MIT (permissive) · ea1ee09f34621131 · report
gaussian_grammat juangamella/causal-chamber-paper/case_studies/src/hsic.py official repository unverified MIT (permissive) · df07fe3baf2d9722 · report
get_infinite_relative_error juangamella/causal-chamber-paper/case_studies/src/symbolicregression/regressors.py official repository unverified MIT (permissive) · 01cbe9c6ae58100c · report
get_optimizer juangamella/causal-chamber-paper/case_studies/src/symbolicregression/optim.py official repository unverified MIT (permissive) · 9290aab8c894b039 · report
initialize_exp juangamella/causal-chamber-paper/case_studies/src/symbolicregression/utils.py official repository unverified MIT (permissive) · 4b15c33783dc239e · report
order_data juangamella/causal-chamber-paper/case_studies/src/symbolicregression/regressors.py official repository unverified MIT (permissive) · 91a6b94673648495 · report
select_dico_index juangamella/causal-chamber-paper/case_studies/src/symbolicregression/envs/environment.py official repository unverified MIT (permissive) · ac7f89e9241e6a4d · report
coord_grid juangamella/causal-chamber-package/causalchamber/models/image_capture.py community (archive-listed) unverified MIT (permissive) · 64e1fb55950c1610 · report
discrete_rw juangamella/causal-chamber-package/causalchamber/datasets/sampling.py community (archive-listed) unverified MIT (permissive) · 40e3dc59408a02c9 · report
edges_to_adjacency juangamella/causal-chamber-package/causalchamber/utils.py community (archive-listed) unverified MIT (permissive) · 4188cf779343ba4b · report
graph_to_tikz juangamella/causal-chamber-package/causalchamber/utils.py community (archive-listed) unverified MIT (permissive) · 3006ede7a0ce2123 · report
hexagon_mask juangamella/causal-chamber-package/causalchamber/models/image_capture.py community (archive-listed) unverified MIT (permissive) · 9709404544a135d2 · report
hexagon_vertices juangamella/causal-chamber-package/causalchamber/models/image_capture.py community (archive-listed) unverified MIT (permissive) · a7e01aac39222e52 · report
model_a1 juangamella/causal-chamber-package/causalchamber/models/wind_tunnel_models.py community (archive-listed) unverified MIT (permissive) · c7f1c1cf79cd9544 · report
model_a2 juangamella/causal-chamber-package/causalchamber/models/wind_tunnel_models.py community (archive-listed) unverified MIT (permissive) · 3a5d174bd964aec1 · report
model_b1 juangamella/causal-chamber-package/causalchamber/models/wind_tunnel_models.py community (archive-listed) unverified MIT (permissive) · 29316726c2ebb066 · report
model_e1 juangamella/causal-chamber-package/causalchamber/models/light_tunnel_models.py community (archive-listed) unverified MIT (permissive) · b36a092e478f216d · report
points_on_circle juangamella/causal-chamber-package/causalchamber/utils.py community (archive-listed) unverified MIT (permissive) · 88810e71bfca6f77 · report
random_walk juangamella/causal-chamber-package/causalchamber/datasets/sampling.py community (archive-listed) unverified MIT (permissive) · 1473743688620979 · report
random_walk_mirrored juangamella/causal-chamber-package/causalchamber/datasets/sampling.py community (archive-listed) unverified MIT (permissive) · 6d122ddfa2b80194 · report
set_and_measure juangamella/causal-chamber-package/causalchamber/datasets/utils.py community (archive-listed) unverified MIT (permissive) · 54486aee2089156e · report
simulator_a1_c2 juangamella/causal-chamber-package/causalchamber/models/wind_tunnel_simulators.py community (archive-listed) unverified MIT (permissive) · 84d3204b8e19e60c · report
simulator_a1_c3 juangamella/causal-chamber-package/causalchamber/models/wind_tunnel_simulators.py community (archive-listed) unverified MIT (permissive) · 158be9e8feb66308 · report
simulator_a2_c3 juangamella/causal-chamber-package/causalchamber/models/wind_tunnel_simulators.py community (archive-listed) unverified MIT (permissive) · 26c8655502526376 · report

Tasks

Causal DiscoveryCausal InferenceChange Point DetectionOut-of-Distribution GeneralizationSymbolic Regression

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections