Skip to main content
QUICK REVIEW

[Paper Review] Plan, Eliminate, and Track -- Language Models are Good Teachers for Embodied Agents

Yue Wu, So-Yeon Min|arXiv (Cornell University)|May 3, 2023
Topic ModelingComputer Science6 citations
TL;DR

This paper introduces the Plan, Eliminate, and Track (PET) framework, which uses pre-trained large language models (LLMs) as knowledge-providing teachers to guide embodied agents in text-based environments. By decomposing tasks into sub-tasks, filtering irrelevant environmental elements, and tracking progress, PET improves zero-shot generalization to human-specified goals by 15% over SOTA on AlfWorld, without fine-tuning the agent or LLMs.

ABSTRACT

Pre-trained large language models (LLMs) capture procedural knowledge about the world. Recent work has leveraged LLM's ability to generate abstract plans to simplify challenging control tasks, either by action scoring, or action modeling (fine-tuning). However, the transformer architecture inherits several constraints that make it difficult for the LLM to directly serve as the agent: e.g. limited input lengths, fine-tuning inefficiency, bias from pre-training, and incompatibility with non-text environments. To maintain compatibility with a low-level trainable actor, we propose to instead use the knowledge in LLMs to simplify the control problem, rather than solving it. We propose the Plan, Eliminate, and Track (PET) framework. The Plan module translates a task description into a list of high-level sub-tasks. The Eliminate module masks out irrelevant objects and receptacles from the observation for the current sub-task. Finally, the Track module determines whether the agent has accomplished each sub-task. On the AlfWorld instruction following benchmark, the PET framework leads to a significant 15% improvement over SOTA for generalization to human goal specifications.

Motivation & Objective

  • To improve generalization of embodied agents to unseen human goal specifications in text-based environments.
  • To address limitations of using LLMs directly as agents, such as input length constraints, fine-tuning inefficiency, and incompatibility with non-text modalities.
  • To maintain compatibility with trainable, low-level policy networks while leveraging LLMs' procedural and common-sense knowledge.
  • To design a modular, zero-shot framework that enhances planning, perception, and progress tracking without fine-tuning.
  • To demonstrate that LLMs can serve as effective teachers by simplifying control tasks through high-level abstraction and reasoning.

Proposed method

  • The Plan module uses in-context prompting with a pre-trained LLM to decompose a natural language task into a sequence of high-level sub-tasks.
  • The Eliminate module employs a zero-shot question-answering model to mask irrelevant objects and receptacles from the environment observation based on the current sub-task.
  • The Track module uses another zero-shot QA model to determine whether the current sub-task is completed, enabling dynamic progression through the plan.
  • An Action Attention agent with a transformer-based architecture processes the masked observation and takes actions conditioned on the current sub-task, handling variable-length action spaces.
  • The entire framework operates without fine-tuning the LLMs or the agent, relying on in-context prompting and zero-shot QA for all components.
  • Multiple LLMs are used in coordination: one for planning, and two others for elimination and tracking, each specialized to its role.
Figure 1: PET framework. Plan module uses LLM to generate a high-level plan. Eliminate Module uses a QA model to mask irrelevant objects in observation. Track module uses a QA model to track the completion of sub-tasks.
Figure 1: PET framework. Plan module uses LLM to generate a high-level plan. Eliminate Module uses a QA model to mask irrelevant objects in observation. Track module uses a QA model to track the completion of sub-tasks.

Experimental results

Research questions

  • RQ1Can pre-trained LLMs improve zero-shot generalization of embodied agents to human-specified goals in text-based environments?
  • RQ2How can LLMs be used to simplify control tasks without being directly involved in action execution?
  • RQ3To what extent can zero-shot QA models filter irrelevant environmental elements based on sub-task context?
  • RQ4Does sub-task planning and progress tracking improve the agent's ability to handle complex, multi-step tasks like counting procedures?
  • RQ5Can a modular framework combining planning, elimination, and tracking outperform end-to-end LLM-based agents?

Key findings

  • The PET framework achieves a 15% improvement in success rate over the SOTA on the AlfWorld benchmark for generalization to human goal specifications.
  • The Plan module generates sub-tasks with 99% accuracy in terms of precision and recall, demonstrating strong alignment with expert plans.
  • The Eliminate module successfully removes 40% of task-irrelevant objects from observations using common-sense reasoning, improving perception efficiency.
  • Sub-task planning and tracking significantly improve performance on tasks requiring procedural counting, such as placing two soapbars in a cabinet.
  • Ablation studies confirm that combining Plan and Track modules enhances the performance of the Eliminate module, showing synergistic benefits.
  • The framework generalizes well to unseen human goals, even when goal specifications contain ambiguities or minor errors, due to robustness in sub-task embedding and QA-based tracking.
Figure 2: Plan Module (Sub-task Generation). 5 full examples are chosen from the training set based on RoBERTa embedding similarity with the task query description. Then the examples are concatenated with the task query to get the prompt. Finally, we prompt the LLM to generate the desired sub-tasks.
Figure 2: Plan Module (Sub-task Generation). 5 full examples are chosen from the training set based on RoBERTa embedding similarity with the task query description. Then the examples are concatenated with the task query to get the prompt. Finally, we prompt the LLM to generate the desired sub-tasks.

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.