Authors: Adel Daoud, Richard Johansson, and Connor T. Jerzak
What is this paper about?
This paper studies treatment leakage, a source of bias that can arise when researchers use text as a proxy for unobserved confounders in causal inference. Treatment leakage occurs when the same text that captures confounding information also reveals treatment status, causing researchers to adjust for information that behaves like a post-treatment variable.
TL;DR: Text can help adjust for unobserved confounding, but it can also leak treatment information; this paper shows how to detect, reduce, and report that risk.
Why treatment leakage matters in text-based causal inference
Researchers often treat documents, policy reports, medical notes, administrative records, or social media posts as rich proxies for variables they cannot observe directly. This strategy becomes fragile when those documents also contain language that predicts, describes, or anticipates the treatment itself.
The paper’s key insight is that pre-treatment text is not automatically safe. Because people can write about future plans, expected interventions, or pending decisions, a document created before treatment assignment can still contain treatment information.
What does the paper contribute?
- A formal definition of treatment leakage: The paper clarifies when text contains treatment-predictive information that can bias causal estimates.
- A framework for text distillation: The authors define distillation as the process of removing treatment-related signal from text while preserving information about unobserved confounders.
- Four practical distillation methods: The paper evaluates passage-level and representation-level methods for reducing leakage.
- A sensitivity-analysis workflow: Instead of reporting one potentially contaminated estimate, researchers can report how estimates change across distillers and stringency levels.
- Empirical validation: The paper tests the framework with synthetic text simulations and an application to IMF policy documents and child-health outcomes.
Which text distillation methods does the paper study?
The paper compares methods that remove treatment-related language before causal estimation. Each method makes different assumptions about where leakage appears and how visible it is in the text.
| Method | Level | Best suited for | Main limitation |
|---|---|---|---|
| Similarity-based passage removal | Passage | Cases with known examples of treatment-related language | Requires treatment exemplars and assumes leakage is localized in passages |
| Distant-supervision passage classification | Passage | Cases where document-level treatment labels can help identify treatment-heavy passages | Can confuse treatment-caused language with language correlated through confounding |
| Salient feature removal | Representation | Topic models or other feature representations with treatment-predictive components | May remove useful confounder information when treatment and confounding signals overlap |
| Iterative nullspace projection | Representation | High-dimensional text representations where treatment signal appears in linear directions | Requires careful tuning so the projection does not erase confounding signal |
What is the main finding?
The paper finds that moderate distillation works better than either lax or overly aggressive distillation. Lax distillation leaves treatment leakage in the text. Aggressive distillation can remove the very confounding information that made the text useful in the first place.
In the IMF application, text adjustment changes the substantive conclusions relative to tabular controls alone. The treatment-leakage sensitivity analysis suggests that vaccination effects remain positive across distillation choices, while the mortality results remain more uncertain.
When should researchers use treatment-leakage sensitivity analysis?
Researchers should use treatment-leakage sensitivity analysis whenever text serves as a proxy for unobserved confounding and might also encode treatment assignment. Common examples include policy documents, administrative narratives, clinical notes, agency reports, and texts that refer to planned or anticipated interventions.
This workflow is especially useful when researchers suspect leakage but cannot directly observe which parts of the text were caused by treatment.
When can text distillation backfire?
Text distillation can backfire when the text contains confounder information but no true treatment leakage. In that case, a distiller may remove language that predicts treatment only because the confounder predicts treatment, not because treatment caused the language.
The paper therefore treats distillation as a design and sensitivity-analysis problem, not as an automatic fix. Researchers need domain knowledge to justify why the text may contain both confounding signal and treatment-related leakage.
Who should read this paper?
- Researchers using text as a proxy for unobserved confounders
- Computational social scientists estimating causal effects from observational data
- NLP researchers building representations for causal inference
- Applied researchers working with policy documents, medical records, administrative text, or institutional reports
- Methodologists interested in post-treatment bias, proxy adjustment, and sensitivity analysis
FAQ: treatment leakage and text distillation
What is treatment leakage?
Treatment leakage occurs when text used for confounding adjustment also contains information about treatment status. When researchers condition on that text, they may introduce post-treatment or collider bias into the causal estimate.
Why can pre-treatment documents still leak treatment information?
Human language can refer to future actions. A document written before treatment assignment can still say that an intervention is planned, expected, or likely, which means it can reveal treatment status before treatment occurs.
What is text distillation?
Text distillation is a preprocessing or representation-learning step that tries to remove treatment-predictive content from text while preserving information about unobserved confounders.
What does treatment-leakage sensitivity analysis report?
Treatment-leakage sensitivity analysis reports how causal estimates change across different distillation methods and stringency levels. Stable estimates increase confidence; unstable estimates signal that leakage or over-distillation may affect the result.
References
Adel Daoud, Richard Johansson, and Connor T. Jerzak. Detecting and Mitigating Treatment Leakage in Text-Based Causal Inference: Distillation and Sensitivity Analysis. Arxiv Preprint, 2026
[PDF] [BibTeX]
Related Work
Samuel Balter, Ethan Jerzak, Connor T. Jerzak. Multiplication in Multimodal LLMs: Computation with Text, Image, and Audio Inputs. Findings of the Association for Computational Linguistics (ACL), 2026
[PDF] [BibTeX]
[Overview] [Data] [>]
Nicolas Audinet de Pieuchon, Adel Daoud, Connor T. Jerzak, Moa Johansson, Richard Johansson. Benchmarking Debiasing Methods for LLM-based Parameter Estimates. Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing (EMNLP), 2025.
[PDF] [BibTeX]
[Overview] [Video] [Data] [>]
Satiyabooshan Murugaboopathy, Connor T. Jerzak, Adel Daoud. Platonic Representations for Poverty Mapping: Unified Vision-Language Codes or Agent-Induced Novelty? Proceedings of the 7th International Conference on Social Computing (ICSC 2026), of Communications in Computer and Information Science, Springer Nature, 2026.
[PDF] [BibTeX]
[Overview] [Video] [Data]
Brian Libgober, Connor T. Jerzak. Linking Datasets on Organizations Using Half-a-Billion Open-Collaborated Records. Political Science Research and Methods: 1-20, 2024.
[PDF] [BibTeX]
[Overview] [Data] [Code] [>]
Connor T. Jerzak, Gary King, Anton Strezhnev. An Improved Method of Automated Nonparametric Content Analysis for Social Science. Political Analysis, 31(1): 42-58, 2023.
[PDF] [BibTeX]
[Overview] [Data] [Code] [>]
Adel Daoud, Connor T. Jerzak, Richard Johansson. Conceptualizing Treatment Leakage in Text-based Causal Inference. Proceedings of the Annual Conference of the North American Chapter of the Association for Computational Linguistics (NAACL): 5638-5645, 2022.
[PDF] [BibTeX]
[Overview] [Video] [>]
Nicolas Audinet de Pieuchon, Adel Daoud, Connor T. Jerzak, Moa Johansson, Richard Johansson. Can Large Language Models (or Humans) Disentangle Text? Proceedings of the Sixth Workshop on Natural Language Processing and Computational Social Science (NLP+ CSS 2024): 57-67, 2024.
[PDF] [BibTeX]
[Overview] [Data] [Code] [>]