Exploratory Causal Inference in SAEnce

Tommaso Mencattini, Riccardo Cadei, Francesco Locatello

Randomized Controlled Trials (RCTs) are a cornerstone of scientific discovery. Traditionally, they rely on a "rationalist" approach: researchers formulate a specific hypothesis and design an experiment to test it. However, this paradigm is constrained by human imagination and prior knowledge. Scientists often fall victim to the "Matthew Effect," looking only for behaviors or outcomes they already know how to describe.

With the advent of massive, unstructured datasets—such as years of high-resolution video or planetary-scale genomic maps—there is a growing need for an "empiricist" approach. We need tools that allow the data to tell us what is changing, discovering unknown causal effects directly from the trial without relying on hand-crafted hypotheses.

The Paradox of Exploratory Causal Inference

Extracting meaningful signals from high-dimensional raw data (like video pixels) is notoriously difficult. While Foundation Models (FMs) can extract rich representations and Sparse Autoencoders (SAEs) can translate these into human-readable "neurons," a major hurdle remains: feature entanglement.

The authors identify a critical "Paradox of Exploratory Causal Inference." Counter-intuitively, as sample sizes grow or treatment effects become stronger, standard statistical tests (like t-tests with Bonferroni correction) begin to fail. They start flagging every neuron that is even slightly entangled with the true effect as statistically significant. This flood of false positives causes a collapse in interpretability, making the results useless for human scientists.

Neural Effect Search (NES)

To overcome this paradox, the researchers propose a novel four-step pipeline centered around a new algorithm called Neural Effect Search (NES).

  1. Collect Unstructured Data: Gather raw observations (e.g., video frames) from an RCT.
  2. Extract Representations: Process the data through a pretrained Foundation Model (such as SigLIP or DINOv2).
  3. Interpret via SAE: Train a Sparse Autoencoder on these representations to build a "dictionary" of sparse, interpretable features (neurons).
  4. Neural Effect Search: Instead of testing all neurons simultaneously, NES employs a recursive stratification procedure. It identifies the neuron with the most prominent treatment effect, "controls" for it by stratifying the data based on that neuron's activation, and then searches for the next most significant effect in the residuals. This process repeats until no more significant effects are found, effectively peeling away entangled signals one by one.
The four-step pipeline of Neural Effect Search, moving from raw experimental data to interpretable causal concepts.

Experimental Validation

The authors validated NES across both semi-synthetic and real-world datasets:

  • Overcoming Significance Collapse (CelebA): Using the CelebA face dataset to simulate RCTs, the authors showed that as the sample size increased from 30 to 5,000, standard baselines (FDR, Bonferroni) saw their precision drop toward zero due to entanglement. NES, however, maintained high precision and recall across all scales.
  • Real-World Discovery (ISTAnt): The framework was applied to a real-world ecological study on "Social Immunity" in ants. Ants were exposed to fungal pathogens (treatment) or a control. Without any manual labeling, NES successfully identified grooming behavior as the primary causal effect of the treatment—a finding that biologists had previously spent months manually annotating.
  • Identifying Experimental Bias: In a fascinating twist, NES also flagged a neuron related to "background markings" on the petri dishes. This revealed a finite-sample design error where certain dishes were accidentally correlated with the treatment group. This demonstrates NES's powerful utility as a tool for "debugging" scientific experiments.

Key Insights and Future Directions

This work frames SAEs not merely as Explainable AI (XAI) tools, but as vital measurement devices for previously unmeasurable latent variables. By using statistical stratification to disentangle effects post-hoc, NES avoids the notoriously difficult task of forcing models to learn perfectly disentangled representations during training.

While promising, the framework has limitations. It relies on the Foundation Model's ability to "see" the affected behavior; if a treatment causes an invisible chemical change, NES cannot detect it. Furthermore, it currently relies on the Linear Representation Hypothesis and is optimized for discrete outcomes. Extending NES to handle continuous, fluid behaviors remains an exciting frontier for future research. Ultimately, this empiricist shift allows scientists to discover putative detectors for attributes they hadn't even considered, paving the way for data-driven scientific breakthroughs.

Summary updated

BibTeX
@inproceedings{mencattini2026exploratory,
  author = {Tommaso Mencattini and Riccardo Cadei and Francesco Locatello},
  title = {{Exploratory Causal Inference in SAEnce}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=Ml8t8kQMUP},
}
Figure