Causal Estimation for Text Data with (Apparent) Overlap Violations

Lin Gui, Victor Veitch

Introduction

Estimating the causal effect of text attributes—such as the "politeness" of an email on response time—is a complex challenge. In observational data, confounding variables like the email's topic or complexity can obscure the true causal relationship. While modern NLP typically uses transformers to adjust for the entire text, this introduces a theoretical impossibility known as an "overlap violation."

This paper introduces the Treatment Ignorant (TI) estimator, a novel method that bypasses this violation. By using supervised representation learning to distill text into a low-dimensional "confounding score," the TI-estimator achieves robust, low-bias causal estimates that outperform standard deep learning approaches.

The Challenge: Confounding and Overlap Violations

To find the true causal effect of a treatment (e.g., politeness) on an outcome (e.g., response time), researchers must adjust for confounding factors. For instance, polite emails might predominantly address simple topics, while rude ones tackle complex technical issues.

Causal inference relies on the overlap condition: for any given set of features, there must be a non-zero probability that a subject could have received either treatment. However, if the treatment (politeness) is an inherent property of the text, and you adjust for the entire text using a high-dimensional model like a transformer, the treatment becomes perfectly predictable (probability 0 or 1). This perfectly deterministic relationship is an "overlap violation," which theoretically renders causal identification impossible.

The TI-Estimator Approach

The authors resolve this "apparent" violation by recognizing that while the treatment is deterministic given the full text, it is not deterministic given a sufficient statistic for confounding. They propose a two-stage procedure:

  1. Supervised Representation Learning (Q-Net): Instead of adjusting for the high-dimensional text $X$ directly, a model (based on the Dragonnet architecture) is trained to predict the outcome $Y$. This model outputs a two-dimensional vector $\eta(X) = [Q_0(X), Q_1(X)]$, representing the expected outcomes if the text were untreated versus treated.
  2. Information Filtering: This 2D vector contains the necessary confounding information but filters out data that only predicts the treatment, effectively restoring the overlap condition.
  3. Double Machine Learning (DML): A non-parametric estimator (like Kernel Regression) is used to estimate the propensity score (probability of treatment) based on the 2D vector. Finally, these components are plugged into a standard "doubly robust" estimator (AIPTW).
Architecture of the Q-Net model for supervised representation learning.

This approach is highly forgiving: even if the initial outcome model converges slowly (a common issue with complex deep learning models), the final causal estimate remains robust and converges at a fast rate.

Experimental Results

The TI-estimator was evaluated on semi-synthetic Amazon Reviews (to establish ground-truth causal effects) and real-world Consumer Complaints data.

  • Bias Reduction: In semi-synthetic tests, the TI-estimator consistently demonstrated significantly lower absolute bias compared to a naive "outcome-only" model. In high-confounding scenarios, the TI-estimator's bias was often 5 to 10 times lower than the baseline.
  • Better Uncertainty Quantification: Naive deep learning models often produce wildly optimistic confidence intervals that fail to contain the true causal value. The TI-estimator drastically improves reliability, achieving ~80-90% coverage compared to 0% for the baseline in many scenarios.
Coverage proportions of 95% confidence intervals showing the TI-estimator's superior uncertainty quantification.
  • Real-world Application: On the Consumer Complaints dataset, the naive model incorrectly suggested that politeness negatively impacted response time. The TI-estimator corrected this bias, revealing a significant positive effect that aligns with human intuition.

Limitations and Future Work

While a massive improvement over baselines, the TI-estimator did not perfectly reach the nominal 95% confidence interval coverage in all tests, likely due to the imperfect fit of underlying language models like DistilBERT. Furthermore, the method relies heavily on the Q-Net successfully capturing all confounding information; missed confounders will still result in biased estimates.

Looking forward, the authors suggest this representation-based adjustment could extend beyond text to other high-dimensional, unstructured data formats—such as images or audio—where overlap violations remain a persistent hurdle.

Summary updated

BibTeX
@inproceedings{gui2023causal,
  author = {Lin Gui and Victor Veitch},
  title = {{Causal Estimation for Text Data with (Apparent) Overlap Violations}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=Ha2MnQM9Ph},
}
Figure