Text Rationalization for Robust Causal Effect Estimation

Lijinghua Zhang, Hengrui CaiarXiv 2025 · DOI

Introduction

Estimating causal effects from observational data requires adjusting for confounders—variables that influence both the treatment and the outcome. While high-dimensional text data, such as clinical notes or legal documents, often contains rich confounding information, its use in causal inference is fraught with statistical challenges. Specifically, including every word as a feature often leads to observational-level positivity violations. In these cases, models become overly proficient at predicting treatment assignment based on unique but irrelevant word patterns, resulting in "extreme propensity scores" (probabilities near 0 or 1). These extreme scores cause statistical weights to explode, leading to highly unstable and biased causal estimates.

Figure C: True vs Estimated Propensity scores. The estimated propensity often exhibits extreme values near 0 and 1 compared to the true propensity, indicating positivity violations.

The Confounding-Aware Token Rationalization (CATR) Framework

To address these challenges, the authors introduce Confounding-Aware Token Rationalization (CATR). CATR is designed to extract a sparse subset of "important" words—a rationale—from the text to serve as control variables. By filtering out spurious noise that typically degrades statistical stability, CATR produces causal effect estimates that are more accurate and interpretable.

Figure D: The fraction of extreme propensity scores increases significantly as the proxy dimension grows, highlighting the need for sparse rationalization to maintain statistical validity.

Selector-Predictor Architecture

CATR utilizes a dual-component architecture:

  1. The Selector: A neural network that learns to pick a small rationale from the input text.
  2. The Predictor: An estimation module that uses only the selected tokens to calculate propensity scores and expected outcomes.

The HSIC Penalty

The core innovation of CATR is a penalty term based on the Hilbert-Schmidt Independence Criterion (HSIC). This term enforces the statistical requirement for "unconfoundedness": if the selected rationale captures all necessary confounding information, the residuals of the treatment and the outcome should be independent. By minimizing the HSIC of these residuals during training, the model is forced to pick tokens that satisfy the requirements for accurate causal estimation.

Experimental Evaluation

The framework was evaluated using both semi-synthetic and real-world datasets:

  • Semi-synthetic MIMIC-III: Clinical notes were paired with simulated treatments and outcomes based on specific keywords, providing a ground truth for bias measurement.
  • Real-world MIMIC-III Sepsis Cohort: This study examined ICU patients where the treatment was IV fluid therapy and the outcome was ICU readmission, testing the model in a complex clinical environment.

Key Results and Insights

CATR demonstrates significant improvements over baseline models like CausalBERT and DragonNet:

  • Reduced Instability: In the sepsis study, CATR achieved a 0% clipping fraction, meaning no samples produced unusable extreme propensity scores. In contrast, CausalBERT's clipping fraction exceeded 20%.
  • Higher Accuracy: In synthetic tests, CATR’s confidence intervals covered the true effect 90% of the time, a stark improvement over CausalBERT (13.5%) and DragonNet (16.5%).
  • Better Overlap: The Effective Sample Size (ESS) Ratio, which measures the overlap between treatment and control groups, was 0.85 for CATR, compared to 0.21 for structured-only models.

Conclusion

CATR highlights that in causal inference, "less is more." By focusing on a subset of relevant tokens, the model avoids the pitfalls of high-dimensional "redundant proxies" that create artificial separation between groups. Furthermore, the resulting rationales (e.g., sepsis, hypotension) provide clinicians with interpretable evidence that the model is controlling for medically sound factors. Future work will explore more complex non-linear causal structures and post-hoc calibration to further refine propensity estimation.

Summary updated

BibTeX
@misc{zhang2025text,
  author = {Lijinghua Zhang and Hengrui Cai},
  title = {{Text Rationalization for Robust Causal Effect Estimation}},
  year = {2025},
  eprint = {2512.05373},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.05373},
}
Figure