Skip to main content
QUICK REVIEW

[论文解读] Asking Before Acting: Gather Information in Embodied Decision Making with Language Models

Xiaoyu Chen, Shenao Zhang|arXiv (Cornell University)|May 25, 2023
Topic ModelingComputer Science被引用 3
一句话总结

本文提出了一种名为先问后行(Asking Before Action, ABA)的方法,使语言模型智能体能够在不熟悉环境中采取行动前,通过自然语言主动查询外部信息源以获取任务相关的信息。通过模仿人类的信息获取行为,ABA提升了决策效率与性能,在不修改模型架构的前提下,使ALFWorld基准测试中的成功率较基线大语言模型智能体高出40%以上。

ABSTRACT

With strong capabilities of reasoning and a broad understanding of the world, Large Language Models (LLMs) have demonstrated immense potential in building versatile embodied decision-making agents capable of executing a wide array of tasks. Nevertheless, when deployed in unfamiliar environments, we show that LLM agents encounter challenges in efficiently gathering essential information, leading to suboptimal performance. Conversely, human individuals often seek additional information from their peers prior to taking action, harnessing external knowledge to avoid unnecessary trial and error. Drawing inspiration from this behavior, we propose extit{Asking Before Acting} (ABA), a method that empowers the agent to proactively inquire with external sources for pertinent information using natural language during their interactions within the environment. In this way, the agent is able to enhance its efficiency and performance by circumventing potentially laborious steps and combating the difficulties associated with exploration in unfamiliar environments and vagueness of the instructions. We conduct extensive experiments involving a spectrum of environments including text-based household everyday tasks, robot arm manipulation tasks, and real world open domain image based embodied tasks. The experiments involve various models from Vicuna to GPT-4. The results demonstrate that, even with modest prompts modifications, ABA exhibits substantial advantages on both performance and efficiency over baseline LLM agents. Further finetuning ABA with reformulated metadata (ABA-FT) faciliates learning the rationale for asking and allows for additional enhancements especially in tasks that baselines struggle to solve.

研究动机与目标

  • 为解决大语言模型智能体因缺乏先验知识而在不熟悉环境中效率低下的问题。
  • 探究智能体是否能够通过自然语言主动查询外部信息源,以减少无谓的探索行为。
  • 使智能体能够保留并复用先前获取的信息,从而最小化重复查询。
  • 设计一种通用且符合人类意图的信息获取机制,无需依赖预定义模板或“神谕”动作。

提出的方法

  • 提出一种新型框架——带有人类/外部信息源的上下文马尔可夫决策过程(Contextual MDP with Human/External Information Sources in the Loop),用于建模具备外部查询能力的智能体-环境交互。
  • 设计一种提示策略,使大语言模型智能体能够基于当前状态和任务目标,生成针对外部信息源的自然语言问题。
  • 集成记忆机制以存储和检索先前获取的信息,实现在不同任务间的复用。
  • 采用模仿学习对智能体的查询生成与动作选择进行微调,基于成功示范。
  • 应用少样本上下文学习,使用结构化示例引导大语言模型生成相关且精确的问题。
  • 在ALFWorld基准测试中评估该方法,与基线大语言模型智能体在相同提示条件下进行性能对比。

实验结果

研究问题

  • RQ1大语言模型智能体能否有效生成自然语言查询,向外部信息源获取缺失信息,从而在不熟悉环境中采取行动前完成信息收集?
  • RQ2与试错式搜索相比,通过自然语言查询主动获取信息是否能提升智能体的成功率并降低探索成本?
  • RQ3智能体是否能够跨不同任务保留并复用先前获取的信息,从而避免重复查询?
  • RQ4在任务成功率与效率方面,ABA方法相较于基线大语言模型智能体的性能表现如何?

主要发现

  • 与基线大语言模型智能体相比,ABA在仅进行微小提示修改的情况下,使ALFWorld基准测试中的任务成功率提升超过40%。
  • 该方法通过使智能体能够直接通过自然语言查询访问相关信息,显著减少了无谓探索的步数。
  • 模仿学习使智能体能够有效复用先前获取的信息,从而在后续任务中减少了重复询问的需求。
  • 定性结果表明,ABA成功解决了以往方法无法解决的任务,尤其在复杂或模糊的情境中表现突出。
  • 在上下文示例中显示,该智能体能通过正确识别并响应查询意图,有效应对模糊查询。
  • 该方法在ALFWorld的不同变体中均表现出良好的泛化能力,表明其对多样化环境与任务结构具有强适应性。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。