mlsanityData to 7 Oct 2026

The Confounder Trap: Treatment-Encoding Representations in Causal Inference with Text

arXiv 2607.26309 ↗First posted 28 Jul 2026stat.ME cs.CL stat.APcited by 0

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 14 of its 32 references that are in the map. First posted on arXiv 28 Jul 2026.

Builds on

14 of 32 references.

References · 14

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  2. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  3. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
  4. 2023LEACE: Perfect linear concept erasure in closed formcited by 254
  5. 2018How to Make Causal Inferences Using Textscited by 59
  6. 2020Causal Effects of Linguistic Propertiescited by 39
  7. 2018Matching with Text Data: An Experimental Evaluation of Methods for Matching Documents and of Measuring Match Qualitycited by 21
  8. 2019Estimating Causal Effects of Tone in Online Debatescited by 19
  9. 2022Causal Estimation for Text Data with (Apparent) Overlap Violationscited by 15
  10. 2023Leveraging text data for causal inference using electronic health recordscited by 5
  11. 2021Bayesian Topic Regression for Causal Inferencecited by 4
  12. 2022Choosing the Number of Topics in LDA Models -- A Monte Carlo Comparison of Selection Criteriacited by 3
2 more
  1. 2025A Design-based Solution for Causal Inference with Text: Can a Language Model Be Too Large?cited by 2
  2. 2026Using Text-Based Causal Inference to Disentangle Factors Influencing Online Review Ratingscited by 1

Built on by

Not cited yet.