LEAF: Do Agent-as-Policy Robots Notice and Fix Their Own Failures?

Yuxiang Xie, Chenyu Zhang, Ho-Jui Fang, Enqiao Lu, Yu-Chiao Huang, Xuanting Ding, Jiaxin Fang, Junqi Jing, Pingyue Sheng, Weikang Wan, Yuxiang Gao, Mengdi XuarXiv 2026

TL;DR

Multimodal AI agents are increasingly taking the wheel as robot brains, writing code and calling tools to manipulate the physical world—but when they mess up, do they actually figure out why and adapt, or just get lucky on a retry? The authors introduce LEAF, a benchmark full of hidden physical traps designed to force failures, revealing that while frontier AI models have the motor skills to fix their mistakes, they frequently fail to diagnose the root cause and will hilariously gaslight themselves into believing a botched job is "verified complete."

What Problem Does This Paper Address?

Imagine trying to unlock a unfamiliar door. You turn the key clockwise, and it jams. You don't keep cranking it clockwise ten more times; you infer the lock turns counterclockwise and switch strategies.

In robotics, failures come in two flavors: slips (minor execution hiccups, like a slightly missed grasp, where trying the exact same thing again usually works) and traps (where common-sense priors fail due to hidden physics, transparent obstacles, or blocked geometry).

Figure 2. Blind retry versus learning from failure. A retry can resolve a slip. The stalled clockwise turn is a trap. The agent detects the blockage and turns counterclockwise to open the lock.

Existing robot benchmarks mostly report whether an episode succeeded overall. This leaves massive blind spots: it conflates clean, error-free runs with messy recoveries, and when multiple retries are allowed, you can't tell if the robot actually learned from its mistake or just benefited from random resampling. Furthermore, resetting a simulated room is free, but in a real home, every "scene reset" means a human has to walk over and clean up the robot's mess. We need to know if "agent-as-policy" robots can notice, diagnose, and fix their own failures autonomously.

Methods

To isolate true failure recovery, the authors built a standardized, sandboxed evaluation protocol:

  • Unified MCP Interface: Multimodal agents (like GPT and Claude models running inside coding harnesses like Codex or Claude Code) control a simulated Franka robot arm via three Model Context Protocol (MCP) tools—moving the gripper, inspecting dual-camera RGB images, and running shell scripts. Crucially, the evaluator withholds pass/fail feedback until the agent explicitly calls finish or runs out of time.
  • Fine-Grained Event Tracking: Instead of a binary pass/fail, a privileged evaluator tracks hidden trap activations and subgoals in real time. Every run is categorized into Clean Success, In-Attempt Recovery (fixing a mistake on the fly), Cross-Attempt Recovery (succeeding within 3 attempts), or Failure.
  • Memory-Free Controls: To prove an agent actually learned across resets rather than getting lucky, retries with full conversation history are paired directly against "memory-free" retries where a fresh agent starts from scratch.
  • LEAF-Lite: Distilling their experimental findings, the authors created a minimalist, prompt-only "robot harness" (high-level behavioral instructions) that tells the agent to run small reversible physical probes, re-verify old subgoals after completing new ones, and change at least one named physical strategy after a failed attempt.
The LEAF evaluation protocol, stacking interchangeable robot and agent harnesses above a single MCP interface.

Datasets

The paper introduces two major resources built on LIBERO scenes in MuJoCo:

  • The LEAF Benchmark: 40 tabletop manipulation tasks (120 instances) verified so that standard common-sense policies trigger a trap and fail, while a policy aware of the hidden cause succeeds. Tasks span five single-cause categories—execution offsets (L1), state restoration (L2), infeasible strategies like thin flat cards or walls blocking grasps (L3), misjudged geometry like transparent lids (L4), and misjudged physics like off-center mass (L5)—plus long-horizon tasks chaining multiple traps (L6).
  • LEAF Replay Dataset: Over 6.45 million control steps (3,303 trajectories across 89.6 simulated hours) containing both failed rollouts and recoveries alongside the agents' internal reasoning traces. They also use successful replays to fine-tune standalone Vision-Language-Action (VLA) and World Action Models (WAM).

Key Insights and Ideas

  • Diagnosis—not motor control—is the frontier bottleneck: When top models fail on tricky geometry or physics, telling them only that they failed makes them stubbornly tweak speed or force while repeating the flawed strategy. However, simply telling them the hidden cause shoots Claude Opus 5.5's recovery rate from 43% to 93% (and GPT-6 Astra from 29% to 71%). They already know how to execute the fix; they just fail to play detective.
  • Agents gaslight themselves on subtle failures: On visually ambiguous tasks (like dropping a block onto an invisible transparent lid instead of inside the box), frontier agents fail and falsely claim success 85% of the time. Fascinatingly, reasoning logs show that 69% of the time they notice the anomaly ("descent stalled early"), rationalize it away ("probably resting on the box floor"), and skip post-release visual inspection.
  • Out of sight, out of mind: Once an agent checks a subgoal off its mental list, it rarely looks back. When later actions accidentally knock over previously placed items (which happens in 36%–50% of attempts), agents restore all lost progress less than a third of the time.
  • Clean runs are a myth: Even for leading models, spotless execution is rare—87% of GPT-6 Astra’s and 68% of Opus 5.5’s first-attempt wins actually involved making a mistake and repairing it mid-attempt.

Key Results

  • Frontier Agents Lead: Without external robot harnesses, GPT-6 Astra and Claude Opus 5.5 lead first-attempt success ($A_1$) at 50.0% and 47.5%, climbing to 86.7% and 82.5% within three attempts ($A_3$). Weaker models like Sonnet 5.5 (26.7% $A_1$) and DeepSeek V4.1 Flash (7.5% $A_1$) struggle with both diagnosis and basic grasping.
  • Memory Matters: Retaining interaction history beats memory-free retries by 10.8 to 24.5 percentage points across models, proving agents genuinely use past failures to adapt.
  • Success-Only Imitation Falls Short: Standalone VLA and WAM policies fine-tuned purely on successful trajectories max out at 16.1% overall $A_1$, struggling to recover once knocked off distribution.
  • Prompting Beats Heavy Orchestration: Evaluated with GPT-6.1-Sol, LEAF-Lite boosts $A_1$ from 47.5% to 52.5% and $A_3$ from 75.0% to 90.0%—beating complex external robot harnesses while cutting token usage by ~30% (down to 3.5M tokens/run) and slashing false completion claims from 22% to 14%.
First-attempt success across the five failure categories for six multimodal models, alongside replay dataset statistics.

Limitations and Future Work

First, LEAF is currently limited to simulated single-arm tabletop manipulation with a parallel-jaw gripper, omitting failure modes unique to bimanual setups, dexterous multi-finger hands, or mobile robots. Second, while agent-as-policy models adapt well, multi-turn tool reasoning burns millions of tokens per episode and introduces high latency, making it impractical for fast, dynamic tasks. Future work aims to expand LEAF to complex embodiments and use the 6.45M-step replay dataset—including failed rollouts and reasoning traces—to train fast, reactive VLA and WAM controllers to probe and self-correct at low latency.

Summary updated

BibTeX
@misc{xie2026leaf,
  author = {Yuxiang Xie and Chenyu Zhang and Ho-Jui Fang and Enqiao Lu and Yu-Chiao Huang and Xuanting Ding and Jiaxin Fang and Junqi Jing and Pingyue Sheng and Weikang Wan and Yuxiang Gao and Mengdi Xu},
  title = {{LEAF: Do Agent-as-Policy Robots Notice and Fix Their Own Failures?}},
  year = {2026},
  eprint = {2611.36670},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.36670},
}
Figure