UTCS Artificial Intelligence
courses
talks/events
demos
people
projects
publications
software/data
labs
areas
admin
Planning with Large Language Models via Corrective Re-prompting (2022)
Shreyas Sundara Raman,
Vanya Cohen
, Eric Rosen, Ifrah Idrees, David Paulius, Stefanie Tellex
Extracting the common sense knowledge present in Large Language Models (LLMs) offers a path to designing intelligent, embodied agents. Related works have queried LLMs with a wide-range of contextual information, such as goals, sensor observations and scene descriptions, to generate high-level action plans for specific tasks; however these approaches often involve human intervention or additional machinery to enable sensor-motor interactions. In this work, we propose a prompting-based strategy for extracting executable plans from an LLM, which leverages a novel and readily-accessible source of information: precondition errors. Our approach assumes that actions are only afforded execution in certain contexts, i.e., implicit preconditions must be met for an action to execute (e.g., a door must be unlocked to open it), and that the embodied agent has the ability to determine if the action is/is not executable in the current context (e.g., detect if a precondition error is present). When an agent is unable to execute an action, our approach re-prompts the LLM with precondition error information to extract an executable corrective action to achieve the intended goal in the current context. We evaluate our approach in the VirtualHome simulation environment on 88 different tasks and 7 scenes. We evaluate different prompt templates and compare to methods that naively resample actions from the LLM. Our approach, using precondition errors, improves executability and semantic correctness of plans, while also reducing the number of re-prompts required when querying actions.
View:
PDF
,
Arxiv
Citation:
Foundation Models for Decision Making Workshop at NeurIPS 2022
(2022).
Bibtex:
@article{raman:neurips22fmdm, title={Planning with Large Language Models via Corrective Re-prompting}, author={Shreyas Sundara Raman and Vanya Cohen and Eric Rosen and Ifrah Idrees and David Paulius and Stefanie Tellex}, booktitle={Foundation Models for Decision Making Workshop at NeurIPS 2022}, month={January}, url="http://www.cs.utexas.edu/users/ai-labpub-view.php?PubID=127989", year={2022} }
People
Vanya Cohen
Ph.D. Student
vanya [at] utexas edu
Areas of Interest
Deep Learning
Language and Robotics
Learning for Planning and Problem Solving
Labs
Machine Learning