The Undetected Damage of Quantization on Retrieval and How to Fix It
Not on the map. Why?
Abstract (arXiv)
We show that a quantized model that keeps its classification accuracy still changes 14 to 46% of its top-1 retrieval results, and that aggregate ranking metrics reveal only part of this damage. We tie this failure to the gap between the two highest model scores and use that gap to decide when to trust a quantized answer and where additional precision should be spent. We show that the top-1 result is guaranteed to survive quantization only when this gap exceeds twice the largest rounding error. In classification, the scores are logits, and training compares the correct class against every other class, which encourages this gap. In retrieval, the scores are query-document similarities, and training compares each positive only against sampled negatives, so nothing separates the top-1 item from the second. This gap can be measured without labels. Before deployment, it predicts which models will break under quantization, and at deployment time it tells, per input, whether the quantized answer still matches the full-precision answer. Most classification inputs have a gap wide enough to trust the quantized answer, but few retrieval queries do. That gap motivates a different fix in each task. In retrieval, spending extra bit-width on the layers whose quantization moves the gap most recovers up to three-quarters of an extra bit's benefit for half its cost. In classification, routing the few low-gap inputs to full precision recovers most of the lost accuracy at a fraction of the cost.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 62 of its 96 references that are in the map. First posted on arXiv 21 Sep 2026.
Builds on
62 of 96 references.
References · 62
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
- 2017Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithmscited by 4,283
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
- 2013Describing Textures in the Wildcited by 2,110
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,591
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
- 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,488
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,338
38 more
- 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,234
- 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,225
- 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,216
- 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,175
- 2022Editing Models with Task Arithmeticcited by 1,076
- 2017Selective Classification for Deep Neural Networkscited by 799
- 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 798
- 2017Remote Sensing Image Scene Classification: Benchmark and State of the Artcited by 791
- 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 705
- 2016Distribution-Free Predictive Inference For Regressioncited by 657
- 2022MTEB: Massive Text Embedding Benchmarkcited by 623
- 2020Up or Down? Adaptive Rounding for Post-Training Quantizationcited by 600
- 2024QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMscited by 598
- 2017BranchyNet: Fast Inference via Early Exiting from Deep Neural Networkscited by 591
- 2016DoReFa-Net: Training Low Bitwidth Convolutional Neural Networks with Low Bitwidth Gradientscited by 557
- 2023C-Pack: Packed Resources For General Chinese Embeddingscited by 556
- 2020Fact or Fiction: Verifying Scientific Claimscited by 546
- 2018PACT: Parameterized Clipping Activation for Quantized Neural Networkscited by 456
- 2024SpinQuant: LLM quantization with learned rotationscited by 446
- 2020SPECTER: Document-level Representation Learning using Citation-informed Transformerscited by 426
- 2018Rotation Equivariant CNNs for Digital Pathologycited by 420
- 2020Efficient Intent Detection with Dual Sentence Encoderscited by 419
- 2018Deep Learning for Classical Japanese Literaturecited by 415
- 2019HAWQ: Hessian AWare Quantization of Neural Networks with Mixed-Precisioncited by 387
- 2022Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruningcited by 317
- 2013Challenges in Representation Learning: A report on three machine learning contestscited by 301
- 2020ZeroQ: A Novel Zero Shot Quantization Frameworkcited by 265
- 2019HAWQ-V2: Hessian Aware trace-Weighted Quantization of Neural Networkscited by 250
- 2022Patching open-vocabulary models by interpolating weightscited by 187
- 2020Integer Quantization for Deep Learning Inference: Principles and Empirical Evaluationcited by 183
- 2021PTQ4ViT: Post-training quantization for vision transformers with twin uniform quantizationcited by 173
- 2019What Do Compressed Deep Neural Networks Forget?cited by 164
- 2020Characterising Bias in Compressed Modelscited by 162
- 2020MTOP: A Comprehensive Multilingual Task-Oriented Semantic Parsing Benchmarkcited by 156
- 2015Fixed Point Quantization of Deep Convolutional Networkscited by 141
- 2022RepQ-ViT: Scale Reparameterization for Post-Training Quantization of Vision Transformerscited by 134
- 2021I Wish I Would Have Loved This One, But I Didn't -- A Multilingual Dataset for Counterfactual Detection in Product Reviewscited by 44
- 2021Jointly Optimizing Query Encoder and Product Quantization to Improve Retrieval Performancecited by 35
50 most cited of 62 All 62 (JSON)
Built on by
Not cited yet.