異方性ベクトル量子化による大規模推論の高速化
Accelerating Large-Scale Inference with Anisotropic Vector Quantization
Accelerating Large-Scale Inference with Anisotropic Vector Quantization
@misc{guo2019accelerating,
title = {Accelerating Large-Scale Inference with Anisotropic Vector Quantization},
author = {Ruiqi Guo and Philip Sun and Erik Lindgren and Quan Geng and David Simcha and Felix Chern and Sanjiv Kumar},
year = {2019},
eprint = {1908.10396},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://arxiv.org/abs/1908.10396}
}
Guo, R., Sun, P., Lindgren, E., Geng, Q., Simcha, D., Chern, F., & Kumar, S. (2019). Accelerating Large-Scale Inference with Anisotropic Vector Quantization [Preprint]. arXiv. https://doi.org/10.48550/arXiv.1908.10396
GUO R, SUN P, LINDGREN E, et al. Accelerating Large-Scale Inference with Anisotropic Vector Quantization[EB/OL]. (2019-08-27)[2026-11-29]. https://arxiv.org/abs/1908.10396.
要旨
最大内積検索を大規模データベースへスケールさせるための現在の最前線技術は、量子化に基づく手法である。従来の量子化アプローチは、データベース点の再構成誤差を最小化することを目的としている。しかし、与えられたクエリに対して、内積が最も大きいデータベース点がより関連性が高いという観察に基づき、我々は異方性量子化損失関数の一連の手法を開発した。自然な統計的仮定の下で、これらの損失関数を用いた量子化は、データ点の残差の並列成分を直交成分に比べてより大きく罰する、ベクトル量子化の新しいバリエーションをもたらすことを示した。提案されたアプローチは、ann-benchmarks.com に公開されているベンチマークにおいて最前線の結果を達成した。
Quantization based techniques are the current state-of-the-art for scaling maximum inner product search to massive databases. Traditional approaches to quantization aim to minimize the reconstruction error of the database points. Based on the observation that for a given query, the database points that have the largest inner products are more relevant, we develop a family of anisotropic quantization loss functions. Under natural statistical assumptions, we show that quantization with these loss functions leads to a new variant of vector quantization that more greatly penalizes the parallel component of a datapoint's residual relative to its orthogonal component. The proposed approach achieves state-of-the-art results on the public benchmarks available at ann-benchmarks.com.