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.