arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1912.08756cs.LGcs.IRstat.ML
收藏

用于高维相似性搜索的交织复合Quantization

Interleaved Composite Quantization for High-Dimensional Similarity Search

University of Wisconsin-Madison(威斯康星大学麦迪逊分校)

Soroosh Khoram, Stephen J Wright, Jing Li

摘要:

相似性搜索从高维向量的数据集中检索查询向量的最近邻居。随着数据集大小的增长,执行实现查询所需的距离计算的成本可能变得过高。通常用于减少这种计算成本的方法是向量空间的量化和数据集向量的基于位置的编码。这些编码可以在查询处理期间使用,以快速找到查询点的近似最近邻。通过使用较短的码可以提高搜索速度,但是较短的码具有较高的量化误差,导致精度降低。在这项工作中,我们提出了交错复合量化(ICQ),实现快速相似性搜索,而不使用较短的代码。在ICQ中,代码的一个小子集用于近似距离,只有在必要时才使用完整的代码。我们的方法有效地减少了码长和量化误差。此外,ICQ与最近提出的几种用于减少量化误差的技术兼容,并且可以与这些其他技术结合使用以改善结果。我们证实了这些说法,并使用几个合成和真实的数据集显示ICQ强大的实证性能。

英文摘要:

Similarity search retrieves the nearest neighbors of a query vector from a dataset of high-dimensional vectors. As the size of the dataset grows, the cost of performing the distance computations needed to implement a query can become prohibitive. A method often used to reduce this computational cost is quantization of the vector space and location-based encoding of the dataset vectors. These encodings can be used during query processing to find approximate nearest neighbors of the query point quickly. Search speed can be improved by using shorter codes, but shorter codes have higher quantization error, leading to degraded precision. In this work, we propose the Interleaved Composite Quantization (ICQ) which achieves fast similarity search without using shorter codes. In ICQ, a small subset of the code is used to approximate the distances, with complete codes being used only when necessary. Our method effectively reduces both code length and quantization error. Furthermore, ICQ is compatible with several recently proposed techniques for reducing quantization error and can be used in conjunction with these other techniques to improve results. We confirm these claims and show strong empirical performance of ICQ using several synthetic and real-word datasets.

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

↑