忘れっぽい大規模言語モデル:ロボットプログラミングにおけるLLM活用から得られた教訓
Forgetful Large Language Models: Lessons Learned from Using LLMs in Robot Programming
ロボットプログラミングのコード生成にLLMを使うと、プロンプト内の重要情報を忘れて実行時エラーを起こすことを明らかにし、それを減らすプロンプトエンジニアリング手法を提案・検証した。
著者: Juo-Tung Chen, Chien-Ming Huang
分類: cs.RO
原文アブストラクト
Large language models offer new ways of empowering people to program robot applications-namely, code generation via prompting. However, the code generated by LLMs is susceptible to errors. This work reports a preliminary exploration that empirically characterizes common errors produced by LLMs in robot programming. We categorize these errors into two phases: interpretation and execution. In this work, we focus on errors in execution and observe that they are caused by LLMs being "forgetful" of key information provided in user prompts. Based on this observation, we propose prompt engineering tactics designed to reduce errors in execution. We then demonstrate the effectiveness of these tactics with three language models: ChatGPT, Bard, and LLaMA-2. Finally, we discuss lessons learned from using LLMs in robot programming and call for the benchmarking of LLM-powered end-user development of robot applications.
関連論文
- オープンワールド領域におけるロボットプログラムの生成と修復ロボットプログラミング/LLM
