Source-linked AI summary

Can LLMs Debug Robots by Editing Their Weights?

Jusheng Zhang, Keze Wang, Liang Lin

arXiv:2611.09376v1cs.ROcs.AI

TL;DR

Robot policies can misread paraphrased instructions even when the relevant manipulation skill is already available. The paper uses language-model weight editing with simulator feedback, then tests the edits on held-out instructions. The strongest reported edit improves success on instructions containing edited tokens, while the evidence remains limited to specific repairs and tested settings.

  • Problem

    A policy may perform a familiar task under its canonical instruction but choose another familiar task when the instruction is paraphrased.

    Source: §1 · p. 1
  • Method

    Astra edits policy weights using a CPU workspace and budgeted simulator feedback, without extra policy training.

    Source: §2 · p. 2
  • Results

    74.3% to 87.5%: the strongest edit raised success on held-out instructions containing edited tokens, while 430 other instructions had zero outcome changes.

    Source: §8 · p. 8
  • Takeaways & Limitations

    The results support narrowly scoped repair of language-to-skill connections, not broader language generalization or synthesis of missing manipulation skills.

    Source: §8 · p. 8

    All robot experiments use simulation and two released checkpoints, limiting the demonstrated scope to those tested settings.

    Source: §7 · p. 8

Abstract

from arXiv · show

A language model can repair a robot policy's lexical instruction grounding by editing just 65 token-embedding rows. We bring weight-space programming to robot foundation policies: GPT-6 Astra reads weights and uses a CPU workspace and budgeted simulator feedback, without gradient updates or new demonstrations. Three independent sessions on $\pi_{0.5}$ all improve success on 765 held-out paraphrases; the best raises success from 86.3\% to 92.0\% (48 repairs, four regressions; exact paired $p=1.31\times10^{-10}$). Among the 335 instructions containing edited tokens, success rises from 74.3\% to 87.5\%; the other 430 episodes have zero outcome changes. Matched random-direction edits do not help. Full replacement using the editor's own lexicon explains much of the gain but produces more regressions; its direct difference from the editor is not significant at 0.05. Across 13 further robot sessions, the editor declines 12 candidates; the sole retained edit does not show a significant held-out gain. Separately, benchmark metadata lowers FastWAM success from 70.0\% to 48.6\%, while the evaluated VLA's aggregate rate is unchanged. The evidence supports precise lexical repair, not general acquisition of missing robot capabilities.

1 Introduction

Robot policies can fail when paraphrased instructions do not reach a task they already know how to perform. The paper tests whether weight-space editing can repair this lexical mismatch while declining edits that do not pass checks.

1 Introduction

  • 74.3% to 87.5%: the strongest edit improved success on 335 held-out instructions containing edited tokens, with zero outcome changes on the other 430.The edit changed 65 token-embedding rows; the skill was already available, and the change affected which language reached it.Source: §1 · p. 1
  • A stove instruction paraphrase can trigger a familiar but wrong plate-picking task, illustrating a wording mismatch rather than a missing stove-turning behavior.The paper distinguishes removing an obstacle to an existing ability from creating a new one, extending weight-space programming to robot foundation policies.Source: §1 · pp. 1–2
  • All three independent π0.5 editing sessions improved held-out paraphrase success; the best raised overall success from 86.3% to 92.0%.The best edit changed less than 0.004% of exported parameters, with held-out variants unavailable to the editor.Source: §1 · p. 2
  • Thirteen additional sessions declined 12 final candidates; the sole retained candidate showed no significant held-out gain.The authors present this as limited practical debugging, not a general impossibility theorem about acquiring capabilities.Source: §1 · p. 2

2 A Fixed Interface for Weight-Space Debugging

The interface permits direct inspection and replacement of policy weights, with simulator feedback for practice but no access to held-out variants during editing. The section also reports a reconstruction of a previously released language-model edit.

2 A Fixed Interface for Weight-Space Debugging

  • The editor may inspect and replace weight values in a persistent CPU workspace, but cannot train the policy or change its deployment program.Tensor names and shapes, instructions, action scaling, and inference code remain fixed.Source: §2 · p. 2
  • Practice rollouts and replay probes provide feedback; each robot session receives 40–50 forward requests, including 50 for each language-repair session.No extra policy training is performed; the pretrained policies had already been fine-tuned on demonstrations.Source: §2 · p. 2
  • The three π0.5 sessions search independently from the same checkpoint, but share a held-out population and seed rather than independent test datasets.Each session reserves practice validation before its final retain/revert decision.Source: §2 · p. 2
  • The paired test uses the same variant, seed, and initial state; the three primary language effects remain significant after Holm correction.The all-variant evaluation covers the complete pre-existing held-out split, but does not constitute a preregistered independent replication.Source: §2 · p. 2
  • Candidate edits are frozen before paired held-out evaluation, whose outcomes are not returned to the editor.Figure 2 depicts a shared interface, with embedding-row edits for π0.5 and text-conditioning MLP and Q/K parameter edits in the FastWAM investigation.Source: Figure 2 · p. 3

2.1 Checking the motivating language-model edit

  • 49.4%: the reconstructed p50c edit scored this on MATH-500 with one sample per problem, versus the report’s 48.1% with four samples.This reproduces a released edit rather than reporting a new discovery; the local unedited checkpoint scored 9.0% on a fixed 100-problem subset, versus the reported 8.8% on that subset.Source: §2.1 · p. 3

3 Repairing a VLA’s Instruction Grounding

The policy often performs familiar tasks under canonical instructions but misgrounds paraphrases. Sparse edits to token embeddings improve held-out paraphrase success, with observed changes localized to instructions containing edited tokens.

3.1 The skill exists; the wording fails

  • On a 700-episode practice scan, the policy succeeds 86% overall but only 14/25 times in a paraphrase-heavy LIBERO-Goal cell, often selecting another familiar task or object.The diagnosed problem is wording-to-task grounding, not simply absent language attention or a missing stove-turning skill.Source: §3.1 · p. 3

3.2 Three searches, three held-out improvements

  • 704/765 held-out paraphrases succeed with candidate C, up from 660/765, a 5.75 pp gain across the three reported independent editing sessions.C repairs 48 failures and breaks four successes; it is the best of the three candidates, not a separately tuned fourth result.Source: §3.2 · p. 3, Table 1 · p. 3

3.3 Only 65 embedding rows

  • The submitted language edits remap selected token embeddings toward canonical task anchors, changing 65 rows while leaving other rows and tensors unchanged.Destinations may be task-anchor tokens or centroids; some rows are fully replaced and others retain part of their original vector.Source: §3.1 · p. 3, §3.3 · p. 4
  • All 430 held-out instructions without edited token IDs retain their outcomes; within the affected subset, 48 of 86 original failures are repaired, a 13.13 pp gain.This matches the fixed-input locality guarantee: instructions that read no edited row receive the same action chunk under deterministic execution.Source: §3.3 · p. 4, Figure 3 · p. 5

3.4 What the controls explain

  • Matched random-direction edits do not improve success, while full replacement using C’s discovered destinations explains much of the gain; C’s direct advantage is not significant at 0.05.The dictionary control inherits the editor’s source words and destinations, so it does not measure the cost of discovering that lexicon.Source: §3.4 · p. 4, Table 3 · p. 4

3.5 Causal checks with fixed observations

  • Direction-only and final edits reduce median action-distance ratio to 0.340 and 0.367, while a norm-only control leaves it near one.These replay diagnostics support a lexical-direction mechanism, but action alignment does not establish closed-loop task success or global feature alignment.Source: §3.5 · p. 5, Table 4 · p. 5

3.6 Practice validation beyond one seed

  • Across reserved practice seeds, positive aggregate estimates are not uniform: seed 23 improves, seed 37 has a smaller positive estimate, and seed 73 loses two net successes.These checks test seed sensitivity, not confirmation of the held-out gain on every seed; the 1,533 trials repeat variants across seed rows.Source: §3.6 · p. 5, Table 5 · p. 5
  • The four regressions include familiar but competing lexical cues, and the examples do not identify which individual edited row caused each loss.The cases delimit the current mechanism’s scope; attributing a loss to a single row would require a separate ablation.Source: §3.6 · p. 6

4 When the Editor Declines a Repair

Across the additional robot sessions, most final candidates were declined or reverted, and the sole retained non-language edit lacked a significant held-out gain. These decisions indicate limited recognition of insufficient practice support, not a general ability to classify failures as repairable or impossible.

When the Editor Declines a Repair

  • 12 of 13 sessions outside the three language repairs declined or reverted their final candidates; the sole retained suffix edit lacked a significant held-out gain.The decision table separates editor-available validation from independent held-out assessment; a declined candidate can still have a nominal positive estimate, and a retained one can fail assessment.Source: §4 · p. 6
  • On LIBERO-RECOVER, the policy succeeds on 59.5% of 440 baseline episodes, while the retained intervention’s paired practice evaluation falls from 213 successes to 208 among 352 episodes.Gripper flips accumulated during long failures rather than occurring more often per step; increasing reopening after empty grasps did not establish a repair, and all three recovery sessions submitted no edit.Source: §4 · p. 6
  • On LIBERO-PRO, an archived candidate raises overall held-out success from 868/1,484 to 890/1,484 (p= .0448), but it was withdrawn rather than validated as a target repair.The gain concentrates in object appearance; position success falls from 28.0% to 27.3%, the task effect is not significant, and subgroup tests are unadjusted.Source: §4 · p. 6
  • A 12/13 decline rate is not a measured failure-classifier accuracy; it records whether these searches recognized a lack of practice support.The paper does not establish reliable classification of arbitrary failures as repairable or impossible.Source: §4 · p. 6

5 A Separate Finding: Instruction Metadata

Instruction metadata changes FastWAM’s success on a fixed LIBERO-Plus sample, while the evaluated π0.5 checkpoint’s aggregate rate remains unchanged. Separate archived edits and follow-ups illustrate why candidate scores, preservation checks, and final decisions must be distinguished.

5 A Separate Finding: Instruction Metadata

  • FastWAM success falls from 70.0% to 48.6% when reference metadata is included, while π0.5 remains at 88.6% in both formats on the fixed 210-episode sample.Paired counts show 47 gains and two losses for FastWAM (exact p= 4.36 × 10^-12), versus nine gains and nine losses for π0.5 (p= 1); unchanged aggregate VLA success does not mean identical paired outcomes.Source: §5 · p. 6
  • An archived FastWAM candidate changes tagged held-out success from 334/700 to 359/700 (p= .00187), but fails a reserved paraphrase-preservation check and is requested for withdrawal.The driver does not execute the final cleanup.Source: §5 · p. 6
  • Three follow-up sessions inherit that candidate; two decline their edits, while the retained value-projection edit changes tagged success from 48.0% to 48.7% and task-only success from 65.6% to 66.6%, neither significantly.The comparisons use separate 700-pair samples; the first-round task-only sample had 420 pairs, so denominators and baselines are not interchangeable.Source: §5 · p. 6
  • Probes support contextual contamination: adding the suffix shifts task-token as well as suffix-token representations, so suppressing suffix-like features need not restore the original representation.This is a diagnosis supported by probes, not a complete token-level causal explanation; the +3.6 pp result remains an unreplicated, declined candidate.Source: §5 · pp. 6–7
  • Figure 4’s selected Run C examples show wine placement and bowl retrieval succeeding where the original policy times out; Table 1 reports all outcomes, including regressions.Both examples use seed 7 and initial state 0; they illustrate behavior rather than the full outcome set.Source: Figure 4 · p. 7
  • Across all 16 sessions, all three paraphrase edits are retained and significant, while 12 of the other 13 sessions decline candidates and the sole retained suffix follow-up has p= .542.The table distinguishes sessions, episode-pair counts, and withdrawn archived candidates.Source: Table 6 · p. 7

6 Related Work

Prior work offers robot foundation policies and methods for manipulating network representations, while weight-space programming frames direct LLM parameter editing. This study applies that setup to robot policies and evaluates both behavioral outcomes and retain-or-revert decisions.

6 Related Work

  • The robot-policy landscape includes RT-2 [11], OpenVLA [12], Octo [13], and the π0 family [2] [14], whose familiar physical actions can coexist with fragile task selection.The evaluated checkpoint uses a PaliGemma-style prefix [10] with SigLIP visual representations [9], and its successful edit changes only the language embedding lookup.Source: §6 · p. 7
  • World-action approaches include video-and-action prediction in DreamZero [17], action-only inference in FastWAM [3], and geometry-native E0.5 [18]; whether lexical bottlenecks also occur in geometry-native policies remains empirical.Figure 5 compares two checkpoints on the same 210 matched LIBERO-Plus episodes: metadata lowers FastWAM success by 21.4 pp, while the evaluated π0.5 aggregate rate is unchanged.Source: §6 · pp. 7–8, Figure 5 · p. 8
  • ROME, MEMIT, and MEND [19] [20] [21], LEACE [22], and inference-time intervention [23] manipulate learned associations or representations; lexical vector alignment also has a history in word translation [24].The editor-informed full-replacement control shows that lexical correspondence explains much of the gain, but the paper does not claim a general embedding-alignment algorithm.Source: §6 · p. 8
  • Weight-space programming asks whether an LLM can inspect a network and construct a useful parameter change through tools; this study contributes paired robot outcomes, sparse edits, mechanism controls, and explicit retain/revert decisions.LoRA [25] and language guidance are relevant alternatives, not measured baselines; the protocol fixes deployment instructions and code and excludes gradient fitting.Source: §6 · p. 8

7 Discussion and Limitations

The paper’s positive result is a narrow, reproducible lexical repair, not evidence of general capability acquisition. Its scope is constrained by the tested policies, simulated setting, shared held-out population, and limits on demonstrated comparisons.

7 Discussion and Limitations

  • The edit repairs lexical instruction grounding directly in the weights, but helps instructions containing selected tokens, which can be ambiguous elsewhere.The editor’s own lexicon control recovers much of the gain; superiority over an independently built human lexicon, prompt rewriting, or gradient-based fine-tuning such as LoRA [25] is not demonstrated.Source: §7 · p. 8
  • The obstacle-versus-missing-ability distinction remains a hypothesis: tested visual perturbations, recovery states, and task changes yield no retained, independently confirmed repair.This does not prove that no suitable edit exists; editability depends on the policy and intervention as well as the task label.Source: §7 · p. 8
  • All robot experiments use simulation and two released checkpoints; the three primary sessions share a held-out population and seed, so search independence is not environmental coverage.The editor receives observations, activations, and simulator outcomes, and complete API cost accounting is unavailable.Source: §7 · p. 8
  • The reproducibility package contains the harness, domain code, all 16 session transcripts, paired records, the sparse 65-row edit and application script, figure sources, and provenance hashes.Public code and weight-hosting links are to accompany the artifact release.Source: §7 · p. 8

8 Conclusion

A language model can repair lexical grounding when a robot already has the relevant manipulation skill. The strongest edit improves success on affected held-out instructions, while evidence for other robot failures remains limited.

8 Conclusion

  • Success rises from 74.3% to 87.5% on affected held-out instructions after changing 65 embedding rows, with zero outcome changes across 430 unaffected instructions.Three independent searches reproduce the improvement; twelve of thirteen searches for other failures reject their candidates, and the sole retained candidate lacks a significant held-out gain.Source: §8 · p. 8
  • The supported use is repairing links between familiar linguistic expressions and already-acquired manipulation behaviors, without retraining the full policy or changing its motor skills.The results do not establish broader language generalization, transfer to physical robots, or synthesis of missing manipulation skills.Source: §8 · p. 8

A Additional Language Evaluations and Statistics

The appendix reports statistical checks, controls, and the construction of an archived FastWAM context-gate candidate. Its evaluations distinguish held-out outcomes from practice diagnostics and constrain what the construction can guarantee.

A Additional Language Evaluations and Statistics

  • The practice audit reconstructs 1,533 paired trials across 577 variants, but repeated variants make its episode-level p-value descriptive rather than a test over independent task instances.The reconstruction gives 1,356 versus 1,376 successes; it is reported separately from the initial error outcomes.Source: A Additional Language Evaluations and… · p. 11
  • The editor has no runtime errors; on 763 common valid pairs, it records 703 successes versus 692 for full replacement, a nonsignificant difference (p = .0614).Random direction gives 652/762 versus 657/762 (p = .359).Source: A Additional Language Evaluations and… · p. 11
  • The 360 non-language prompts contain no edited token IDs, and the sessions change only one unique episode across those categories; the authors do not attribute that gain to the edits.The fixed-input predictions are unchanged when edited rows are not read, although small rendering or simulator differences can still affect closed-loop outcomes.Source: A Additional Language Evaluations and… · p. 11
  • The checkpoint has 3,616,757,520 scalar parameters; the reported 65 rows are not 65 scalar weights or lines of code.The three candidates change 36,764, 40,822, and 132,768 entries, respectively.Source: A Additional Language Evaluations and… · p. 11

B FastWAM: Archived Gate Construction

  • The archived suffix candidate was requested for withdrawal, so its positive held-out estimate is not presented as a completed or replicated repair; its replay comparisons use controlled practice inputs.The table covers seven prompt–anchor comparisons, not held-out outcomes.Source: B FastWAM: Archived Gate Construction · p. 11, Table S2 · p. 12

A Additional Language Evaluations and Statistics

B.1 Problem and policy structure

  • The suffix objective compares task-only instructions with task-plus-suffix instructions, seeking better success for the latter while preserving behavior on the former and paraphrases.Only parameter values may change.Source: §B.1 · p. 12

B.2 Constructing a context detector

  • The detector is built from paired context means and a protected span of clean, paraphrase, and proprioceptive means, but this does not guarantee invariance for every clean token or action.It is selected through practice probes and is a context-feature detector, not an explicit suffix-string parser.Source: §B.2 · p. 12

B.3 Compiling the gate into existing weights

The archived FastWAM gate repurposes low-energy components in existing text-MLP and attention weights. Its attention-coordinate contribution has a limited interpretation, and separate exploratory investigations do not establish additional repairs.

B.3 Compiling the gate into existing weights

  • The gate reuses a low-energy text-MLP neuron and output channel, then a low-energy query/key coordinate in each attention head.It is installed across both experts’ 30 text-cross-attention blocks and 24 heads, editing 308 tensors without changing the model graph or inference settings.Source: §B.3 · pp. 12–13
  • Orthogonality protects the detector response on the represented span, but reassigning existing MLP and attention coordinates can still alter behavior on clean inputs.The observed context-mean plots are construction diagnostics, not held-out evidence or token-level nonlinear gate responses.Source: §B.3 · pp. 13–14, Figure S2 · p. 14
  • A positive detector produces a negative contribution from the reassigned coordinate to the modified attention logit, not an exact additive mask on original scores.The full logit difference also reflects replaced contributions and changed normalization.Source: §B.3 · pp. 13–14

C FastWAM and LIBERO-PRO Outcome Details

  • Across 40-request camera, background, and language investigations, aggregate success changes from 59.4% to 61.4%, 59.6%, and 59.8%, respectively, without significant paired results.These exploratory artifacts carry the same finalization caveat as the suffix run and do not establish three additional repairs.Source: C FastWAM and LIBERO-PRO Outcome Details · p. 14

D Execution Records and Reproducibility

Execution records distinguish retained edits from withdrawn or declined candidates, and document the evaluation and release materials. The appendix also reports a separate reproduction of a released language-model edit and the complete robot row inventory.

D Execution Records and Reproducibility

  • The editor’s final decision determines whether a candidate counts as retained; PRO A declared withdrawal but emitted no cleanup code, and other declined sessions are not impossibility results.The archived first suffix run also has a finalization caveat because its cleanup code was not executed.Source: D Execution Records and Reproducibility · p. 14
  • The Recovery practice check changes 213 successes to 208, while the PRO A confirmation changes 434/768 to 433/768; increased gripper reopening does not reverse the Recovery result.These checks are reported rather than selecting only discovery batches.Source: D Execution Records and Reproducibility · p. 14
  • The release includes transcripts, per-episode outcomes, recomputation code, hashes, and a sparse 65-row payload with an application script.The payload stores original and edited rows rather than redistributing the full base checkpoint.Source: D Execution Records and Reproducibility · p. 15

E Qwen Reproduction Details

  • The reconstructed Qwen3.5-0.8B p50c edit scores 49.4% on MATH-500 with one sample per problem, versus the report’s 48.1% using four samples.The local original checkpoint scores 9/100 on a fixed subset; this is not a matched full-500 comparison.Source: E Qwen Reproduction Details · p. 15

F Complete 65-Row Edit Inventory

G Qualitative Examples and Task Catalogs

The examples pair archived practice catalogs with selected held-out repairs and input-format diagnostics. They illustrate cases where changing an instruction’s wording changes task outcomes, while distinguishing practice observations from additional tests.

G Qualitative Examples and Task Catalogs

  • The archived pages include four matched held-out π0.5 repairs, four original-weight FastWAM input-format pairs, and 22 practice task images; all four C regressions remain in Table S3.Source manifests record prompts, episode IDs, seeds, outcomes, and hashes; saved frames may precede terminal checks.Source: G Qualitative Examples and Task Catalogs · p. 18
  • Original and edited policies receive the same stove instruction; the original times out at 300 steps, while the edited policy succeeds at step 78.The stove and wine-placement trajectories are two of C’s 48 repairs.Source: Figure S4 · p. 18
  • Two selected held-out repairs show original episodes timing out and edited episodes succeeding: descriptive wine instructions at 85 steps and a drawer task at 138.The examples use LIBERO-Goal 1174 and LIBERO-Spatial 1148; the four regressions are listed in Table S3.Source: Figure S5 · p. 19
  • Four FastWAM practice episodes change from failure to success when metadata is removed from the instructions, with original weights in both conditions.The pairs cover background, camera, object-layout, and initial-state metadata.Source: Figure S6 · p. 20
  • Ten LIBERO-Goal rows pair initial camera images with paraphrased instructions and original-policy outcomes; they are practice observations, not added final-edit tests.The ten task prefixes appear once in first-occurrence order.Source: Figure S7 · p. 21
  • Twelve FastWAM practice images cover six non-language perturbations: background, camera, lighting, object layout, robot state, and sensor noise.The images are observed simulator inputs, not generated video predictions.Source: Figure S8 · p. 22
Loading 2611.09376v1…