arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.03519cs.DCcs.AIcs.LGcs.MA
收藏

AI Metropolis:利用乱序执行扩展基于大型语言模型的多智能体仿真

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

Stanford University(斯坦福大学);Georgia Institute of Technology(佐治亚理工学院)

Zhiqiang Xie, Hao Kang, Ying Sheng, Tushar Krishna, Kayvon Fatahalian, Christos Kozyrakis

AI总结:

本文提出AI Metropolis仿真引擎,通过乱序执行调度动态追踪智能体间真实依赖、减少虚假依赖,提升LLM多智能体仿真并行性与硬件利用率,实现1.3至4.15倍加速。

摘要:

随着自然语言理解和推理能力的日益增强,由大型语言模型(LLM)驱动的智能体越来越多地在模拟环境中被开发,以执行复杂任务、与其他智能体交互,并展现出与社会科学和游戏相关的涌现行为。然而,当前的多智能体仿真常常因虚假依赖导致的有限并行性而效率低下,造成性能瓶颈。在本文中,我们介绍了AI Metropolis,一种通过引入乱序执行调度来提高LLM智能体仿真效率的仿真引擎。通过动态追踪智能体之间的真实依赖关系,AI Metropolis最小化虚假依赖,增强并行性并实现高效的硬件利用。我们的评估表明,与采用全局同步的标准并行仿真相比,AI Metropolis实现了1.3倍到4.15倍的加速,并且随着智能体数量的增加,其性能接近最优。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑