/social_simulation

website repo for agent-based social movement simulation

Primary LanguageJavaScriptMIT LicenseMIT

🙌 Unveiling the Truth and Facilitating Change: Towards Agent-based Large-scale Social Movement Simulation

What's New🔥: Our paper has been accepted to ACL 2024-Findings. The code can be visited at this link.

This is the repository for the preprint paper: Unveiling the Truth and Facilitating Change: Towards Agent-based Large-scale Social Movement Simulation.

The webpage can be visited at https://xymou.github.io/social_simulation/.

Abstract

Social media has emerged as a cornerstone of social movements, wielding significant influence in driving societal change. Simulating the response of the public and forecasting the potential impact has become increasingly important. However, existing methods for simulating such phenomena encounter challenges concerning their efficacy and efficiency in capturing the behaviors of social movement participants. In this paper, we introduce a hybrid framework HiSim for social media user simulation, wherein users are categorized into two types. Core users are driven by Large Language Models, while numerous ordinary users are modeled by deductive agent-based models. We further construct a Twitter-like environment to replicate their response dynamics following trigger events. Subsequently, we develop a multi-faceted benchmark SoMoSiMu-Bench for evaluation and conduct comprehensive experiments across real-world datasets. Experimental results demonstrate the effectiveness and flexibility of our method.

Dataset

To be in compliance with Twitter’s terms of service, we can not publish the raw data. Instead, we only disclose the original tweet ids, from which you can filter out the users you want to study, to minimize the privacy risk.

For user list we used in our paper, we can only provide the ids id_link.

Code

Now moved to link.

  • For LLM-empowered core users, part of the implementation is based on AgentVerse, many thanks to THUNLP for the open-source resource.
  • For ordinary users supported by conventional ABMs, we use the mesa library to implement the agent-based models.

Citation

Please consider citing this paper if you find this repository useful:

@article{mou2024unveiling,
      title={Unveiling the Truth and Facilitating Change: Towards Agent-based Large-scale Social Movement Simulation}, 
      author={Xinyi Mou and Zhongyu Wei and Xuanjing Huang},
      year={2024},
      journal = {arXiv preprint arXiv: 2402.16333},
}