arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.19972cs.LGcs.AIcs.DBcs.DS
收藏

块球向量量化

Block-Sphere Vector Quantization

Seoul National University(首尔国立大学)

Heesang Ann, Joongkyu Lee, Min-hwan Oh

AI总结:

本文研究了向量量化方法,通过统一理论比较不同旋转量化器,揭示其性能依赖于特定的失真度量标准,并提出块球量化算法以改进旋转块量化。

摘要:

向量量化是可扩展机器学习系统中的基本操作,能够实现内存高效存储、快速检索和压缩推理。最近的旋转基于量化器如EDEN、RabitQ和TurboQuant引入了强保证和实证性能,但其周围比较难以解释,因为它们依赖于不同的失真标准、概率领域和实现假设。作为我们的第一个贡献,我们提供了这些方法的统一理论比较,表明其相对优势是标准依赖的而非绝对的:EDEN和TurboQuant在均方失真方面有利,EDEN在预期内积失真方面也有效,而RabitQ提供强的高概率控制。此比较进一步表明EDEN在预期失真度量方面提供特别强的保证。作为我们的第二个贡献,我们引入了块球量化(BlockQuant),一种新的旋转块量化算法,围绕随机旋转向量的球几何设计。不同于坐标wise量化器,BlockQuant在球面上量化块,更忠实保持旋转嵌入的几何结构。我们证明这种块球设计在本文考虑的基准上理论上在重建MSE和预期内积失真方面均有所改进。我们在真实嵌入数据集和长上下文LLM推理任务上的实验显示了实际收益,与我们的理论改进一致。

英文摘要:

Vector quantization is a fundamental primitive for scalable machine learning systems, enabling memory-efficient storage, fast retrieval, and compressed inference. Recent rotation-based quantizers such as EDEN, RabitQ, and TurboQuant have introduced strong guarantees and empirical performance, but the surrounding comparisons have been difficult to interpret because they rely on different distortion criteria, probability regimes, and implementation assumptions. As our first contribution, we provide a unified theoretical comparison of these methods and show that their relative advantages are criterion-dependent rather than absolute: EDEN and TurboQuant are favorable for MSE distortion, EDEN is also effective for expected inner-product distortion, and RabitQ provides strong high-probability control. This comparison further clarifies that EDEN provides particularly strong guarantees for expected distortion measures. As our second contribution, we introduce Block-Sphere Quantization (BlockQuant), a new rotation-based block quantization algorithm designed around the spherical geometry of randomly rotated vectors. Unlike coordinate-wise quantizers, BlockQuant quantizes blocks on the sphere, preserving the geometry of rotated embeddings more faithfully. We prove that this block-spherical design theoretically improves over the baselines considered in this paper for both reconstruction MSE and expected inner-product distortion. Our experiments on real embedding datasets and long-context LLM inference tasks show practical gains that are consistent with our theoretical improvements.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑