Adapting Text Embeddings for Causal Inference
Not on the map. Why?
Abstract (arXiv)
Does adding a theorem to a paper affect its chance of acceptance? Does labeling a post with the author's gender affect the post popularity? This paper develops a method to estimate such causal effects from observational text data, adjusting for confounding features of the text such as the subject or writing quality. We assume that the text suffices for causal adjustment but that, in practice, it is prohibitively high-dimensional. To address this challenge, we develop causally sufficient embeddings, low-dimensional document representations that preserve sufficient information for causal identification and allow for efficient estimation of causal effects. Causally sufficient embeddings combine two ideas. The first is supervised dimensionality reduction: causal adjustment requires only the aspects of text that are predictive of both the treatment and outcome. The second is efficient language modeling: representations of text are designed to dispose of linguistically irrelevant information, and this information is also causally irrelevant. Our method adapts language models (specifically, word embeddings and topic models) to learn document embeddings that are able to predict both treatment and outcome. We study causally sufficient embeddings with semi-synthetic datasets and find that they improve causal estimation over related embedding methods. We illustrate the methods by answering the two motivating questions---the effect of a theorem on paper acceptance and the effect of a gender label on post popularity. Code and data available at https://github.com/vveitch/causal-text-embeddings-tf2}{github.com/vveitch/causal-text-embeddings-tf2
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). First posted on arXiv 29 May 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 2; 2023: 0; 2024: 0; 2025: 1.
6 papers.
- 2022Causal Estimation for Text Data with (Apparent) Overlap Violationscited by 15
- 2021Everything Has a Cause: Leveraging Causal Inference in Legal Text Analysiscited by 14
- 2021Causal Incremental Graph Convolution for Recommender System Retrainingcited by 14
- 2022Targeted-BEHRT: Deep learning for observational causal inference on longitudinal electronic health recordscited by 9
- 2021What Makes a Scientific Paper be Accepted for Publication?cited by 4
- 2025Big Data and the Computational Social Science of Entrepreneurship and Innovationcited by 0
- 2025Big Data and the Computational Social Science of Entrepreneurship and Innovation13 May 2025
- 2022Causal Estimation for Text Data with (Apparent) Overlap Violations30 Sep 2022
- 2022Targeted-BEHRT: Deep learning for observational causal inference on longitudinal electronic health records7 Feb 2022
- 2021Causal Incremental Graph Convolution for Recommender System Retraining16 Aug 2021
- 2021Everything Has a Cause: Leveraging Causal Inference in Legal Text Analysis19 Apr 2021
- 2021What Makes a Scientific Paper be Accepted for Publication?14 Apr 2021