GenSim: A General Social Simulation Platform with Large Language Model based Agents

Jiakai Tang, Heyang Gao, Xuchen Pan, Lei Wang, Haoran Tan +9 more
10/6/2024
cs.MAcs.AI

No official code found. Best implementation: TangJiakai/GenSim (87 stars, last commit 2024-12-14).

Abstract

With the rapid advancement of large language models (LLMs), recent years have witnessed many promising studies on leveraging LLM-based agents to simulate human social behavior. While prior work has demonstrated significant potential across various domains, much of it has focused on specific scenarios involving a limited number of agents and has lacked the ability to adapt when errors occur during simulation. To overcome these limitations, we propose a novel LLM-agent-based simulation platform called \textit{GenSim}, which: (1) \textbf{Abstracts a set of general functions} to simplify the simulation of customized social scenarios; (2) \textbf{Supports one hundred thousand agents} to better simulate large-scale populations in real-world contexts; (3) \textbf{Incorporates error-correction mechanisms} to ensure more reliable and long-term simulations. To evaluate our platform, we assess both the efficiency of large-scale agent simulations and the effectiveness of the error-correction mechanisms. To our knowledge, GenSim represents an initial step toward a general, large-scale, and correctable social simulation platform based on LLM agents, promising to further advance the field of social science.

View on arXivView PDF

Code Implementations(1)

TangJiakai/GenSimCommunity100%

[NAACL 2025 Demo Track] GenSim: A General Social Simulation Platform with Large Language Model based Agents

873Jinja, ShellOct 5, 20241 years ago

Similar Papers

Cite this paper

@article{tang2024gensim,
  title  = {GenSim: A General Social Simulation Platform with Large Language Model based Agents},
  author = {Jiakai Tang and Heyang Gao and Xuchen Pan and Lei Wang and Haoran Tan and Dawei Gao and Yushuo Chen and Xu Chen and Yankai Lin and Yaliang Li and Bolin Ding and Jingren Zhou and Jun Wang and Ji-Rong Wen},
  year   = {2024},
  eprint = {2410.04360},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.04360v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.04360.svg)](https://codeofpaper.com/paper/2410.04360)

Discussion