Exploratory Causal Inference in SAEnce

Tommaso Mencattini, Riccardo Cadei (ISTA), Francesco Locatello (Supervisor · ISTA)

International Conference on Learning Representations 2026 · Oral

Overview

The talk "Exploratory Causal Inference in SAEnce" by Riccardo Cadei, Tommaso Mencattini, and their supervisor Francesco Locatello from ISTA addresses a fundamental challenge in scientific discovery: identifying latent causal effects from complex observational data when prior hypotheses are limited or non-existent. Traditional causal inference methods excel at estimating the effect of a predefined treatment on a pre-specified outcome. However, many scientific inquiries, particularly in fields like experimental ecology, demand an exploratory approach to uncover what effects a treatment might have. The researchers tackle this by proposing a novel framework that integrates modern representation learning with a specialized causal inference procedure.

Watch on SlidesLive

Visual summary for Exploratory Causal Inference in SAEnce by Tommaso Mencattini, Riccardo Cadei, Francesco Locatello
Visual summary for Exploratory Causal Inference in SAEnce by Tommaso Mencattini, Riccardo Cadei, Francesco Locatello

Key moments

  1. 0:00 Exploratory causal inference challenge in science
  2. 2:00 Proposed method: mapping observations to interpretable latent space
  3. 4:00 The 'paradox': entanglement leads to misleading false positives
  4. 4:50 Neural Effect Search: mitigating the paradox recursively
  5. 6:00 Algorithm validation and real-world application results
  6. 7:00 Unsupervised discovery of effects and experimental error
  7. 8:00 Broader impact and Q&A on entangled behaviors

Exploratory Causal Inference in SAEnce

Speakers: Tommaso Mencattini; Riccardo Cadei (ISTA); Francesco Locatello (ISTA)

Conference: ICLR 2026

YouTube: https://slideslive.com/39062082

Overview

The talk "Exploratory Causal Inference in SAEnce" by Riccardo Cadei, Tommaso Mencattini, and their supervisor Francesco Locatello from ISTA addresses a fundamental challenge in scientific discovery: identifying latent causal effects from complex observational data when prior hypotheses are limited or non-existent. Traditional causal inference methods excel at estimating the effect of a predefined treatment on a pre-specified outcome. However, many scientific inquiries, particularly in fields like experimental ecology, demand an exploratory approach to uncover what effects a treatment might have. The researchers tackle this by proposing a novel framework that integrates modern representation learning with a specialized causal inference procedure.

Motivated by a real-world collaboration with experimental ecologists studying social immunity in ants, the project aims to map intricate post-treatment observations (e.g., video recordings of ant colonies) into an interpretable representation space. While advanced models like Vision Transformers and sparse autoencoders can generate such representations, the core innovation lies in addressing a critical pitfall the authors term the "paradox of exploratory causal inference." This paradox highlights how even seemingly well-aligned latent representations can lead to an explosion of false positives during multiple hypothesis testing due to subtle entanglement between latent features.

To overcome this, the team introduces Neural Effect Search (NES), a recursive, conditioning-based algorithm designed to consistently identify true latent treatment effects. NES not only mitigates the precision collapse seen in naive approaches but also enables unsupervised discovery of known biological phenomena and, crucially, the identification of hidden experimental design flaws. This work positions modern representation learning as a powerful and valid measurement model for scientific experimentation, pushing the boundaries of automated scientific discovery.

Background

▶ Watch: Exploratory causal inference challenge in science (0:00)

Scientific research often begins with a question about cause and effect. In a classic causal inference setup, researchers typically formulate a specific hypothesis: "Does treatment A cause outcome B?" They then design experiments (e.g., randomized controlled trials) to estimate the treatment effect on that pre-defined outcome. For instance, in the motivating example of ant social immunity, if ecologists had a strong prior that a pathogen exposure would specifically affect "grooming activity," they could manually annotate grooming instances in videos and then statistically test for an effect. This approach, while robust, is constrained by the need for explicit, exhaustive prior knowledge about the potential outcomes.

However, many scientific domains, especially those dealing with complex, high-dimensional data like video recordings of animal behavior or genetic expression profiles, face a different kind of challenge: the absence of comprehensive prior knowledge. Scientists may know a treatment was applied but have little to no idea what effects it might induce in the system. Their task becomes exploratory – to discover novel, latent effects that might not be immediately obvious or easily quantifiable through manual annotation. This is where the limitations of traditional causal inference become apparent; it's not designed for open-ended discovery of unknown effects.

The advent of powerful representation learning techniques offers a promising avenue. Models like Vision Transformers (e.g., DINO) can extract rich, high-level features from raw data, transforming complex observations (like video frames) into a more manageable latent space. Further, techniques like sparse autoencoders (SAEs) are often employed with the hope of generating sparse, disentangled representations where individual "neurons" or latent dimensions correspond to interpretable concepts. The intuition is that if these latent dimensions are truly interpretable, one could simply test for treatment effects on each dimension, effectively creating a "dictionary" of potential effects.

Yet, as the authors elucidate, the naive application of these representation learning tools to exploratory causal inference is fraught with peril. Even if a sparse autoencoder neuron primarily captures a specific concept (what they call "principal alignment"), it rarely captures it exclusively. Subtle correlations or "entanglement" with other concepts or neurons are almost inevitable in complex systems. This entanglement becomes the root cause of the "paradox of exploratory causal inference," posing a significant hurdle to reliable, unsupervised scientific discovery.

Key Findings

▶ Watch: The 'paradox': entanglement leads to misleading false positives (4:00)

The central contribution of this work is the identification and mitigation of the "paradox of exploratory causal inference." The authors demonstrate that even when using representations that are largely "principally aligned" – meaning each latent neuron primarily captures a distinct concept – performing multiple hypothesis tests for treatment effects on these neurons can lead to a dramatic collapse in precision (an increase in false positives). This counter-intuitive phenomenon occurs because increasing experimental power (e.g., larger sample sizes or stronger effect sizes) eventually makes even small, entangled signals statistically significant, leading to misinterpretations when these neurons are mapped back to their principal (unrelated) concepts.

To combat this paradox, the researchers propose Neural Effect Search (NES), a novel recursive procedure designed to robustly identify true latent treatment effects. NES works by iteratively selecting the strongest significant effect and then re-estimating effects on remaining neurons while conditioning on previously identified ones. This conditioning step is crucial as it "explains away" signals propagated through entanglement, preventing false positives. The authors provide theoretical backing, showing that NES consistently identifies treatment effects under the assumptions of sufficiency (effects are observable in the data) and principal alignment (neurons primarily capture specific concepts).

The practical validation of NES is compelling. In controlled experiments, NES successfully mitigates the precision collapse observed with vanilla multiple testing, maintaining high accuracy in identifying true effects even as experimental power increases. More impressively, in a real-world application involving ant social immunity experiments:

  1. NES, operating on 4000+ potential hypotheses (sparse autoencoder neurons), identified a neuron corresponding to grooming activity. This finding was not only qualitatively validated by domain experts but also quantitatively confirmed by its strong predictive power for a manually and expensively annotated dataset of grooming behavior, demonstrating NES's capability for unsupervised rediscovery of known biological effects.
  2. NES also uncovered a subtle but critical experimental design error: a spatial bias in the experimental setup where certain treatment conditions were inadvertently correlated with specific physical locations in the recording environment. While this particular error fortunately did not invalidate the biological conclusions of the ant experiment, it highlights NES's potential as a powerful quality control mechanism, capable of detecting hidden biases that could otherwise lead to spurious scientific findings.

These findings collectively establish NES as a robust methodology for enabling exploratory causal inference in scientific contexts, leveraging modern representation learning while overcoming its inherent challenges.

Technical Deep Dive

▶ Watch: Neural Effect Search: mitigating the paradox recursively (4:50)

The core technical challenge addressed in this work is how to reliably perform exploratory causal inference when observations are complex and high-dimensional, and prior knowledge about specific outcomes is limited. The proposed solution involves a two-stage process: first, generating an interpretable latent representation of the observations, and second, applying a specialized causal inference algorithm, Neural Effect Search (NES), to this representation.

1. Representation Learning for Interpretability:

The first step is to transform raw, complex post-treatment observations (e.g., video recordings of ant colonies) into a more structured, interpretable format. The authors propose a pipeline:

  • Feature Extraction: Raw video frames are processed by a pre-trained Vision Transformer model, specifically DINO (Self-Distillation with No Labels). DINO is known for learning powerful, semantically rich visual features in an unsupervised manner, embedding images into a high-dimensional latent space. This step captures the intricate details of ant behavior.
  • Sparsification and Concept Alignment: The DINO embeddings are then fed into a sparse autoencoder. The autoencoder is trained to reconstruct its input while enforcing sparsity constraints on its bottleneck (latent) layer. The hope is that this sparsity encourages individual "neurons" or dimensions in the latent space to become "principally aligned" – meaning each neuron ideally activates primarily in response to a specific, discernible concept (e.g., "grooming," "feeding," "resting," "spatial location"). This creates the "dictionary" of interpretable concepts. For the ant experiment, this process generated over 4000 such "hypotheses" or neurons.

2. The Paradox of Exploratory Causal Inference:

With this interpretable representation, a naive approach to exploratory causal inference would be to simply test for a treatment effect on each neuron individually. For example, one could perform a statistical test (like an independent samples t-test or ANOVA) comparing the average activation of a specific neuron in the treated group versus the control group. If a neuron shows a significant effect, it would be interpreted based on the concept it principally captures.

However, the authors demonstrate a critical flaw in this naive approach, which they call the "paradox of exploratory causal inference." This paradox arises from the inherent "entanglement" within even principally aligned representations. Let's assume a true treatment effect exists only on "grooming activity," and neuron Z1 principally captures grooming. While Z1 will show a strong effect, it's highly probable that other neurons (Z2, Z3, etc.), which principally capture other concepts, might also show a small, albeit non-principal, activation related to grooming due to subtle correlations or shared variance in the latent space. As experimental power increases (larger sample sizes or stronger treatment effects), these small, entangled signals in Z2, Z3 will eventually become statistically significant. If Z2 is principally aligned with "feeding" and Z3 with "resting," then a naive interpretation would falsely conclude that the treatment also affects feeding and resting, leading to a cascade of false positives and a drastic drop in the precision of findings.

3. Neural Effect Search (NES) Algorithm:

To overcome this paradox, the authors propose Neural Effect Search (NES), a recursive, conditioning-based procedure:

  • Step 1: Initial Scan and Selection: The algorithm begins by performing a statistical test for treatment effects on all individual neurons in the sparse autoencoder's latent space. From the set of neurons that show a statistically significant effect, NES selects the neuron with the largest magnitude of effect. This neuron, say Z_k, is added to the set of identified effects.
  • Step 2: Conditioning and Re-estimation: In the subsequent iteration, instead of simply re-testing the remaining neurons, NES re-estimates the treatment effects on all other neurons by explicitly conditioning on the neuron(s) already identified in previous steps. This means, for example, incorporating Z_k as a covariate in a regression model when testing other neurons. The purpose of this conditioning is to "explain away" any signal that might be propagated from Z_k to other entangled neurons. If a neuron Z_j previously showed a significant effect due to its entanglement with Z_k, conditioning on Z_k should reduce or eliminate Z_j's apparent significance if Z_j does not have an independent treatment effect.
  • Step 3: Iteration: Steps 1 and 2 are repeated. From the remaining neurons, the one with the largest significant effect (after conditioning) is selected, and added to the identified set. This process continues until no further neurons show a statistically significant treatment effect after conditioning on all previously selected neurons.

The theoretical underpinning of NES is that, under the assumptions of sufficiency (latent effects are present in the data and captured by the representation) and principal alignment (each neuron primarily captures a specific concept), this recursive conditioning procedure is consistent. This means that as the sample size of the experiment increases, NES will correctly identify the true latent treatment effects, effectively distinguishing between genuine effects and those arising from representational entanglement.

Experimental Setup & Results

▶ Watch: Unsupervised discovery of effects and experimental error (7:00)

The validation of the proposed methodology, particularly Neural Effect Search (NES), was conducted through both controlled experiments and a real-world application.

Controlled Experiments:

The authors first evaluated NES against traditional multiple testing approaches in controlled settings. While the transcript does not detail the specific datasets or simulation parameters for these controlled experiments, it highlights a crucial finding:

  • Vanilla Multiple Testing Failure: As experimental power increased (either by increasing the sample size of the experiment or the magnitude of the true effect size), vanilla multiple testing suffered from a "precision collapse." This counter-intuitive result means that while more effects might be detected, the proportion of true effects among the detected ones (precision) drastically dropped. This directly illustrates the "paradox of exploratory causal inference," where entanglement leads to an increasing number of false positives with higher power.
  • NES Mitigation: NES was shown to effectively mitigate this precision collapse. By employing its recursive conditioning procedure, NES maintained significantly higher precision, ensuring that the identified effects were genuinely causal and not artifacts of representational entanglement.

Real-World Application: Ant Social Immunity:

The primary real-world validation involved experiments conducted by the researchers' collaborating experimental ecologists studying social immunity in ants.

  • Experimental Design: Ant colonies were subjected to a specific treatment (pathogen exposure or control).
  • Data Collection: The post-treatment observations consisted of complex video recordings of ant behavior.
  • Representation Learning: The raw video data was first processed by a pre-trained DINO (Vision Transformer) model to extract rich visual features. These features were then used to train a sparse autoencoder, yielding over 4000 individual neuron activations as potential "hypotheses" or interpretable concepts.
  • NES Application: NES was applied to these 4000+ hypotheses to identify latent treatment effects.
  • Results: NES remarkably selected just two neuron activations as significant effects.
  1. First Neuron – Grooming Activity: The first identified neuron was interpreted as corresponding to grooming activity. This interpretation was validated in two ways:
  • Qualitative Validation: Discussions with domain experts (the experimental ecologists) confirmed that the activation patterns of this neuron aligned with their understanding of ant grooming behavior.
  • Quantitative Validation: Crucially, the same research group had, two years prior, manually and expensively annotated a dataset for grooming activity. The neuron identified by NES was found to be the most predictive of this manually annotated grooming activity among all 4000+ neurons. This demonstrates NES's ability to unsupervisedly rediscover previously known and biologically validated causal effects, a significant achievement given the high cost of manual annotation.
  1. Second Neuron – Experimental Design Error: The second neuron identified by NES revealed a critical experimental design error. It was discovered that this neuron's activation correlated with a specific spatial position within the experimental recording setup. By chance, all ants placed in this particular position were treated in the same way (e.g., all received the pathogen or all were controls).
  • Impact: Fortunately, in this specific instance, the experimental design error had "no consequences on the validity of the experiment" from a biological standpoint. However, the discovery underscores NES's profound utility: it can detect subtle, unintended biases in experimental setups that could otherwise lead to spurious findings or misinterpretations in other real-world applications. This capability serves as an invaluable quality control mechanism for scientific research.

In summary, the experimental results demonstrate that NES successfully addresses the precision collapse issue, enables unsupervised discovery of biologically meaningful effects consistent with prior knowledge, and provides a powerful tool for identifying and rectifying experimental biases.

Practical Implications

▶ Watch: Broader impact and Q&A on entangled behaviors (8:00)

The "Exploratory Causal Inference in SAEnce" framework, particularly the Neural Effect Search (NES) algorithm, carries profound practical implications for a wide range of practitioners and researchers across scientific and engineering disciplines:

  • Empowering Exploratory Scientific Discovery: For experimental scientists, particularly in fields like biology, ecology, neuroscience, or social sciences, NES provides a robust methodology to move beyond hypothesis testing to hypothesis discovery. Researchers can explore complex systems and identify latent treatment effects without needing to formulate exhaustive, specific priors or rely on expensive, manual annotations of all possible outcomes. This accelerates the pace of discovery and uncovers insights that might otherwise remain hidden. For instance, an ecologist studying the effects of an environmental change might identify novel behavioral patterns or physiological responses without needing to know a priori what to look for.
  • Valid Measurement Model for Modern ML: The work establishes modern representation learning techniques (like DINO and sparse autoencoders) as valid and reliable measurement models for scientific experiments. This is crucial for bridging the gap between advanced ML capabilities and the rigorous demands of the scientific method. It provides a principled way to extract interpretable, causally relevant information from raw, high-dimensional data, transforming neural network activations into actionable scientific insights.
  • Enhanced Reliability and Precision: For model builders and infra teams deploying ML for scientific applications, NES offers a solution to a fundamental problem: the entanglement of latent representations. By mitigating the "paradox of exploratory causal inference" and preventing precision collapse, NES ensures that the identified causal effects are robust and less prone to false positives. This increases trust in ML-driven scientific findings and reduces the risk of drawing incorrect conclusions from complex models.
  • Automated Quality Control and Error Detection: The ability of NES to detect subtle experimental design errors, as demonstrated by the identification of a spatial bias in the ant experiment, is a game-changer for experimental design and validation. Infra teams and research groups can leverage this to automatically audit their experimental setups, identify potential confounding factors, and ensure the integrity of their data collection processes. This could prevent costly re-runs of experiments and improve the reproducibility of scientific results.
  • Reducing Annotation Burden: By enabling unsupervised discovery of effects (like grooming activity), NES can significantly reduce the need for labor-intensive and expensive manual data annotation. This frees up resources, allowing researchers to focus on higher-level analysis and hypothesis generation rather than tedious data labeling.

Tradeoffs and Limitations:

  • Dependence on Representation Quality: The efficacy of NES is heavily reliant on the quality of the underlying representation learning. The assumptions of "sufficiency" (effects are observable and preserved in the representation) and "principal alignment" (neurons primarily capture specific concepts) are critical. If the sparse autoencoder fails to generate sufficiently disentangled or interpretable features, NES's performance will be limited. This highlights the ongoing need for research into more robust and truly disentangled representation learning methods.
  • Interpretability Requires Domain Expertise: While NES identifies significant neurons, the interpretation of what those neurons mean still often requires collaboration with domain experts. The "dictionary" is generated by the ML model, but its translation into human-understandable scientific concepts requires qualitative validation.
  • Computational Complexity: The recursive conditioning step in NES might introduce additional computational overhead compared to simply running multiple independent statistical tests. For extremely large numbers of neurons or very large datasets, optimizing this aspect could be important.
  • Relaxing Assumptions: As acknowledged by the speaker, there's ongoing work to explore how much the "principal alignment" assumption can be relaxed while still maintaining the consistency guarantees of NES. Perfect monosemanticity (one neuron, one concept) is an ideal often not fully achieved in practice.

In conclusion, NES represents a significant step forward in making modern AI/ML tools truly actionable for scientific discovery, offering a powerful blend of automated analysis, rigorous causal inference, and critical self-correction capabilities.

Key Takeaways

  • The Paradox of Exploratory Causal Inference: Naively applying representation learning for discovering latent treatment effects leads to a "precision collapse" (many false positives) due to subtle entanglement between even "principally aligned" latent features, especially with increasing experimental power.
  • Neural Effect Search (NES) as a Solution: NES is a novel, recursive, conditioning-based algorithm designed to consistently identify true latent treatment effects, effectively mitigating the precision collapse caused by entangled representations.
  • Unsupervised Discovery of Known Effects: NES enables the unsupervised rediscovery of biologically validated phenomena, such as "grooming activity" in ants, aligning with prior, expensively acquired knowledge without manual annotation.
  • Crucial for Experimental Quality Control: The framework can identify subtle but significant experimental design errors or biases (e.g., spatial correlations in treatment application), serving as a powerful, automated quality control mechanism for scientific research.
  • Representation Learning as a Valid Scientific Measurement: This work establishes modern representation learning techniques (like DINO and sparse autoencoders) as a principled and robust measurement model for scientific experiments, enabling data-driven hypothesis generation.
  • Reliance on Representation Quality: The success of NES fundamentally depends on the quality of the underlying representation learning, particularly the assumptions of sufficiency and principal alignment in the generated latent space.

About the Speaker(s)

The talk was presented by Riccardo Cadei of ISTA (Institute of Science and Technology Austria), who led this project. He was joined in this research effort by Tommaso Mencattini, who was visiting ISTA during the project's development. The entire project was supervised by Francesco Locatello, who also holds a supervisory role at ISTA. Their work is characterized by a strong interdisciplinary approach, stemming from a direct collaboration with experimental ecologists, providing a concrete, real-world application for their advanced machine learning and causal inference methodologies.

Reviews

  • Maya Iyer (Theoretical ML Researcher) — MUST SEE ★★★★★
  • Chen Zhao (Applied ML Researcher & Empiricist) — MUST SEE ★★★★★

→ Top-rated talks at International Conference on Learning Representations 2026

All talks from International Conference on Learning Representations 2026