Weight Space Programming for Vision Language Model Repair
Avinash Goutham Aluguvelly
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.
Create a lesson
Related papers
Can Weight-Space Programming Alter Learned Ethical Priorities?
Shared title terminology · Kai Yi Ji
PaMuk-Bench: A Parallel Multilingual Multitask Benchmark for Vision-Language Tasks
Shared title terminology · Silviu-Florin Gheorghe, Radu-Stefan Popa, Adriana Valentina Costache et al.
AppCon-Bench: Perception and Misperception of Material Appearance in Vision-Language Models
Shared title terminology · Santiago Jimenez-Navarro, Ana Serrano, Belen Masia
Beyond What They Say: Cue Acknowledgment and Robustness in Vision-Language Models
Shared title terminology · Ali Rahimiakbr, Arvin Baghal Asl, Nima Niroumand et al.
PAVE: A Harness for Geometrically Consistent Road Network Modeling with Vision-Language Models
Shared title terminology · Yajun Liu, Jinxi Wu, Juan Pablo Millán Raya et al.
Unimodal Shortcuts and Joint Scene-Intent Dependence in Vision-Language Safety Representations
Shared title terminology · Guijia Zhang, Hongbo Qiu, Guohao Cai et al.