Research
RoboAuto: Autonomous Robot Program Search through Multi-Level Physical Understanding
Code-as-Policy methods let an LLM write robot programs, run them, and revise them based on what happened. The problem is that execution feedback alone does not tell the agent why something failed…

- arXiv
- 2610.36533 · Preprint · not peer-reviewed
- Published
- 2026-10-27
- Authors
- Buzhao Liu, Jianing Ye, Xiu Yuan, Yangtong Feng, Chengsong Huang, Tyler Dinh, Yevgeniy Vorobeychik, Ning Zhang, Chongjie Zhang
In plain words
Code-as-Policy methods let an LLM write robot programs, run them, and revise them based on what happened. The problem is that execution feedback alone does not tell the agent why something failed — whether the grasp strategy was wrong for the object, whether a rule from another scene was applied to the wrong geometry, or whether an intermediate physical effect (like a burner turning on) actually occurred.
AI summary
Overview
Research area: Robotics — LLM-based code-as-policy agents, robot manipulation, and autonomous program search for long-horizon tasks.
Technical level: Intermediate. Readers should be comfortable with LLM coding agents, robot perception/control primitives, and standard manipulation benchmarks, but the paper's core argument is conceptual rather than mathematically dense.
Scope: The paper introduces RoboAuto, a framework that organizes physical understanding at object, scene, and interaction levels so an LLM agent can search over robot programs more effectively than execution-feedback-only baselines, and it evaluates this across five benchmark families plus three real-robot tasks.
What This Paper Is About
Code-as-Policy methods let an LLM write robot programs, run them, and revise them based on what happened. The problem is that execution feedback alone does not tell the agent why something failed — whether the grasp strategy was wrong for the object, whether a rule from another scene was applied to the wrong geometry, or whether an intermediate physical effect (like a burner turning on) actually occurred. RoboAuto's goal is to make physical understanding an explicit, reusable, and continuously improvable substrate for program search rather than something the agent is expected to infer from failure logs.
Key Contributions
-
A diagnosis of failure modes in existing autonomous Code-as-Policy methods. The authors identify four gaps: missing object-level physical knowledge, missing scene grounding, missing verification of intermediate physical effects, and missing active exploration to resolve uncertainty. They illustrate these with concrete baseline runs (a persistent unsuitable top-down grasp on a book, a grasp height hardcoded from a different mug, and a pan placement attempted without confirming burner activation).
-
A hierarchical knowledge base whose high-level layer stores object-centric physical knowledge — affordances, spatial relations, and action effects with preconditions — built from embodied demonstration data and refined online, and whose low-level layer stores verified programs as executable skills. Entries record applicability conditions and how to measure scene-dependent quantities rather than fixed values.
-
Physical scene grounding and multi-stage, verified search with self-designed experiments. Grounding binds retrieved knowledge to the current scene using Molmo2, SAM 3, and depth observations, including active viewpoint selection. Tasks are decomposed into stages with executable verifiers and an independent auditor, and dedicated experiment code is written to test competing physical hypotheses separately from the task program.
-
Empirical evidence across five benchmark families plus real-robot evaluation, including demonstrations that the knowledge base transfers across simulators and embodiments and that program-search performance scales with knowledge-base size.
Main Findings
-
Short-horizon generalization: RoboAuto reaches 89.1% success on LIBERO-PRO tasks. On LIBERO-PRO Object it scores 98.7% versus 96.6% for ASPIRE; on Spatial 94.8% versus 55.3%; on Goal 73.7% versus 63.1%.
-
Long-horizon gain: On LIBERO-PRO Long it achieves 73.4% mean success versus 30.8% for ASPIRE, described as more than doubling the strongest coding-agent baseline.
-
Robustness to camera and layout change: On LIBERO-Plus it reaches 90.3% versus 44.7% for ASPIRE.
-
Contact-rich transfer: On Robosuite, with no Robosuite demonstrations used to build the knowledge base, RoboAuto reaches 90.6% mean success versus 81.0% for ASPIRE, including 74% on nut assembly while every baseline stays below 10%.
-
Unseen scenes and objects: When evaluation settings are grouped by similarity to the LIBERO-90 demonstrations, RoboAuto has the highest mean success in every group, including 84.3% versus 68.8% on settings with both unseen layouts and unseen objects.
-
Cross-simulator, cross-embodiment transfer: Moving the LIBERO-learned knowledge base to RoboTwin 2.0 (a bimanual robot in SAPIEN/PhysX with different grippers, control primitives, and contact dynamics) raises success from 24.5% without retained knowledge to 91.5% with it. On four RoboTwin 2.0 tasks the rollout budget is 11, far smaller than the 45–55 used on LIBERO suites.
-
Ablation shows grounding is the largest single contributor: Starting from a base loop that writes, runs, and revises whole programs, success is 5.2%. Adding Search and Exploration raises it to 19.2%; adding the Hierarchical Knowledge Base raises it to 38.4%; adding Physical Scene Grounding produces the largest jump, to 91.2%, averaged over five tasks.
-
Knowledge alone is not sufficient: Adding the knowledge base to ASPIRE improves it on several tasks but does not close the gap to RoboAuto, indicating the gains also depend on scene grounding and grounded multi-stage planning.
-
Knowledge scaling: With 0%, 50%, and 100% of the knowledge base under the same rollout budget, the half and full conditions both start at 20% mean success but diverge; after 20 rollouts the full condition reaches 90.0% versus 57.2% for the half condition. With the full knowledge base every task first reaches 80% success within 19 rollouts, whereas with half the entries only three tasks reach that level within the budget and with none only one task does.
-
Real-robot results: Mean stage-completion score over 20 trials per task on a WidowX AI arm — Sort Balls: RoboAuto 100.00%, ASPIRE 30.00%, π0.5 0.00%; Stack Dishes: 100.00%, 3.75%, 0.00%; Erase Board: 95.83%, 0.00%, 0.00%. RoboAuto reuses its LIBERO knowledge base, ASPIRE reuses its LIBERO-derived skill library, and both use Opus 5 with a 1M-token context window.
-
Design property of the knowledge base: Entries contain no control commands, physical values, task instructions, or specific object instances, and are organized by general affordance, spatial, and effect categories rather than by task or object — a deliberate choice enabling transfer.
Methodology in Plain English
The system has three parts that feed each other.
First, a knowledge base with two layers. The upper layer holds object-centric notes — roughly, "for this kind of object, these interactions are appropriate, these spatial configurations matter, and this action produces these effects given these preconditions." These notes are mined from demonstration videos (one per source task from LIBERO-90, disjoint from every evaluation task) and updated from what happens during task solving. Crucially, a note says what to measure and why, not the measured number, so the same note can be reused in a new scene. The lower layer holds programs that have already been verified, ready to be reused or composed.
Second, scene grounding. Given an instruction and an observation, the agent identifies which objects matter, assigns them roles, retrieves matching knowledge, and then follows the note's measurement procedure — using Molmo2 for pointing, SAM 3 for segmentation, and depth data — to obtain grasp locations, dimensions, orientations, and spatial relations. If the view is inadequate, it moves the arm to get a better one (active viewpoint selection). Grounding also records which conditions are established and which remain uncertain, and can be revised when execution contradicts an earlier measurement.
Third, search and exploration. The agent splits the task into stages, each defined by an intended change in object state, ordered by physical dependency. It searches stage by stage: a stage's program runs, an executable verifier checks the resulting state from a fresh observation, and search only advances once that stage is verified — otherwise execution stops and revision stays focused on the incomplete stage, preserving the verified prefix. An independent auditor reviews failed executions using logs and synchronized scene and wrist-camera video, and can trigger a revision of the stage decomposition itself. When evidence still leaves a physical question open, the agent writes separate experiment code — for instance, controlled grasp-and-lift trials over several candidate poses — to test competing hypotheses directly, instead of repeatedly running the full task. Verified programs go back into the skill library and experiment outcomes update the object knowledge.
Evaluation protocol: program search runs on 15 training scenes (seeds 110000–110014) with the test scenes (seeds 1–50, or 1–100 for Robosuite) held out entirely; the final program is fixed and run on the test scenes. Rollout budgets are 45 for most suites, 55 for LIBERO-PRO Long and the two LIBERO-Plus Long-derived settings, and 11 for RoboTwin 2.0. All autonomous Code-as-Policy methods write over the same primitive set (depth observations, Molmo2 pointing, SAM 3 segmentation, Contact-GraspNet grasp proposals) and use Claude Opus 4.6 with a 1M-token context window as the coding agent. Baselines are CaP-Agent0, ASPIRE (primary), RHO, and the official LIBERO-finetuned π0.5 in simulation; RHO could not be reproduced on LIBERO-PRO Long and LIBERO-Plus because its robot-experiment code is unreleased.
Why This Matters
Impact on research. The paper reframes robot program search as a problem of physical understanding rather than search over code strings. It provides a concrete architecture for separating transferable physical regularities from implementation, and evidence that this separation is what enables transfer across simulators and embodiments. The ablation is particularly useful for the field: grounded instantiation of knowledge accounts for the largest single performance jump (38.4% to 91.2%), which suggests future work should invest in measurement and grounding rather than only in better revision loops. The negative result — bolting the knowledge base onto ASPIRE helps but does not close the gap — is also a useful corrective to the assumption that memory alone is the missing ingredient.
Real-world applications.
- Household and service robots that must handle long, order-dependent chores where doing step three before step two silently ruins the task.
- Warehouse and bin-picking cells where object geometry varies and a grasp rule learned on one item fails on another.
- Laboratory or electronics assembly requiring verifiable intermediate states (a component seated, a switch engaged) before proceeding.
- Deployments where the same program stack must run across different robot hardware, since the knowledge layer is deliberately embodiment-agnostic.
Industry relevance. The approach turns successful task attempts into two reusable assets — physical knowledge and verified skills — which is the kind of compounding return on deployment that operators care about. The demonstrated cross-embodiment transfer (91.5% versus 24.5% on a different simulator and bimanual platform) speaks directly to fleets with heterogeneous hardware. The explicit cost framing also matters: the paper reports rollout budgets and analyzes token usage, so the approach can be assessed against inference cost rather than only success rate.
Future Directions
-
Closing the autonomy gap on real hardware. The stated limitation is that RoboAuto searches autonomously only in simulation; on real robots a human operator still resets the scene and keeps the arm and surroundings safe. Automating scene resets and safety monitoring is the natural next step.
-
Making grounding reliable enough to trust. Because Physical Scene Grounding drives the largest performance gain, and because verifiers can misinterpret observations (hence the separate auditor), improving measurement accuracy and verification reliability is a high-leverage direction.
-
Better hypothesis selection for experiments. Self-designed experiments currently consume part of the same rollout budget as task attempts; deciding which uncertainty is worth an experiment, and how to design the cheapest discriminating test, remains open.
-
Scaling and curating the knowledge base. The paper shows performance improves from 0% to 50% to 100% knowledge availability, but does not characterize how large the base can grow before retrieval and applicability-checking become the bottleneck, nor how to prune stale or conflicting entries.
Target Audience
Researchers and graduate students working on LLM-based robot agents, code-as-policy methods, and long-horizon manipulation; roboticists interested in knowledge representation and sim-to-real or cross-embodiment transfer; and practitioners building agentic robot software stacks who want an architecture that turns deployment experience into reusable knowledge rather than one-off prompt tuning. Readers new to the area will find the failure-case framing in the introduction and the ablation in Section 4.3.1 the most accessible entry points.
Authors’ abstract
Recently, LLM-based autonomous agents have shown strong capabilities in iteratively generating, evaluating, and refining executable solutions. In robotic manipulation, Code-as-Policy lets these agents search over modular and editable robot programs. However, effective program search requires physical understanding: agents must understand how objects can be manipulated, how scene geometry constrains actions, and why interactions succeed or fail. Existing methods rely mainly…
The full abstract on arXivRelated papers
- SCALE: Real-Time Latent Communication for Cyber-Physical Agents 2026-11-05 · cs.RO · Also by Ning Zhang, Yevgeniy Vorobeychik
- Decision-Level Error Attribution and Depth-Aware Safety Evaluation of Monocular RGB Human Tracking for Autonomous Robot Navigation 2026-10-29 · cs.RO · Key terms of the title in common
- RAVEN: A Unified Active SLAM System for Rapid Autonomous Visual Exploration with Aerial Robots under Localization Uncertainty 2026-10-27 · cs.RO · Key terms of the title in common
- EgoThumb: A Vision-Driven Supernumerary Robotic Thumb for Autonomous Grasp and Holding Assistance 2026-10-27 · cs.RO · Key terms of the title in common
- PushAround: Collaborative Path Clearing via Physics-Informed Hybrid Search 2026-10-26 · cs.RO · Key terms of the title in common