[论文解读] Exploring Large Language Model based Intelligent Agents: Definitions, Methods, and Prospects
对基于LLM的智能代理的全面综述,涵盖定义、单代理和多代理框架、核心组件、评估、数据集、应用以及未来方向。
Intelligent agents stand out as a potential path toward artificial general intelligence (AGI). Thus, researchers have dedicated significant effort to diverse implementations for them. Benefiting from recent progress in large language models (LLMs), LLM-based agents that use universal natural language as an interface exhibit robust generalization capabilities across various applications -- from serving as autonomous general-purpose task assistants to applications in coding, social, and economic domains, LLM-based agents offer extensive exploration opportunities. This paper surveys current research to provide an in-depth overview of LLM-based intelligent agents within single-agent and multi-agent systems. It covers their definitions, research frameworks, and foundational components such as their composition, cognitive and planning methods, tool utilization, and responses to environmental feedback. We also delve into the mechanisms of deploying LLM-based agents in multi-agent systems, including multi-role collaboration, message passing, and strategies to alleviate communication issues between agents. The discussions also shed light on popular datasets and application scenarios. We conclude by envisioning prospects for LLM-based agents, considering the evolving landscape of AI and natural language processing.
研究动机与目标
- 在LLMs的语境中定义智能代理,并与基于RL的代理进行对比。
- 提出一个统一的基于LLM的代理系统框架(单代理和多代理),突出关键组件及相互作用。
- 总结现有数据集、评估基准以及LLM代理的典型应用领域。
- 讨论挑战、趋势和未来方向,包括多模态模型和安全考虑。
提出的方法
- 提出一个形式化表示,表示为五元组 V=(L,O,M,A,R),捕捉语言模型、目标、记忆、行动与再思考组件。
- 将代理系统分为单代理和多代理范式,并讨论它们的记忆、规划、工具使用与环境交互。
- 回顾LLM代理的规划方法,包括上下文学习方法(CoT、ToT、GoT 等)和外部规划集成(PDDL、符号规划器、蒙特卡洛树搜索)。
- 综述记忆架构(短期与长期、知识图谱、向量存储、数据库、API 交互)及其检索策略。
- 总结代理模板和开发模板(ToolLLM、AutoGPT、LangChain 等),以支持快速试验和部署。
实验结果
研究问题
- RQ1在单代理与多代理环境下,基于LLM的智能代理的核心定义和差异是什么?
- RQ2哪些架构、规划策略和记忆系统最有效,能够实现稳健的基于LLM的代理?
- RQ3哪些数据集、基准和应用领域在当前研究中占主导地位,哪些挑战和方向引导未来工作?
主要发现
- 基于LLM的代理将自然语言推理与规划和执行行动相结合,具有强大的泛化能力和交互能力。
- 单代理与多代理系统在设计上存在明显差异,包括记忆、环境交互、工具使用和通信策略。
- 基于LLM的代理的规划利用上下文推理技术(CoT、ToT、GoT 等),并且可以通过外部规划器或蒙特卡洛方法增强。
- 记忆架构范围从短期对话历史到通过知识图谱、向量数据库和 API 的长期存储,以实现回忆和知识管理。
- 丰富的模板和框架(如 ToolLLM、AutoGPT、LangChain)支持基于LLM的代理的快速开发和试验。
- 该综述概述了跨自然科学、社会科学、工程和通用自治任务的多样应用领域,并讨论了像上下文长度、知识更新和安全等挑战。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。