Skip to main content
QUICK REVIEW

[Paper 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 Science3 citations
TL;DR

This paper proposes Asking Before Action (ABA), a method enabling language model agents to proactively query external sources via natural language to gather task-relevant information before acting in unfamiliar environments. By mimicking human-like information-seeking behavior, ABA improves decision-making efficiency and performance, achieving over 40% higher success rates than baseline LLM agents on the ALFWorld benchmark without architectural changes.

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.

Motivation & Objective

  • To address the inefficiency of LLM agents in unfamiliar environments due to lack of prior knowledge.
  • To investigate whether agents can proactively query external sources using natural language to reduce wasteful exploration.
  • To enable agents to retain and reuse previously acquired information across tasks, minimizing redundant queries.
  • To design a generic, human-aligned mechanism for information gathering that does not rely on predefined templates or oracle actions.

Proposed method

  • Introduce a novel framework called Contextual MDP with Human/External Information Sources in the Loop, modeling agent-environment interaction with external query capabilities.
  • Design a prompting strategy that enables the LLM agent to generate natural language questions to external sources based on current state and task goals.
  • Integrate a memory mechanism to store and retrieve previously acquired information, enabling reuse across tasks.
  • Use imitation learning to fine-tune the agent’s query generation and action selection based on successful demonstrations.
  • Apply few-shot in-context learning with structured examples to guide the LLM in formulating relevant, precise questions.
  • Evaluate the method in the ALFWorld benchmark, comparing performance against baseline LLM agents under identical prompting conditions.

Experimental results

Research questions

  • RQ1Can an LLM agent effectively generate natural language queries to external sources to gather missing information before taking actions in unfamiliar environments?
  • RQ2Does proactive information gathering via natural language queries improve the agent’s success rate and reduce exploration cost compared to trial-and-error search?
  • RQ3Can the agent retain and reuse previously acquired information across different tasks to avoid redundant queries?
  • RQ4How does the performance of the ABA method compare to baseline LLM agents in terms of task success and efficiency?

Key findings

  • ABA improves task success rates by over 40% compared to baseline LLM agents on the ALFWorld benchmark with only minor prompt modifications.
  • The method significantly reduces wasteful exploration steps by enabling the agent to directly access relevant information through natural language queries.
  • Imitation learning enables the agent to effectively reuse previously acquired information, reducing the need for repeated inquiries in subsequent tasks.
  • Qualitative results show that ABA successfully solves tasks that previous methods fail to resolve, particularly in complex or ambiguous scenarios.
  • The agent demonstrates robustness in handling ambiguous queries by correctly identifying and responding to the intended object, as shown in in-context examples.
  • The approach generalizes across different variants of ALFWorld, indicating strong adaptability to diverse environments and task structures.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.