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

Weight edits fix a robot's premature release

Abbas, Ali-Adeeb, Seraj, Esmaeil · arXiv · 2026-11-9

- **Problem** Generalist robot policies fail at single steps, and gradient-free weight edits were hard to compare.
- **Method** Closed-form instruction distillation copies the internal effect of an explicit rewording into the VLM's MLP weights. Unlike fine-tuning, it solves one regularized update per layer and needs no training data or gradients.
- **Results** On 128 held-out seeds, success rose from 27 to 106 episodes, with 81 fixed and 2 broken. A random-direction update of the same size left success unchanged.

![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…](https://refivu.com/papers/090ad32c-77e2-48f8-ac1c-1cc0ae994759/figures/figure-ddef975ac98664a440f08e3340ff3c3c.png?thumb=512)

**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.

[Original paper](https://arxiv.org/abs/2611.11894v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Abbas, Ali-Adeeb, Seraj, Esmaeil · Distilling Instructions into Weights: Closed-Form Edits Fix a Robot Policy's Misreading · Original paper figure · Extracted the figure area from page 2 of the original PDF.

## Why one misread step is hard to fix

A generalist robot policy can get one step wrong even when it already knows the skills that step needs. In the cube-then-banana task, the unedited policy succeeds in 9 of 64 episodes under the original instruction. It reaches for the cube first in 63 of 64 runs, grasps it, and lets it go far from the bowl, which the authors call a premature release.

The usual fix is to collect demonstrations and fine-tune the policy. Weight-space editing offers a gradient-free alternative, but the recent results are hard to compare. Guo and Xie raised one π0.5 task from 28/92 to 82/92 held-out episodes by changing four parameters, but their checkpoints were fine-tuned for each task. Gupta et al. reported gains on five of ten π0.5 tasks, using a weight difference taken between two trained models.

## A rewording that works, and what gets copied

The key idea is to copy the internal effect of a rewording the policy already handles into the weights that the original instruction passes through. The fault was located by replaying 21 recorded premature-release decisions with images, robot state, and noise held fixed, while changing only the instruction. Renaming the cube left all 21 releases in place, whereas moving 'in the bowl' next to the cube left only one to three.

The explicit wording, which the authors call a known-good instruction, scored 22 of 32 closed-loop episodes, compared to 3 of 32 for the original on the same seeds.

π0.5 has two halves: an 18-layer PaliGemma vision-language model that reads the cameras and instruction, and an 18-layer Gemma action expert that outputs actions. At each VLM layer the authors form 72 keys: 40 shared positions, such as the start token, the Task text, and the robot-state tokens, plus 32 image cells, 16 per camera. Each key is the mean input to that layer's MLP down-projection under the original instruction, averaged over 6 premature-release decisions.

Its paired value is the layer's residual increment at the same position under the explicit wording, minus its increment under the original.

Because \\( K\_\\ell \\Delta W\_\\ell \\approx V\_\\ell \\), each key produces roughly its paired value, and the update has rank at most 72 per layer. The update is computed once per layer and needs no training, unlike context distillation, which trains the model to behave as though a prompt were included.

## Checks before any closed-loop run

The offline check asks whether the edit acts on the decisions it was built for, and it runs before any closed-loop rollout. The update in Eq. (1) takes the stored keys and values for each VLM layer and solves a regularized minimum-norm problem. Each layer gets one update, and the rank of that update is at most 72. Offline, the distilled edit removed all 21 recorded premature releases.

It left the 9 recorded correct carries unchanged, along with all 19 phase-two decisions where the policy fetches the banana after placing the cube. The check therefore tests both what the edit should change and what it should leave alone.

The edit also moved the actions toward the explicit wording, which is the known-good reference. Its actions landed at 4.5 cm from the explicit wording's actions at the end of the chunk, compared to 8.1 cm for the unedited policy. This offline agreement is a necessary signal, but it doesn't show that the policy succeeds. The exact McNemar p was 4.8×10 −7, so the practice gain was not a chance pattern in the paired outcomes.

Only after this practice result did the authors freeze the edit for held-out evaluation.

The evaluation uses the OpenPI π0.5 DROID checkpoint, which the authors never trained on their tasks. Each comparison runs the edited and unedited policies from identical simulator starts. A success counts only when RoboLab's terminal success flag is set. Because the practice seeds guide editing, the operator scores the frozen edit on held-out seeds that were never used during editing.

## Held-out gain and the random-update control

On 128 held-out seeds, the distilled edit lifted success from 27/128 (21.1%) to 106/128 (82.8%). That gain came with 81 episodes fixed and 2 broken, a paired difference of +61.7 percentage points. The paired difference has a 95% interval of 52.3 to 70.3, and the exact McNemar p is 7.2×10 −22. The Wilson intervals don't overlap, sitting at 75.3 to 88.4% for the edit and 14.9 to 29.0% for the unedited policy.

Successful episodes also finished sooner, in 300 steps rather than 412 on average.

The edited policy did this in only 15 of them, and it recovered. The random-direction control isolates the direction of the edit from its size. That result sits close to the unedited policy's 13/64 and 9/64 in two runs, with p = 0.45 against the first run.

The distilled edit scored 50/64 on the same seeds, so the random update with matching size didn't recover the gain. The explicit wording scored 57/64 against the edit (p = 0.12), so the edit recovers most of the wording's effect. The fix therefore comes from the edit's directions rather than its magnitude. The random update's score matches the unedited baseline, so it adds no detectable change.

## Where the same distillation works

The VLM edit is the only placement that reaches the target task at a high level in this comparison. On 64 shared held-out seeds, the VLM edit reached 55/64 compared to 5/64 for the unedited policy, with 50 starts fixed and none broken. The action expert edit reached 20/64, the least-norm action-head edit reached 0/64, and the gated action-head edit written by a blind editor reached 30/64.

Every other placement scored below the VLM edit on the target task, with all p≤0.017.

![Figure 4: Where to edit. (a) Held-out success of each placement of the distillation on 64 shared seeds, with Wilson 95% intervals. The dashed line marks the sh…](https://refivu.com/papers/090ad32c-77e2-48f8-ac1c-1cc0ae994759/figures/figure-973d86363773f86aa9cce553816a16e0.png?thumb=512)

**Figure 4** : Where to edit. (a) Held-out success of each placement of the distillation on 64 shared seeds, with Wilson 95% intervals. The dashed line marks the shared unedited run (5/64), and Values counts the stored scalar values changed. (b) Success of the placements that were run on the transfer tasks, on 32 paired practice seeds each, unedited (open markers) and edited (filled). Only the VLM edit transfers.

[Original paper](https://arxiv.org/abs/2611.11894v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

The blind editor's gated edit scores 30/64, about half of the VLM edit's gain, and it transfers to neither task.

Only the VLM edit transferred to the other tasks in this comparison. On 32 practice seeds, eyeglasses reached 25 compared to 14 unedited, and cube left of the bowl reached 20 compared to 4. On the retention task, cube into the bowl, every placement stayed at 31 to 32 of 32. The VLM edit changes each layer's weights by a median 1.7% of their norm.

The VLM edit therefore keeps its effect where the other placements lose it. The comparison covers one task and one wording, so this placement result doesn't establish a general rule.

## A smaller variant and transfer to other tasks

The smaller variant keeps only the 32 image cells in layers 8 to 16, which gives a rank-32 update per layer. On 128 held-out seeds it scored 102/128, compared to 19/128 for the unedited policy, with 86 fixed and 3 broken. On the first 64 of those seeds it scored 54/64, against 57/64 for the explicit wording, with 7 fixed and 10 broken. The variant doesn't keep all of the effect, though.

On held-out seeds, picking up the eyeglasses rose from 22/64 to 44/64, with 31 fixed and 9 broken. That gain is +34.4 points, with a 95% interval of 17.2 to 51.6 and p= 6.8×10 −4. Putting the cube left of the bowl rose from 8/64 to 36/64, with 33 fixed and 5 broken. That change is +43.8 points, with an interval of 28.1 to 59.4 and p= 4.3×10 −6.

Putting the cube right of the bowl stayed at 0/32, so the edit isn't a general switch for spatial language. No difference on the remaining 13 tasks was significant, with all exact p values at 0.12 or higher. The largest apparent loss was butter on the raisin box, at 10/16 against 14/16. That drop is smaller than the unedited policy's own fall to 8/16 when rerun on the same seeds.

## A released tool and blind editors

The authors packaged the procedure as weightsmith distill, which runs the whole pipeline against a project without hand-picked decisions. The tool never starts a closed-loop evaluation itself, so the operator runs every confirmation step.

The decisions came from the tool's early-release rule, and the recipe was the 0.16% variant with image cells in layers 8 to 16. The exact McNemar p was 4.3×10 −6, with Wilson intervals of 6.5 to 22.8% and 44.1 to 67.7%. The authors ran the tool on this one task only, so they didn't test it on other tasks.

Each editor was blind to the others, to the paper, and to the web, and worked under the same brief, tools, and budget. Only the cube-then-banana submission passed, and the editor traced the release to the wording. The edit took held-out success from 11/64 to 27/64, with 22 fixed and 6 broken, at p = 0.004, or 0.026 after Holm correction over the seven tasks.

## Failures that edits did not fix

Edits aimed at perception, the grasp, and the gripper threshold did not help, and the paper traces each failure to a different missing ingredient. The VLM separates the two objects with a d′ of about 10 to 20, but the action expert barely uses that distinction, with a d′ of about 2 to 3 against a null of about 1.7. A fresh Claude Opus editor diagnosed the same lookalike confusion, but its two proposals scored 16/32 and 11/32 against 12/32, so the editor submitted the unedited policy.

The grasp and gripper failures had a different cause, because the decisions could not be corrected by a single edit. That edit led to 37 episodes fixed and 37 broken, so it changed outcomes in both directions without a net gain.

Success stayed at 17/32 against 16/32 on development seeds, and at 39/64 against 35/64 on held-out seeds, with 17 fixed and 13 broken. The authors attribute the remaining failure to placing the third cube, a motor precision the edit doesn't touch.

## How much a paired comparison can show

Paired seeds still leave large run-to-run variation, so a single rerun can move a score a lot.

The authors size the comparisons with about 30% of pairs discordant, an α of 0.05 and 80% power. Under those conditions, a paired comparison detects changes of about 27 points with 32 pairs. It detects about 19 points with 64 pairs, 14 with 128 pairs, and 10 with 256 pairs. Because a 16-episode screen only detects large shifts, the authors treat it as a filter rather than evidence.

That spread moves absolute rates, but the paired design keeps the differences themselves stable. So the noise controls, rather than the raw rates, decide whether a difference counts as real.

## Limitations of closed-form instruction distillation

The method needs a known-good instruction as input, so discovery depends on finding a wording that already works. It isn't expected to help when no input succeeds, because the edit only turns an existing prompt fix into a weight fix. It also needs the known-good wording as input, so it can't start from nothing.

Transfer was not predicted in advance: the edit helped on the left-of-the-bowl task but not on the right-of-the-bowl task. Deployment would therefore need broad regression checks rather than a few spot tests.

## Paper info

- **Authors**: Abbas, Ali-Adeeb, Seraj, Esmaeil
- **Venue**: arXiv · Preprint
- **First published**: 2026-11-9
- **Added**: 2026-11-10
- **Updated**: 2026-11-9
- **Version**: v1
- **arXiv**: 2611.11894
- **Category**: cs.RO · cs.AI · cs.LG
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2611.11894v1) · [PDF ↗](https://arxiv.org/pdf/2611.11894v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## 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 $\\pi\_{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.

## Quote from the paper

Abbas, Ali-Adeeb, Seraj, Esmaeil (2026). Distilling Instructions into Weights: Closed-Form Edits Fix a Robot Policy's Misreading. arXiv:2611.11894v1. https://arxiv.org/abs/2611.11894v1

**BibTeX**

```
@misc{aliadeeb2026distilling,
  title = {{Distilling Instructions into Weights: Closed-Form Edits Fix a Robot Policy's Misreading}},
  author = {Abbas, Ali-Adeeb and Seraj, Esmaeil},
  year = {2026},
  eprint = {2611.11894},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.11894v1}
}
```

## Other paper commentary

- [Cable construction effects on the lateral forces and wakes of helically stranded cables under oblique inflow](https://refivu.com/en/papers/7df11a03-1517-4e3c-9958-04b6e383240a-cable-construction-effects-on-the-lateral-forces-and.md)
- [HARP-Bench: Benchmarking Robot Manipulation Around Active Humans](https://refivu.com/en/papers/6f4f13ac-5bd1-40a1-8bee-4fe82071c389-harp-bench-benchmarking-robot-manipulation-around-active.md)
- [Zero-Shot VLA Adaptation with Retrieved Guidance](https://refivu.com/en/papers/894f2a6d-97d2-480d-b98e-bc5ad3922b30-zero-shot-vla-adaptation-with-retrieved-guidance.md)
- [Who Taught the Robot That? Removing One User's Corrections from a Robot Policy That Learns Online](https://refivu.com/en/papers/684aa8db-cdcd-4f3e-8d3d-b409f7dec090-who-taught-the-robot-that-removing-one-user.md)
- [EGT: Execution-Grounded Traversability through Learned Closed-Loop Trajectory Distributions](https://refivu.com/en/papers/170a9bea-80a2-4253-a886-b2d8bfe5de68-egt-execution-grounded-traversability-through-learned-closed.md)
- [Locating Contact on Tendon-Driven Continuum Robots From Tendon Measurements Alone via Constrained Moving Horizon Estimation](https://refivu.com/en/papers/2a74733f-a466-4ce2-b549-c048ec1ba815-locating-contact-on-tendon-driven-continuum-robots-from.md)
- [The Dark Matter of Clinical Data: An Identification Limit on Disentangling Physiology from Care Process in electronic health records](https://refivu.com/en/papers/33d5a0aa-8bfa-483e-8562-22f5ccd49e27-the-dark-matter-of-clinical-data-an-identification.md)
- [Variational Approach to Optimal IPS Estimator for Multi-logger Off-Policy Evaluation](https://refivu.com/en/papers/1c85d393-b71f-4854-b4d4-cb301035dd96-variational-approach-to-optimal-ips-estimator-for-multi.md)
- [Measuring Generative AI Content in Political Campaigns: Evidence of Rising Adoption and Non-Disclosure](https://refivu.com/en/papers/34da9425-8bf3-4db8-b84a-cb9c432285df-measuring-generative-ai-content-in-political-campaigns.md)
- [Accelerated Reinforcement Learning for Soft Robotics: Hours Instead of Years](https://refivu.com/en/papers/58948c14-b162-4ab0-a808-b107b7c6a99c-accelerated-reinforcement-learning-for-soft-robotics-hours.md)
- [CRUSTPairs: A Cross-Language Dataset of Paired C and Rust Solutions](https://refivu.com/en/papers/26d58833-760c-4ec6-880a-8d37592f0bfc-crustpairs-a-cross-language-dataset-of-paired-c.md)
- [Martine: Benchmarking Multi-View 3D Surface Reconstruction Across Viewpoint Coverage, Resolution, and Lighting](https://refivu.com/en/papers/338cc319-9362-4bac-8a97-2c9d0f531da7-martine-benchmarking-multi-view-3d-surface-reconstruction.md)

## Terms in this paper

- [action chunk](https://refivu.com/en/terms/275b2da5943f-action-chunk)
- [GPT-6 Astra](https://refivu.com/en/terms/b41650762174-gpt-6-astra)
- [π0.5](https://refivu.com/en/terms/d45064b0f318-0-5)
- [action expert](https://refivu.com/en/terms/7ca04f429cc1-action-expert)
- [DROID](https://refivu.com/en/terms/45cf3fcc211b-droid)
- [RoboLab](https://refivu.com/en/terms/ee9fde29b1fb-robolab)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/090ad32c-77e2-48f8-ac1c-1cc0ae994759-distilling-instructions-into-weights-closed-form-edits-fix)
