Manuscript Offprint

arXiv:2610.09227

Quantize by Drift: Label-Free Mixed-Precision Post-Training Quantization for Text Embedders

Hyojung Han, Jongmin Kim, Seung-Hun Jeon

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

Abstract

Mixed-precision post-training quantization needs a per-module sensitivity signal, and for a text embedder the obvious one — how much retrieval quality a module costs when quantized — requires relevance labels that deployments rarely have. We measure a label-free substitute: quantization-induced representation drift, obtained by quantizing one module, re-encoding the corpus, and recording how far the output embeddings moved from their full-precision positions. Measuring sensitivity by intervening rather than by inspecting the full-precision model is not itself new; what is specific here is the quantity observed — the displacement of the deployed output representation, which is what a dense retriever ranks with — and the setting, encoder-weight mixed precision for retrieval rather than index or output-vector compression. Across five development embedders, configuration-level drift orders sampled mixed-precision plans against held-out retrieval quality at a macro Spearman of 0.911, the module sensitivity transports across calibration corpora and retrieval domains in the usable regime, module drifts compose rank-consistently but not numerically, and relevance-derived sensitivity adds no consistent value over drift. The method is a single additive allocation over measured drift under a hard packed-byte budget constraint, with no labels, no interaction model and no search. On three embedders held untouched until the method, baselines and hypotheses were frozen and sealed, the pre-registered directional hypothesis against the prior LieQ criterion holds (3/3 at the main budget, no collapse), drift scores above the two-sided LieQ steelman in 2/3, and the label-free signal reproduces under calibration resampling on all three; but at the main budget the drift allocation is numerically lower than same-budget uniform precision on all three (-0.99, -0.85, -1.01 points; under independent re-evaluation the paired query-level interval excludes zero on 1 of 3 models), and in the one tighter-budget cell where uniform collapses (5.30) both drift (28.84) and the LieQ adaptation (27.99) remain usable. We report the confirmation before the pooled numbers and do not average over it. Together these results position output drift as a robust coarse sensitivity signal rather than a universally optimal allocation objective: it avoids the catastrophic failures of the transferred signed-geometry adaptation and can remain usable at stressed budgets where uniform collapses, but fine-grained redistribution around a strong uniform operating point remains unresolved.

1 Introduction

Quantizing a text embedder is not the same problem as quantizing a generative model. Dense retrievers encode queries and documents independently and rank by a similarity between the two vectors [13, 34, 11], and a single embedder is typically served behind every query a system answers, which makes it a natural target for low-bit weight compression. The output is a vector whose geometry is the product, and the downstream metric — ranking quality — depends on relative distances rather than on any single token. Mixed-precision allocation therefore needs a sensitivity signal that tracks retrieval damage, and the tempting choice is to measure that damage directly with relevance judgements. Deployments usually do not have them.

This paper reports what happens when the signal is label-free and produced by the quantization itself. For each module and bit width we apply the quantization, re-encode the calibration corpus, and measure the cosine displacement of the resulting embeddings from their full-precision positions.

What the claim is, and what it is not. A reader can reasonably object that “embeddings that move less are embeddings that rank better” is close to a tautology, and that finding a correlation between whole-model drift and retrieval quality is not a contribution. We agree, and that is not the claim. The unit of novelty here is not the correlation but the allocation signal: whether drift measured by quantizing a single module in isolation carries enough information to decide that module’s precision, and whether the resulting ordering is stable enough across models, budgets and retrieval domains to be used without any downstream supervision. Those are empirical questions with a real chance of a negative answer — single-module drift could compose too badly to predict a configuration, it could be dominated by module size, or it could reorder whenever the calibration corpus changes. §5 and §4.4 test each of them.

Two jobs for a sensitivity signal. The results separate two things a sensitivity signal is asked to do. One is to avoid catastrophic precision mistakes — to keep bits away from a module whose quantization collapses retrieval and to survive budgets at which the trivial allocation does not. The other is to resolve small trade-offs among allocations that are already good. Drift is much stronger at the first than at the second, and the paper's own development analysis already says why: whole-configuration drift orders sampled allocations against held-out quality at a macro Spearman of 0.911 over the full pool, but the correlation falls markedly once the pool is restricted to its best quarter (§4.1, Table 19), and the inversion rate of the additive prediction rises in the same region (§5). The confirmation on three untouched models (§4.3) is the same fact seen from the other side: the pre-registered comparison against a prior geometry criterion replicates, and at the budget where uniform precision is already healthy, drift does not improve on it. We treat that not as a failed method but as the boundary of what a coarse surrogate can be expected to resolve. The position this paper ends in is therefore narrower than the one it started from: output drift is a robust coarse signal for avoiding harmful precision assignments across heterogeneous embedders, and it is not a universally superior fine-grained allocator — on untouched models it scores above a prior geometry-based adaptation while consistently, if not always significantly, trailing uniform precision at the healthy 3-bit operating point.

Relation to intervention-based allocation. Measuring sensitivity by actually quantizing a component is an established idea. InfoQ [1] quantizes each layer at each candidate bit width and scores it by the resulting change in mutual information in the subsequent layers, then allocates by integer linear programming; our allocator is the same integer program over summed per-module scores, and we make no claim of novelty for it. The difference is in what is observed. InfoQ reads an internal, information-theoretic quantity — sliced mutual information between activations at downstream observer points — inside a vision CNN, and validates on ImageNet accuracy. We read the final output embedding, which for a dense retriever is not one representation among many but the exact vector the ranking score is computed from; Proposition 1 makes that connection quantitative. Whether that difference in observable changes the allocation, and changes it for the better on retrieval, is an empirical claim that §4.3 settles only in part: against the prior geometry criterion, yes; against uniform precision at a healthy operating point, no. Two further differences are matters of evaluation rather than method: we measure how far the sensitivity transports across retrieval domains, and we express budgets in real packed bytes including scale and zero-point metadata. §7 places both against geometry-based and interaction-aware allocators.

References (39)