[论文解读] Internet of Agents: Weaving a Web of Heterogeneous Agents for Collaborative Intelligence
本文提出互联网代理(IoA),一种可扩展的、受互联网启发的框架,使异构的大语言模型(LLM)代理能够跨分布式设备动态协作。通过引入代理集成协议、类即时消息通信机制以及灵活的对话状态管理,IoA 克服了生态系统隔离、单设备模拟和刚性协调等挑战,在开放域任务中实现了 66–76% 的胜率,并在基于 GPT-3.5 的实现中超越了 GPT-4 在检索增强生成任务中的表现。
The rapid advancement of large language models (LLMs) has paved the way for the development of highly capable autonomous agents. However, existing multi-agent frameworks often struggle with integrating diverse capable third-party agents due to reliance on agents defined within their own ecosystems. They also face challenges in simulating distributed environments, as most frameworks are limited to single-device setups. Furthermore, these frameworks often rely on hard-coded communication pipelines, limiting their adaptability to dynamic task requirements. Inspired by the concept of the Internet, we propose the Internet of Agents (IoA), a novel framework that addresses these limitations by providing a flexible and scalable platform for LLM-based multi-agent collaboration. IoA introduces an agent integration protocol, an instant-messaging-like architecture design, and dynamic mechanisms for agent teaming and conversation flow control. Through extensive experiments on general assistant tasks, embodied AI tasks, and retrieval-augmented generation benchmarks, we demonstrate that IoA consistently outperforms state-of-the-art baselines, showcasing its ability to facilitate effective collaboration among heterogeneous agents. IoA represents a step towards linking diverse agents in an Internet-like environment, where agents can seamlessly collaborate to achieve greater intelligence and capabilities. Our codebase has been released at \url{https://github.com/OpenBMB/IoA}.
研究动机与目标
- 为解决多代理系统中的生态系统隔离问题,通过支持来自不同平台的第三方代理集成。
- 通过支持分布式、多设备代理部署,克服单设备模拟的局限性。
- 通过用灵活的状态驱动对话流替代硬编码通信管道,实现动态、自适应协作。
- 通过允许基于任务需求自主组建团队,模拟现实世界中的代理协作。
- 建立一种可泛化的、类似互联网的基础设施,以支持可扩展的异构代理协作。
提出的方法
- 设计代理集成协议,以在不同设备上的第三方代理之间标准化通信与互操作性。
- 实现类即时消息的架构,以支持代理发现、动态团队组建以及基于群聊的协作。
- 引入有限状态机以控制对话流程,受言语行为理论启发,用于管理讨论与任务执行状态。
- 通过允许代理根据任务需求和自身能力搜索并加入团队,实现自主组队。
- 通过可扩展的代理描述和基于角色的任务路由,支持异构代理类型(如人类助手、事物助手)。
- 采用模块化、可扩展的框架,将各类代理(如 AutoGPT、Open Interpreter 和 ReAct 代理)集成到统一的协作环境中。
实验结果
研究问题
- RQ1去中心化、受互联网启发的框架能否实现来自不同生态系统的异构大语言模型代理之间的无缝协作?
- RQ2与刚性、硬编码的通信管道相比,动态团队组建和灵活的对话状态管理在多代理任务性能方面能提升多少?
- RQ3在现实世界任务场景中,分布式多设备代理系统在多大程度上优于单设备模拟?
- RQ4轻量级的基于 GPT-3.5 的 IoA 实现能否在检索增强生成任务中达到或超越 GPT-4 的性能?
- RQ5IoA 在包括通用助手任务、具身人工智能和 RAG 评估在内的多样化基准测试中表现如何?
主要发现
- 在与 AutoGPT 和 Open Interpreter 等独立代理的开放域任务评估中,IoA 实现了 66–76% 的胜率。
- 仅使用少量基础 ReAct 代理,IoA 在具身人工智能的 GAIA 基准测试中表现优于以往最先进方法。
- 基于 GPT-3.5 的 IoA 实现,在检索增强生成任务中性能达到或超过 GPT-4,显著优于现有多代理框架。
- 该框架有效实现了动态团队组建与对话状态管理,支持在多种代理类型和任务间实现自适应协作。
- 代理集成协议成功实现了第三方代理之间的互操作性,克服了生态系统隔离问题,提升了平台通用性。
- IoA 的分布式架构有效模拟了现实世界部署场景,验证了其在单设备模拟之外的可扩展性与实用性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。