Practical and Asymptotically Optimal Quantization of High-Dimensional Vectors in Euclidean Space for Approximate Nearest Neighbor Search

Jianyang Gao, Yutong Gou, Yuexuan Xu, Yongyi Yang, Cheng Long, Raymond Chi-Wing Wong
{"title":"Practical and Asymptotically Optimal Quantization of High-Dimensional Vectors in Euclidean Space for Approximate Nearest Neighbor Search","authors":"Jianyang Gao, Yutong Gou, Yuexuan Xu, Yongyi Yang, Cheng Long, Raymond Chi-Wing Wong","doi":"arxiv-2409.09913","DOIUrl":null,"url":null,"abstract":"Approximate nearest neighbor (ANN) query in high-dimensional Euclidean space\nis a key operator in database systems. For this query, quantization is a\npopular family of methods developed for compressing vectors and reducing memory\nconsumption. Recently, a method called RaBitQ achieves the state-of-the-art\nperformance among these methods. It produces better empirical performance in\nboth accuracy and efficiency when using the same compression rate and provides\nrigorous theoretical guarantees. However, the method is only designed for\ncompressing vectors at high compression rates (32x) and lacks support for\nachieving higher accuracy by using more space. In this paper, we introduce a\nnew quantization method to address this limitation by extending RaBitQ. The new\nmethod inherits the theoretical guarantees of RaBitQ and achieves the\nasymptotic optimality in terms of the trade-off between space and error bounds\nas to be proven in this study. Additionally, we present efficient\nimplementations of the method, enabling its application to ANN queries to\nreduce both space and time consumption. Extensive experiments on real-world\ndatasets confirm that our method consistently outperforms the state-of-the-art\nbaselines in both accuracy and efficiency when using the same amount of memory.","PeriodicalId":501281,"journal":{"name":"arXiv - CS - Information Retrieval","volume":"191 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-09-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Information Retrieval","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.09913","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Approximate nearest neighbor (ANN) query in high-dimensional Euclidean space is a key operator in database systems. For this query, quantization is a popular family of methods developed for compressing vectors and reducing memory consumption. Recently, a method called RaBitQ achieves the state-of-the-art performance among these methods. It produces better empirical performance in both accuracy and efficiency when using the same compression rate and provides rigorous theoretical guarantees. However, the method is only designed for compressing vectors at high compression rates (32x) and lacks support for achieving higher accuracy by using more space. In this paper, we introduce a new quantization method to address this limitation by extending RaBitQ. The new method inherits the theoretical guarantees of RaBitQ and achieves the asymptotic optimality in terms of the trade-off between space and error bounds as to be proven in this study. Additionally, we present efficient implementations of the method, enabling its application to ANN queries to reduce both space and time consumption. Extensive experiments on real-world datasets confirm that our method consistently outperforms the state-of-the-art baselines in both accuracy and efficiency when using the same amount of memory.
欧几里得空间中高维向量的实用和渐近最优量化,用于近似近邻搜索
高维欧几里得空间中的近似近邻(ANN)查询是数据库系统中的一个关键操作。对于这种查询,量化是为压缩向量和减少内存消耗而开发的一系列常用方法。最近,一种名为 RaBitQ 的方法在这些方法中取得了最先进的性能。当使用相同的压缩率时,它在准确性和效率方面都有更好的经验表现,并提供了严格的理论保证。然而,该方法仅针对高压缩率(32x)下的矢量压缩而设计,缺乏通过使用更多空间来实现更高精度的支持。在本文中,我们通过扩展 RaBitQ 引入了一种新的量化方法来解决这一限制。新方法继承了 RaBitQ 的理论保证,并在空间和误差边界的权衡方面实现了渐进最优,这一点将在本研究中得到证明。此外,我们还介绍了该方法的高效实现,使其能够应用于 ANN 查询,从而减少空间和时间消耗。在真实世界数据集上进行的大量实验证实,在使用相同内存量的情况下,我们的方法在准确性和效率上都一直优于现有的基准线。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信