cs.CVNov 24, 2026

When Repair Accuracy Misleads: Training a VLM on Its Own Failures

Authors: Ang Qi, Yue Wang

Organizations: USC Physical Superintelligence (PSI) Lab

Abstract

Fine-tuning a vision-language model on its own failures is a direct way to repair it, but accuracy on held-out failures, the obvious measure of success, misleads. Many mined failures are not model errors: a human audit of 100 failures of Qwen3-VL-8B-Instruct on questions generated from COCO and GQA found label errors in 37. And mined failures share wording regularities: question-only classifiers get both answers right on 73.2% of held-out failure pairs. We study both traps with verified failure-driven repair (VFR): typed minimal-pair failure mining, verification by three LLM judges that answer without seeing the stored labels, answer-first corrective targets, and LoRA fine-tuning with replay. VFR repairs 82.8% of held-out failures (base model: 10.0%), and on independently labeled, unconditioned pairs it raises overall accuracy from 87.4% to 92.4% through spatial relations, whose accuracy rises from 66.7% to 96.8% even where the wording points to the wrong answer. Yet on negation, of which it repairs 88.9% of held-out failures, its accuracy on unconditioned pairs falls from 88.7% to 79.7%: it breaks negations about absent objects, rare in its training set. Without verification, accuracy on unconditioned pairs falls to 80.8%, below the base model's 87.4%, through a negation shortcut our development benchmarks miss; without failure selection, it stays at 92.0% (one seed) while repair falls to 73.4%. Training also lowers two-image relation accuracy (74.3% to 49.6%; replay data alone: 48.4%); multi-image replay partly and unevenly reverses this. Paraphrasing the spatial questions keeps most of the gain (87.3% vs. the base model's 62.0%), though rewording lowers spatial repair on held-out failures from 92.9% to 76.8%. On What'sUp's independent photos of objects under others, caption choice stays perfect while accuracy on our yes/no pairs falls from 84.5% to 26.4%.

Figures & tables

Explore similar work

Jul 6, 2026

Does It Fail to See or Fail to Know? Attributing Errors in Vision-Language Models

Vision-language models (VLMs) perform well on visual question answering with high-quality images but struggle when questions require knowledge beyond what is clearly and directly visible. In such settings, uncertainty quantification should not only indicate whether the model is likely to fail but also diagnose why it is uncertain, across dimensions such as perception, entity recognition, and knowledge retrieval. While prior work has focused on individual failure modes in isolation or treated incorrect answers as monolithic failures, we propose a unified framework for disentangling these failure modes and investigate whether pre-generation signals can predict these failure sources. Across a range of datasets and model families, we find a consistent pattern in VLM errors: some failures arise from visual or recognition bottlenecks, while others persist after the relevant entity is identified. Our main finding is that these failure sources can be predicted before decoding: recognition-related failures are best captured by visual-token representations, while failures that remain after recognition are better captured by prompt-conditioned hidden states. This pre-generation signal enables efficient failure-source prediction before the model produces an answer, allowing uncertain cases to be routed to targeted interventions such as image repair, entity recognition support, or external retrieval.
Nov 16, 2026

Seen but Unsaid: Locating and Repairing Cross-Image Comparison in Vision-Language Models

Vision-language models (VLMs) often fail to match a point or an object across two images, even when the match can be decoded from their hidden states. We trace where this information is lost in Qwen3-VL-2B/4B/8B/32B, InternVL3.5-8B, and Gemma-3-12B on synthetic shape matching, HPatches point correspondence, and SPair-71k semantic correspondence, comparing input-matched probes with calibrated outputs. The models fail at two distinct points. Exact copies are compared and the result reaches the answer position, but the output does not use it, whether or not the shapes have names. Semantic correspondences are present in the visual tokens but are only weakly compared and never reach the answer position. The comparison runs through 16 to 32 attention heads that let tokens of the second image attend to the first. Redistributing their attention at fixed mass removes up to 32 points of accuracy, against at most 7 for random or attention-matched heads, and their attention is gated by salience and weighted by content. Training only these heads (0.02% of the parameters) recovers 25 to 28 points on SPair-71k and transfers to HPatches and BLINK. Unconstrained LoRA adapters, which reach higher accuracy, converge on the same heads: inserting only these heads' attention into the base model recovers 21-51% of an adapter's gain, mostly through changed inputs to the heads. Across all 14 trained arms, the selectivity of this small head set tracks the accuracy they reach, and it is read directly from attention, without probes or retraining. The gain in selectivity is not a by-product of more attention to the first image: it comes mostly from the wrong options no longer being drawn to the marked reference.
Nov 18, 2026

Keel: A Frontier Model Teaches a Vision-Language Model by Rewriting Its Weights

Can a frontier model repair a vision-language model (VLM) by rewriting its weights? Small reasoning VLMs such as Qwen3.5 need such a repair: in thinking mode they fall into loops on many image questions, repeating themselves until the token limit, spending the whole budget and losing the answer. The usual remedies act on the decoding, leaving the looping model as it was, or must be told what to change. Yet the cause is written in the weights. Keel, the first agentic weight-editing method for VLMs on image tasks, finds and removes it there. Told only the symptom, an editor, a frontier multimodal LLM acting as an agent, locates the cause, edits the weights and tests them, with a failure census and instruments showing it the failing images and where the VLM attends; among several editors, the harness keeps only edits that clearly reduce the failure without lowering accuracy on questions no editor saw. The repair needs no training, keeps the model's size and per-token cost, and applies to already-edited weights. The editors expose where the loops live: from the original weights, independent editors on both models trace them to the attention outputs of the middle layers, and the smaller VLM stops consulting the image inside a loop. On Qwen3.5-0.8B and Qwen3.5-2B, across six image benchmarks from visual mathematics to GUI grounding, the edit removes most loops on every benchmark and shortens answers, and the edited models are significantly more accurate than the thinking models on average; the larger one gains most on GUI grounding, a task absent from the practice questions. Because the repair lives in the weights, it combines with budget forcing where held-out questions favor it: on the best available weights, Keel has the best average accuracy on both models, significantly above every training-free baseline we compare on the larger one.