Simulating conversations on social media with generative agent-based models

Min Soo Jeon, Marcelo Mendoza, Miguel Fernández, Eliana Providel, Felipe Rodríguez, Nicolás Espina, Andrés Carvallo, Andrés AbeliukEpj Data sci 2025

Introduction

The rapid advancement of Large Language Models (LLMs) has revolutionized our ability to simulate human-like interactions. However, while LLMs excel in dyadic, one-on-one exchanges, capturing the complex "multicast" dynamics of social media—where a single post can trigger cascading, branching conversations across thousands of users—remains a significant challenge. This paper introduces network-simulator, a hybrid framework that integrates Agent-Based Modeling (ABM) with LLMs to create realistic "digital twins" of social media discourse. By combining a social contagion model to determine interaction structures with an LLM to generate content, the researchers provide a tool for studying information spread and opinion dynamics in controlled environments.

Bridging the Macro-Micro Gap

Previous research in social media simulation often operated at two distinct scales. Macro-level models typically focused on the structural spread of information (e.g., the diffusion of a URL) without considering the actual text of the posts. Conversely, micro-level research focused on generating high-quality text but often lacked a realistic social network context.

The network-simulator framework bridges this gap using a two-layer approach:

  1. Macro-Simulation (The Skeleton): The system employs an adapted SISa (Susceptible-Infected-Susceptible-augmented) contagion model. This model dictates the interaction topology—who replies to whom—based on social influence from neighbors and external environmental factors. It assigns each agent a stance (pro, anti, or neutral) and an interaction type (supporting, denying, questioning, or commenting).
  2. Micro-Simulation (The Meat): The structural parameters from the ABM are used to condition prompts for GPT-4o. This ensures that the generated text aligns with the assigned stance and role within the conversation cascade.

The authors have released this framework as an open-source Python library, facilitating further research into digital twin simulations.

Experimental Methodology

To validate the framework, the study utilized two primary datasets:

  • Twitter 16: A benchmark dataset of 818 news events from 2014-2015, serving as a "ground truth" for human conversational patterns.
  • PolitiFact: A collection of 80 verified news items (40 true, 40 false) from 2024-2025 used to trigger simulated discussions for a case study on framing and sentiment.

The researchers compared the simulated conversations against real-world human data across several dimensions, including linguistic style, predictability, and sentiment.

The "Predictability Gap" and the Verbosity Bias

A key finding of the study is the existence of a "predictability gap" between human and AI-generated discourse. While the AI-generated text was of high quality, it was found to be "too perfect." * Perplexity and Predictability: Human language is inherently messy. In contrast, LLM-generated text follows highly predictable token chains. This difference in perplexity allowed tools like GPTZero to accurately distinguish simulated text from real tweets. * Quality vs. Realism: When evaluated by GPT-4o as a judge, simulated conversations scored significantly higher than human ones in terms of grammar, relevance, and appropriateness. However, this superior quality actually reduces realism, as real social media users frequently use slang, shorthand, and non-standard grammar. * Verbosity: Simulated agents exhibited a "verbosity bias," producing significantly longer posts with more sophisticated vocabulary (SAT-level word frequency) compared to the concise and often informal nature of actual tweets.

Misinformation and Sentiment Dynamics

The simulation provided unique insights into how the veracity of information shapes collective sentiment. In the PolitiFact case study, the researchers observed:

  • Sentiment Orientation: Discussions triggered by true content maintained a positive sentiment bias ($SO = 0.441$). Conversely, false information was strongly associated with negative sentiment ($SO = -0.273$).
  • Sentiment Drift: Misinformation appears to create more volatile discourse. "Sentiment drift"—where the conversation's overall polarity flips between positive and negative—occurred in 27.5% of false-framed conversations, compared to only 7.5% for true stories. This suggests that false claims trigger more contentious and unstable public debates.

Limitations and Future Outlook

While the network-simulator represents a significant step forward, the authors acknowledge several limitations. Currently, the simulator processes interactions sequentially, whereas real-world social media is "bursty" and synchronous. Furthermore, the agents lack deep ideological or demographic profiles, which could be addressed in future iterations to enhance realism. Finally, the current implementation lacks long-term memory; giving agents the ability to retain beliefs across sessions would allow for the study of long-term opinion evolution.

By providing a scalable, open-source framework for simulating complex social interactions, this research opens new avenues for understanding the impact of misinformation and the dynamics of digital public squares.

Summary updated

BibTeX
@article{jeon2025simulating,
  author = {Min Soo Jeon and Marcelo Mendoza and Miguel Fernández and Eliana Providel and Felipe Rodríguez and Nicolás Espina and Andrés Carvallo and Andrés Abeliuk},
  title = {{Simulating conversations on social media with generative agent-based models}},
  journal = {Epj Data sci},
  year = {2025},
  doi = {10.1140/epjds/s13688-025-00593-3},
}
Figure