Skip to main content
QUICK REVIEW

[Paper Review] Large Language Models as Generalizable Policies for Embodied Tasks

Andrew Szot, Max Schwarzer|arXiv (Cornell University)|Oct 26, 2023
Multimodal Machine Learning ApplicationsComputer Science7 citations
TL;DR

LLaRP adapts a pre-trained frozen LLM with input/output adapters and online RL to control embodied agents, achieving 42% success on 1,000 unseen tasks and generalizing to paraphrastic and novel behaviors.

ABSTRACT

We show that large language models (LLMs) can be adapted to be generalizable policies for embodied visual tasks. Our approach, called Large LAnguage model Reinforcement Learning Policy (LLaRP), adapts a pre-trained frozen LLM to take as input text instructions and visual egocentric observations and output actions directly in the environment. Using reinforcement learning, we train LLaRP to see and act solely through environmental interactions. We show that LLaRP is robust to complex paraphrasings of task instructions and can generalize to new tasks that require novel optimal behavior. In particular, on 1,000 unseen tasks it achieves 42% success rate, 1.7x the success rate of other common learned baselines or zero-shot applications of LLMs. Finally, to aid the community in studying language conditioned, massively multi-task, embodied AI problems we release a novel benchmark, Language Rearrangement, consisting of 150,000 training and 1,000 testing tasks for language-conditioned rearrangement. Video examples of LLaRP in unseen Language Rearrangement instructions are at https://llm-rl.github.io.

Motivation & Objective

  • Investigate whether a frozen pre-trained LLM can serve as a generalizable policy for embodied, multi-modal tasks.
  • Evaluate generalization to paraphrastic instruction variations and to novel behaviors beyond training.
  • Develop a scalable benchmark (Language Rearrangement) to study language-conditioned embodied AI generalization.
  • Demonstrate training efficiency and potential benefits over zero-shot LLM usage and non-LLM baselines.

Proposed method

  • Strip input/output layers of a pre-trained LLM to create a backbone for policy learning.
  • Introduce adapters: a vision-to-embedding adapter E_phi^V and an action output module D_omega to map LLM outputs to environment actions.
  • Condition the policy on natural language goals and egocentric visual observations, encoded and fed into the LLM backbone.
  • Train online using PPO (DD-PPO) with the LLM backbone and vision encoder frozen, optimizing a goal-conditioned reward.
  • Use a high-level policy to select low-level skills in the Language Rearrangement task with 70 available skills.

Experimental results

Research questions

  • RQ1Can a frozen LLM be repurposed as a vision-language policy for embodied tasks through lightweight adapters?
  • RQ2Does LLaRP achieve paraphrastic robustness and behavior generalization to unseen instructions and tasks?
  • RQ3Do language-conditioned policies trained with RL generalize to new object types, scenes, and complex rearrangement instructions?
  • RQ4What are the efficiency and learning-curve benefits of RL with LLM-based policies vs imitation learning or zero-shot LLM usage?
  • RQ5How does scaling the LLM size affect embodied task performance and generalization?

Key findings

  • LLaRP achieves 42% success on 1,000 unseen tasks, outperforming an LSTM-based policy (25%) and zero-shot LLMs (22%).
  • LLaRP shows paraphrastic robustness and behavior generalization across diverse instruction variations and novel task behaviors.
  • LLaRP provides faster learning and greater sample efficiency than baselines, and surpasses imitation learning in efficiency.
  • Larger LLMs (e.g., LLaMA-13B) yield measurable gains over smaller models (e.g., LLaMA-7B).
  • LLaRP extends benefits to Atari domain, showing non-trivial gains over transformer baselines when world knowledge from LLMs is available.

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.