视觉语言模型权重修复依赖低位痕迹:SmolVLM与LFM2-VL实验揭示
Weight Space Programming for Vision Language Model Repair
研究在SmolVLM-256M和LFM2-VL-450M的权重中植入故障,检验无梯度权重编辑修复所依赖的条件。编码智能体在无提示下找到被缩放的projector行与视觉编码器噪声,将大部分权重恢复至原值,但修复依赖32位运算在16位权重低位留下的痕迹;抹去低位后LFM2-VL准确率仅回升约4个点,而未舍入时为17个点。
arXiv:2611.23615v2 Announce Type: replace 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.
来源:arXiv (AI + Vision + Imaging) · arxiv.org