Post-training calibration can help or hurt text embedder accuracy
When PTQ Calibration Helps or Hurts: Dose-Driven Collapse and Validation-Gated Abstention in Quantized Text Embedders
Artificial Intelligence
Summary
This paper studies when tuning a small set of quantizer parameters after a text embedder is trained improves or worsens its performance. The authors find that how much the tuning changes the model, called the dose, largely determines results, ranging from improvements to severe accuracy drops. They show that not all calibration objectives behave the same way, and that a simple rule to accept only beneficial tuning steps avoids harmful changes. The work suggests treating calibration as optional with safety checks, rather than always applying it blindly.
What this means in practice
- •For machine learning engineers: Prevent harmful calibration updates in text embedding models by using a validation-gated rule for safer post-training quantization tuning.
- •For search system developers: Improve retrieval quality by selectively applying calibration for 4-bit quantized text embedders based on evaluation on small validation sets.
Authors
Hyojung Han, Ryangkyung Kang, Youngeun Kim, Seung-Hun Jeon
Abstract
Learned post-training quantization (PTQ) calibration fits quantizer parameters on a small calibration set, and for a text embedder the natural supervision is retrieval relevance. We ask two questions that are usually conflated: how far to calibrate, and whether to calibrate at all. Across three embedders (e5-base-v2, BGE-M3, EmbeddingGemma-300m) at 4-bit weight quantization, 161 calibration runs, the outcome of a fixed procedure ranges from a gain to catastrophic degradation, and the driver is the dose of the update, measured as the functional displacement D_func of the quantized model from its uncalibrated start. On EmbeddingGemma the same learning-rate grid gives +1.47 to -71.53 points of in-domain NDCG@10 change; a label-free cosine objective collapses at the same dose (-69.52 vs -71.63), so the collapse is a property of learnable calibration rather than of retrieval supervision. Objective sensitivity is heterogeneous: on e5, ranking calibration is substantially more robust than cosine at matched displacement (+14.16 +/- 4.34 pp, 95% t-CI [+3.37, +24.96], three paired slates), whereas on BGE-M3 the ordering is directionally opposite but unresolved ([-5.18, +2.38]). Dose is the main axis but not a sufficient statistic: equal D_func reached along different paths differs by up to 1.61 pp. We therefore treat calibration as an optional intervention. A pre-registered rule that accepts a checkpoint only when a per-query paired confidence interval on a 25% calibration-validation split clears the uncalibrated baseline was run on 6 independent slates and five arms. It never selected a checkpoint below its slate's baseline (0 harmful selections in 30 decisions), retained 8 of 11 beneficial updates, and paid a mean oracle regret of 1.52 pp with one abstention that forfeited 11.13 pp, a safety-opportunity trade-off, not a free improvement. We report what remains open, including label efficiency.