RoboEvo²: Recursive robot self-improvement via harness–policy co-evolution

roboevo2/round.pypseudo-code

for r in range(R):                  # round r
    S, F = rollout(policy, tasks)   # the policy acts
    for f in F:                     # P2H
        runs = search(f, ROUTES)    # Code, +ICL, +Policy
        harness.merge(min(runs, key=jerk))
    policy = update(policy,         # H2P
        sft=S + harness.verified,
        cpd=pairs(F), ewc=True)
    keep_if_better(harness, policy) # select

The policy acts. Its failures are kept.

Scroll to the paper

RoboEvo2: Recursive Robot Self-Improvement via Harness–Policy Co-Evolution

Chenzhi Liu1,∗ Jiehong Lin1,∗,† Wei Huang1 Xuzhao Huang1 Haoyuan Li2 Yang Zhang3 Junchao Huang4 Chenyeyang Cai2 Bo Wang1 Kazuhiro Kosuge5 Zhongrui Wang3 Xiaojuan Qi1,‡

1The University of Hong Kong 2Zhejiang University 3Southern University of Science and Technology 4The Chinese University of Hong Kong, Shenzhen 5City University of Hong Kong

∗Equal contribution †Project leader ‡Corresponding author: xjqi@eee.hku.hk

When a robot policy fails, a coding agent repairs it, and each verified repair becomes a reusable skill and a demonstration for the next policy.

TL;DR

Policy failures tell a coding agent what to repair; verified repairs become agent skills and policy training data. Over rounds, the policy succeeds more on its own and the agent is called less, with no new human demonstrations.

Hybrid success rate

LIBERO-PRO

90.5%

Eight evolution rounds

RoboTwin C2R

87.4%

Five evolution rounds

MolmoSpaces

65.8%

40 manipulation tasks

Unitree G1-D

95.0%

40 physical trials

  • No new human demos11.0 → 84.1%

    Standalone policy, LIBERO-PRO

  • Cheaper every round−77.0%

    Agent API cost per round

  • Data efficiency27.3%

    7.5K trajectories match 27.5K

  • Sim-evolved harness120 > 200

    Automatic vs. teleoperated demos

01 · Overview

Reason when stuck, practice until fluent.

Harness

VLM coding agentdiagnoses each failure
CodeCode+ICLCode+Policy

Repair · placement

Skills Memory Routing
Failed rollouts flow from the policy to the harness; verified data flows back. Each loop is one evolution round. ✕ Failed rollouts ✓ Verified data ROUND 0 r → r + 1

Policy

LIBERO-PRORoboTwin C2RMolmoSpacesUnitree G1-D

Standalone policy11.0%

Hybrid30.4%

API cost this round$430.63

LIBERO-PRO, rounds 0–8, with one illustrative edit per round.

a

Higher success at lower cost

Success rises every round while the agent's API cost falls.

b

Tasks it proposes itself

On MolmoSpaces the agent proposes, solves and verifies its own goals.

c

From simulation to a real robot

A harness evolved in RoboTwin collects the demonstrations on the Unitree G1-D.

02 · Method

Four stages, repeated every round.

Stage 1

Policy rollouts

The policy runs a batch of tasks, and a task-level check splits the rollouts into successes and failures .

In
Policy , a task batch
Out
Successes , failures

(a) Policy → Harness · P2H

Failures

A failed graspA failed drawer pull

VLM coding agent

Localize→Diagnose→Edit code

pick(graspnet(detect("fan")))
+ if not vlm_check("fan held?"):
+   pick(graspnet(detect("fan")))
place(on=detect("mat"))

MolmoSAM3GraspNetVLMM · top-k

Solution routes

Code
✓
Code+ICL
✓
Code+Policy
✕

Harness

move_to(pose)pick(obj)place(obj, tgt)run_policy( )

Slip → Regrasp Lower→Check Grasp Before Lift

Training data

Task sampling

Policy update

SFTCPDEWC+ PPO

Evaluate & select

candidatevsprevious

Policy

VLA / WAM

✓ ✕

(b) Harness → Policy · H2P

Select a stage to stop on it; route outcomes are schematic.

03 · Solution search

Three routes, searched in parallel.

Code

code skills

Reuses existing code skills, then refines them.

21.6 → 29.4%+7.8 pp

Code+ICL

code skillsone demonstration

Extracts structure and timing from one demonstration in .

31.5 → 44.9%+13.4 pp

Code+Policy

code skillscurrent policy

Calls the current policy as a learned motor primitive.

30.8 → 45.6%+14.8 pp

All routes35.6 → 49.1%

First-round task success without and with repair. Main paper · Table 4

Selection

The smoothest verified solution, with the lowest normalized jerk, is kept.

Recorded replay · LIBERO-PRO

One failure, three repairs: turn off the stove

0 / 84

Code

✓ success
  1. start
  2. gripperopen
  3. move_bound_targetanchor, z +10 cm
  4. move_bound_targetanchor, z +0.5 cm
  5. gripperclose

Code+ICL

✓ success
demonstration in context
  1. start
  2. pixel_targetknob, z +10 cm
  3. move_deltaz −10 cm, close

Code+Policy

✓ success
  1. start
  2. pixel_targetknob, z +8 cm
  3. vla_actstep 12
  4. vla_actstep 24

Every frame is replayed from the recorded actions. code skillpolicy callin-context demonstration

04 · Harness integration

Repairs become reusable skills.

Swipe sideways to see all five steps →

Perception

Grasping

Placing

Contact

Policy

Depth image
Observe RGB-D
Agent view with the located pixel
Locate Pixel
Side view with the bound target
+ Bind Targets

✎ world-axis offsets, bound first

Contact-GraspNet grasp candidates
Grasp (Contact-GraspNet)
Bound grasp
+ Bound Grasp
Transfer
+ Transfer
Place
Place
Bound place
+ Bound Place
  1. align outside
  2. slide in level
  3. release
  4. back out
+ Cavity Place

✎ one approach-length argument

Relative motion
Relative Motion
Drawer pull
+ Drawer Pull
Surface stroke
+ Surface Stroke
Policy continuation
Policy Continuation
Policy call
+ Policy Call

General memory 6

    Experiences 0

      Skills in the harness

      10

      The tree above shows part of the harness.

      PerceptionGraspingPlacingContactPolicyMotion & planning+ added skill✎ in-place revision

      L · Skills

      Executable programs

      New or refined skills such as bound_grasp and bound_place.

      M · Memory

      Experience that carries over

      Lessons that keep working are promoted to general memory.

      ρ · Routing

      Code or policy

      Decides which subgoals go to code skills and which to the policy.

      Cross-embodiment transfer

      Same harness, new arms

      The harness evolved on ALOHA AgileX runs frozen on other robots; only the control interfaces change. Main paper · Table 7

      45.8%ALOHA AgileX
      42.5%Dual ARX-X5
      41.0%Dual Franka-Panda

      05 · Counterfactual Preference Distillation

      Learn from the failure, not only the fix.

      From one start state x, the verified correction y+ succeeds and the policy's failed continuation y− does not; CPD lowers the loss on y+ and lets the loss on y− rise by at most κ. Same start, two continuations x = (o, g) y+ verifiedcorrection (P2H) y− failedpolicy continuation δ+ ↓ loss falls δ− ↑ by at most κ

      Loss change on each target since the start of the round.

      Favors the correction over the failure, up to a margin .

      The correction must not get worse, and the failure is not pushed too far.

      Plus EWC, which penalizes changes to parameters that earlier tasks rely on.

      Each term helps · standalone success, LIBERO-PRO Main paper · Table 5

      only
      20.1
      29.9
      Full CPD
      32.1

      Same data, initialization and EWC settings in all three rows.

      Failure-aware task sampling

      Half the probability is uniform and half follows failure; the success rates shown are illustrative.

      06 · Results

      More success, less agent, every round.

      Main paper, Figure 3. Unlabelled API costs are read from the plotted points.

      LIBERO-PRO

      Average of eight settings; baselines as published.

      Main paper · Table 2

      Avg. success over 8 settings100%

      Harness evolution

      ASPIRE
      61.4
      EmbodiedRSI
      86.8

      Reciprocal co-evolution

      RoboEvo² FastWAM · standalone
      75.5
      RoboEvo² FastWAM · hybrid
      82.9
      RoboEvo² · standalone
      84.1
      RoboEvo² · hybrid
      90.5
      + PPO · standalone
      94.8
      + PPO · hybrid
      96.8
      All eight settings
      MethodSpat-TSpat-SObj-TObj-SGoal-TGoal-SL10-TL10-SAvg.4Avg.8
      ASPIRE60.051.095.098.045.081.038.322.646.761.4
      Zetta––––92.589.063.040.071.1–
      DynaHarness––––79.078.077.566.575.3–
      EmbodiedRSI100.093.0100.096.078.090.066.071.076.386.8
      RoboEvo² (FastWAM, standalone)81.060.0100.0100.075.073.066.049.065.875.5
      RoboEvo² (FastWAM, hybrid)95.073.0100.0100.085.083.073.054.073.882.9
      RoboEvo² ( , standalone)93.093.098.099.084.082.065.059.072.584.1
      RoboEvo² ( , hybrid)97.092.098.0100.096.095.072.074.084.390.5
      RoboEvo² ( + PPO, standalone)97.098.098.0100.090.098.097.080.091.394.8
      RoboEvo² ( + PPO, hybrid)100.099.098.0100.095.099.098.085.094.396.8

      Avg.4: Goal and LIBERO-10; Avg.8: all eight settings. Zetta and DynaHarness report Goal and LIBERO-10 only.

      Ablation · joint evolution

      Both sides must evolve

      PolicyHybrid
      P2H only–46.1
      H2P only33.649.0
      Full RoboEvo²52.368.3

      LIBERO-PRO after three rounds. Main paper · Table 3

      Ablation · EWC

      Keeps earlier skills

      LIBEROPRO
      CPD + EWC92.584.1
      CPD, 72.084.3

      Without EWC, success on the original LIBERO tasks drops by 20.5 pp.

      Ablation · coding agent

      Works with an open model

      PolicyHybrid
      GPT-6 Astra84.190.5
      Qwen3.8-27B76.082.5

      Same rounds, initial policy and harness; only the agent changes.

      Repeatability

      Three full runs

      Run 1Run 2Run 3
      84.182.184.9

      83.7 ± 1.4

      Standalone success after eight LIBERO-PRO rounds.

      07 · What gets repaired

      Seven kinds of failure, one repair loop.

      Failure: the program grasps the orange juice.
      Repaired: the program grasps the butter.
      ✕ Failure✓ Repaired

      Task grounding and sequencing LIBERO-PRO · Code

      When
      The program acts on the wrong object or misses a step.
      Change
      Skill arguments and step order; add intermediate checks.
      Case
      The first program grasps the orange juice; the revision grasps the butter.
      Failure: the gripper closes above the cream cheese.
      Repaired: a lower contact point grasps the cream cheese.
      ✕ Failure✓ Repaired

      Grasp acquisition LIBERO-PRO · Code

      When
      The object is not retained after closing.
      Change
      Grasp alignment, depth and orientation. Edits bound_grasp.
      Case
      A lower contact point grasps the cream cheese.
      Failure: the retreat after hanging the mug cannot be planned.
      Repaired: a horizontal retreat away from the rack.
      ✕ Failure✓ Repaired

      Collision-free motion RoboTwin

      When
      A path meets an obstacle or cannot be planned.
      Change
      Clearance waypoints; new approach and retreat directions.
      Case
      The retreat cannot be planned; a horizontal one away from the rack can.
      Failure: pulling with the fingers pointing down leaves the drawer closed.
      Repaired: horizontal fingers behind the handle open the drawer.
      ✕ Failure✓ Repaired

      Contact and articulation LIBERO-PRO · Code

      When
      Contact with a handle, knob or pushed object is lost or never made.
      Change
      The contact mode. Edits bound_drawer_pull, bound_surface_stroke.
      Case
      Horizontal fingers behind the handle open the drawer.
      Failure: the bowl comes down on the edge of the plate.
      Repaired: the bowl is placed on the plate.
      ✕ Failure✓ Repaired

      Placement and transitions LIBERO-PRO · Code

      When
      The object is released off target, or the retreat blocks the next step.
      Change
      Placement offset and withdrawal path. Edits bound_place, bound_transfer.
      Case
      Pick the black bowl next to the plate and place it on the plate.
      Failure: the can is still in the gripper when time runs out.
      Repaired: the sauce can is in the basket.
      ✕ Failure✓ Repaired

      Temporal efficiency LIBERO-PRO · Code+ICL

      When
      Idle periods or slow phases use up the horizon.
      Change
      Shorten idle transitions and fit the phases into the remaining budget.
      Case
      With 35 of 400 actions left, the revision still places the sauce can.
      Failure: the policy's grasp leaves the bowl on the stove.
      Repaired: a code grasp replaces the policy call.
      ✕ Failure✓ Repaired

      Policy orchestration LIBERO-PRO · Code+Policy

      When
      A policy call fails, or leaves the next step infeasible.
      Change
      Which steps go to the policy and how it is called. Edits vla_act calls and routing ρ.
      Case
      A code grasp replaces a policy call that left the bowl on the stove.

      08 · Real robot · Unitree G1-D

      From simulation to the workbench.

      1. Evolve in simThe harness evolves on RoboTwin.
      2. TransferOnly the robot interfaces change.
      3. CollectThe Code route collects 10 verified demos per task.
      4. RepairThree routes add 20 more per task, no teleoperation.
      5. Train120 demos and corrective pairs train the policy.
      Stack bowls
      Three bowls at the startApproach the bowlsBring the bowls togetherThe bowls are stacked
      Stack the bowls · main paper, Figure 4Policy 90% · Hybrid 100%
      ▷ Watch real-robot run · 1×

      Lift a bowl onto the stack

      Relocate a block
      The block lies beside the bowlReach for the blockLift the red blockMove the block beside the bowl
      Place the block beside the container · main paper, Figure 4Policy 90% · Hybrid 100%
      ▷ Watch real-robot run · 1×

      Move the block beside the container

      Insert a toy
      Drawer and toys at the startPull the drawer openBring the toy to the drawerPlace the toy inside
      Open the drawer and insert the toy · main paper, Figure 4Policy 70% · Hybrid 80%
      ▷ Watch real-robot run · 1×

      Lower the toy into the open drawer

      Retrieve a toy
      A toy lies in the drawerReach for the toyLift the toy from the drawerWithdraw the toy
      Retrieve the toy and close the drawer · main paper, Figure 4Policy 90% · Hybrid 100%
      ▷ Watch real-robot run · 1×

      Lift the toy out of the drawer

      Citation

      BibTeX

      @article{liu2026roboevo2,
        title   = {RoboEvo$^2$: Recursive Robot Self-Improvement via Harness--Policy Co-Evolution},
        author  = {Liu, Chenzhi and Lin, Jiehong and Huang, Wei and Huang, Xuzhao and Li, Haoyuan and Zhang, Yang and Huang, Junchao and Cai, Chenyeyang and Wang, Bo and Kosuge, Kazuhiro and Wang, Zhongrui and Qi, Xiaojuan},
        journal = {arXiv preprint arXiv:2611.34675},
        year    = {2026}
      }