Distilling Instructions into Weights: Closed-Form Edits Fix a Robot Policy's Misreading

Ali-Adeeb Abbas, Esmaeil SerajarXiv 2026 · arXiv

TL;DR

This paper introduces closed-form instruction distillation, a gradient-free method to fix "misreading" errors in generalist robot policies by directly editing their weights. By identifying a working instruction rewording and "baking" its internal effect into the model's language component, the authors boosted task success from 21% to 83% without any new training data or demonstrations.

What Problem Does This Paper Address?

Generalist Vision-Language-Action (VLA) policies often fail at a single, specific step of a task they are otherwise capable of performing. A common failure mode is misreading: the robot has the physical skill but misunderstands the instruction (e.g., it drops a cube too early because it incorrectly binds the phrase "in the bowl" to a different object).

The standard fix—collecting new demonstrations and fine-tuning—is expensive and slow. This paper explores weight-space programming: can we surgically "patch" a model's weights to fix these bugs directly? The challenge lies in doing this without gradients, without breaking existing skills, and without needing a massive new dataset.

Methods

The authors propose a three-step pipeline:

  1. Diagnosis via Rewording: Find an "explicit rewording" (a known-good instruction) that makes the unedited model succeed. For example, changing "Put the cube then the banana in the bowl" to "Put the cube in the bowl then put the banana in the bowl."
  2. Activation Capture: Record the internal activations ("keys") and the layer-wise residual updates ("values") produced by this working instruction.
  3. Closed-Form Distillation: Use a multi-key closed-form update (a regularized minimum-norm solution) to modify the MLP weights in the model's Vision-Language Model (VLM) component. This ensures that when the model sees the original instruction, it produces the internal state of the working instruction.
Figure 1: One held-out start, unedited and edited. Top: wrist-camera inputs at four matched control steps. Bottom: commanded gripper (filled where closed) and logged events. Right: held-out success over 128 starts, with Wilson 95% intervals. With the instruction unchanged, the edit removes the release three steps after the grasp. The explicit rewording “Put the cube in the bowl then put the banana in the bowl” was used only to build the edit.

Datasets

  • Model: The DROID version of $\pi_{0.5}$ (OpenPI), a 3.35-billion parameter VLA.
  • Benchmark: 16 RoboLab tasks in the Isaac Sim environment. These include multi-step manipulation tasks like stacking cubes, placing fruit in bowls, and picking up thin objects like eyeglasses.
  • Evaluation: The authors emphasize paired-seed evaluation, running both edited and unedited policies on identical simulator starts to filter out the high "noise floor" of robot simulations.

Key Insights and Ideas

  • Weight Edits Need a "Teacher": Distillation works best when a "known-good" input already exists. You aren't teaching the model a brand-new skill; you are re-routing its internal logic to use a skill it already has.
  • The VLM is the Best Place to Patch: Edits were most effective when placed in the VLM (where instructions are first read). Attempting to patch the "action expert" or "action head" was less effective and didn't transfer well to other tasks.
  • Language Binding is the "Sweet Spot": This method is highly effective for fixing language-related confusion. However, it struggled to fix failures rooted in perception (confusing similar objects), physical competence (missing a specific grasp skill), or contact physics.
  • Surgical but Not Sparse: While the edits are "surgical" in intent, they are low-rank rather than sparse. A variant affecting only 0.16% of parameters was still highly effective, but these changes are still distributed across many weight values.
Figure 4: Comparing different edit locations. Patching the VLM (top bars) consistently outperformed patching the action-specific components.

Key Results

  • Massive Success Boost: On the primary "cube then banana" task, success rose from 27/128 (21.1%) to 106/128 (82.8%) on held-out seeds.
  • Positive Transfer: The same weight edit, without any changes, improved performance on other tasks like "pick up eyeglasses" (+34.4 points) and "cube left of bowl" (+43.8 points), suggesting it strengthened a general internal signal for "keep holding the object."
  • Robustness: A random-direction update of the same size had zero effect, proving the gain comes from the specific distillation of the instruction's meaning.
  • Autonomous Editing: Using a "blind" autonomous agent (Claude Opus) to diagnose and build the edit also yielded significant gains, demonstrating the method's potential for automated policy repair.
Figure 6: Comprehensive results across various tasks and edit types. The "Distilled edit" (top teal bars) shows the most consistent and significant improvements.

Limitations and Future Work

  • Discovery Bottleneck: The method currently requires finding a working instruction rewording first. Future work could automate this "prompt-search" phase.
  • Skill Ceiling: You cannot edit in a skill the model doesn't have. If the robot physically cannot grasp a flat box, no amount of weight-editing the instruction will fix it.
  • Simulation vs. Reality: All experiments were conducted in simulation. Real-world validation on physical robots is a necessary next step.
  • Generalization Checks: While the edit didn't harm the 13 other tasks tested, deploying such "patches" in the wild would require extensive regression testing to ensure no subtle side effects.

Summary updated

Abstract

Generalist robot policies often fail at one step of a task they can otherwise perform. We ask whether such a failure can be repaired by editing the policy's weights directly, without gradients, training data, or a change to the instruction. Told to put the cube then the banana in the bowl, a zero-shot $π_{0.5}$ vision-language-action policy in RoboLab releases the cube before it reaches the bowl. Replaying 21 of these decisions under rewordings shows that it binds "in the bowl" to the wrong object. Closed-form instruction distillation copies the per-layer effect of an explicit rewording into the language model's MLP weights. On 128 held-out seeds, success rises from 27 to 106 episodes, with 81 fixed and 2 broken ($p=7\times10^{-22}$), while an update of the same size in random directions leaves success unchanged. The edit also lifts two other tasks without detectable harm on the remaining 13, and a variant that stores 0.16% of the parameter count keeps most of its effect. Placed in the action expert or action head instead, the same distillation helps less or not at all. Our released tool reproduced the fix end to end on new held-out seeds, from 8/64 to 36/64. Edits aimed at perception, a missing grasp, contact physics, or the gripper threshold did not help, and of seven blind Claude Opus editors, only the one given the misread instruction produced an edit that passed held-out scoring. These results suggest that weight edits work best when a known-good input already exists to distil. Because reruns with unchanged weights flip about a third of paired outcomes, evaluations should pair seeds, rerun the unedited policy, and confirm gains on held-out seeds.
BibTeX
@misc{abbas2026distilling,
  author = {Ali-Adeeb Abbas and Esmaeil Seraj},
  title = {{Distilling Instructions into Weights: Closed-Form Edits Fix a Robot Policy's Misreading}},
  year = {2026},
  eprint = {2611.11894},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.11894},
}
Figure