首页 /研究 /Errors are Useful Prompts: Instruction Guided Task Programming with Verifier-Assisted Iterative Prompting
OTHER

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

Marta Skreta, Naruki Yoshikawa, Sebastian Arellano-Rubach, Zhi Ji, Lasse Bjørn Kristensen, Kourosh Darvish, Alán Aspuru‐Guzik, Florian Shkurti, Animesh Garg

发表年份
2023
引用次数
18
访问权限
开放获取

摘要

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.

关键词

Computer scienceTask (project management)PlannerDomain (mathematical analysis)RobotHuman–computer interactionArtificial intelligenceNatural languageProgramming languageMachine learning

相关论文

查看 OTHER 分类全部论文