# When Reconstruction Is Not Enough: Doubly Robust Counterfactual and Interventional Mediation Analysis with Learned Multimodal Representations

arXiv: https://arxiv.org/abs/2610.30220 · HTML: https://mlsanity.com/paper/2610.30220/

## Key facts

- No citing papers in the map yet (data through 26 Nov 2026).
- Builds on 19 of its 45 references that are in the map.
- Submitted 21 Oct 2026.

## Builds on (most cited first, 19 of 19)

- [Adapting Neural Networks for the Estimation of Treatment Effects](https://mlsanity.com/paper/1906.02120/) (2019)
- [External Validity: From Do-Calculus to Transportability Across Populations](https://mlsanity.com/paper/1503.01603/) (2015)
- [Using simulation studies to evaluate statistical methods](https://mlsanity.com/paper/1712.03198/) (2017)
- [Bounds on Representation-Induced Confounding Bias for Treatment Effect Estimation](https://mlsanity.com/paper/2311.11321/) (2023)
- [Extending inferences from a randomized trial to a new target population](https://mlsanity.com/paper/1805.00550/) (2018)
- [Machine learning for causal inference: on the use of cross-fit estimators](https://mlsanity.com/paper/2004.10337/) (2020)
- [Challenges in Obtaining Valid Causal Effect Estimates with Machine Learning Algorithms](https://mlsanity.com/paper/1711.07137/) (2017)
- [Causal Mediation Analysis with Hidden Confounders](https://mlsanity.com/paper/2102.11724/) (2021)
- [DeepMed: Semiparametric Causal Mediation Analysis with Debiased Deep Learning](https://mlsanity.com/paper/2210.04389/) (2022)
- [Non-parametric efficient causal mediation with intermediate confounders](https://mlsanity.com/paper/1912.09936/) (2019)
- [Efficient adjustment for complex covariates: Gaining efficiency with DOPE](https://mlsanity.com/paper/2402.12980/) (2024)
- [Causal Mediation Analysis with Multi-dimensional and Indirectly Observed Mediators](https://mlsanity.com/paper/2306.07918/) (2023)
- [Nonparametric inference for interventional effects with multiple mediators](https://mlsanity.com/paper/2001.06027/) (2020)
- [MediEncoder: Nonlinear Representation Learning for High-Dimensional Causal Mediation Analysis](https://mlsanity.com/paper/2606.30648/) (2026)
- [AI-Assisted Causal Inference and Mediation Analyses of Environmental and Psychosocial Determinants of Subjective Cognitive Difficulties in the All of Us Research Program](https://mlsanity.com/paper/2607.22640/) (2026)
- [AI-driven Multimodal Representation Learning for Latent Mediation Structure Discovery of Socioeconomic Disadvantage, Psychosocial Factors, and Cardiometabolic Multimorbidity: Insights from the All of Us Research Program](https://mlsanity.com/paper/2608.04016/) (2026)
- [Causal Inference under Interference with Learned Exposure Mappings](https://mlsanity.com/paper/2608.19224/) (2026)
- [When Prediction Error Is Not Enough: Evaluating Nuisance-Function Prediction for Causal Estimation](https://mlsanity.com/paper/2609.00071/) (2026)
- [Different representation learning objectives recover distinct latent structures from the same psychometric data](https://mlsanity.com/paper/2609.00100/) (2026)

## Abstract (arXiv)

Learned representations of high-dimensional multimodal health records are increasingly used to adjust for confounding, yet they are usually trained to reconstruct the data rather than preserve the information that causal identification requires. We study counterfactual outcomes under alternative treatments, including phenotype-specific effects and patient-level counterfactual risk profiles of the kind digital twins provide, and interventional direct and indirect effects under exposure-induced intermediate confounding. We give conditions under which a representation preserves identification and show that interventional mediation is more demanding than counterfactual comparison. We prove that no covariate-only training objective, whether reconstruction, contrastive, or physics-informed, can certify that a representation is sufficient, and that, in a linear structural model, a representation can lose arbitrarily little reconstruction accuracy yet induce arbitrarily large bias. We decompose the error of cross-fitted doubly robust estimators into a first-order representation bias, which neither double robustness nor cross-fitting removes, and a second-order remainder of nuisance-estimation errors, so coverage worsens as the sample size grows when the representation is insufficient. We propose a workflow combining modality-specific variational autoencoders trained outside the estimation sample, cross-fitted doubly robust estimators, locked phenotypes, select-then-confirm pathway analysis, portable representations, and diagnostics for representation insufficiency, exposure leakage, and sensitivity. In simulations, discarding a rare, moderately strong confounder gave indirect-effect intervals with 2% coverage at n = 3,000; reconstruction loss missed the problem, and a simple predictive diagnostic flagged it in every replicate.
