English

Intervening to Learn and Compose Causally Disentangled Representations

Machine Learning 2026-04-03 v2 Machine Learning

Abstract

In designing generative models, it is commonly believed that in order to learn useful latent structure, we face a fundamental tension between expressivity and structure. In this paper we challenge this view by proposing a new approach to training arbitrarily expressive generative models that simultaneously learn causally disentangled concepts. This is accomplished by adding a simple context module to an arbitrarily complex black-box model, which learns to process concept information by implicitly inverting linear representations from the model's encoder. Inspired by the notion of intervention in a causal model, our module selectively modifies its architecture during training, allowing it to learn a compact joint model over different contexts. We show how adding this module leads to causally disentangled representations that can be composed for out-of-distribution generation on both real and simulated data. The resulting models can be trained end-to-end or fine-tuned from pre-trained models. To further validate our proposed approach, we prove a new identifiability result that extends existing work on identifying structured representations.

Keywords

Cite

@article{arxiv.2507.04754,
  title  = {Intervening to Learn and Compose Causally Disentangled Representations},
  author = {Alex Markham and Isaac Hirsch and Jeri A. Chang and Liam Solus and Bryon Aragam},
  journal= {arXiv preprint arXiv:2507.04754},
  year   = {2026}
}

Comments

45 pages, 10 figures; accepted to the 5th conference on Causal Learning and Reasoning (CLeaR)

R2 v1 2026-07-01T03:49:02.061Z