Skip to content
#computer vision Preprint

Weight Space Programming for Vision Language Model Repair

Nov 2026 · 2 citations · 24 references
Computer Science

TL;DR

This work plant faults in the weights of two vision-language models, SmolVLM-256M and LFM2-VL-450M, and checks each edit made by a coding agent against the original weights, to ask what a successful repair of this kind relies on.

Abstract

In weight-space programming, a language model edits a network's weights directly, without gradients. We ask what a successful repair of this kind relies on. We plant faults in the weights of two vision-language models, SmolVLM-256M and LFM2-VL-450M, and check each edit made by a coding agent against the original weights. Without being told where to look, the agent finds rescaled projector rows and noise in the vision encoder, infers the unknown scale factors, and returns most or all of the rescaled weights to their exact original values and accuracy to near its original level. These repairs depend on a trace of how the faults were computed. The original weights have 16-bit precision, and faults computed in 32-bit arithmetic leave low bits that only the damaged weights carry, a cue that a real failure need not leave. When we round those bits away, each model answers our test questions as before, but the agent, unaided, no longer repairs either model: on LFM2-VL accuracy recovers by about 4 points, against 17 from the unrounded weights. Marking the damaged weights again in their low bits brings the edits back to them. Rounded weights still hold statistical evidence of the rescaling. On SmolVLM the agent uses it once a sentence in the prompt, which we wrote knowing the fault, names such a statistic; on LFM2-VL, whose scale factors are larger, most sessions find the rescaled rows unaided, but none finds the noise. Swapped rows or columns, which keep the set of stored values, are not found unaided on either model within our budgets. We recommend that studies of weight repair report the number format of the weights and include a rounded control.

View source

Similar papers

#artificial intelligence Preprint Nov 2026

WeightBench: Evaluating Language Models as Weight-Space Programmers

Recent work shows that large language models (LLMs) can operate directly on the parameters of other neural networks. They can read what a network was trained to do, fix a network that fails, and write working networks from scratch, all without gradient descent. This capability has been termed Weight-Space Programming (...

Aayush Marasini, Barsat Khadka, Nick Rahimi · 8 citations
#natural language process... Preprint Nov 2026

Weight-Space Programming Writes In-Context Learning and Matches Fine-Tuning in Language Models

Weight-space programming is a frontier language model's recently reported ability to read another network's weights and edit them without gradient descent. We investigate how examples can provide a weight update so that a weaker language model performs the task with nothing in the prompt, and study what the updates are...

Konstantinos Skianis, A. Likas · 0 citations
Preprint Nov 2026

Where Does a Weight-Editing Agent Help? Blind Diagnosis and Repair of Deployment Faults in Vision Models

Language-model agents can read and edit the weights of neural networks without gradients, and this is increasingly presented as a new way of repairing models. We ask what such an agent adds, in a setting with a known answer. A vision model moved into a new system may be broken by a preprocessing, weight-conversion or o...

Zhuang Li, Shi-Zhong Cai, Jian Jin et al. · 0 citations
#artificial intelligence Preprint Nov 2026

Can an LLM Actually Reason and Program about Neural Network's Weights or is it just memorization on steroids? Exploring"Weight-Space Programming"

Large language models (LLMs) have recently been reported to read and write the raw weights of neural networks directly, a capability termed weight-space programming. We ask whether the reading side of this capability reflects reasoning about weight flows or a combination of local arithmetic at the network's edges and m...

Nazmus Sakib Ahmed · 14 citations · ⚡1
Preprint Nov 2026

Weight-Space Programming for Targeted Repair of Robot Foundation Models

This paper demonstrates an approach for correcting failures of robot foundation models (RFMs) without additional data collection, demonstrations, or training. We apply weight-space programming (WSP), in which a language-model agent directly reads and writes a neural network's parameters, to a large, pre-trained vision-...

Kyle Coelho, E. Solowjow · 0 citations
Preprint Nov 2026

Training Vision Models for LLM-Driven Weight-Space Programming

It has been demonstrated that, in certain settings, large language models can perform weight-space programming to directly modify the weights of neural networks. However, it is unknown how dedicated training of these networks can contribute to the successes of weight-space programming. We present a benchmark of LLM-dri...

T. Ropinski, Sebastian Kranz · 1 citation

Related blog posts

MIT News · Artificial Intelligence Dec 3, 2026

Seeing the future with enterprise AI

For more than a decade, MIT computer scientist Kalyan Veeramachaneni has explored how AI can help enterprises predict what will happen — all while solving broader problems.

MIT News · Artificial Intelligence Dec 1, 2026

A new form of memory helps robots learn complex skills

The method uses large vision-language models to teach smaller models how to remember key details about a robot’s surroundings, making the machines more reactive and resourceful.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.