arXiv cs.CL论文
后训练量化在文本嵌入模型上失效:四类嵌入器家族的实测图谱
研究直接检验了从 LLM 量化沿用而来的三条经验法则(保护嵌入表、按模块敏感度分配比特、偏好排序感知目标)在检索嵌入器上是否成立。作者对四个架构家族的五个检查点做权重量化,覆盖不同比特宽度与分组大小,并单独隔离嵌入、注意力和前馈模块。结论是这些启发式全部无法照搬:嵌入表从未成为主导保护优先级;模块敏感度排序不可迁移,INT3 下顺序依赖家族且损伤不再可加,INT2 下相同重建误差对应 1.3% 到 65.9% 的保留率;廉价重建代理只适合筛选统一比特宽度,其跨网格的强相关性是范围扩展假象。一个蒸馏出的 109M 学生在 INT3 下以 68.4 MB 达到 78.04 NDCG@10,在体积和质量上均超过其 0.6B 教师(297.9 MB、64.46),但仅限蒸馏任务内。
这篇是正式发表的长论文,站内提供中文解读,全文请到原文阅读 PDF。
Abstract:Weight-only post-training quantization is the cheapest way to shrink a retrieval embedder, and the received advice for applying it -- protect the embedding table, allocate bits by module sensitivity, prefer a ranking-aware objective over weight reconstruction -- was carried into LLM quantization largely intact. We test that advice on retrieval embedders directly, quantizing five checkpoints from four architecture families across a grid of bit widths and group sizes, and isolating the embedding, attention and feed-forward blocks at each width. Every heuristic fails to transfer as stated. The embedding table never emerges as the dominant isolated protection priority in any family, despite being the largest tensor in several of them. Module sensitivity does not survive as a transferable ordering: at INT4/g16 the spread between modules is too small to allocate against, at INT3 the ordering becomes family-dependent and joint damage stops being the sum of its parts, and at INT2 comparable reconstruction error accompanies retention ranging from 1.3 to 65.9 percent of full precision. A cheap reconstruction proxy is useful for screening uniform bit widths but substantially less reliable for choosing which tensors to protect; its apparent strength across the whole grid is a range-extension artifact. A distilled 109M student at INT3 holds 78.04 NDCG@10 in 68.4 MB and dominates the extreme-PTQ arm of its own 0.6B teacher, 297.9 MB at 64.46, on both size and quality -- but only inside the task it was distilled for. Sizes are byte counts of files that exist rather than arithmetic estimates, and the measurement repository carries the byte provenance for every one of them.