Manuscript Offprint

arXiv:2609.06922

BEFORE THE FLIP: Measuring Hidden Score Shifts In Quantized Vision Language Models Before The Answer Changes for Visual Question Answering

Sourajit Saha, Shubhashis Roy Dipta, Shaswati Saha, Nobin Sarwar, Yuxuan Jiang

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

Sourajit Saha Shubhashis Roy Dipta Shaswati Saha Nobin Sarwar Yuxuan Jiang

University of Maryland, Baltimore County

{ssaha2, sroydip1, ssaha3, sms2, yuxuanj1}@umbc.edu

https://sourajitcs.github.io/beforetheflip/

Figure

Figure 1: Visual Question Answering (VQA) Accuracy alone can hide the effects of model compression. Although 4-bit quantization barely changes VQA accuracy and flips only 265 of 9,000 answers, it can still shift the underlying yes/no scores toward the output produced with average image tokens. BEFORE THE FLIP measures this hidden shift, identifies which weight groups cause it, and tests whether selecting higher precision groups for each question provides a reliable benefit. The example answer flip pattern occurs in 66 of 9,000 questions, while per question selection fails to outperform both shuffled controls on 1,024 separate calibration questions.

Abstract

Quantization makes vision language models (VLMs) cheaper to store and run by using fewer bits to represent their weights. While unchanged answers on visual question answering (VQA) after compression are an expected behavior, they can still hide changes in the underlying scores (log probabilities). For example, a model may still answer "yes" after compression, even as the score gap between "yes" and "no" shrinks. We introduce BEFORE THE FLIP to measure these hidden changes. Our method compares the score change caused by compression with the change caused by replacing the image's internal representations, or image tokens, with one fixed average token. We then increase the precision of one weight group at a time to identify where extra bits help, and test whether choosing different groups for each question offers benefits beyond shuffled controls. Among 8,277 LLaVA questions where image token replacement measurably affects the scores, 4-bit compression shifts the yes/no score gap farther toward the replacement output than 8-bit compression. Qwen shows the same pattern, but with a smaller difference. Yet only 265 of 9,000 LLaVA answers change at 4 bits. In a separate study of 1,024 calibration questions, choosing weight groups separately for each question does not outperform both shuffled controls at any tested storage budget. These findings show that compression can alter the scores behind unchanged answers, but do not establish a reliable benefit from adjusting precision for each question.

Preprint.

1 Introduction

The goal of quantizing a vision language model (VLM) is to make it cheaper to store and run without changing its answers on visual question answering (VQA) among other tasks. Quantization does this by storing each weight with fewer bits. Consider the question, "Is there a truck in the image?" The model gives one score to YES and one score to NO, otherwise known as logits converted to log probabilities. An accuracy test sees only the answer with the larger score. It never measures changes in the gap between the two scores of YES and NO. This gap can move even when the answer stays identical. Similar hidden changes appear in other settings, where the final output still looks correct even though an internal preference or a dropped constraint has already changed [1-3]. Current VLM quantization studies predominantly report benchmark scores [4-7]. Current grounding tests study full precision models [8-11], leaving quantized VLMs at deployment risk for high stake AI applications across domains [12-28]. We therefore lack principled evaluation for score changes in the model used at deployment after compression. To study this gap, we present BEFORE THE FLIP, a three stage method for VQAs in quantized VLMs.

In Stage-1, we introduce the Prior Reversion Score (PRS) to measure how compression shifts the scores behind an answer. The first uses the input image and 16 bit weights. The second keeps the 16 bit weights but replaces all image tokens with the same fixed average token. The third uses the input image and compressed weights. PRS compares the score shift caused by compression with the shift caused by average token replacement. A positive PRS means that compression moves the scores for YES and NO toward the average token output. The term "prior reversion" describes only this measured direction and does not establish the existence of a hidden language prior.

In Stage-2, we identify which parts of the model benefit from greater precision. We divide the model weights into 57 groups and initially store every group at 4 bits. We then raise one group at a time to 8 bits and run the questions again. This reveals where additional precision reduces the measured loss.

In Stage-3, we test whether the most useful groups differ reliably across questions. Selecting groups after observing all results may appear effective simply because of measurement noise [29]. We therefore compare the actual gain with two shuffled controls. One preserves the values for each group, while the other preserves the values for each question.

Our results reveal one clear pattern and one key limitation. For LLaVA, the average PRS increases from 0.0094 at 8 bits to 0.0760 at 4 bits, showing that stronger compression causes a larger score shift. Qwen2.5 VL shows the same pattern, but less strongly. Despite these score shifts, only 265 of 9,000 LLaVA answers change at 4 bits. Giving more precision to earlier decoder blocks reduces the loss more on average, although different parts within some blocks have opposite effects. At every tested storage budget, selecting groups separately for each question performs worse than at least one shuffled control. On separate calibration questions, all three selection methods choose the same precision setting for every question. These results reveal score changes hidden behind mostly unchanged answers, but they do not support a reliable system that adjusts precision for each question.

Our contributions and findings are:

  • A metric for hidden score shifts. We introduce the Prior Reversion Score (PRS) to measure whether compression moves the YES and NO scores toward the image replacement output, even when the final answer remains unchanged after model compression via quantization.
  • A detailed map of precision sensitivity. By raising one weight group at a time from 4 to 8 bits, we measure the effects of 24 image encoder blocks, one connector, and 32 decoder blocks.
  • A controlled test of per question precision selection. We compare the observed gain with two shuffled controls when each question can use 5%, 10%, or 15% more weight storage than W4. The observed gain remains below at least one shuffled control at every budget.
  • Evaluation across models, tasks, and settings. We test two VLMs, five image replacement methods, open ended captioning, four additional tasks, fixed precision plans, learned selection methods, and visual contrastive decoding.

References (78)