A Pragmatist Robot: Learning to Plan Tasks by Experiencing the Real World
Kaixian Qu, Guowei Lan, René Zurbrügg, Changan Chen, Christopher E. Mower, Haitham Bou-Ammar, Marco Hutter
TL;DR
The paper addresses the mismatch between LLM-driven planning and real-world robotic embodiment by proposing PragmaBot, a framework that grounds planning in vision-language reasoning, short-term and long-term memories, and self-reflection. It leverages a VLM as both perception and planner, uses STM for online adaptation, stores lessons in LTM, and employs retrieval-augmented generation to plan with past experiences, enhanced by an on-demand image annotation module for grounded actions. Empirical results show substantial gains: STM-based self-reflection raises task success from 35% to 84% across four challenging tasks, and LTM+RAG boosts single-trial success on 12 real-world scenarios from 22% to 80%, with RAG outperforming naive prompting. The findings demonstrate effective lifelong, embodied task planning without costly model fine-tuning, with practical implications for deploying adaptive, data-efficient robots in dynamic environments.
Abstract
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/
