The Confounder Trap: Treatment-Encoding Representations in Causal Inference with Text
Abstract
Estimating causal effects of linguistic properties from observational text is difficult because the same document can contain both the treatment of interest and the non-treatment textual attributes needed for adjustment. Existing approaches often learn representations from the full text to capture latent confounding, but when treatment status is itself encoded by words in the text, these representations can directly encode treatment. This creates a confounder trap: richer representations can make treated and control documents separable, inducing overlap violations even when the underlying causal problem satisfies overlap. We study latent text treatments that are encoded through lexicons or other treatment-defining lexical information, and propose masking-based adjustment representations that remove this lexical treatment signal before representation learning. We formalize representation-induced overlap failure, prove that deletion masking preserves overlap for bag-of-words/topic-model representations, and characterize replacement masking as a natural relaxation for large language models that hides treatment-defining tokens while preserving word order and context. Across simulations, masking improves overlap diagnostics, stabilizes treatment effect estimates, and reduces bias relative to adjustment methods that learn from the unmasked text.
Create a lesson
Metadata
- Categories
- stat.ME, cs.CL, stat.AP, stat.ML
Related papers
Estimating Heterogeneous Treatment Effects for Spatio-Temporal Causal Inference
Shared title terminologystat.MELingxiao Zhou, Kosuke Imai, Jason Lyall et al.
Is the treatment beneficial? Causal Inference with Ordinal Outcomes: A Bayesian Solution
Shared title terminologystat.MERituparna Dey, Tirthankar Dasgupta
Design-based causal inference for ROC curves
Shared title terminologystat.MEBufan Li, Haoyang Yu
Geodesic Causal Forests: Learning Heterogeneous Treatment Effects for Random Objects
Shared title terminologystat.MEYidong Zhou
Addressing Missing Exposures in Causal Inference: A Practical Guide
Shared title terminologystat.MEMo Wang, Elizabeth A. Stuart, Keith Barnatchez
Asymptotically Efficient Conformal Inference for Individual Treatment Effects under Multivalued Treatments
Shared title terminologystat.MELequn Ge, Gaorong Li, Hui Zhao