TL;DR
RoboRSI is a multi-agent framework that enables robots to autonomously improve their performance through a process called Top-Down Skill Refinement (TSR). By decomposing tasks into a hierarchy of reusable code-based skills and using a specialized team of LLM agents to diagnose and repair failures, RoboRSI achieves state-of-the-art success rates across major simulation benchmarks and successfully masters complex, real-world household cleanup tasks.
What Problem Does This Paper Address?
Building a "generalist robot" requires more than just performing diverse tasks; the robot must learn from its mistakes and turn those lessons into persistent, reusable capabilities. While recent "Code as Policy" approaches allow robots to generate and repair programs using Large Language Models (LLMs), they face three critical hurdles:
- Attribution: When a complex task fails, where exactly did the error occur? Was it a high-level planning error or a low-level control failure?
- Validation: How can we ensure a "fix" for one scenario doesn't break the robot's performance in another?
- Reusability: How do we transform a one-off repair into a skill that can be called by future tasks?
Without a formal structure, robot agents often get lost in long execution logs, apply "band-aid" fixes that don't generalize, or prematurely declare success when a task is actually unfinished.
Methods
The core of RoboRSI is Top-Down Skill Refinement (TSR). This method organizes robot capabilities into a hierarchy:
- Task Families: High-level goals (e.g., "cleanup").
- Atomic Tasks: Scoped goals with observable outcomes (e.g., "place object in bin").
- Atomic/Base Skills: The underlying code, perception, and control primitives.
- Compound Skills: Stable sequences of skills consolidated into a single, efficient unit.
To manage this hierarchy, RoboRSI employs a multi-agent system (as seen in Figure 2):
- Manager: Organizes the hierarchy and oversees the "release" of new or repaired skills.
- Planner: Composes execution plans based on available skills.
- Engineer: Executes the code and implements missing low-level skills.
- Reviewer: The "detective" that analyzes tool traces and observations to find the earliest failing node in the hierarchy.
When a failure occurs, the Reviewer attributes it to a specific branch. The system then proposes a patch, validates it against a history of previous successful and failed runs, and only releases it to the library if it passes these regression tests.
Datasets
The authors evaluated RoboRSI across several rigorous benchmarks:
- LIBERO, LIBERO-PRO, and LIBERO-Plus: Standard suites for lifelong robot learning and manipulation.
- RoboTwin: A dual-arm simulation benchmark.
- Real-World Cleanup: A custom physical setup involving a mobile manipulator (WheelSingleArm M1) performing multi-object household cleanup over 104 development rounds.
Key Insights and Ideas
- Postconditions are Essential: A major reason LLM-based agents fail is "premature completion"—claiming a task is done when it isn't. RoboRSI mandates that every atomic task has an explicit postcondition check against fresh observations before proceeding.
- Earliest-Node Attribution: Instead of patching the code where the failure was observed, TSR traces back to where the execution first diverged from the plan. This ensures repairs are made at the correct level of abstraction.
- Code Consolidation: Once a sequence of skills becomes stable, the system collapses it into a "compound skill." This isn't just an optimization; it reduces the number of "reasoning steps" the LLM needs to take, which significantly lowers the chance of accumulating small errors in long tasks.
- Human-Friendly Steering: The system allows humans to provide high-level constraints (e.g., "don't move faster than X") which are then integrated as persistent "contracts" within the skill library.
Key Results
RoboRSI demonstrated significant improvements over strong baselines like CaP-X, Maestro, and OpenETA:
- Simulation Dominance: It achieved the highest success rates on all four benchmarks, exceeding the strongest baseline by 11.0 percentage points on LIBERO-PRO and 5.3 points on LIBERO.
- Reduced Failure: As shown in Figure 6, RoboRSI drastically reduced "premature completions" (from ~66% in baselines to ~10-14%) and showed a much higher rate of successful recovery after an initial execution failure.
- Efficiency Gains: Through code consolidation, the system reduced token usage by 29.4% and wall-clock reasoning time by 17.0%.
- Real-World Success: In physical experiments, the robot successfully mastered a two-scene cleanup task, handling object rearrangements and scene changes without manual intervention after its 104-round training period.
Limitations and Future Work
While RoboRSI is highly effective, the authors note a few areas for growth:
- Sim-to-Real Transfer: Currently, the system develops skills primarily within the environment it inhabits. A major future direction is transferring libraries developed in simulation directly to physical robots.
- Cross-Platform Sharing: The current framework is tested on specific hardware (mobile manipulators and dual-arm setups). Scaling this to share skills across vastly different robot morphologies remains an open challenge.
- Backbone Dependency: The system's performance is still tied to the reasoning capabilities of the underlying LLM (e.g., GPT-5.6-SOL), though the TSR structure helps mitigate model-specific weaknesses.
Summary updated