TL;DR
EMHO (Embodied Agent Harness Optimization) is a self-evolving framework that improves embodied agents by iteratively optimizing their "harness"—the logic governing planning, memory, and tool use—rather than the underlying model. By analyzing execution traces, EMHO reshapes how agents interact with their environment, leading to success rate gains of up to 33% in complex manipulation tasks without any additional training of the core vision-language model.
What Problem Does This Paper Address?
Building a capable embodied agent—one that can navigate a kitchen or manipulate objects—usually involves two parts: a powerful "brain" (typically a Vision-Language Model or VLM) and a "harness." The harness is the surrounding system logic that handles how the agent constructs its memory, which vision tools it calls (like depth estimation or segmentation), how it plans its next steps, and how it recovers when things go wrong.
While we’ve seen massive progress in VLMs, the harness is still largely hand-engineered. This is a bottleneck because embodied environments provide very "sparse" feedback. Unlike a coding agent that gets a clear error message when a test fails, an embodied agent might just bump into a wall or miss a grasp. It’s incredibly difficult for human engineers to diagnose exactly which decision in a 50-step trajectory led to the final failure. The authors ask: Can the agent learn to optimize its own harness directly from these messy experience traces?
Methods
The authors propose a two-loop system called EMHO:
- The Inner Loop (Task Solving): The agent executes tasks in the environment using its current harness. It records everything: observations, plans, tool calls, actions, and environmental feedback.
- The Outer Loop (Harness Update): A "harness optimizer" (a separate LLM) analyzes these trajectories alongside the history of previous harness versions. It identifies recurring failures—like the agent getting stuck in a loop—and proposes targeted edits to the harness code or prompts.
To handle more general-purpose agents, they also introduced EMHO-Merge. When optimizing a single harness for multiple different subtasks, a change that helps one task might hurt another. EMHO-Merge explicitly analyzes "gains" (episodes that went from failure to success) and "losses" (success to failure) to refine the harness, ensuring new behaviors are only triggered under the specific conditions where they are actually helpful.
Datasets
The framework was evaluated using EmbodiedBench, a comprehensive benchmark for vision-driven agents. The experiments covered:
- Navigation: Tasks ranging from simple "base" movement to complex instructions requiring long-horizon reasoning and visual appearance grounding.
- Manipulation: Tasks involving spatial relationships, common sense, and fine-grained object interaction.
The researchers tested EMHO using two underlying models: Qwen 9B and Qwen 27B, splitting the benchmark into disjoint "search" sets (for optimization) and "held-out" sets (for final evaluation).
Key Insights and Ideas
- Beyond Simple Recovery: EMHO doesn't just teach the agent to "try again." It reshapes the agent's perception. For example, the harness might evolve to proactively call a depth-estimation tool before a high-stakes stacking action, rather than just reacting after a collision.
- The Hierarchy of Learning: The authors observed a fascinating temporal pattern. In early iterations, the optimizer focuses on "recovery edits" (fixing explicit failures). As the harness matures, it begins to propose "non-recovery edits"—sophisticated changes to how the agent monitors its own progress and grounds visual observations.
- Harness vs. Skill: The paper demonstrates that optimizing the system (the harness) is more powerful than just optimizing skills (textual instructions). By changing how history is represented or how tools are orchestrated, the agent can detect and avoid failures that a simple prompt change wouldn't catch.
Key Results
EMHO consistently outperformed the initial hand-engineered harnesses across the board:
- Navigation: Success rates improved by up to 23.3%.
- Manipulation: Success rates saw even larger jumps, up to 33.3%.
- Generalization: The evolved harnesses also performed significantly better on held-out tasks, proving that the learned logic wasn't just memorizing specific episodes but learning generalizable interaction principles.
- Model Agnostic: The gains were visible for both the 9B and 27B models, suggesting that harness optimization is a robust way to squeeze more performance out of any frozen VLM.
Limitations and Future Work
The primary limitation identified is overfitting. In some runs, the harness continued to improve on the search set while performance on the held-out set plateaued or even slightly declined. This suggests that the optimizer can sometimes become too specialized to the specific trajectories it has seen.
Future work will likely focus on improving the generalization of these evolved harnesses and exploring how to better select the "best" iteration to avoid this divergence. There is also potential to apply this "self-evolving harness" concept to even more complex, multi-agent, or open-ended environments.
Summary updated