Parametric Social Identity Injection and Diversification in Public Opinion Simulation

Hexi Wang, Yujia Zhou, Bangde Du, Qingyao Ai, Yiqun Liu
3/17/2026
cs.CL

Official code: halsayxi/PSII (2 stars, last commit 2026-04-11).

Abstract

Large language models (LLMs) have recently been adopted as synthetic agents for public opinion simulation, offering a promising alternative to costly and slow human surveys. Despite their scalability, current LLM-based simulation methods fail to capture social diversity, producing flattened inter-group differences and overly homogeneous responses within demographic groups. We identify this limitation as a Diversity Collapse phenomenon in LLM hidden representations, where distinct social identities become increasingly indistinguishable across layers. Motivated by this observation, we propose Parametric Social Identity Injection (PSII), a general framework that injects explicit, parametric representations of demographic attributes and value orientations directly into intermediate hidden states of LLMs. Unlike prompt-based persona conditioning, PSII enables fine-grained and controllable identity modulation at the representation level. Extensive experiments on the World Values Survey using multiple open-source LLMs show that PSII significantly improves distributional fidelity and diversity, reducing KL divergence to real-world survey data while enhancing overall diversity. This work provides new insights into representation-level control of LLM agents and advances scalable, diversity-aware public opinion simulation. Code and data are available at https://github.com/halsayxi/PSII.

View on arXivView PDF

Code Implementations(1)

halsayxi/PSIIOfficial100%
20Shell, PythonFeb 5, 20266 months ago

Similar Papers

Cite this paper

@article{wang2026parametric,
  title  = {Parametric Social Identity Injection and Diversification in Public Opinion Simulation},
  author = {Hexi Wang and Yujia Zhou and Bangde Du and Qingyao Ai and Yiqun Liu},
  year   = {2026},
  eprint = {2603.16142},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.16142v1}
}

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/2603.16142.svg)](https://codeofpaper.com/paper/2603.16142)

Discussion