Source-linked AI summary
Agent-Based Modelling Meets Generative AI in Social Network Simulations
Antonino Ferraro, Antonio Galli, Valerio La Gatta, Marco Postiglione, Gian Marco Orlando, Diego Russo, Giuseppe Riccio, Antonio Romano, Vincenzo Moscato
TL;DR
Manually specifying realistic social-network agent behavior is challenging, and existing approaches can simplify interactions and information flows. This paper profiles LLM-agents from real users’ interests and personality traits and simulates their interactions with recommendations. On 2020 US election Twitter data, the agents mirror user behavior and form ideological clusters, while preference-based recommendations promote engagement and echo chambers.
Problem
Manually configuring varied agent interactions and information flows can oversimplify social-network simulations, while it remains uncertain whether LLM-agents represent real users’ traits and interests and reproduce community-level phenomena.
Source: §1 · p. 2Method
The framework profiles LLM-agents from real users’ posts and simulates their decisions and interactions, including content resharing and configurable recommendations.
Source: §1 · pp. 2–3Results
LLM-agents mirror real users’ linguistic patterns and political leaning, form homogeneous ideological groups, and preference-based recommendations promote engagement and echo chambers.
Source: §1 · p. 3Takeaways & Limitations
The findings support the potential of LLM-agents to enhance social-media simulations of online dynamics.
Source: §1 · p. 3The recommendation strategies are simplified approximations, not actual methods such as collaborative filtering.
Source: §3.2 · p. 7
Abstract
from arXiv · showhide
Agent-Based Modelling (ABM) has emerged as an essential tool for simulating social networks, encompassing diverse phenomena such as information dissemination, influence dynamics, and community formation. However, manually configuring varied agent interactions and information flow dynamics poses challenges, often resulting in oversimplified models that lack real-world generalizability. Integrating modern Large Language Models (LLMs) with ABM presents a promising avenue to address these challenges and enhance simulation fidelity, leveraging LLMs' human-like capabilities in sensing, reasoning, and behavior. In this paper, we propose a novel framework utilizing LLM-empowered agents to simulate social network users based on their interests and personality traits. The framework allows for customizable agent interactions resembling various social network platforms, including mechanisms for content resharing and personalized recommendations. We validate our framework using a comprehensive Twitter dataset from the 2020 US election, demonstrating that LLM-agents accurately replicate real users' behaviors, including linguistic patterns and political inclinations. These agents form homogeneous ideological clusters and retain the main themes of their community. Notably, preference-based recommendations significantly influence agent behavior, promoting increased engagement, network homophily and the formation of echo chambers. Overall, our findings underscore the potential of LLM-agents in advancing social media simulations and unraveling intricate online dynamics.
1 Introduction
The introduction presents LLM-empowered agents as a way to model social-network users and interactions while addressing the difficulty of manually specifying realistic agent behavior. It reports that the agents reproduce user characteristics and form ideological clusters, with recommendation strategies affecting engagement and echo chambers.
1 Introduction
- Manually configuring diverse interactions and information flows can oversimplify agents and social environments, introducing researcher bias and reducing fidelity to complex human behavior.The introduction identifies collective decision-making as a particular challenge.Source: §1 · p. 2
- The paper asks whether LLM-agents capture users’ interests and form communities or echo chambers, while also investigating their susceptibility to recommendation strategies.The introduction identifies personality traits and interests as open questions alongside community-level behavior.Source: §1 · pp. 2–3
- The proposed framework profiles users from their posts, then uses reasoning and interaction modules to model actions and content exposure in a social network.The interaction module supports preference-based, popularity-based, and random recommendations.Source: §1 · pp. 2–3
- LLM-agents mirror real users’ linguistic patterns and political leaning, form homogeneous ideological groups, and respond to recommendation strategies that promote engagement and echo chambers.The study uses Twitter data from the 2020 US election.Source: §1 · p. 3
2 Related Works
The related work describes both the value and limitations of rule-based social-media ABM and the potential of generative agents. It positions this framework as a personalized, configurable, network-level evaluation of LLM-agents.
2.1 Agent-Based Modelling for Social Media Simulation
- Traditional social-media ABM can require detailed calibration and predefined rules, leaving outcomes sensitive to assumptions and potentially biased representations of complex dynamics.The paper proposes generative agents to reduce reliance on explicit parameterization and predefined rules.Source: §2.1 · p. 4
2.2 Generative Agents
- Prior generative-agent studies report credible individual and social behavior, while this work extends social-media simulation beyond individual properties to network features.The paper contrasts its focus on personality and political interests, customizable exposure, and network formation with S3 [9].Source: §2.2 · p. 4
- The framework’s architecture pairs characterization from real users’ posts with simulation, where agents make contextual decisions and access recommended content.Decisions are represented as a Choice-Reason-Content triple.Source: Figure 1 · p. 5
3 Methodology
The methodology profiles agents from real users’ posts and simulates their social-network decisions and interactions in cycles. A retrieval-based interaction module stores activity and supplies selected content to inform subsequent decisions.
3 Methodology
- The framework has complementary characterization and simulation phases for initializing agents and executing their decisions and interactions.The methodology describes the phases as the framework’s two main components.Source: §3 · p. 5
3.1 Characterization Phase
- Characterization uses users’ original posts to infer personality and interests, avoiding a priori parameters for agent profiles.The authors argue these traits represent engagement style and topics of genuine interest.Source: §3.1 · p. 5
3.2 Simulation Phase
- Agents can generate original content, reshare others’ content, or remain inactive; the LLM chooses actions and content based on traits, interests, and other agents’ behavior.Each response is structured as a Choice-Reason-Content triplet.Source: §3.2 · p. 6
- The Interaction Module uses RAG to retrieve relevant stored actions and content, enriching prompts with context for agents’ decisions.The vector database is updated with agent actions and published content, and retrieval operates as a recommendation system.Source: §3.2 · pp. 6–7, Figure 2 · p. 7
- The simulation queries agents sequentially in round-robin cycles, while its recommendation strategies are simplified approximations rather than actual methods such as collaborative filtering.Each iteration ends after all agents have been queried, then the next begins.Source: §3.2 · pp. 7–8
4 Experiments
The experiments compare LLM-agents with real Twitter users and examine how recommendation strategies shape agent activity and community structure. Agents reproduce discussion themes and political orientations, while preference-based recommendations are associated with stronger homophily and echo-chamber formation.
4.1 Experimental setup
- The study uses Dolphin 2.1 Mistral 7B and runs each simulation for 10 iterations, taking approximately 15 hours per run.Experiments used an Intel Core i7-11800H, 16 GB RAM, and an NVIDIA GeForce RTX 3060 Laptop GPU.Source: §4.1 · p. 8
4.2 Dataset
- The dataset contains over 12 million election-related tweets from 1.1 million users, collected from June to December 2020; 100 annotated users instantiate the agents.The 100 users include 73 Republicans and 27 Democrats; accounts flagged as bots were excluded, and original tweets were used to infer personality and interests.Source: §4.2 · p. 8
4.3 Characterizing LLM-agents vs. Real Users’ Interests (RQ1)
- LLM-agents reproduce the main topics and right-skewed keyword-frequency pattern of real election discussions, supported by a Mann–Whitney test (p-value< 0.05).The comparison uses extracted keywords from original content; the figure plots keyword occurrence counts against the probability of each frequency.Source: §4.3 · p. 9, Figure 3 · p. 10, Table 1 · p. 10
- At least 86% of agents retain their impersonated users’ political orientations across recommendation strategies, while shifts typically involve nonpartisan users.The authors report that exposure to diverse ideas may blur the political orientations of these shifting agents.Source: §4.3 · pp. 9–10, Table 2 · p. 10
- Under preference-based recommendations, median self-similarity is 0.274 for real users and 0.531 for LLM-agents; intra-cluster similarity shows minimal differences among the three distributions.Random recommendations better approximate real-user self-similarity, while preference-based recommendations better align with real-user intra-cluster similarity.Source: §4.3 · p. 11, Figure 4 · p. 12, Figure 5 · p. 12
4.4 Community Formation and Echo Chambers Among LLM-Agents (RQ2)
- Resharing falls to ≤8.4% with random recommendations versus 50.6% with preference-based recommendations, while non-interactions are higher with preference-based recommendations (10.5% versus ≤2.5%).The authors attribute the non-interaction difference to occasional irrelevant recommendations; agents using random recommendations publish original content about 90% of the time.Source: Table 2 · p. 10, §4.4 · p. 12
- Preference-based recommendations produce stronger homophily and more controversy, while random recommendations are not statistically homophilic and mitigate echo-chamber formation.Preference-based networks have 10% fewer inter-cluster edges than the non-homophily threshold; random-recommendation networks have 4% more inter-cluster edges than preference-based networks.Source: §4.4 · pp. 13–14, Table 3 · p. 14
- Agents’ directed resharing interactions form political clusters, and preference-based recommendations reduce connections between those clusters.The interaction graph represents agents as nodes and resharing from a publisher to a resharing agent as a directed edge.Source: §4.4 · pp. 12–13, Table 3 · p. 14
5 Conclusions & Future Works
In Twitter discussions surrounding the 2020 US election, the framework’s LLM-agents maintained users’ political orientations and community themes, and tended to cluster with like-minded peers, especially under preference-based recommendations. The authors propose extending the framework’s recommendation strategies, agent actions, model coverage, and application domains.
- LLM-agents maintained users’ political orientations and community themes, and tended to cluster with like-minded peers, especially under preference-based recommendations.These findings concern Twitter discussions surrounding the 2020 US election.Source: §5 · p. 14
- The framework combines a Characterization Module for inferring user traits with an Interaction Module that applies recommendation strategies through retrieval-augmented generation (RAG).Source: §5 · p. 14
- Future work will explore more sophisticated recommendation algorithms, broader agent actions such as following and liking posts, and multiple LLMs to analyze potential model biases.Source: §5 · p. 14
- The authors also identify potential applications beyond social media simulation, including epidemiology and business planning.Source: §5 · pp. 14–15