Inductive Biases for Disentangled Representation Learning with Correlated Treatment--Nuisance Factors

Luka Kovačević, Sara-Jane Dunn, Hagen Triendl, Lindsay Edwards, Sach Mukherjee, John C Whittaker, Thomas GaudeletCauScien @ NeurIPS 2025

TL;DR

This paper tackles the challenge of disentangling treatment effects from nuisance factors in experimental data, especially when these factors are correlated. They propose a novel framework that adapts Variational Autoencoders (VAEs) by incorporating "inductive biases" inspired by classical experimental design principles, leading to more robust and interpretable representation learning for scientific applications.

What Problem Does This Paper Address?

In scientific experiments, understanding the true effect of a treatment is paramount. However, experimental outcomes are often influenced by other factors, termed "nuisance factors" (e.g., experimental batch, time of day). Ideally, these nuisance factors should be independent of the treatment assignment to avoid confounding. When they are correlated, it becomes difficult to isolate the treatment's true impact, leading to misinterpretations and poor generalization of findings. While classical experimental design methods have long addressed this through techniques like blocking, integrating these principles into modern deep generative models, particularly Variational Autoencoders (VAEs) for representation learning, remains an underexplored area. This paper aims to bridge this gap by developing VAEs that can handle correlated treatment-nuisance factors by leveraging insights from experimental design.

Methods

The core of the paper's contribution lies in adapting Variational Autoencoders (VAEs) to respect the structure of experimental designs, specifically those with correlated treatment-nuisance factors. They introduce two key "inductive biases" inspired by classical block designs:

  • Stop-gradients with Reference Treatments: In experimental designs where a "reference treatment" is consistently applied across different nuisance factor levels (e.g., a control group across different batches), this method uses a stop-gradient operator. This effectively freezes the updates to the nuisance latent representation unless the data point involves the reference treatment. The intuition is that only the reference treatment provides a reliable signal to disentangle nuisance effects without being confounded by the treatment itself.
  • Independence Constraints with Reference Treatments: Instead of applying a general independence constraint between treatment and nuisance latents (which would be invalid in correlated designs), this approach restricts the independence penalty to only apply to samples involving the reference treatment. This anchors the disentanglement process to the reliable reference treatment, preventing spurious independence assumptions on confounded pairs.

These methods are integrated into an identifiable VAE (iVAE) framework, which already provides guarantees on disentanglement under certain conditions.

Datasets

The primary dataset used for evaluation is the LINCS L1000 dataset. This is a large-scale transcriptional profiling dataset that measures gene expression across thousands of perturbations (treatments) and multiple cell lines. The dataset is noted to have an incomplete block design, meaning not all treatment-nuisance pairs are observed, and it includes a reference treatment (control). The authors use perturbations as treatments and cell-line labels as covariates, while batches are treated as nuisance factors.

Key Insights and Ideas

  • Experimental Design Principles are Crucial for ML: The paper strongly advocates for grounding machine learning methods in established scientific principles like experimental design. This is not just about applying ML to scientific data, but about letting scientific structure inform ML model design.
  • Correlation is the Enemy of Simple Disentanglement: The core challenge is that when treatment and nuisance factors are correlated, standard assumptions of independence in representation learning break down. The paper shows how this correlation can lead to entanglement of latent representations.
  • Reference Treatments are Powerful Anchors: The concept of a reference treatment in experimental design is shown to be a valuable tool for disentanglement in ML. It provides a consistent signal that can be leveraged to reliably separate treatment and nuisance effects.
  • Aggressive Disentanglement Can Hurt Predictive Performance: While the proposed methods aim for better disentanglement, the paper also highlights a trade-off: overly aggressive disentanglement can sometimes lead to a decrease in predictive accuracy, suggesting a need for careful tuning and understanding of the specific experimental context.

Key Results

  • The proposed methods, particularly the combination of stop-gradients and reference-based independence constraints, show improved disentanglement as measured by the Treatment Factor Rank Importance (T-FRI) metric.
  • While the baseline iVAE achieves good overall performance (low RMSE and rank error), the proposed inductive biases improve the separation of treatment and nuisance latents.
  • The paper demonstrates that applying general independence constraints without considering the experimental structure can degrade performance.
  • The combination of stop-gradient and reference-based independence constraints (sg(.) with Dref(·)) showed more stable results and outperformed other configurations on average for disentanglement metrics.

Limitations and Future Work

  • Generalizability to Other Designs: The current work focuses on block designs with reference treatments. Future work could explore adapting these inductive biases to other experimental designs.
  • Latent Dimension Dropout: The authors suggest that latent dimension dropout could further aid disentanglement and plan to investigate this in future work.
  • Partial Control over Block Structure: Practitioners often have some control over experimental design. Bridging experimental design planning with causal representation learning is a promising avenue.
  • Synthetic and Single-Cell Data: The authors plan to expand experiments to include synthetic datasets, single-cell interventional datasets, and models using adversarial losses and latent additive architectures.
  • Trade-off between Disentanglement and Prediction: The paper acknowledges that aggressive disentanglement can sometimes reduce predictive accuracy. Future work might explore methods to better balance these objectives.

Summary updated

BibTeX
@inproceedings{kovacevic2025inductive,
  author = {Luka Kovačević and Sara-Jane Dunn and Hagen Triendl and Lindsay Edwards and Sach Mukherjee and John C Whittaker and Thomas Gaudelet},
  title = {{Inductive Biases for Disentangled Representation Learning with Correlated Treatment--Nuisance Factors}},
  booktitle = {CauScien @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=xGWiPZJ0pZ},
}
Figure