A Large-scale Empirical Study on Large Language Models for Election Prediction

Chenxiao Yu, Zhaotian Weng, Yuangang Li, Zheng Li, Xiyang Hu, Yue Zhao · OpenReview

Abstract

Can Large Language Models (LLMs) accurately predict election outcomes? While LLMs have demonstrated impressive performance in healthcare, legal analysis, and creative applications, their capabilities in election forecasting remain uncertain. Notably, election prediction poses unique challenges: limited voter-level data, evolving political contexts, and the complexity of modeling human behavior. In the first part of this paper, we explore and introduce a multi-step reasoning framework for election prediction, which systematically integrates demographic, ideological, and time-sensitive factors. Validated on 2016 and 2020 real-world data and extensive synthetic personas, our approach adapts to changing political landscapes, reducing bias and significantly improving predictive accuracy. We further apply our pipeline to the 2024 U.S. presidential election, illustrating its ability to generalize beyond observed historical data. Beyond enhancing accuracy, the second part of the paper provides insights into the broader implications of LLM-based election forecasting. We identify potential political biases embedded in pretrained corpora, examine how demographic patterns can become exaggerated, and suggest strategies for mitigating these issues. Together, this project, a large-scale LLM empirical study, advances the accuracy of election predictions and establishes directions for more balanced, transparent, and context-aware modeling in political science research and practice.

Introduction

Traditional political polling and social science experiments are notoriously expensive and difficult to scale. While Large Language Models (LLMs) offer a potential "silicon" alternative for simulating human behavior, they face significant hurdles: inherent training bias, a lack of temporal context for specific election cycles, and reasoning gaps where simple text generation fails to capture the complex psychological mechanisms of voting. This study investigates whether a structured, theory-driven reasoning pipeline can overcome these limitations to create a reliable tool for election prediction.

Methodology: The Multi-Step Reasoning Framework

The researchers developed three progressive LLM pipelines to test different prompting strategies:

  1. Version 1 (Demographic-Only): A baseline where the model is provided with a persona (age, race, income, etc.) and asked directly for a vote preference.
  2. Version 2 (Time-Based): Adds election-specific context, such as candidate biographies and policy priorities (e.g., healthcare vs. immigration stances).
  3. Version 3 (Multi-Step Reasoning): Inspired by "Chain-of-Thought" prompting and political science theory, this version breaks the task into two stages. First, the model infers the persona's political ideology on a 7-point scale. Second, this inferred ideology is combined with the original persona to create an "Extended Persona" used for the final vote prediction.
Overview of the three pipeline versions for simulating voter behavior, showing the progression from simple demographics to multi-step reasoning.

The study utilized models including GPT-4o and LLaMA 3.1 (70B/405B), validated against real-world data from the American National Election Studies (ANES) and a massive dataset of over 330,000 synthetic personas.

Key Results and Performance

The transition from direct prompting to multi-step reasoning yielded significant improvements in accuracy and bias reduction. In the 2020 election simulation, the V3 pipeline achieved a Weighted Absolute Error (WAE) of 5.24%, a massive improvement over the V1 baseline's 22.78%.

Performance comparison of pipelines on ANES 2016 and 2020 benchmarks, illustrating how V3 aligns more closely with ground truth than earlier versions.

Furthermore, when tested on the 2024 election—data not seen during training—GPT-4o with the V3 pipeline achieved a WAE of only 3.49%. The systematic Democratic bias observed in simpler pipelines was also mitigated; in GPT-4o, the bias metric improved from -21.35% (heavy Democratic lean) in V1 to just -2.95% in V3.

Insights into Model Behavior

The study revealed critical insights into how LLMs simulate voters:

  • Ideology as a Mediator: LLMs possess latent knowledge of the relationship between demographics and ideology but require structured prompting (V3) to apply it effectively.
  • Hyper-Accuracy and Stereotyping: LLMs tend to be "too consistent," assuming near-perfect correlations between ideology and party, whereas real humans exhibit more variance. Additionally, models often amplify demographic trends into stereotypes, exaggerating gaps (e.g., gender or ethnicity) beyond real-world observations.
  • Persistent Skew: While V3 significantly reduced bias, a slight left-leaning baseline remained across most models, suggesting deep-seated imbalances in pretraining data.

Conclusion and Future Work

This research demonstrates that structured, theory-driven reasoning can transform LLMs into powerful tools for political forecasting. However, limitations remain, such as the models' inability to account for dynamic campaign events ("October surprises") and the risk of stereotype amplification. Future work should explore Reinforcement Learning from Human Feedback (RLHF) for political neutrality and test the framework's applicability to multi-party systems globally.

Summary updated

BibTeX
@misc{yu2024large,
  author = {Chenxiao Yu and Zhaotian Weng and Yuangang Li and Zheng Li and Xiyang Hu and Yue Zhao},
  title = {{A Large-scale Empirical Study on Large Language Models for Election Prediction}},
  year = {2024},
  eprint = {2412.15291},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.15291},
}

Loading related content...

Figure