arXiv(opens in a new tab)cs.LGSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.07664

Accuracy is Not Enough: A Divergence-Based Approach to Evaluate Fidelity Loss in Quantized LLMs

Shahzeb Qamar, Lorenz Sparrenberg, Christian Bauckhage, Baha Rababah, Carson Leung, Murat Kantarcioglu, Cuneyt Gurcan Akcora, Rafet Sifa

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

Shahzeb Qamar1,2,3,4^{1,2,3,4}, Lorenz Sparrenberg3,4^{3,4}, Christian Bauckhage1,2,3,4^{1,2,3,4}, Baha Rababah5^{5}, Carson Leung5^{5}, Murat Kantarcioglu7^{7}, Cuneyt Gurcan Akcora6^{6}, Rafet Sifa1,3,4^{1,3,4}

1^{1}Fraunhofer IAIS, Germany ({shahzeb.qamar, rafet.sifa, christian.bauckhage}{at}jiais.fraunhofer.de)

2^{2}PhenoRob Cluster of Excellence, University of Bonn, Germany

3^{3}Lamarr Institute for Machine Learning and Artificial Intelligence, Germany

4^{4}University of Bonn, Germany (lsparren[at]uni-bonn.de)

5^{5}University of Manitoba, Canada (rababahb[at]myUManitoba.ca, Carson.Leung[at]UManitoba.ca)

6^{6}University of Central Florida, USA (cuneyt.akcora[at]ucf.edu)

7^{7}Virginia Tech, USA (muratk[at]vt.edu)

Abstract—Deployment of Large Language Models (LLMs) on memory-constrained edge devices relies heavily on aggressive post-training quantization. However, the evaluation of these quantized models is still largely based on zero-shot task accuracy, which depends solely on argmax predictions and is therefore insensitive to changes in the underlying predictive distribution. As a result, accuracy can exhibit unstable and non-monotonic behavior under progressive quantization, masking substantial fidelity loss relative to the BFloat16 (BF16) uncompressed base model and potentially providing misleading signals for deployment decisions.

In this work, we introduce a distribution-sensitive evaluation framework that quantifies information loss in quantized LLMs as the divergence between full-vocabulary predictive distributions at the token decision boundary. Specifically, we compute statistical distances, including Jensen-Shannon Divergence and Total Variation Distance, between the outputs of full-precision and quantized models, enabling a fine-grained analysis of distributional shift.

Using this framework, we quantify probability mass displacement and distributional drift relative to the BF16 reference. These measures capture changes in the predictive distribution that may not be reflected in top-1 task accuracy. We conduct a 120-run experimental matrix across five foundation model architectures and four reasoning benchmarks under progressive quantization regimes, from uncompressed BF16 to Q2_K, providing a systematic fidelity analysis.

Our results show that divergence metrics generally increase under stronger quantization in the evaluated settings, complementing task accuracy with a fidelity signal relative to the BF16 reference. Across the tested llama.cpp quantization schemes, mixed-precision Q4_K generally yields lower divergence than uniform Q4_0 at similar memory footprints. These findings motivate distribution-aware evaluation as a practical diagnostic complement to task accuracy; they do not directly establish correctness, calibration, safety, or user-perceived quality.

Index Terms—LLM Quantization, Model Compression, Post-Training Quantization, Probability Leakage, Evaluation Metrics

Figure

Fig. 1: VRAM requirement versus average TVD in the evaluated settings. The plot illustrates that more aggressive compression is associated with increased distributional divergence from the BF16 reference, with Q4_K providing a favorable empirical trade-off for the tested models and quantization schemes.

I. INTRODUCTION

The rapid scaling of Large Language Models (LLMs) is fundamentally bottlenecked by the strict memory constraints of edge devices [1]–[3]. To bridge this gap, Post-Training Quantization (PTQ) serves as the standard for model compression [4]–[7], with frameworks like llama.cpp [8] popularizing mixed-precision schemes (e.g., K-quants) [9]. Despite these advancements, standard evaluation methodologies remain flawed [10]. Industry benchmarks heavily rely on zero-shot task accuracy (i.e., evaluation without task-specific demonstrations) (e.g., MMLU [11], BoolQ [12], PIQA [13], HELM [14]). Because accuracy evaluates only whether the

This work was funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under Germany's Excellence Strategy—EXC 2070 Grant No. 390732324 (Cluster of Excellence PhenoRob) and by the State of North Rhine-Westphalia through the Lamarr Institute for Machine Learning and Artificial Intelligence.

TABLE I: Comparison of the Proposed Framework with Recent LLM Evaluation Literature

WorkEvaluation FocusDistributional Analysis?Quantization FocusPrimary Metric(s)
Gong et al. (2023) [10]General PTQ BenchmarkingNo (Top-1 Argmax)UniformZero-Shot Accuracy
Huang et al. (2024) [15]Low-bit Degradation TrendsNo (Top-1 Argmax)UniformAccuracy & Perplexity
Dutta et al. (2024) [16]Prediction InstabilityPartial (KL-Divergence)UniformFlip Rate & KL-Div.
Kübler et al. (2026) [23]Statistical SignificanceNo (Binary Sample-Level)Uniform & MixedMcNemar's Test
Proposed FrameworkStructural Distributional DriftYes (Full Vocabulary)Uniform & MixedTVD & JSD

predicted argmax token matches the ground truth, it reduces model behavior to a coarse binary outcome and discards the underlying predictive distribution. Consequently, a degraded low-bit model might guess the correct token purely by chance from a flattened distribution, or default to a dominant prior token, scoring artificially high without true task understanding. This masking effect creates a misleading signal of model reliability [15].

Building on Dutta et al. [16], who showed that stable aggregate accuracy can hide severe internal prediction “flips” [17], we argue that quantized LLM evaluation must move from discrete argmax outcomes to continuous, full-vocabulary probability distributions. Standard benchmarks often treat LLMs as deterministic classifiers, yet the argmax operation discards most of the model’s uncertainty information and can score a confident BF16 model and a degraded quantized model as equivalent [18], [19]. This concern is consistent with evidence from computer vision [20], adversarial robustness [21], and medical AI [22], where accuracy alone has proven insufficient for reliability assessment. Foundational LLM work has likewise shown that confidence and calibration are necessary for reliable deployment [19].

Drawing on these cross-disciplinary principles, we investigate whether aggressive quantization induces distributional drift relative to the BF16 reference model even when task accuracy remains stable. To quantify this drift, we use Total Variation Distance (TVD) [24] and Jensen-Shannon Divergence (JSD) [25], computed over the full vocabulary. These metrics measure reference-distribution fidelity; they do not by themselves establish correctness, calibration, safety, or downstream utility.

Moving beyond binary accuracy, our approach provides distribution-level fidelity signals under stronger compression (Figure 1). Our four main contributions are: (1) we show that task accuracy can mask substantial distributional differences relative to a BF16 reference; (2) we introduce a full-vocabulary fidelity analysis using bounded TVD and JSD, supported by a coarse-graining result; (3) we evaluate 120 configurations across five foundation models, four benchmarks, and six quantization regimes; and (4) for the tested llama.cpp schemes, we find that mixed-precision Q4_K generally yields lower divergence than uniform Q4_0 at similar memory footprints.

References (38)