[Paper Review] ChatGPT Empowered Long-Step Robot Control in Various Environments: A Case Application
This paper proposes a few-shot prompting framework that enables OpenAI's ChatGPT to generate executable, multi-step robot action plans from natural language instructions while handling environmental context and mitigating token limits. By reusing environmental state estimates across turns and supporting natural-language feedback, the method achieves 36% correct and executable planning on first attempt, rising to nearly 100% with feedback, and provides open-source, customizable prompts for robotics applications.
This paper demonstrates how OpenAI's ChatGPT can be used in a few-shot setting to convert natural language instructions into a sequence of executable robot actions. The paper proposes easy-to-customize input prompts for ChatGPT that meet common requirements in practical applications, such as easy integration with robot execution systems and applicability to various environments while minimizing the impact of ChatGPT's token limit. The prompts encourage ChatGPT to output a sequence of predefined robot actions, represent the operating environment in a formalized style, and infer the updated state of the operating environment. Experiments confirmed that the proposed prompts enable ChatGPT to act according to requirements in various environments, and users can adjust ChatGPT's output with natural language feedback for safe and robust operation. The proposed prompts and source code are open-source and publicly available at https://github.com/microsoft/ChatGPT-Robot-Manipulation-Prompts
Motivation & Objective
- To enable practical, few-shot, natural-language-to-robot-action task planning using large language models like ChatGPT.
- To design prompts that integrate seamlessly with robot execution systems and visual recognition pipelines.
- To reduce token limit impact by reusing environmental state descriptions across planning steps.
- To support human-in-the-loop refinement via natural-language feedback for robust and safe task planning.
- To provide open-source, customizable prompt templates for broad adoption in robotics research.
Proposed method
- Design prompts that assign ChatGPT a role as a task planner, defining robot actions in a structured, JSON-parsable format.
- Integrate explicit environmental state representations (e.g., object locations) before and after actions to maintain context.
- Reuse the post-operation environmental description as input for subsequent planning steps, minimizing prompt length and state tracking.
- Structure prompts to output both action sequences and environmental updates, enabling iterative refinement.
- Leverage ChatGPT’s few-shot learning and conversational capabilities to adapt to varied instruction phrasings and user feedback.
- Deploy via Azure OpenAI to ensure data privacy and compliance with security standards.
Experimental results
Research questions
- RQ1Can ChatGPT generate executable, multi-step robot action plans from natural language instructions in diverse home environments?
- RQ2How effective is the proposed prompting strategy in mitigating the impact of token limits during long-horizon task planning?
- RQ3To what extent can natural-language feedback improve the correctness and executability of task plans?
- RQ4Can the same prompt template be effectively adapted across different robotic environments without retraining?
- RQ5How does the system perform under variations in instruction phrasing while maintaining consistent planning quality?
Key findings
- 36% of task plans were both executable and correct on the first attempt in the VirtualHome evaluation, with performance approaching 100% after several rounds of natural-language feedback.
- The system successfully generated valid action sequences for multi-step tasks in diverse domestic environments, including manipulation in front of shelves, fridges, and drawers.
- The method demonstrated robustness to variations in instruction phrasing, maintaining consistent performance across semantically similar but differently worded inputs.
- Reusing environmental state descriptions across planning steps significantly reduced prompt length and eliminated the need to store full conversation histories.
- The conversational interface enabled effective human-in-the-loop refinement, with users able to correct or adjust plans using natural language.
- The proposed prompts are open-sourced and publicly available, offering a customizable, reusable resource for the robotics community.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.