ReWeave: Emergent Physical Task Topologies for Embodied Harness Optimization and Cross-Task Meta-Distillation
Organizations: Zhejiang University · Stanford University · AGIBOT Innovation · Tsinghua University
Abstract
Long-horizon embodied tasks involve physical dependencies that may only become clear through interaction. As task understanding deepens, past trials can reveal new information for adaptation and transfer. However, coarse progress feedback cannot identify which physical preconditions held, leaving search unguided, while task-specific optimization easily overfits to individual scenes, making cross-task transfer brittle. We introduce ReWeave, a framework that jointly optimizes an embodied agent harness and an emergent physical task topology from interaction without updating policy weights. Keeping execution policies and perception frozen, ReWeave co-optimizes coupled context, workflows, and control loops. As new evidence revises the topology, ReWeave reprojects past trials onto the updated task understanding, exposing retained progress, regressions, and bottlenecks that guide parent selection and search width. Across tasks, matching verified local mechanisms to unmet preconditions consolidates 72 specialist units into 44 reusable groups ( full concatenation) within a compact shared harness capable of continual learning. ReWeave improves held-out success from 89.00% to 98.75% on LIBERO-PRO and from 25.50% to 58.25% on RoboDojo, while uncovering retained progress in 89% of 159 failed RoboDojo development trials and translating stronger offline reasoning into higher online performance. On eight unseen LIBERO-PRO tasks, the shared harness reaches 51.3% success versus 41.3% for direct distillation, rising to 75.0% after continual learning.
Figures & tables
| Method | Year | Model (effort) | Train | Optimize | Success rate (%) , position / task | Average | ||||
| Spatial | Object | Goal | Long | 6 suites | 8 suites | |||||
| E2E models | ||||||||||
| [ 16 ] | 2025 | - | ✓ | ✗ | 20.0 / 1.0 | 17.0 / 1.0 | 38.0 / 2.0 | 8.0 / 1.0 | 13.2 | 11.0 |
| [ 35 ] | 2025 | - | ✓ | ✗ | 59.0 / 42.0 | 78.0 / 71.0 | 42.0 / 45.0 | 14.0 / 49.0 | 56.2 | 50.0 |
| AtomVLA [ 26 ] | 2026 | - | ✓ | ✗ | 16.0 / 1.0 | 10.0 / 0.0 | 2.0 / 11.0 | 1.0 / 9.0 | 6.7 | 6.3 |
| X-VLA [ 37 ] | 2025 | - | ✓ | ✗ | 0.0 / 0.0 | 2.0 / 8.0 | 1.0 / 9.0 | 0.0 / 10.0 | 3.3 | 3.8 |
| A. Source scaling and shared distillation | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Setting | Development loss | Selected | Target test SR (%) | Dev. effort | ||||||||||||
| R1 | R2 | R3 | R4 | R5 | SR | Prog. | Loss | Spatial | Object | Goal | Long | Avg. | Eps. | Tokens | ||
| - | - | - | - | - | - | 69.8 | 0.802 | 0.0 | 35.0 | 0.0 | 0.0 | 8.8 | 24 | 0.00 | 0.00 | |
| Ours 2 | 0.671 | 0.288 | 0.014 | - | - | 95.0 | 100.0 | 0.014 | 95.0 | 45.0 | 15.0 | 5.0 | 40.0 | 24 | 17.85 | 1.38 |
| Ours 4 | 0.434 | 0.160 | 0.135 | 0.385 | 0.250 | 80.0 | 97.2 | 0.135 | 70.0 | 70.0 | 0.0 | 15.0 | 38.8 | 72 | 27.69 | 1.84 |
| Ours 6 | 0.703 | 0.272 | 0.173 | 0.185 | 0.208 | 95.0 | 96.3 | 0.173 | 90.0 | 100.0 | 5.0 | 0.0 | 48.8 | 108 | 31.89 | 2.04 |
| Variant | Avg. | Dev. | Search cost | Rollout cost | ||
|---|---|---|---|---|---|---|
| Rounds | Trials | Dec. | Steps | |||
| A. Solution space | ||||||
| 3.75 -51.25 | 4.17 -70.83 | - | - | 6.3 -5.7 | 313.1 +38.9 | |
| 47.50 -7.50 | 66.67 -8.33 | 3.6 -0.2 | 10.9 -0.5 | 11.2 -0.8 | 277.9 +3.7 | |
| 52.50 -2.50 | 79.17 +4.17 | 3.5 -0.3 | 10.8 -0.6 | 12.3 +0.3 | 277.4 +3.2 | |
| 55.00 0.00 | 75.00 0.00 | 3.8 0.0 | 11.4 0.0 | 12.0 0.0 | 274.2 0.0 | |
| Online LM | Offline LM | SR (%) |
|---|---|---|
| A. Online execution with frozen harnesses | ||
| GPT-6.1 Terra (high) | GPT-6.1 Sol (xhigh) | 55.00 |
| Claude Sonnet 5.5 (high) | GPT-6.1 Sol (xhigh) | 57.50 |
| DeepSeek V4.1 Flash (high) | GPT-6.1 Sol (xhigh) | 30.00 |
| B. Offline optimization with Terra execution | ||
| GPT-6.1 Terra (high) | GPT-6.1 Sol (xhigh) | 55.00 |
| Config. | Sorting | Pouring | Plugging | |||
|---|---|---|---|---|---|---|
| SR (%) | Time (s) | SR (%) | Time (s) | SR (%) | Time (s) | |
| 20.0 | 504.3 | 40.0 | 107.0 | 50.0 | 216.7 | |
| 30.0 +10.0 | 472.6 | 50.0 +10.0 | 104.2 | 60.0 +10.0 | 204.8 | |
| 70.0 +50.0 | 425.4 | 50.0 +10.0 | 98.6 | 70.0 +20.0 | 188.2 | |
| 80.0 +60.0 | 402.1 | 60.0 +20.0 | 95.4 | 70.0 +20.0 | 175.4 | |
Appendix figures & tables21 assets
Supplementary material from the paper’s appendix.
Appendix
| Platform | Frozen policy & primitives | Frozen perception | Seed harness |
|---|---|---|---|
| LIBERO-PRO | Frozen VLA; Cartesian/gripper primitives ( move_to , pi0_pick , release ) | Two-camera RGB-D, frozen SAM3 ( segment ), calibrated depth ( back_project ) | : forwards latest images, proprioception, and task text; : raw primitive wrappers; : step-by-step observe–decide–act loop |
| RoboDojo | Frozen VLA; dual-arm IK and joint primitives ( move_to , move_pose , move_joints , set_gripper , pi0_pick ) | Three-camera RGB-D, frozen SAM3 ( segment ), calibrated depth ( back_project ) | Same task-agnostic interface across all 42 tasks |
| Real-world G2 | TCP atomic actions (Sorting) or frozen task VLA ( vla_act ; Pouring, Plugging) | Head ( ) + dual wrist ( native / planner) RGB-D, frozen SAM3 | Same task-agnostic interface across all three tasks |
| Checkpoint | Nodes / edges | Reprojected progress | Graph change and evidence | Frontier and edit |
|---|---|---|---|---|
| ( fbfe54 ) | 19 / 16 | Four sorted objects at step 1081; three downward grasps failed on the second plush. | plush_all and watch_all remained unmet; revise rim clearance for the plush ( ). | |
| ( 27f1e8 ) | 26 / 29 | Grow. Clearing the bin rim introduced second_plush_held between plush_one and plush_all . | Execution stopped before the watches (step 1088); camera and watch frontiers motivated camera-first staging ( ). | |
| ( 966da7 ) | 48 / 56 | Grow. A three-node branch staged and re-grasped the camera (frame 640); five objects sorted by step 1069. | Two empty wrist closures (frames 941–1034) left only watch_all ; adopt a diagonal wrist approach ( ) and replan after closure ( ). | |
| ( 8efe43 ) | 51 / 66 | Split and bypass. Two watch-grasp states replaced one coarse transition; direct camera delivery bypassed staging (steps 748–845). | The new or closed guard returned control after jaw closure, completing the task at step 1084. |
| Parameter | Value | Role and calibration / definition |
|---|---|---|
| Rollback margin | Minimum retained-progress gain needed for an older round to supersede the latest round at tied dev SR (exact ties prefer newest). | |
| Prior strength | Beta concentration in Eq. 7 (sibling correlation ); Beta-Binomial MLE over 150 pilot dev candidates across 79 rounds (flat over ). | |
| Completion value | Terminal reward in Eq. 8 ; calibrated on pilot dev forecast–outcome histories to balance search spend against development completion. | |
| Width & round caps | Parallel candidate cap and MiniSet round limit ( with on single-seed main benchmarks). | |
| Distillation weights | Topological progress and code-excess weights in Eq. 13 , with reference threshold (mean UTF-8 delta of eight source specialists over ). | |
| Distillation stopping | Meta-loss stopping threshold and update round budget in Algorithm 2 . |
| Condition | Independent reference |
|---|---|
| Placement | Official in / on predicate with the designated object binding. |
| Pickup | Object-specific grasp and at least cm above initial support for three consecutive observations. |
| Retained control | Terminal control or a verified destination support. Pickup history may persist after release. |
| Drawer access | Closed or fully open joint endpoint within mm. Intermediate positions remain unresolved. |
| Physical condition | Resolved / total | TP / FP / FN / TN | Precision / recall (%) |
|---|---|---|---|
| Acquisition and control | 18 / 25 | 5 / 0 / 0 / 13 | 100.0 / 100.0 |
| Placement | 22 / 22 | 4 / 0 / 0 / 18 | 100.0 / 100.0 |
| Articulated access | 8 / 10 | 7 / 0 / 0 / 1 | 100.0 / 100.0 |
| Harness | Failures | SR (%) | Scorer, phys. | Reference, phys. | Scorer, full | Reference, full |
|---|---|---|---|---|---|---|
| 12/24 | 50.00 | 0.6250 | 0.6979 | |||
| 9/24 | 62.50 | 0.6944 | 0.7500 | |||
| 3/24 | 87.50 | 0.8889 | 0.9167 | |||
| 8/24 | 66.67 | 0.7986 | 0.8125 | |||
| 4/24 | 83.33 | 0.8750 | 0.9132 | |||
| 3/24 | 87.50 | 0.9167 | 0.9306 |
| Available pool | Selected | Reference loss | Regret, phys. | Regret, full | |
|---|---|---|---|---|---|
| - | 0.8021 | ||||
| - | 0.6518 | ||||
| - | 0.2406 | ||||
| - | 0.2406 | ||||
| - | 0.2406 | ||||
| - | 0.2375 |
| Experiment | Development panel | Held-out panel |
|---|---|---|
| LIBERO-PRO (Table 2 ) | 80 tasks, seed 0 per task | 80 tasks, seeds 1–10 per task |
| RoboDojo (Table 2 ) | 42 tasks, seed 0 (one standard layout) per task | 42 tasks, seeds 1–10 per task |
| Eight-source transfer (Table 4 A) | Eight source tasks, seeds 11–13 | Eight separate target tasks, seeds 1–10 |
| Continual learning (Table 4 B) | Two target tasks added per stage, seeds 11–13 | Fixed eight-task target panel, seeds 1–10 |
| MiniSet ablation (Table 5 ) | Eight tasks listed in Table 27 , seeds 11–13 | Same tasks, seeds 1–10 |
| Stage | Suite | Source (Table 4 A, Sec. A.5 ) | Target (Table 4 A–B) |
|---|---|---|---|
| Stage 1 ( / ) | Spatial | P01 , T04 | P03 , T08 |
| Stage 2 ( / ) | Object | P08 , T05 | P03 , T07 |
| Stage 3 ( / ) | Goal | P03 , T03 | P05 , T00 |
| Stage 4 ( / ) | Long | P05 , T00 | P04 , T06 |
| Panel | Online controller | Offline optimization |
|---|---|---|
| LIBERO-PRO main | GPT-6 Astra (low) | GPT-6.1 Sol (xhigh) |
| RoboDojo main | GPT-6.1 Sol (xhigh) | GPT-6.1 Sol (xhigh) |
| LIBERO-PRO MiniSet reference | GPT-6.1 Terra (high) | GPT-6.1 Sol (xhigh) |
| Method | Task-local development | Test states | Sim. steps | Agent budget |
|---|---|---|---|---|
| ORA [ 33 ] | No task-local search | Official states | 10,000 | 80 robot / 200 model calls |
| OpenRUA [ 4 ] | Fresh workspace each episode | Indices 0–9 | Unlimited | 500 turns |
| RPent [ 36 ] | Task memory on seed 0 | Seeds 1–10 | 10,000 | 100 turns |
| ASPIRE [ 22 ] | Repair and search on seeds 51–65 | Seeds 1–50 | NR | NR |
| LIBERO-PRO | None | Seeds 1–10 | 230–2,610 ( – ) | 100 decisions |
| LIBERO-PRO, ReWeave | Seed 0, up to ten attempts | Seeds 1–10 | 230–2,610 ( – ) | 100 decisions |
| Dimension | Protocol |
|---|---|
| External systems | ASPIRE, RPent, and HexaShell entries are taken from published results under their respective adaptation procedures [ 22 , 36 , 8 ] . |
| Online observations | Both and ReWeave access RGB-D streams, calibration, proprioception, task language, object-name labels, and SAM3 depth back-projection; ground-truth simulator poses, masks, forces, and rewards are excluded. |
| Offline traces | Archived LIBERO-PRO development records contain simulator-state telemetry used to compute the independent post-hoc reference predicates (Sec. A.5 ), which are withheld from the scorer and optimizer; RoboDojo has no simulator-state channel either online or offline. |
| Development isolation | Main runs adapt on seed 0 for up to ten rounds under task-agnostic observation interfaces (without task/seed dispatch or action-script replay) and freeze prior to testing on seeds 1–10. |
| MiniSet accounting | MiniSet runs develop on seeds 11–13 at horizons; Sec. C.3 breaks down cross-task distillation costs and continual old-task regression checks. |
| Task | Position (P) | Task (T) | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| SR (%) | Dev. | Dec. | Out. (k) | Steps | Time (s) | SR (%) | Dev. | Dec. | Out. (k) | Steps | Time (s) | |
| Spatial | ||||||||||||
| 00 | 100.0 | 2 | 6.1 | 1.26 | 119.5 | 198 | 100.0 | 0 | 12.3 | 3.66 | 638.1 | 593 |
| 01 | 100.0 | 5 | 10.9 | 3.01 | 299.8 | 489 | 100.0 | 0 | 6.2 | 1.07 | 241.3 | 329 |
| 02 | 100.0 | 0 | 7.0 | 1.33 | 176.0 | 271 | 100.0 | 2 | 8.9 | 1.91 | 208.3 | 316 |
| 03 | 90.0 | 4 | 12.8 | 2.66 | 344.1 | 364 | 100.0 | 2 | 13.8 | 2.63 | 269.0 | 380 |
| Task | Successes | Score | SR | Dev. | Dec. | Out. (k) | Steps | Time (s) |
|---|---|---|---|---|---|---|---|---|
| Generalization | ||||||||
| Stack bowls | 9/10 | 91.50 | 90.00 | 2 | 43.1 | 21.76 | 593.2 | 1582 |
| Push T | 8/10 | 80.00 | 80.00 | 10 | 70.3 | 26.62 | 430.2 | 6878 |
| Pack objects into box | 0/10 | 7.00 | 0.00 | 10 | 66.3 | 25.38 | 1067.1 | 3691 |
| Fold clothes | 0/10 | 12.00 | 0.00 | 10 | 34.1 | 16.44 | 485.9 | 2023 |
| Hang mugs | 0/10 | 18.50 | 0.00 | 2 | 56.1 | 38.53 | 746.5 | 2675 |
| Successful episodes | Paired outcomes | ||||||
|---|---|---|---|---|---|---|---|
| Held-out task | ReWeave | Direct | Both succeed | ReWeave only | Direct only | Both fail | SR |
| Spatial P03 | 9 | 4 | 4 | 5 | 0 | 1 | |
| Spatial T08 | 10 | 8 | 8 | 2 | 0 | 0 | |
| Object P03 | 9 | 9 | 8 | 1 | 1 | 0 | |
| Object T07 | 10 | 10 | 10 | 0 | 0 | 0 | |
| Goal P05 | 2 | 0 | 0 | 2 | 0 | 8 | |
| Held-out task | Start, , | tasks | From Scratch | tasks | Gain |
|---|---|---|---|---|---|
| Spatial P03 | 9 | 9 | 1 | 9 | |
| Spatial T08 | 10 | 10 | 10 | 9 | |
| Object P03 | 9 | 10 | 10 | 10 | |
| Object T07 | 10 | 10 | 7 | 8 | |
| Goal P05 | 2 | 2 | 2 | 3 | |
| Goal T00 | 0 | 0 | 1 | 1 |
| Shared harness (ReWeave) | From Scratch | ||||||
|---|---|---|---|---|---|---|---|
| New task pair | Upd. | New rec. | Launches (new+old) | Tokens (M) | New rec. | Launches | Tokens (M) |
| Spatial ( ) | 0 | 6 | 14 (6+8) | 5.10 | 27 | 28 | 33.45 |
| Object ( ), | 0 | 6 | 8 (6+2) | 5.71 | 12 | 9 | 13.71 |
| Goal ( ) | 5 | 36 | 99 (36+63) | 53.93 | 33 | 33 | 42.75 |
| Long ( ) | 4 | 30 | 100 (33+67) | 41.46 | 33 | 30 | 41.92 |
| All eight tasks | 9 | 78 | 221 (81+140) | 106.20 | 105 | 100 | 131.82 |
| Task | Held-out SR (%) | Updates | Dev. trials | Test dec. | Test steps |
|---|---|---|---|---|---|
| Spatial P03 | 40.0 (4/10) | 4 | 12 | 21.2 | 206.7 |
| Spatial T04 | 30.0 (3/10) | 5 | 15 | 14.9 | 203.3 |
| Spatial T08 | 30.0 (3/10) | 1 | 3 | 10.3 | 214.6 |
| Object T07 | 100.0 (10/10) | 3 | 9 | 9.0 | 224.7 |
| Goal P05 | 40.0 (4/10) | 5 | 15 | 12.4 | 249.2 |
| Goal T00 | 40.0 (4/10) | 5 | 15 | 11.8 | 275.3 |
| Item / Task | Interface / Setting | Specification / Physical endpoint |
|---|---|---|
| Cameras & perception | Head + dual wrist RGB-D | Head ( ); wrist ( native for SAM3, calibrated depth back-projection, and VLA; rescaled planner views); calibrated gripper-center TCP kinematics. |
| Reset & initial layouts | 10 matched layouts | Operator-triggered reset returns arms, grippers, head, and torso to a canonical home pose outside episode timing; ten predefined workspace layouts are matched across – . |
| Logging & updates | Offline between batches | Passive three-camera H.264 recording captures rollouts for offline revision between ten-trial batches while policy weights remain fixed. |
| Sorting | Atomic actions | The target object rests inside the designated container after release. |
| Pouring | Frozen VLA ( vla_act ) | Water enters the target cup without spillage, and both vessels finish upright on the table. |
| Plugging | Frozen VLA ( vla_act ) | The plug is seated in the target socket, and the connected device is placed and released. |
Agent Harness Optimization
Agent harness optimization improves the prompts, tools, memory, workflows, and control code that shape how AI agents act.
See all 220 papers