{"id":"1908.10396","title":"Accelerating Large-Scale Inference with Anisotropic Vector Quantization","authors":["Ruiqi Guo","Philip Sun","Erik Lindgren","Quan Geng","David Simcha","Felix Chern","Sanjiv Kumar"],"categories":["cs.LG","stat.ML"],"primary_category":"cs.LG","first_posted":"2019-08-27","updated":"2020-12-04","url":"https://arxiv.vip/abs/1908.10396","arxiv_url":"https://arxiv.org/abs/1908.10396","pdf_url":"https://arxiv.org/pdf/1908.10396","comment_count":0,"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.","arxiv_comments":null,"journal_ref":null,"doi":null,"license":"http://arxiv.org/licenses/nonexclusive-distrib/1.0/","versions":5,"discussion_url":"https://arxiv.vip/abs/1908.10396#discussion"}