Large Language Models as Implicit Sociological Models: Reconstructing Voting Behaviour from Sociodemographic Profiles

Roman Neruda, Martin Bakoš, Josef Šlerka, Vít Tuček, Petra Vidnerová, Gabriela KadlecováarXiv 2026

TL;DR

This paper demonstrates that Large Language Models (LLMs) can act as implicit sociological models to accurately reconstruct aggregate voting behavior. By conditioning LLMs on individual sociodemographic profiles and aggregating their probabilistic outputs via a "soft voting" procedure, the researchers successfully simulated the 2021 Czech parliamentary election, matching real-world outcomes and recovering latent political structures without providing the models with explicit electoral statistics.

What Problem Does This Paper Address?

Most research using LLMs for electoral simulation focuses on the United States, which features a relatively simple two-party system and an abundance of English-language training data. It remains an open question whether LLMs can capture complex, multiparty political landscapes in non-Anglophone, medium-resource language contexts.

The authors tackle this gap by testing LLMs on the 2021 Czech parliamentary election. The Czech political system is highly fragmented, characterized by post-communist legacies, high secularism, and centrist populist parties (like ANO) whose voter bases are notoriously difficult to predict using standard demographics alone. The paper investigates whether LLMs have internalized social and political regularities deeply enough to reconstruct aggregate macro-level voting behavior solely from micro-level demographic descriptions.

Methods

The authors developed a methodological framework based on demographic conditioning and soft voting aggregation:

  1. Prompt Design: Individual profiles from a representative survey were translated into natural language descriptions in Czech (e.g., "I am a man, 43 years old, my education is primary...").
  2. Structured Output: Using the OpenAI API's Structured Outputs feature, the models were forced to return a strict JSON object adhering to a Pydantic schema. Instead of generating text, the models outputted two probability distributions: the probability of turning out to vote ($P(\text{voted})$), and the conditional probability of party choice ($P(\text{party} \mid \text{voted})$).
  3. Soft Voting Aggregation: Rather than forcing a discrete choice (hard voting), each synthetic respondent contributed a weighted vote to multiple parties proportional to their predicted likelihood ($w_{i,p} = P(p \mid i) \cdot P(\text{voted} \mid i)$). These weights were then normalized to compute aggregate vote shares.

The experiments evaluated four OpenAI models across different capability levels, operating at a deterministic temperature of 0 to ensure reproducibility.

OpenAI API configuration parameters used to ensure deterministic and structured outputs.
OpenAI API configuration parameters used to ensure deterministic and structured outputs.

Datasets

  • "Society of Distrust" Survey: The primary dataset containing $N = 3,880$ respondents, representative of the Czech adult population. Ten input variables were extracted per respondent, covering demographics (gender, age, education), geography (region, district, municipality size), socioeconomics (employment, income), and general attitudes (living standard, interest in politics).
  • Validation Targets: Ground truth was established using official election results from the Czech Statistical Office and self-reported "claimed" votes from the survey.
  • Baselines: Pre-election polling data from major Czech agencies (STEM, Median, Kantar CZ) and expert-coded ideological party placements from the Chapel Hill Expert Survey (CHES).

Key Insights and Ideas

  • Structure over Accuracy: When asked directly for the election results, advanced models (like GPT-4.1) could retrieve the exact outcome from memory with incredibly low error. However, direct queries only yield a single national distribution. Demographic conditioning adds structure, enabling regional decomposition, counterfactual exploration, and inter-party correlation analysis.
  • The Power of Aggregation: While individual LLM survey responses are notoriously noisy (often achieving only 30–40% accuracy), the soft voting aggregation procedure allows individual errors to cancel out at the population level, revealing stable macro-level social patterns.
  • Turnout Behavior Varies by Model Scale: A striking behavioral difference emerged between model sizes. Larger models maintained a continuous degree of uncertainty regarding turnout. In contrast, smaller architectures frequently expressed absolute certainty that a respondent would abstain; GPT-4.1-nano assigned exactly $P(\text{voted}) = 0$ to 61.37% of respondents, subsequently refusing to generate party preferences for them.

Key Results

  • High Aggregate Accuracy: The best-performing models achieved a Mean Absolute Error (MAE) of approximately 2.5 percentage points relative to the official election outcomes. This performance is on par with high-quality, real-world pre-election polls.
  • Recovery of Political Blocs: Without access to voter flow data, the correlation matrices of the LLMs' predicted vote shares successfully mapped out the latent geometry of the Czech political landscape. The models accurately clustered the main coalition blocs (SPOLU and PirSTAN) and captured the overlapping demographic bases of the populist/left-wing parties (ANO, SPD, and KSČM).

Limitations and Future Work

  • Anglophone and Demographic Biases: LLMs inherently align more closely with the perspectives of liberal, high-income, and well-educated demographics, which can systematically distort simulations of older or more conservative voters.
  • Linguistic Fragility: The study was conducted entirely in Czech. Because Czech represents a small fraction of internet-scale training corpora, model performance may suffer from unmeasured linguistic or cultural distortions compared to English.
  • Elections as an "Easy Case": Political behavior is heavily saturated in online discourse, making it an easy target for cultural compression. The authors note that the true test of LLMs as sociological models will be mapping less media-salient phenomena, such as regional institutional trust or susceptibility to specific conspiracy narratives.

Summary updated

BibTeX
@misc{neruda2026large,
  author = {Roman Neruda and Martin Bakoš and Josef Šlerka and Vít Tuček and Petra Vidnerová and Gabriela Kadlecová},
  title = {{Large Language Models as Implicit Sociological Models: Reconstructing Voting Behaviour from Sociodemographic Profiles}},
  year = {2026},
  eprint = {2608.15871},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.15871},
}
Figure