LLM-Planner: Few-Shot Grounded Planning for Embodied Agents with Large Language Models
Written for the Research library (claude-opus-5-5) from the paper text. Original — arxiv.org/pdf/2212.04088
Summary
Language-driven embodied agents usually need many annotated instruction–trajectory pairs for every task, which makes them expensive to build and slow to extend. LLM-Planner addresses this by using a large language model (GPT-3) as the high-level planner in a hierarchical agent. Given an instruction and a few retrieved example pairs in the prompt, the LLM writes a sequence of subgoals such as navigating to or picking up an object. A low-level planner then turns each subgoal into primitive actions. When the agent stalls, taking too many steps or failing repeatedly, the LLM is prompted again with the subgoals already completed and the objects seen so far. It then produces a revised continuation that fits the actual environment. The planner is plugged into the perception and low-level modules of HLSM and tested on ALFRED. With only a tiny fraction of the paired data, it performs comparably to fully trained baselines, while other methods nearly fail in the same few-shot regime. This suggests a cheap route to versatile, sample-efficient agents.
Key points
- Data efficiency: The planner uses about 100 paired examples, under 0.5% of ALFRED's training data, and no parameter updates (in-context learning only).
- Prompting techniques: The method adds a kNN retriever for dynamic in-context example selection and logit biases. In the ablation, LOOCV HLP accuracy is 40.59 for the full model. It falls to 17.48 without the retriever, 38.10 without logit biases, and 13.43 without both.
- Comparison with SayCan: Unlike SayCan, which ranks a pre-enumerated list of admissible skills, LLM-Planner generates plans directly. This removes the need for prior environment knowledge and reduces the number of LLM calls.
- Hyperparameter sensitivity: Around 9 in-context examples works well. Gains from more training examples level off near 250.
- Case studies: Grounded re-planning helps locate objects, for example searching a cabinet for a missing cup. It also resolves ambiguous references, for example mapping "lamp" to the desklamp present in the scene.
Cited by
- Mind2Web: Towards a Generalist Agent for the Web
- Towards Reasoning in Large Language Models: A Survey
- A Comprehensive Overview of Large Language Models
- Tool Learning with Foundation Models
- UI-TARS: Pioneering Automated GUI Interaction with Native Agents
- The Rise and Potential of Large Language Model Based Agents: A Survey
Cite
@misc{song2022llm,
title = {{LLM-Planner: Few-Shot Grounded Planning for Embodied Agents with Large Language Models}},
author = {Song, Chan Hee and Wu, Jiaman and Washington, Clayton and Sadler, Brian M. and Chao, Wei-Lun and Su, Yu},
year = {2022},
doi = {10.48550/arxiv.2212.04088},
eprint = {2212.04088},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2212.04088}
}References
- Michael Ahn, Anthony Brohan, Noah Brown, Yevgen Chebotar, Omar Cortes, Byron David, Chelsea Finn, Chuyuan Fu, Keerthana Gopalakrishnan, Karol Hausman, Alex Herzog, Daniel Ho, Jasmine Hsu, Julian Ibarz, Brian Ichter, Alex Irpan, Eric Jang, Rosario Jauregui Ruano, Kyle Jeffrey, Sally Jesmonth, Nikhil… find our card
- Peter Anderson, Qi Wu, Damien Teney, Jake Bruce, Mark Johnson, Niko Sunderhauf, Ian Reid, Stephen Gould, and Anton Van Den Hengel. Vision-and-language navigation: Interpreting visually-grounded navigation instructions in real environments. In CVPR, pages 3674–3683, 2018. 1, 3 find our card
- Valts Blukis, Chris Paxton, Dieter Fox, Animesh Garg, and Yoav Artzi. A persistent spatial semantic representation for high-level natural language instruction execution. In Conference on Robot Learning, pages 706–717. PMLR, 2022. 2, 3, 4, 6, 8, 12, 14 find
- Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel Ziegler, Jeffrey Wu, Clemens Winter, Chri… find our card