From Unstructured Data to Demand Counterfactuals: Theory and Practice
Timothy Christensen, Giovanni Compiani
TL;DR
The paper tackles bias in counterfactual demand analysis when high-dimensional proxies (e.g., embeddings from unstructured data) imperfectly capture latent product differentiation. It develops a post-estimation bias-correction that uses a composite parameter $\gamma(\theta,e)$ to orthogonalize the effect of proxy mismeasurement on counterfactuals, yielding unbiased, efficient estimates with closed-form standard errors. The framework applies to both BLP-type market-level models with endogenous prices and microdata with product fixed effects, and it accommodates data-dependent proxies, including embeddings from fine-tuned ML models. Complementary LM-based diagnostics (LM$_1$ and LM$_2$) guide proxy selection and dimensionality, while simulations and an empirical application demonstrate substantial gains in predicting counterfactual substitution and identifying effective proxies. Overall, the toolkit offers a practical, scalable approach to robust counterfactual inference in demand estimation with unstructured data.
Abstract
Empirical models of demand for differentiated products rely on low-dimensional product representations to capture substitution patterns. These representations are increasingly proxied by applying ML methods to high-dimensional, unstructured data, including product descriptions and images. When proxies fail to capture the true dimensions of differentiation that drive substitution, standard workflows will deliver biased counterfactuals and invalid inference. We develop a practical toolkit that corrects this bias and ensures valid inference for a broad class of counterfactuals. Our approach applies to market-level and/or individual data, requires minimal additional computation, is efficient, delivers simple formulas for standard errors, and accommodates data-dependent proxies, including embeddings from fine-tuned ML models. It can also be used with standard quantitative attributes when mismeasurement is a concern. In addition, we propose diagnostics to assess the adequacy of the proxy construction and dimension. The approach yields meaningful improvements in predicting counterfactual substitution in both simulations and an empirical application.
