ReWeave: Emergent Physical Task Topologies for Embodied Harness Optimization and Cross-Task Meta-Distillation
TL;DR ReWeave improves the code and prompts around frozen robot policies by re-reading past trials against a task graph that it keeps revising. Held-out success rises from 25.50% to 58.25% on RoboDojo, and from 20% to 80% on a real dual-arm sorting task.
What they do
In long manipulation tasks, many physical requirements (a stable grasp, enough clearance) only show up during execution, and a success/failure label does not say which ones held. ReWeave keeps the policies and perception frozen and improves the agent harness around them: the context it sees, its workflows and its control loops. An outer agent builds a graph of the task from trials, revises it as evidence arrives, and scores all earlier trials again on the revised graph.
How it works
- Task topology. States and transitions are linked to entry and exit conditions, recorded evidence and code. Re-scoring old trials shows how much progress each one retained and where it stalled.
- Harness search. Each round starts from the archived harness with the most successes, with ties broken by retained progress. The outer agent then edits context, workflow and control loop at the observed bottleneck.
- Meta-distillation. Transitions that worked in one task are matched to unmet conditions in another and merged into one shared harness, which can keep learning new tasks.
Results
- Held-out success rises from 89.00% to 98.75% on LIBERO-PRO (80 tasks) and from 25.50% to 58.25% on RoboDojo (42 tasks).
- Real dual-arm G2, ten trials per task and version: sorting goes from 20% to 80%, pouring from 40% to 60% and plugging from 50% to 70%.
- Of 159 failed RoboDojo development trials, 89% retained some progress (median 0.33).
- On eight unseen LIBERO-PRO tasks the shared harness reaches 51.3%, against 41.3% for direct distillation, and 75.0% after continual learning.
- Ablation: without re-scoring old trials, held-out success drops from 55.00% to 47.50%.
Limitations
The graph depends on what the recorded traces show, and ambiguous contacts can delay it. Optimization needs physical trials and model calls, and agent reasoning adds latency that limits time-sensitive use. Transfer is uneven: with eight source tasks it reaches 10% on Goal and 5% on Long tasks.
Videos
Figures


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 ($0.34\times$ 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.
Summaries are written automatically from each paper's text. Figures and videos come from the paper and its project page; all credit goes to the authors.
