本文扩展 AgentScope,通过 actor 分布式机制、灵活环境、自动智能体背景生成和 Web 管理界面,实现高效可扩展的超大规模多智能体仿真。
摘要:
大型语言模型(LLM)的最新进展为将多智能体系统应用于超大规模仿真开辟了新途径。然而,使用现有平台开展多智能体仿真仍存在若干挑战,例如可扩展性有限、效率低下、智能体多样性不足,以及管理过程耗费大量精力。为应对这些挑战,我们为易用的多智能体平台 AgentScope 开发了若干新功能和组件,增强其支持超大规模多智能体仿真的便利性与灵活性。具体而言,我们提出一种基于 actor 的分布式机制,作为实现高可扩展性和高效率的底层技术基础设施,并提供灵活的环境支持以仿真各种真实世界场景,从而支持多个智能体并行执行、面向分布式部署的自动工作流转换,以及智能体之间和智能体与环境之间的交互。此外,我们在 AgentScope 中集成了一个易于使用的可配置工具和一条自动背景生成流水线,简化创建具有多样且详细背景设置的智能体的过程。最后同样重要的是,我们提供基于 Web 的界面,以便方便地监控和管理可能部署在多个设备上的大量智能体。我们开展了全面仿真,以证明 AgentScope 中这些增强功能的有效性,并给出详细观察结果和富有洞见的讨论,以凸显多智能体系统在大规模仿真中应用的巨大潜力。源代码已在 GitHub 的 https://github.com/modelscope/agentscope/tree/main/examples/paper_large_scale_simulation 发布,以激励大规模多智能体仿真领域的进一步研究与开发。
英文摘要:
Recent advances in large language models (LLMs) have opened new avenues for applying multi-agent systems in very large-scale simulations. However, there remain several challenges when conducting multi-agent simulations with existing platforms, such as limited scalability and low efficiency, unsatisfied agent diversity, and effort-intensive management processes. To address these challenges, we develop several new features and components for AgentScope, a user-friendly multi-agent platform, enhancing its convenience and flexibility for supporting very large-scale multi-agent simulations. Specifically, we propose an actor-based distributed mechanism as the underlying technological infrastructure towards great scalability and high efficiency, and provide flexible environment support for simulating various real-world scenarios, which enables parallel execution of multiple agents, automatic workflow conversion for distributed deployment, and both inter-agent and agent-environment interactions. Moreover, we integrate an easy-to-use configurable tool and an automatic background generation pipeline in AgentScope, simplifying the process of creating agents with diverse yet detailed background settings. Last but not least, we provide a web-based interface for conveniently monitoring and managing a large number of agents that might deploy across multiple devices. We conduct a comprehensive simulation to demonstrate the effectiveness of these proposed enhancements in AgentScope, and provide detailed observations and insightful discussions to highlight the great potential of applying multi-agent systems in large-scale simulations. The source code is released on GitHub at https://github.com/modelscope/agentscope/tree/main/examples/paper_large_scale_simulation to inspire further research and development in large-scale multi-agent simulations.
SEA: A Spatially Explicit Architecture for Multi-Agent Reinforcement Learning
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院)
Two Models of Latent Consensus in Multi-Agent Systems
Trapeznikov Institute of Control Sciences of RAS(俄罗斯科学院控制科学特拉佩兹尼科夫研究所);Kotelnikov Institute of Radioengineering and Electronics of RAS(俄罗斯科学院科特利尼科夫无线电工程与电子研究所)