How to Prompt Your Robot: A Prompt Book for Manipulation Skills with Code As Policies

ICRA 2024(2024)

引用 0|浏览17
摘要
Large Language Models (LLMs) have demonstrated the ability to perform semantic reasoning, planning and write code for robotics tasks. However, most methods rely on pre-existing primitives, which heavily limits their scalability to new scenarios. Additionally, they use examples prompting style where the LLM is provided few-shot examples of robot code. This presents a challenge for LLMs to implicitly infer task information, constraints, and API usage from examples alone. Meanwhile, research outside robotics has successfully studied instruction-based prompting, where providing LLMs with API documentation and detailed descriptions can improve code synthesis capabilities. However, it is not clear how to document robotics tasks and naively providing full robot APIs presents a challenge to context-length limits in LLMs. However, it is not clear how to document robotics tasks and providing full robot APIs presents a challenge to context-length limits in LLMs. In this work, we discuss how to combine different LLM prompting styles to write code for new manipulation skills. Firstly, we evaluate different prompting styles across 3 robots in a high-level sorting task, and present a collection of empirical observations: (i)including both instructions and examples improves performance, (ii)interleaving state predictions in the examples helps reasoning,(iii)instruction-based prompting benefits from human feedback. Our observations lead to a prompt recipe we refer to as PromptBook that combines: example-based, instruction-based and chain-of-thought prompting to write robot code; as well as a method to build the prompt leveraging LLMs and human feedback. Secondly, we show PromptBook can write code for new low-level manipulation skills on the fly zero-shot. The prompt extracts motion trajectories from LLMs that the robot can execute directly with an IK controller. Finally, we evaluate the new skills on a mobile manipulator with 83% success rate at picking, 50-71% at opening drawers.
更多
查看译文
关键词
AI-Enabled Robotics,Motion Control,Mobile Manipulation
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
0
您的评分 :

暂无评分

数据免责声明
页面数据均来自互联网公开来源、合作出版商和通过AI技术自动分析结果,我们不对页面数据的有效性、准确性、正确性、可靠性、完整性和及时性做出任何承诺和保证。若有疑问,可以通过电子邮件方式联系我们:report@aminer.cn