Automated Social Science: Language Models as Scientist and Subjects | NBER
This is a working paper (No. 32381) released by the National Bureau of Economic Research (NBER) in 2024, proposing a method that uses large language models (LLMs) and structural causal models (SCMs) to automatically generate and test social science hypotheses in silico. The method uses SCMs as a unified framework for expressing hypotheses, building LLM agents, designing experiments, and analyzing data, and is demonstrated in scenarios including negotiation, bail hearings, job interviews, and auctions. The study finds that LLMs can predict the direction of effects reasonably well but struggle to accurately predict effect sizes; in the auction experiment, simulation results align closely with auction theory predictions, whereas price predictions obtained by asking the LLM directly are inaccurate, but when the LLM is conditioned on the fitted SCM, predictive performance improves markedly. The paper shows that LLMs "know more than they can say directly."