Reading Between the Lines: Deconfounding Causal Estimates using Text Embeddings and Deep Learning
Ahmed Dawoud, Osama El-Shamy
TL;DR
This paper tackles unobserved confounding in observational causal inference by leveraging high-dimensional unstructured text as proxies for latent variables. It introduces Neural Network-Enhanced Double Machine Learning to model nuisance functions on embeddings, addressing an Architecture Gap between tree-based methods and the smooth geometry of embedding spaces. Using a rigorous synthetic benchmark with known ground-truth effects, it shows that standard tree-based DML leaves substantial bias (around +24%), while neural DML reduces bias to about -0.86% with optimized, parsimonious architectures. Sectoral analyses and robustness checks demonstrate the neural approach consistently identifies the true causal effect, underscoring the practical importance of neural nuisance learners for causal inference with text data.
Abstract
Estimating causal treatment effects in observational settings is frequently compromised by selection bias arising from unobserved confounders. While traditional econometric methods struggle when these confounders are orthogonal to structured covariates, high-dimensional unstructured text often contains rich proxies for these latent variables. This study proposes a Neural Network-Enhanced Double Machine Learning (DML) framework designed to leverage text embeddings for causal identification. Using a rigorous synthetic benchmark, we demonstrate that unstructured text embeddings capture critical confounding information that is absent from structured tabular data. However, we show that standard tree-based DML estimators retain substantial bias (+24%) due to their inability to model the continuous topology of embedding manifolds. In contrast, our deep learning approach reduces bias to -0.86% with optimized architectures, effectively recovering the ground-truth causal parameter. These findings suggest that deep learning architectures are essential for satisfying the unconfoundedness assumption when conditioning on high-dimensional natural language data
