Skip to content
Robotics.world

Research

EnactOpt: Diagnosis-Guided Harness Evolution for Embodied Agents

Embodied agents often fail not because the underlying model is weak, but because the harness around it presents the wrong evidence or gives poor action guidance.

The paper’s first page · arXiv:2610.14977
arXiv
2610.14977 · Preprint · not peer-reviewed
Published
2026-10-10
Authors
ZhiYuan Feng, Zhuoshi Pan, Zhaolu Kang, Zhongxia Chen, Shuo Yang, Sen Ye, Heng Wang, Han Li

In plain words

Embodied agents often fail not because the underlying model is weak, but because the harness around it presents the wrong evidence or gives poor action guidance. EnactOpt's goal is to turn a small amount of costly execution experience (30 training task instances per benchmark) into reusable improvements to that harness, without touching model parameters.

AI summary

Overview

  • Research area: Embodied agents built on foundation models; specifically, the "execution harness" — the model-external code and text that decides what evidence an agent sees and how it is told to act. Bridges robotics, LLM agent engineering, and automated prompt/code optimization.
  • Technical level: Advanced. The core intuition is simple, but the paper assumes familiarity with agent scaffolds, textual-gradient and evolutionary prompt optimization, and embodied benchmark protocols (VLABench, ALFWorld, Embodied Agent Interface).
  • Scope (one sentence): EnactOpt is an iterative, diagnosis-driven procedure that jointly rewrites an embodied agent's reusable textual skills and its context-construction code — while freezing the model and runtime — and is evaluated on three embodied benchmarks.

What This Paper Is About

Embodied agents often fail not because the underlying model is weak, but because the harness around it presents the wrong evidence or gives poor action guidance. EnactOpt's goal is to turn a small amount of costly execution experience (30 training task instances per benchmark) into reusable improvements to that harness, without touching model parameters. The distinctive move is to diagnose adjacent decisions — checking whether feedback actually reached the model's input and whether the model then acted on it — so that revisions target the right component rather than guessing from task success alone.

Key Contributions

  1. A coupled adaptation target. The harness is formalized as H = (S, C): textual skills S for action guidance, exploration, and failure recovery, plus context-construction code C that selects and presents observed evidence. A single proposal may revise either or both components, so their combined effect is evaluated as one candidate while the model configuration M and runtime R stay fixed.
  2. A diagnosis-to-revision feedback interface. Adjacent-decision diagnoses relate the previous action, its returned observation and feedback, the actual model input x_t (not just the constructed context c_t), and the resulting action. These are consolidated into structured episode summaries that the optimizer sees in place of raw trajectories.
  3. Structured edit operators for joint revision. One joint optimizer LLM proposes complete replacement files using six prompt-level operators — add, revise, delete, move, split, merge — applied to Markdown items, paragraphs, or table rows in skills and to functions, constants, or local logic in code. Each edit is asked to name its target, supporting feedback, intended effect, and behavior to preserve.
  4. Empirical gains and generalization evidence. Improvements over the initial harness and over GEPA, TextGrad, and Trace2Skill on VLABench, ALFWorld, and EAI, including on within-benchmark conditions never used for evolution or candidate selection.

Main Findings

  • Gains over the initial harness: EnactOpt improves task success over H₀ by 10.43, 26.64, and 23.40 percentage points on VLABench, ALFWorld, and EAI respectively (the abstract summarizes this as approximately 10–27 points). Absolute success rates are 57.83% (VLABench), 92.70% (ALFWorld), and 95.74% (EAI), against H₀ at 47.39%, 66.06%, and 72.34%, and a "Naive" official pipeline at 40.87%, 51.46%, and 68.09%.
  • It beats all three evaluated baselines on all three benchmarks: GEPA reaches 44.46%, 83.21%, and 86.88%; our skill-only TextGrad implementation reaches 36.09%, 86.50%, and 71.63%; our skill-only Trace2Skill implementation reaches 40.54%, 78.83%, and 72.70%. Baseline strengths vary by benchmark — TextGrad is the strongest adaptation baseline on ALFWorld, GEPA on VLABench and EAI.
  • Editability alone is not enough: on VLABench, GEPA's adaptation from H₀ (44.46%) actually falls below the unchanged H₀ reference (47.39%), showing that being able to revise model-external artifacts does not guarantee a better harness.
  • Gains transfer beyond the evolution conditions: with evolution and selection restricted to VLABench T1, EnactOpt improves T3 (commonsense target selection) and T4 (context-rich instruction understanding) over H₀ by 16.00 and 16.25 percentage points, versus 5.00 points on T6 (unseen textures), and exceeds GEPA on all three tracks. On ALFWorld Unseen scenes it exceeds both H₀ and GEPA, with a 3.73-point advantage over GEPA in the runs shown.
  • Diagnosis matters more than outcome signal: removing adjacent-decision diagnosis (keeping joint revision and edit operators, using only task descriptions and terminal outcomes) gains 3.75 points in-distribution but loses 1.91 points on generalization — the gain does not survive the shift.
  • Edit operators matter, not just evidence: removing the structured edit operators drops success below H₀ in both groups, by 2.08 points in-distribution and 2.50 points on generalization.
  • Joint beats separate revision at lower cost: revising S and C separately yields in-distribution success close to EnactOpt (63.33% vs. 63.75%) but lower generalization (50.88% vs. 55.74%), while using twice as many optimization passes (2× vs. 1×). EnactOpt's generalization gain over H₀ is 12.21 points versus 7.35 for the separate variant.
  • What actually changed in the harnesses: ALFWorld's evolved harness expands the retained-history window from two to 50 turns and revises search and responses to ineffective actions; EAI replaces stopping after one correction with continued attempts within budget while emphasizing current state and latest feedback; VLABench explicitly presents observed entity names and prescribes short canonical commands preserving exact spelling. The authors note these are observed differences, not isolated attributions of the gains.

Methodology in Plain English

  1. Start from an initial harness. H₀ = (S₀, C₀) encodes assumptions about how tasks are phrased and what evidence is available. The model and the runtime that assembles inputs, parses outputs, and executes actions are frozen.
  2. Run a small batch. At each iteration, a harness from the retained pool executes one batch of ten training tasks (30 training instances total, split into three fixed batches — one epoch).
  3. Diagnose decision by decision. For each decision, a diagnostic LLM looks at a small window: the previous action and the feedback it returned, the exact input the model received, the action the model chose, and what that action produced. It judges whether the feedback was faithfully presented, whether the action reflected appropriate use of it, and what happened. Missing evidence suggests a fix to C; a poor response to available evidence suggests a fix to S — treated as non-exclusive hypotheses, not causal proof.
  4. Summarize the episode. A summarizer (which never sees the raw trajectory) turns the ordered diagnoses plus the task description and native outcome into a structured summary with concrete conditions, step references, repair suggestions, behavior to preserve, and unresolved uncertainty.
  5. Propose candidates. One joint optimizer receives the source harness and these summaries and returns complete replacement files, guided by the six edit operators.
  6. Filter and select. Candidates pass local interface and runtime compatibility checks, are scored on a 30-instance validation set, and compete against the existing pool. Up to k = 2 harnesses are retained by validation success rate, so a new proposal never automatically displaces its source.
  7. Fix and test. After three iterations, the highest-validation harness is frozen and evaluated on held-out test sets, including conditions never used for evolution or selection.

Everything uses GPT-5.4 mini for the MLLM components; VLABench additionally uses the benchmark-released π₀ policy (the pi0-primitive-10task checkpoint), frozen during evolution. VLABench uses six primitive tasks (select_chemistry_tube, select_poker, select_drink, add_condiment, select_book, select_toy) with splits of 30/30/920 and test tracks T1/T3/T4/T6 at 240/200/240/240 episodes. ALFWorld uses version 0.4.2 with all six task families and a 30/30/274 split (140 Seen, 134 Unseen); EAI uses VirtualHome Action Sequencing in scene_1 across 342 instances, split 30/30/282.

Why This Matters

  • Impact on research: The paper reframes adaptation as improving how an agent uses its capabilities rather than changing the capabilities themselves, and argues that in-distribution success is a misleading proxy — variants with nearly identical in-distribution scores (63.33% vs. 63.75%) differed by roughly five points under shift. It also contributes a concrete feedback-interface design (diagnosis-mediated summaries, no raw-trajectory retrieval) that contrasts with prior harness-evolution work.
  • Real-world applications (potential, not demonstrated):
    • Household and tabletop manipulation agents, the setting of VLABench's primitive tasks.
    • Text-based or simulated household task agents, as in ALFWorld's six task families.
    • Virtual-home / activity-sequencing assistants, as in EAI's VirtualHome Action Sequencing.
    • Any LLM-agent deployment where retraining is impossible but the surrounding scaffold can be edited.
  • Industry relevance: Evolution needs only 30 task instances per benchmark and no parameter updates, which fits settings where collecting embodied interaction data is expensive and where a fixed, already-approved model must be deployed. The authors are explicit that these simulated and text-based evaluations do not establish safe operation on physical robots, and that deploying evolved execution code would require additional safety validation and oversight.

Future Directions

  • Cross-benchmark transfer: the current work evolves and evaluates separate harnesses per benchmark; whether an evolved harness transfers across benchmarks is left open.
  • Matched-budget, isolated attribution: the authors call for controlled matched-budget studies on independent test data to disentangle the contributions of skill revision, context-code revision, and diagnostic feedback — the present comparisons are explicitly not matched-compute.
  • Broader task compositions and physical deployment: extending to more complex task compositions and testing reliability on real robots, with safety validation.
  • Cost accounting: measuring both evolution and execution costs to clarify the trade-off between task performance and total resource use.

Target Audience

Researchers and engineers working on LLM-based embodied agents and agent scaffolds, particularly those interested in adaptation without parameter updates, automated prompt/code optimization, and diagnostic feedback design. It is also useful for practitioners running agents on fixed, non-retrainable models, and for benchmark designers thinking about how to measure generalization of harness-level improvements. Readers unfamiliar with agent harnesses or embodied benchmarks should expect a steep entry, though the central idea — fix what the model sees, not just what it is — is stated plainly.

Authors’ abstract

Embodied agents built on foundation models rely on an execution harness to organize observations, guide actions, and incorporate execution feedback into subsequent decisions. Failures can arise not only from limited model capabilities, but also from how the harness presents evidence and guides its use. These model-external mechanisms provide an adaptation target without updating model parameters, but task-specific interaction experience can be costly to collect. Task-level…

The full abstract on arXiv
Read the original paper

Related papers