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
2024-11-25
Abstract: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.
Social and Information Networks,Multiagent Systems
What problem does this paper attempt to address?
The problem that this paper attempts to solve lies in the challenges faced by traditional agent - based modeling (ABM) when simulating social networks. Specifically, there are difficulties in manually configuring diverse agent interactions and information - flow dynamics, which often lead to models being overly simplified and lacking real - world universality. The paper proposes a new framework to enhance ABM by combining the capabilities of modern large - language models (LLMs), aiming to address these challenges and improve the authenticity of simulations. This framework utilizes the human - like perception, reasoning, and behavior capabilities of LLMs, enabling agents to more realistically simulate social - network users based on users' interests and personality characteristics. The paper focuses specifically on the following points: 1. **Agent Initialization**: By combining prompt engineering and prompt - tuning techniques, extract users' personality characteristics and interests from real - users' original posts, thereby constructing the initial state of each agent. 2. **Decision - making and Interaction**: The simulation process is divided into two modules: the Reasoning Module is responsible for each agent's decision - making in the simulation, such as posting original content, sharing other agents' content, or remaining inactive; the Interaction Module records agents' past behaviors and defines how agents are exposed to other agents' content, supporting different recommendation strategies. 3. **Validating the Effectiveness of the Framework**: Use the Twitter dataset during the 2020 US presidential election for validation, proving that LLM - agents can accurately replicate real - users' language patterns and political tendencies, form homogeneous ideological groups, and exhibit similar topics to real - world communities. Through these methods, the paper aims to explore the potential of LLM - agents in enhancing social - media simulations and revealing complex online dynamics.