비등방성 벡터 양자화를 통한 대규모 추론 가속화
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.