TL;DR
State-of-the-art vision-language models (VLMs) struggle to deduce the correct sequence of actions from a robot's failed exploratory attempts (e.g., realizing a drawer is locked only after a failed pull). This paper introduces Closed-Loop Trace Distillation, a method where an AI coding agent analyzes training data to generate a simple, one-line "Distilled Reading Heuristic" (DRH). Adding this single line to a frozen VLM's prompt dramatically boosts its ability to correctly identify the minimal successful action chain by up to 47% without any model retraining.
What Problem Does This Paper Address?
When humans interact with unfamiliar objects—like a jammed door or a tricky cabinet—we often try a simple action first, feel resistance, and immediately adapt based on that feedback. For a robot, this initial failure reveals a latent precondition (e.g., "the drawer is locked"). The sequence of the failed attempt, the corrective action, and the final success forms an exploratory manipulation trace.
The goal is to look at this trace and determine the minimal-success action chain—the fewest actions needed to complete the task from scratch (e.g., [unlock, pull]). The authors formalize this challenge as Exploratory Manipulation Trace QA (EMT-QA).
Surprisingly, even advanced multimodal models (like GPT-5.5 or specialized embodied LLMs) fail at EMT-QA when given raw video and proprioception data. They struggle because they cannot inherently isolate the subtle physical cues—such as a tiny shift in end-effector orientation or a brief spike in joint resistance—that signify the underlying environmental constraint.
Methods
To bridge this gap without expensive model fine-tuning, the authors propose Closed-Loop Trace Distillation:
- Training Phase (Heuristic Discovery): A per-task coding agent (powered by Claude Code) inspects labeled training traces. Using a fixed toolset (video readers, trajectory analysis libraries, and coordinate transforms), the agent iteratively proposes a natural-language rule—a Distilled Reading Heuristic (DRH)—that explains how to decode the trace. The candidate DRH must clear a strict "commit gate" (a validation accuracy threshold) across consecutive training groups before being accepted.
- Inference Phase (Deployment): The coding agent disappears. The frozen base VLM simply receives the raw trace data along with the one-line DRH prepended to its prompt.
- Programmatic Execution: Because the generated DRH is highly precise and human-readable, it can also be handed to a coding agent to one-shot generate traditional code-based classifiers (like scripted rules or random forests), bypassing the VLM entirely at inference time.
Datasets
The authors evaluated their method across five distinct tasks spanning simulation and physical hardware:
- Simulated Tasks (built in IsaacGym/AdaManip):
safe(3 exploratory chain types),lamp(5 types), anddoor(4 types). - Real-Robot Tasks:
bottle(3 types) andcabinet(3 types).
Each dataset contains synchronized 10Hz video streams and 7-dimensional proprioceptive trajectories (comprising 3D rotation, 3D position of the end-effector, and a 1D gripper state).
Key Insights and Ideas
- VLMs aren't bandwidth-starved; they're directionless: Modality ablations revealed that giving VLMs more raw data (combining video + proprioception) did not inherently improve performance. The issue isn't a lack of sensory data, but rather that the models don't know which feature dimension matters (e.g., whether to look at the sign of the pitch component or gripper-segmented phase splits).
- Failing productively: Instead of treating a failed first attempt as an anomaly or an error to be discarded, this framework treats the failure as the primary source of truth for uncovering hidden environmental states.
- Human-readable heuristics are highly portable: The DRH acts as a modular piece of knowledge. It functions effectively as an in-context prompt for a massive VLM, but can also serve as a standalone specification sheet to compile lightweight, traditional machine learning scripts.
Key Results
- Massive Accuracy Gains: The Distilled-Prompt VLM achieved an accuracy of at least 0.93 across all five tasks. In contrast, the "Naked-Modality" VLM (without the DRH) hovered between 0.53 and 0.62.
- Consistent Performance Lift: The DRH provided an absolute accuracy boost of +0.38 to +0.47 across both simulated and real-world tasks.
- Code Generation Success: Programmatic classifiers generated one-shot from the DRH matched or slightly exceeded the prompted VLM's performance on simulator splits, achieving up to 100% accuracy on some tasks.
Limitations and Future Work
- Proprioception Bias: In all five evaluated tasks, the discovered heuristics heavily favored analyzing the proprioceptive trajectory (numerical physics data) rather than visual features. Tasks where the key discriminator is purely visual remain out of scope for this empirical grammar.
- Clean Data Assumption: The evaluation relied on clean, fully completed successful traces. Real-world policy rollouts are often much noisier or cut off mid-way.
- Scope Constraints: The tasks were limited to single-arm, stationary-base, short-horizon manipulations. Extending this framework to bimanual coordination, mobile manipulation, and multi-object scenes remains an open challenge.
Summary updated