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.
Abstract
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.