arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2110.08919cs.IRcs.DB
收藏

用于高效最近邻搜索的低精度Quantization

Low-Precision Quantization for Efficient Nearest Neighbor Search

Anthony Ko, Iman Keivanloo, Vihan Lakshman, Eric Schkufza

摘要:

实值向量空间上的快速k近邻搜索是信息检索和推荐系统中的一个重要算法。我们提出了一种方法,使用降低精度表示向量通过量化的整数值,使这些向量的索引和更快的距离计算在查询时的内存开销减少。虽然大多数传统的量化技术专注于最小化点与其未压缩对应物之间的重建误差,但我们专注于保留底层距离度量的行为。此外,我们的量化方法应用在执行层面,可以与现有的KNN算法相结合。我们在多个流行的KNN框架上对开源和专有数据集进行的实验验证了量化距离度量可以减少60%的内存,并将查询吞吐量提高30%,而召回率仅降低2%。

英文摘要:

Fast k-Nearest Neighbor search over real-valued vector spaces (KNN) is an important algorithmic task for information retrieval and recommendation systems. We present a method for using reduced precision to represent vectors through quantized integer values, enabling both a reduction in the memory overhead of indexing these vectors and faster distance computations at query time. While most traditional quantization techniques focus on minimizing the reconstruction error between a point and its uncompressed counterpart, we focus instead on preserving the behavior of the underlying distance metric. Furthermore, our quantization approach is applied at the implementation level and can be combined with existing KNN algorithms. Our experiments on both open source and proprietary datasets across multiple popular KNN frameworks validate that quantized distance metrics can reduce memory by 60% and improve query throughput by 30%, while incurring only a 2% reduction in recall.

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

↑