Original
Leveraging generative AI for causal inference with unstructured data
Abstract
We introduce GenAI-Powered Inference (GPI), a statistical framework for causal inference using unstructured data, including text and images. GPI leverages open-source pretrained Generative AI (GenAI) models-such as large language models and diffusion models-not only to generate unstructured data at scale but also to extract low-dimensional representations that are guaranteed to capture their underlying structure. Applying machine learning to these representations, GPI enables estimation of causal effects while quantifying estimation uncertainty. Unlike existing approaches to representation learning, GPI does not require fine-tuning of GenAI models, making it computationally efficient and broadly accessible. We illustrate the versatility of the GPI framework through three applications: 1) estimating the effects of Chinese social media censorship while adjusting for textual confounders, 2) isolating the impact of specific image features from that of other correlated features in the same image, and 3) assessing the persuasiveness of political rhetoric. An open-source software package is available for implementing GPI.
中文
利用生成式人工智能进行非结构化数据的因果推断
摘要
我们提出GenAI-Powered Inference(GPI),一个使用非结构化数据(包括文本和图像)进行因果推断的统计框架。GPI利用开源的预训练生成式人工智能(GenAI)模型——如大语言模型和扩散模型——不仅大规模生成非结构化数据,还提取能够保证捕捉其潜在结构的低维表示。通过对这些表示应用机器学习,GPI能够在量化估计不确定性的同时估计因果效应。与现有的表示学习方法不同,GPI不需要对GenAI模型进行微调,使其在计算上高效且广泛可及。我们通过三个应用说明GPI框架的多功能性:1)在调整文本混杂因素的同时估计中国社交媒体审查的影响;2)将特定图像特征的影响与同一图像中其他相关特征的影响分离;3)评估政治修辞的说服力。我们提供了一个开源软件包用于实施GPI。
关键词
生成式人工智能、因果推断、非结构化数据、大语言模型、表示学习、社交媒体审查、政治修辞、图像分析