OASIS: Open Agent Social Interaction Simulations with One Million Agents

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

Introduction: Bridging the Scale Gap in Social Simulation

Social scientists have long utilized Agent-Based Models (ABMs) to study the spread of ideas and behaviors. However, traditional models often rely on rigid, rule-based logic that fails to capture the nuanced complexity of human interaction. While recent Large Language Model (LLM) based simulators offer improved realism, they are typically constrained to small populations—often just dozens or hundreds of agents—and are frequently hard-coded for narrow scenarios.

Real-world social media platforms like X (formerly Twitter) and Reddit involve millions of users, sophisticated recommendation algorithms, and a diverse array of interaction types such as following, muting, and quoting. There remains a significant gap between a 50-agent "sandbox" and the chaotic, algorithmic environment of a global social network. OASIS (Open Agent Social Interaction Simulations) addresses this by providing a high-performance, generalizable architecture capable of scaling to one million agents while replicating the specific mechanics of major social platforms.

Comparison of OASIS with existing LLM-based social simulators.

System Architecture and Methodology

OASIS is built upon five foundational pillars designed to balance behavioral realism with computational performance.

The OASIS system architecture, featuring the Environment Server, Recommendation System, Agent Module, and Time Engine.
  1. Environment Server: A relational database that maintains the global state, including user profiles, posts, comments, and the dynamic "follow" graph.
  2. Recommendation System (RecSys): This module mimics platform-specific content delivery. It can be configured for an X-style model (utilizing TwHIN-BERT for interest matching) or a Reddit-style model (using "hot scores" derived from upvotes and temporal decay).
  3. Agent Module: Utilizing the CAMEL framework, agents employ LLMs (such as Llama-3) to reason via Chain-of-Thought (CoT). These agents possess an extensive action space of 21 interactions, ranging from simple likes to complex searching and muting behaviors.
  4. Time Engine: To ensure realistic temporal patterns, this engine schedules agent activity based on hourly probabilities, simulating human-like "active hours" rather than simultaneous action.
  5. Scalable Inferencer: To manage the immense compute requirements of a million-agent simulation, OASIS uses a distributed system that handles GPU resources asynchronously, enabling parallel agent inference without server bottlenecks.

Experimental Datasets

The framework was validated using a combination of real-world and synthetic data:

  • Twitter15 & Twitter16: Rumor detection datasets used to ground information propagation experiments in real-world events.
  • Pushshift Reddit Data: Over 116,000 comments from March 2023 were used to initialize realistic agent profiles and discussion threads.
  • Counterfactual Posts: A dataset of "fake" facts (e.g., "The mother tongue of Go Hyeon-jeong is French") was used to analyze how agents identify and correct misinformation.

Key Insights: Emergent Social Phenomena

Simulations conducted with OASIS revealed several striking emergent behaviors:

  • The Herd Effect: LLM agents demonstrated a higher susceptibility to the "herd effect" than humans. When encountering posts with initial negative engagement, agents were significantly more likely to contribute further dislikes, whereas human users typically exhibit more independent deliberation.
  • The Impact of Scale: As the agent population increased, the diversity and "helpfulness" of generated opinions improved. Larger populations fostered a more robust "marketplace of ideas," where extreme views were more frequently countered by a broader spectrum of perspectives.
  • Polarization and Safety Alignment: Group polarization—where opinions become more extreme through interaction—was observed across models. However, this effect was markedly more pronounced in "uncensored" LLMs. Models without safety guardrails rapidly radicalized toward moderate conservative or progressive extremes.
  • Misinformation Dynamics: In million-agent simulations on the "X" platform configuration, misinformation consistently achieved higher engagement and longer lifespans than official news, mirroring documented real-world trends.

Performance and Validation Results

  • Scalability: OASIS successfully executed simulations involving one million agents. In a 10,000-agent Reddit scenario, the system processed a full time-step (representing 3 minutes of real-world time) in approximately 15 minutes using four A100 GPUs.
  • Predictive Accuracy: In information propagation benchmarks, OASIS achieved a 30% Normalized RMSE relative to real-world Twitter data, indicating high fidelity in tracking the scale and breadth of rumor spread.
  • Echo Chambers: Network visualizations confirmed that agents naturally formed dense clusters and "echo chambers" based on shared interests, an emergent property that occurred without explicit programming.

Limitations and Future Directions

While OASIS represents a significant leap in scale, several limitations remain. The recommendation algorithms, though advanced, do not yet reach the complexity of production-grade collaborative filtering. Furthermore, the current framework is text-only, lacking the ability to process or generate images and videos. Future work will explore using OASIS as a training environment, where the feedback from millions of simulated agents serves as a "reward signal" to refine LLM social intelligence and helpfulness.

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 Jinsong Chen 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 Chaochao Lu and Wanli Ouyang and Yu Qiao and Philip Torr and Jing Shao},
  title = {{OASIS: Open Agent Social Interaction Simulations with One Million Agents}},
  booktitle = {OWA @ NeurIPS},
  year = {2024},
  url = {https://openreview.net/forum?id=gS0hprhg72},
}
Figure