Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied Agents
About
Can world knowledge learned by large language models (LLMs) be used to act in interactive environments? In this paper, we investigate the possibility of grounding high-level tasks, expressed in natural language (e.g. "make breakfast"), to a chosen set of actionable steps (e.g. "open fridge"). While prior work focused on learning from explicit step-by-step examples of how to act, we surprisingly find that if pre-trained LMs are large enough and prompted appropriately, they can effectively decompose high-level tasks into mid-level plans without any further training. However, the plans produced naively by LLMs often cannot map precisely to admissible actions. We propose a procedure that conditions on existing demonstrations and semantically translates the plans to admissible actions. Our evaluation in the recent VirtualHome environment shows that the resulting method substantially improves executability over the LLM baseline. The conducted human evaluation reveals a trade-off between executability and correctness but shows a promising sign towards extracting actionable knowledge from language models. Website at https://huangwl18.github.io/language-planner
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Continual Instruction Following | ALFRED | Success Rate (SR)18.22 | 28 | |
| Continual Instruction Following | VirtualHome | SR20.59 | 15 | |
| Continual Instruction Following | CARLA | Success Rate (SR)10.44 | 12 | |
| Embodied Task Planning | VirtualHome (Seen) | Simple Success8.34e+3 | 10 | |
| Robot Assembly | COHERENT Benchmark S2 | Assembly Score16.6 | 8 | |
| Robot Assembly | COHERENT Benchmark S3 | AS18.5 | 8 | |
| Robot Assembly | COHERENT Benchmark S4 | Assembly Score18.1 | 8 | |
| Robot Assembly | COHERENT Benchmark S1 | Assembly Score13.1 | 8 | |
| Robot Assembly | COHERENT Benchmark S5 | Assembly Score15.9 | 8 | |
| Robot Assembly | COHERENT Benchmark Average | Assembly Score16.5 | 8 |