Proximal Causal Inference With Text Data

Jacob M. Chen, Rohit Bhattacharya, Katherine A. Keith
1/12/2024
cs.CLcs.LGstat.ME

No official code found. Best implementation: jacobmchen/proximal_w_text (7 stars, MIT, last commit 2024-10-02).

Abstract

Recent text-based causal methods attempt to mitigate confounding bias by estimating proxies of confounding variables that are partially or imperfectly measured from unstructured text data. These approaches, however, assume analysts have supervised labels of the confounders given text for a subset of instances, a constraint that is sometimes infeasible due to data privacy or annotation costs. In this work, we address settings in which an important confounding variable is completely unobserved. We propose a new causal inference method that uses two instances of pre-treatment text data, infers two proxies using two zero-shot models on the separate instances, and applies these proxies in the proximal g-formula. We prove, under certain assumptions about the instances of text and accuracy of the zero-shot predictions, that our method of inferring text-based proxies satisfies identification conditions of the proximal g-formula while other seemingly reasonable proposals do not. To address untestable assumptions associated with our method and the proximal g-formula, we further propose an odds ratio falsification heuristic that flags when to proceed with downstream effect estimation using the inferred proxies. We evaluate our method in synthetic and semi-synthetic settings -- the latter with real-world clinical notes from MIMIC-III and open large language models for zero-shot prediction -- and find that our method produces estimates with low bias. We believe that this text-based design of proxies allows for the use of proximal causal inference in a wider range of scenarios, particularly those for which obtaining suitable proxies from structured data is difficult.

View on arXivView PDF

Code Implementations(1)

MIT
70Python, Jupyter NotebookJan 11, 20242 years agoMIT

Similar Papers

Cite this paper

@article{chen2024proximal,
  title  = {Proximal Causal Inference With Text Data},
  author = {Jacob M. Chen and Rohit Bhattacharya and Katherine A. Keith},
  year   = {2024},
  eprint = {2401.06687},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2401.06687},
  url    = {http://arxiv.org/abs/2401.06687v3},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.06687.svg)](https://codeofpaper.com/paper/2401.06687)

Discussion