OASIS: Open Agents Social Interaction Simulations on a Large Scale

Ziyi Yang, Zaibin Zhang, Zirui Zheng, Yuxian Jiang, Ziyue Gan, Zhiyu Wang, Zijian Ling, Konisberg, Martz Ma, Bowen Dong, Prateek Gupta, Shuyue Hu, Zhenfei Yin, Guohao Li, Xu Jia, Lijun Wang, Bernard Ghanem, Huchuan Lu, Wanli Ouyang, Yu Qiao, Philip Torr, Jing Shao · Submission to ICLR 2025 · Rejected

TL;DR

OASIS is an open-source, large-scale agent-based simulator designed to model social media platforms like X and Reddit with up to one million LLM-driven agents. By integrating dynamic social networks, diverse action spaces, algorithmic recommendation engines, and asynchronous distributed inference, it allows researchers to realistically reproduce complex macro-social phenomena—such as rumor spreading, group polarization, and herd behavior—at unprecedented scale.

What Problem Does This Paper Address?

Traditional Agent-Based Models (ABMs) rely on rigid, hand-crafted rules that fail to capture the nuanced, context-dependent nature of human communication. While recent research has started using Large Language Models (LLMs) to create more human-like agents, existing LLM-based ABMs suffer from two major bottlenecks:

  1. Narrow Scope: Most simulators are bespoke systems tailored to a single micro-scenario (e.g., a 25-agent virtual town or small focus groups), making them brittle and hard to generalize to new platforms.
  2. Limited Scale: Real social networks comprise millions of users governed by complex interaction algorithms. Prior LLM simulators rarely scaled past a few hundred or thousand agents due to engineering and inference cost constraints, missing emergent collective behaviors that only appear at critical mass.

Methods

OASIS combines social network dynamics with a high-throughput systems design structured around five core components:

  • Environment Server: Backed by a relational database that dynamically updates states across six core tables: users, posts, comments, relations (follows/mutes), action traces, and cached recommendations.
  • Algorithmic Recommendation Systems (RecSys): Implements platform-specific feed algorithms. For X, it balances in-network popularity with out-of-network discovery using TwHIN-BERT semantic embeddings, recency, and author follower counts. For Reddit, it incorporates the platform's logarithmic "hot score" ranking based on upvotes, downvotes, and post age.
  • Agent Module: Built on the CAMEL framework, providing agents with memory (post context, past reactions) and a broad 21-action space (including liking, unliking, quote-posting, commenting, following, muting, searching, and doing nothing) paired with Chain-of-Thought (CoT) reasoning.
  • Time Engine: Avoids unrealistic synchronous rounds by assigning each agent a 24-dimensional hourly activity probability vector derived from real-world usage patterns, activating agents probabilistically across discrete time steps.
  • Scalable Distributed Architecture: Employs an asynchronous, event-driven message queue with thread-safe response registries, vLLM-accelerated batching, and a dedicated GPU manager to balance high-volume LLM requests across GPU clusters. To populate large societies, a scale-free network generation algorithm synthesizes user personas (demographics, MBTI, interests) while maintaining core-versus-ordinary user power laws.

Datasets

The authors evaluated OASIS against both real-world data and counterfactual benchmarks:

  • Information Propagation (X): 198 real propagation cascades across 9 topics sourced from the Twitter15 and Twitter16 rumor detection datasets, including user profiles, follower topologies, and historical tweet timing collected via the X API.
  • Group Polarization (X): 196 seed core users expanded synthetically up to 1 million agents to evaluate opinion shifts on classical choice dilemmas.
  • Herd Effect (Reddit): 116,932 real Reddit comments across 17 subreddits (7 topics) from the Pushshift 2023-03 archive paired with 3,600 generated profiles (replicating the Muchnik et al. 2013 human experiment).
  • Counterfactual Misinformation: 21,919 counterfactual factual edits (from Meng et al., 2022) evaluated with 10,000 agents to study group-level correction.

Key Insights and Ideas

  • Sociological Behaviors Require Scale to Emerge: In counterfactual misinformation experiments, small groups (100 agents) showed zero herd effect. Only when scaled to 1,000 and 10,000 agents did statistically significant conformity to negative votes and group-level factual self-correction emerge.
  • Agents Are More Susceptible to Herding Than Humans: While agent upvoting closely matched human positive herding, LLM agents exposed to an initial downvote overwhelmingly escalated negative ratings. Unlike real humans—who often deliberately upvote down-treated comments to counteract perceived bias—agents showed weaker critical resistance to negative momentum.
  • Uncensored Models Polarize Faster: Group interactions consistently shifted opinions toward extremes, but "uncensored" LLMs (stripped of alignment/safety guardrails) exhibited drastically faster radicalization and utilized more absolute language.
  • Larger Agent Populations Enrich Opinion Diversity: Expanding agent scale from 196 to 100,196 did not homogenize the discussion; instead, it exposed seed agents to richer perspectives, producing responses rated as significantly more helpful and diverse by automated evaluation.

Key Results

  • Information Spreading Alignment: Replicated propagation curves with a normalized RMSE of ~30% for scale and maximum breadth against real-world Twitter data.
  • Helpfulness Win Rates: Opinions generated by core agents immersed in a 10k-agent pool were preferred 76.5% of the time over a 196-agent pool; scaling to 100k yielded a further 54.5% preference margin.
  • Simulation Throughput:
  • 10,000 agents: 0.2 hours per time step on 2 A100 GPUs (generating ~600 tweets and ~900 comments per step).
  • 100,000 agents: 3.0 hours per time step on 5 A100 GPUs.
  • 1,000,000 agents: 18.0 hours per time step on 27 A100 GPUs (~48.5k tweets and ~97.1k comments per step).

Limitations and Future Work

  • Simplified Recommender Logic: The current RecSys approximates platform feeds via semantic vector similarity and follower impact, lacking industrial collaborative filtering and bandit algorithms, which caused OASIS to underestimate real cascade depths.
  • Text-Only Modality: Agents only interact with text; they cannot process images, audio, or video, which drive modern social feeds.
  • Inference Overhead: Running 1M agents over multiple simulation days remains computationally demanding and costly.
  • Safety & Dual-Use Risks: High-fidelity simulation of social contagion and polarization could potentially be weaponized to optimize real-world disinformation campaigns, necessitating governance frameworks for large-scale multi-agent deployments.

Summary updated

BibTeX
@inproceedings{yang2024oasis,
  author = {Ziyi Yang and Zaibin Zhang and Zirui Zheng and Yuxian Jiang and Ziyue Gan and Zhiyu Wang and Zijian Ling and Konisberg and Martz Ma and Bowen Dong and Prateek Gupta and Shuyue Hu and Zhenfei Yin and Guohao Li and Xu Jia and Lijun Wang and Bernard Ghanem and Huchuan Lu and Wanli Ouyang and Yu Qiao and Philip Torr and Jing Shao},
  title = {{OASIS: Open Agents Social Interaction Simulations on a Large Scale}},
  booktitle = {OWA @ NeurIPS},
  year = {2024},
  url = {https://openreview.net/forum?id=gS0hprhg72},
}
Figure