This paper explores how to use large language models (LLMs) to automatically generate and test social science hypotheses, with the core innovation being the introduction of structural causal models (SCMs) as a methodological framework. SCMs provide a language for expressing hypotheses, a blueprint for building LLM agents, experimental design, and a data analysis plan. A fitted SCM can serve as an object for predicting or planning subsequent experiments. The authors demonstrate the method in four scenarios—negotiation, bail hearings, job interviews, and auctions—where the system automatically proposes and tests causal relationships, finding evidence supporting some relationships and none for others. The study also finds that these insights about social interactions cannot be obtained merely by asking the LLM directly: given a proposed SCM, the LLM can predict the sign of estimated effects reasonably well but cannot reliably predict effect sizes. In the auction experiment, computer simulation results align closely with auction theory predictions, but asking the LLM directly to predict clearing prices is inaccurate; however, when the LLM is conditioned on the fitted SCM, its predictive performance improves substantially. The paper concludes that LLMs "know more than they can (immediately) say." The research was funded by Dropbox Inc., and the authors include Benjamin S. Manning, Kehang Zhu, and John J. Horton; code and data will be made available on the authors' website. The paper is an NBER working paper that has not undergone peer review, and the views expressed are solely those of the authors.

nber.org