Abstract
As Large Language Models (LLMs) advance in their persuasive capabilities, the risk of automated, societal-scale manipulation—ranging from mass disinformation to personalized micro-targeting—becomes a critical concern for democratic stability. However, the ethical and logistical barriers to studying these phenomena in real-world populations are insurmountable. This paper presents a high-fidelity simulation environment that integrates LLM-based agents with a functional Mastodon social media server. By bridging "offline" life simulation with "online" social interactions, the system provides a scalable, efficient, and psychologically grounded testbed for evaluating the impact of AI-driven influence on democratic processes.
Introduction
The potential for AI to disrupt democratic discourse is no longer theoretical. LLMs can generate vast quantities of persuasive content, tailor messages to specific psychological profiles, and engage in real-time interactions at a scale human actors cannot match. Traditional agent-based models (ABMs) often lack the behavioral nuance required to simulate these effects, relying on simplistic rules like basic homophily. Conversely, high-fidelity simulations are often too computationally expensive to scale to meaningful population sizes.
To address this gap, we developed a "social sandbox" designed to be realistic enough to capture complex social dynamics yet efficient enough to support experiments involving hundreds of agents. This system allows researchers to observe how digital misinformation filters into personal belief systems and influences collective outcomes, such as elections, without risking real-world harm.
System Architecture and Methodology
The Concordia-Mastodon Integration
Our system builds upon the Concordia framework, a library designed for simulating generative-model agents. A key technical innovation is the integration of a live Mastodon server. Rather than using a simplified facsimile of social media, agents interact with a real server via a simulated smartphone interface. This allows agents to perform standard social media actions—posting ("tooting"), following, liking, and boosting—within a structured environment that mirrors real-world digital behavior.
Efficiency and Scalability
To make societal-scale simulation viable, we implemented several optimizations that resulted in a 70% reduction in runtime:
- Parallelization: Agent processing is parallelized to handle multiple interactions simultaneously.
- Selective Elaboration: The system selectively chooses which contexts require high-detail simulation. By removing unnecessary "somatic" simulations (e.g., physical states or biological needs) when the focus is on social dynamics, we significantly reduced the computational overhead.
- Performance Metrics: The optimized system can simulate a 24-hour period (in 30-minute steps) for 20 agents in under 2.5 hours at a cost of approximately $10 USD. It successfully scales to 100 agents in roughly 3 hours.
Psychological Grounding and Measurement
To ensure agents behave like realistic human proxies, we utilized a pipeline to ground them in Schwartz social values and Big-5 personality traits. These traits are derived from real-world demographic-conditioned survey data. Furthermore, we implemented a longitudinal measurement suite that "polls" agents at discrete intervals, tracking shifts in favorability and voting intention over time.
Experimental Design: The Storhampton Election
We tested the system using the "Storhampton Election" scenario, a fictitious environment featuring two candidates:
- Bill: Focused on industrial growth and job creation.
- Bradley: Focused on environmental protection and social programs.
Agents were initialized with diverse priorities and backgrounds, and their interactions were monitored as they navigated both their "offline" lives (personal goals and memories) and their "online" lives on Mastodon.
Key Insights and Results
The Online-Offline Bridge
A primary finding is that manipulation is most effective when it bridges the gap between digital content and personal experience. By simulating agents with offline lives, we observed how misinformation encountered online is integrated into an agent’s broader belief system, influencing their decisions in the physical world (e.g., their vote).
The Dilicious Effect and Scaling
In small-scale simulations ($N=20$), a single malicious agent ("Glenn") tasked with spreading disinformation was highly effective at swinging the election. In these cases, Candidate Bradley’s initial lead vanished within just five simulation episodes. However, in larger populations ($N=100$), the impact of a single bad actor was significantly diluted. This suggests that for AI-driven manipulation to succeed at scale, the number of malicious bots must likely scale proportionally with the target population, or employ more sophisticated targeting strategies.
Overriding LLM Bias
While LLMs are often noted for inherent baseline biases, our results indicate that social interactions and "belief seeding" (initializing agents with specific priorities) can effectively override these biases. For instance, when agents were seeded with the belief that they prioritized jobs over the environment, the impact on the election was immediate and sustained, regardless of the underlying LLM's default tendencies.
Discussion and Future Work
While this simulation environment represents a significant step forward, it is important to acknowledge that simulations are not reality. LLM agents, while sophisticated, still face challenges regarding long-term reasoning and behavioral consistency.
Future research will focus on:
- Swarm Dynamics: Testing the effects of coordinated "swarms" of malicious agents on larger populations.
- Defense Evaluation: Utilizing the sandbox to test the efficacy of countermeasures such as community notes, fact-checking bots, and algorithmic interventions.
- Mixed-Reality Grounding: Further refining agent environments to explore how physical-world constraints interact with digital influence.
By providing a safe and scalable environment for these experiments, this system serves as a vital tool for researchers and policymakers working to safeguard democratic processes against the evolving threat of AI-driven manipulation.
Summary updated