Errors are Useful Prompts: Instruction Guided Task Programming with Verifier-Assisted Iterative Prompting

03/24/2023
by   Marta Skreta, et al.
0

Generating low-level robot task plans from high-level natural language instructions remains a challenging problem. Although large language models have shown promising results in generating plans, the accuracy of the output remains unverified. Furthermore, the lack of domain-specific language data poses a limitation on the applicability of these models. In this paper, we propose CLAIRIFY, a novel approach that combines automatic iterative prompting with program verification to ensure programs written in data-scarce domain-specific language are syntactically valid and incorporate environment constraints. Our approach provides effective guidance to the language model on generating structured-like task plans by incorporating any errors as feedback, while the verifier ensures the syntactic accuracy of the generated plans. We demonstrate the effectiveness of CLAIRIFY in planning chemistry experiments by achieving state-of-the-art results. We also show that the generated plans can be executed on a real robot by integrating them with a task and motion planner.

READ FULL TEXT
research
09/22/2022

ProgPrompt: Generating Situated Robot Task Plans using Large Language Models

Task planning can require defining myriad domain knowledge about the wor...
research
08/26/2015

Alignment-based compositional semantics for instruction following

This paper describes an alignment-based model for interpreting natural l...
research
06/05/2023

AutoScrum: Automating Project Planning Using Large Language Models

Recent advancements in the field of large language models have made it p...
research
09/18/2023

SMART-LLM: Smart Multi-Agent Robot Task Planning using Large Language Models

In this work, we introduce SMART-LLM, an innovative framework designed f...
research
03/01/2023

A Framework to Generate Neurosymbolic PDDL-compliant Planners

The problem of integrating high-level task planning in the execution loo...
research
08/26/2023

ISR-LLM: Iterative Self-Refined Large Language Model for Long-Horizon Sequential Task Planning

Motivated by the substantial achievements observed in Large Language Mod...
research
05/18/2023

Generalized Planning in PDDL Domains with Pretrained Large Language Models

Recent work has considered whether large language models (LLMs) can func...

Please sign up or login with your details

Forgot password? Click here to reset