AI Metropolis: Scaling Large Language Model-based Multi-Agent Simulation with Out-of-order Execution

Zhiqiang Xie, Hao Kang, Ying Sheng, Tushar Krishna, Kayvon Fatahalian +1 more
11/5/2024
cs.DCcs.AIcs.LG

No confident code implementation found for this paper. 10 possible matches can be shown below.

Abstract

With more advanced natural language understanding and reasoning capabilities, large language model (LLM)-powered agents are increasingly developed in simulated environments to perform complex tasks, interact with other agents, and exhibit emergent behaviors relevant to social science and gaming. However, current multi-agent simulations frequently suffer from inefficiencies due to the limited parallelism caused by false dependencies, resulting in performance bottlenecks. In this paper, we introduce AI Metropolis, a simulation engine that improves the efficiency of LLM agent simulations by incorporating out-of-order execution scheduling. By dynamically tracking real dependencies between agents, AI Metropolis minimizes false dependencies, enhancing parallelism and enabling efficient hardware utilization. Our evaluations demonstrate that AI Metropolis achieves speedups from 1.3x to 4.15x over standard parallel simulation with global synchronization, approaching optimal performance as the number of agents increases.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 10 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{xie2024metropolis,
  title  = {AI Metropolis: Scaling Large Language Model-based Multi-Agent Simulation with Out-of-order Execution},
  author = {Zhiqiang Xie and Hao Kang and Ying Sheng and Tushar Krishna and Kayvon Fatahalian and Christos Kozyrakis},
  year   = {2024},
  eprint = {2411.03519},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.03519v1}
}

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/2411.03519.svg)](https://codeofpaper.com/paper/2411.03519)

Discussion