Introduction
Large-scale global surveys are fundamental to social science and policy-making, providing critical insights into public opinion across diverse cultures. However, conducting these surveys is resource-intensive. While Large Language Models (LLMs) have been proposed as "silicon subjects" to simulate human behavior, standard zero-shot prompting often yields stereotypical, overconfident, or Western-centric outputs. A significant limitation of prior work is the focus on predicting the majority opinion of a group, which ignores the inherent diversity within populations. This research introduces a framework to specialize LLMs to simulate the nuanced distribution of opinions across different geographic and cultural contexts.
Methodology: Distribution Alignment
The core innovation of this work is moving beyond simple text generation to probability distribution alignment. Instead of training a model to output a single "correct" answer, the researchers align the model's internal prediction scores (logits) with real-world survey data.
The framework employs First-Token Probability Alignment, where the model is fine-tuned to predict the probability of specific options (e.g., "A", "B", "C", "D") matching the human response distribution. This is achieved using Kullback-Leibler (KL) Divergence Loss, which mathematically minimizes the difference between the predicted and actual distributions. To maintain efficiency, the team utilized LoRA (Low-Rank Adaptation) across several models, including Llama 3 and Qwen.
Experimental Setup
The models were trained and evaluated using the World Values Survey (WVS), specifically the 2017-2022 wave covering over 80,000 respondents in 66 countries. To test generalization, the researchers also evaluated the models on the Pew Global Attitudes Survey, representing a transfer to entirely different survey formats and questions. Additionally, cross-linguistic robustness was tested by adapting prompts into both English and Chinese.
Key Results and Analysis
Fine-tuning for distribution alignment consistently outperformed zero-shot prompting across all metrics. A notable finding was that training on the full distribution actually improved the model's ability to identify the majority opinion (mode) compared to models trained specifically for majority prediction.
As shown in Figure 4, fine-tuning (FT) significantly increases the similarity between model outputs and human data (measured by 1-JSD). For instance, Llama3-8B-Instruct achieved a 34.3% improvement in similarity post-fine-tuning. The models also demonstrated high sensitivity to cultural context; while zero-shot models often provided generic responses, fine-tuned models adjusted their predictions based on the target country, mirroring real-world cultural shifts.
The models generalized well to "unseen" countries but faced challenges with entirely new survey topics. This suggests that while LLMs can learn "how a country thinks" across established domains, predicting responses to novel issues remains a difficult task.
Conclusion
This research demonstrates that specializing LLMs through distribution alignment significantly enhances their utility as tools for social science simulation. By capturing the diversity of human opinion rather than just the majority view, these models provide a more accurate reflection of global populations. Future work will focus on increasing demographic granularity (e.g., age, gender) and addressing the potential for models to inherit biases present in the underlying survey data.
Summary updated