Finetuning LLMs for Human Behavior Prediction in Social Science Experiments

Akaash Kolluri, Shengguang Wu, Joon Sung Park, Michael S. Bernstein
9/6/2025
cs.LGcs.CY

No official code found. Best implementation: akaashkolluri/socrates (28 stars, last commit 2025-09-09).

Abstract

Large language models (LLMs) offer a powerful opportunity to simulate the results of social science experiments. In this work, we demonstrate that finetuning LLMs directly on individual-level responses from past experiments meaningfully improves the accuracy of such simulations across diverse social science domains. We construct SocSci210 via an automatic pipeline, a dataset comprising 2.9 million responses from 400,491 participants in 210 open-source social science experiments. Through finetuning, we achieve multiple levels of generalization. In completely unseen studies, our strongest model, Socrates-Qwen-14B, produces predictions that are 26% more aligned with distributions of human responses to diverse outcome questions under varying conditions relative to its base model (Qwen2.5-14B), outperforming GPT-4o by 13%. By finetuning on a subset of conditions in a study, generalization to new unseen conditions is particularly robust, improving by 71%. Since SocSci210 contains rich demographic information, we reduce demographic parity difference, a measure of bias, by 10.6% through finetuning. Because social sciences routinely generate rich, topic-specific datasets, our findings indicate that finetuning on such data could enable more accurate simulations for experimental hypothesis screening. We release our data, models and finetuning code at stanfordhci.github.io/socrates.

View on arXivView PDF

Code Implementations(1)

Readme for "Finetuning LLMs for Human Behavior Prediction in Social Science Experiments"

283Aug 10, 20251 years ago

Similar Papers

Cite this paper

@article{kolluri2025finetuning,
  title  = {Finetuning LLMs for Human Behavior Prediction in Social Science Experiments},
  author = {Akaash Kolluri and Shengguang Wu and Joon Sung Park and Michael S. Bernstein},
  year   = {2025},
  eprint = {2509.05830},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.05830v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.05830.svg)](https://codeofpaper.com/paper/2509.05830)

Discussion