Forgetful Large Language Models: Lessons Learned from Using LLMs in Robot Programming
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 10 Oct 2023.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2024: 2; 2025: 3.
5 papers.
- 2024If LLM Is the Wizard, Then Code Is the Wand: A Survey on How Code Empowers Large Language Models to Serve as Intelligent Agentscited by 77
- 2025AutoIOT: LLM-Driven Automated Natural Language Programming for AIoT Applicationscited by 17
- 2025AutoMisty: A Multi-Agent LLM Framework for Automated Code Generation in the Misty Social Robotcited by 5
- 2025Teaching AI to Handle Exceptions: Supervised Fine-Tuning with Human-Aligned Judgmentcited by 4
- 2024A Grounded Observer Framework for Establishing Guardrails for Foundation Models in Socially Sensitive Domainscited by 1
- 2025AutoMisty: A Multi-Agent LLM Framework for Automated Code Generation in the Misty Social Robot9 Mar 2025
- 2025AutoIOT: LLM-Driven Automated Natural Language Programming for AIoT Applications7 Mar 2025
- 2025Teaching AI to Handle Exceptions: Supervised Fine-Tuning with Human-Aligned Judgment4 Mar 2025
- 2024A Grounded Observer Framework for Establishing Guardrails for Foundation Models in Socially Sensitive Domains23 Dec 2024
- 2024If LLM Is the Wizard, Then Code Is the Wand: A Survey on How Code Empowers Large Language Models to Serve as Intelligent Agents1 Jan 2024