Manuscript Offprint

arXiv:2611.09376

Can LLMs Debug Robots by Editing Their Weights?

Jusheng Zhang, Keze Wang, Liang Lin

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Jusheng Zhang¹ Keze Wang² Liang Lin²

¹Stanford University ²X-Era AI

“activate the cooking appliances heat source”

Same held-out episode · same instruction · only weights change

Original weights

Timeout 300 steps

Figure

Step 40

Figure

Step 298

Edited weights

Success 78 steps

Figure

Step 40

Figure

Step 76

Figure

65 embedding rows

74.3% → 87.5% on targeted instructions

430 other episodes: 0 changes

Figure 1: A 65-row weight edit changes which task a robot performs. On held-out LIBERO-Goal variant 1421 (seed 7, initial state 0), original π0.5\pi_{0.5} picks up the plate and times out at step 300; run C turns the stove knob and reaches the goal at step 78. The instruction is unchanged. Columns show initial, step-40, and each trajectory's last recorded camera frame (298/76); recording precedes the final success/timeout check. The metric strip summarizes all held-out instructions containing edited tokens, not this selected episode alone.

Abstract

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 π0.5\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×10−10p = 1.31 \times 10^{-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

A language model can repair some robot-policy failures by changing a few rows of the policy's weights. Our strongest result changes 65 token-embedding rows: success rises from 74.3% to 87.5% on 335 held-out instructions containing an edited token, with no outcome changes on the other 430 instructions. The manipulation skill is already available; the edit changes which language reaches it.

Consider a policy that turns on the stove under its canonical instruction, but picks up a plate when asked to “activate the cooking appliances heat source” (Figure 1). Both actions are familiar tasks in the same scene. The failure is a mismatch between wording and the task represented by the policy, rather than the absence of a stove-turning behavior. A camera per-turbation or a dropped object presents a different debugging problem: changing the interpretation of a word may not supply the required visual or recovery behavior.

Takehi et al. [1] introduced weight-space programming: a general-purpose LLM inspects and changes another network's parameters directly, without gradient optimization. Their demonstrations span games and language models, and motivate a distinction between removing an obstacle to an existing ability and creating a new ability. We bring this experimental setup to robot foundation policies. We test both whether an editor can find a useful intervention and whether it declines interventions that fail its own checks.

GPT-6 Astra receives policy weights, a persistent CPU Python workspace, and a budgeted forward tool. It can inspect tensors and write replacements, but cannot train the policy or change the deployment program. Practice rollouts and probes guide editing; held-out variants are unavailable to the editor. Across three independent sessions on π0.5\pi_{0.5} [2], Astra converges on sparse lexical remapping. All three submitted edits improve held-out paraphrase success. The best changes less than 0.004% of exported parameters and raises overall success from 86.3% to 92.0% on all 765 held-out language variants.

The boundary matters as much as the gain. In 13 additional sessions over FastWAM [3], LIBERO-Plus [4], LIBERO-PRO [5], and LIBERO-RECOVER [6], the editor declines 12 final candidates. The sole retained candidate has no significant held-out gain. Two archived, declined candidates do have positive aggregate estimates; we report them rather than treating final-directory contents as accepted repairs. These observations support a limited, practical form of debugging, not a general impossibility theorem about acquiring capabilities.

Our contributions are:

  • A reproducible lexical repair of a VLA: three independent editing sessions, one fixed held-out population, and outcome changes confined to the edited-token instructions.

• Controls that separate direction from edit size and full replacement from the editor's interpolation, together with an explicit account of what a dictionary control already explains.

  • A 16-session record of retained and declined edits, plus a separate finding that benchmark instruction metadata strongly affects FastWAM but not the evaluated π0.5\pi_{0.5} checkpoint in aggregate.

References (26)