AgentSpec: 通过受控组合理解具身智能体脚手架
AgentSpec: Understanding Embodied Agent Scaffolds Through Controlled Composition
AI总结:
提出AgentSpec模块化规范框架,将具身智能体表示为可复用策略组件的类型化组合,通过标准化接口实现受控组件替换与重组,揭示脚手架兼容性和交互效应对性能的主导作用。
摘要:
LLM智能体越来越多地构建为脚手架系统,而非单一模型调用,这些系统结合了推理、记忆、反思、动作执行和学习。虽然此类脚手架通常能提升性能,但它们往往嵌入在紧密耦合的流水线中,使得难以隔离组件贡献、比较替代设计或理解模块交互如何塑造智能体行为。我们引入AgentSpec,一个模块化规范框架,将具身智能体表示为具有标准化接口的可复用策略组件的类型化组合。AgentSpec标准化了感知、记忆、推理、反思、动作和可选学习之间的接口,使得组件能够在受控条件下被交换和重组。我们在DeliveryBench、ALFRED、MiniGrid和RoboTHOR上实例化该框架,并分析了跨模型骨干的推理、记忆、反思和强化学习模块。我们的结果表明,智能体性能由脚手架兼容性和交互效应主导,而非孤立模块强度。特别是,结构化多粒度记忆改善了长程状态跟踪,推理和记忆在不同环境中非均匀交互,反思在纠正和成本之间权衡,而RL训练的策略在与部署时脚手架结构共同优化时组合最佳。AgentSpec为研究、比较和设计可组合的LLM智能体提供了受控基础。我们的代码、基线和交互式游乐场在此https URL公开。
英文摘要:
LLM agents are increasingly built not as single model calls, but as scaffolded systems that combine reasoning, memory, reflection, action execution, and learning. While such scaffolds often improve performance, they are often embedded in tightly coupled pipelines, making it difficult to isolate component contributions, compare alternative designs, or understand how module interactions shape agent behavior. We introduce AgentSpec, a modular specification framework that represents embodied agents as typed compositions of reusable policy components with standardized interfaces. AgentSpec standardizes the interfaces among perception, memory, reasoning, reflection, action, and optional learning, enabling components to be swapped and recombined under controlled conditions. We instantiate this framework across DeliveryBench, ALFRED, MiniGrid, and RoboTHOR, and analyze reasoning, memory, reflection, and reinforcement-learning modules across model backbones. Our results show that agent performance is governed by scaffold compatibility and interaction effects rather than isolated module strength. In particular, structured multi-granularity memory improves long-horizon state tracking, reasoning and memory interact non-uniformly across environments, reflection trades off correction and cost, and RL-trained policies compose best when optimized with deployment-time scaffold structure. AgentSpec provides a controlled foundation for studying, comparing, and designing composable LLM agents. Our code, baselines and interactive playground are publicly available at https://agentspec-embodied.github.io.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。