Abstract
Predicting national elections has traditionally been divided between "black box" statistical models and oversimplified "white box" agent-based models (ABMs). This paper introduces FlockVote, a novel framework that leverages Large Language Models (LLMs) to create high-fidelity voter agents. By simulating thousands of agents with detailed demographic profiles and contextual reasoning, FlockVote successfully replicated the 2024 U.S. Presidential Election outcomes in key swing states. However, the study also reveals critical "instrument flaws" in LLMs, such as positional bias and phrasal sensitivity, that must be addressed for reliable social science applications.
Introduction
Election forecasting typically relies on polling-based statistical models or traditional ABMs. While statistical models are effective at correlation, they lack interpretability regarding why voters make specific choices. Conversely, traditional ABMs often treat agents as simple automatons following rigid rules, failing to capture the nuance of human decision-making. FlockVote addresses this gap by creating a "computational laboratory" where LLM-based agents weigh complex sociopolitical factors—such as economic policy versus reproductive rights—to simulate human-like reasoning.
The FlockVote Framework
The FlockVote framework operates through a three-step process designed to move beyond the limitations of previous modeling generations.
- Agent Demographic Modeling: A "virtual society" is constructed by sampling agents from real-world distributions (e.g., the 2023 American Community Survey). Each agent is defined by eight attributes: State, Race, Sex, Age, Occupation, Industry, Education, and Religion.
- Contextual Reasoning: Agents are provided with dynamic summaries of candidate stances on salient issues like the economy, immigration, and abortion rights.
- Probabilistic Voting: Instead of binary choices, agents output a probability distribution across candidates (Trump, Harris, or "Other"), capturing the inherent uncertainty of voter preference.
To minimize U.S.-centric political biases often found in domestic models, the researchers primarily utilized Qwen-Max-2024-04-28 for the simulation.
Key Results and Macro-Level Fidelity
The simulation demonstrated remarkable accuracy in replicating the 2024 election results. FlockVote correctly predicted that Donald Trump would win six of the seven pivotal swing states. The only discrepancy occurred in Nevada, where the model predicted a Harris victory by a marginal 0.17%, while the actual result favored Trump.
Ablation studies highlighted the importance of demographic depth. For instance, excluding education and religion caused the model to fail in states like Wisconsin. Reintroducing these dimensions corrected a latent "pro-Democratic bias" and aligned the simulation with real-world polling. Furthermore, the researchers found that results stabilize at approximately 300 agents per state, suggesting a threshold for computational efficiency.
The "Instrument Problem" and LLM Fragility
Despite its predictive success, the study uncovered significant hurdles in using LLMs as social science instruments:
- Positional Bias: Agents occasionally flipped their votes entirely if the order of candidate names was swapped in the prompt.
- Phrasal Sensitivity: Minor, semantically neutral changes in policy descriptions caused support levels to swing by over 20% in some cases.
- Atomistic Isolation: Current agents decide in isolation, failing to account for the social networks and media influences that shape real-world behavior.
Conclusion
FlockVote demonstrates that LLMs can serve as powerful tools for simulating complex social phenomena, providing a "reasoning-action" trace that statistical models cannot offer. Future work will focus on evolving these "atomistic" agents into multi-agent systems where individuals can interact and influence one another, creating a truly interactive virtual society for high-stakes domain testing.
Summary updated