A Pragmatist Robot: Learning to Plan Tasks by Experiencing the Real World
About
Large language models (LLMs) have emerged as the dominant paradigm for robotic task planning using natural language instructions. However, trained on general internet data, LLMs are not inherently aligned with the embodiment, skill sets, and limitations of real-world robotic systems. Inspired by the emerging paradigm of verbal reinforcement learning-where LLM agents improve through self-reflection and few-shot learning without parameter updates-we introduce PragmaBot, a framework that enables robots to learn task planning through real-world experience. PragmaBot employs a vision-language model (VLM) as the robot's "brain" and "eye", allowing it to visually evaluate action outcomes and self-reflect on failures. These reflections are stored in a short-term memory (STM), enabling the robot to quickly adapt its behavior during ongoing tasks. Upon task completion, the robot summarizes the lessons learned into its long-term memory (LTM). When facing new tasks, it can leverage retrieval-augmented generation (RAG) to plan more grounded action sequences by drawing on relevant past experiences and knowledge. Experiments on four challenging robotic tasks show that STM-based self-reflection increases task success rates from 35% to 84%, with emergent intelligent object interactions. In 12 real-world scenarios (including eight previously unseen tasks), the robot effectively learns from the LTM and improves single-trial success rates from 22% to 80%, with RAG outperforming naive prompting. These results highlight the effectiveness and generalizability of PragmaBot. Project webpage: https://pragmabot.github.io/
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Move crumpled paper (brush nearby) | Custom Robot Manipulation Scenes 1.0 (test) | Success Rate63 | 2 | |
| Move egg (open view) | Custom Robot Manipulation Scenes 1.0 (test) | Success Rate1 | 2 | |
| Move grape/cherry (open view) | Custom Robot Manipulation Scenes 1.0 (test) | Success Rate70 | 2 | |
| Move screw (towel nearby) | Custom Robot Manipulation Scenes 1.0 (test) | Success Rate86 | 2 | |
| Move sushi (open view) | Custom Robot Manipulation Scenes 1.0 (test) | Success Rate71 | 2 | |
| Move tiny candy (towel nearby) | Custom Robot Manipulation Scenes 1.0 (test) | Success Rate0.78 | 2 | |
| Pick up bowl (apple inside) | Custom Robot Manipulation Scenes 1.0 (test) | Success Rate83 | 2 | |
| Pick up box (apple on top) | Custom Robot Manipulation Scenes 1.0 (test) | Success Rate86 | 2 | |
| Pick up towel (orange on top) | Custom Robot Manipulation Scenes 1.0 (test) | Success Rate75 | 2 | |
| Put apple on plate (container obstructs) | Custom Robot Manipulation Scenes 1.0 (test) | Success Rate100 | 2 |