Jianyang Gao, Yutong Gou, Yuexuan Xu, Yongyi Yang, Cheng Long, Raymond Chi-Wing Wong
{"title":"欧几里得空间中高维向量的实用和渐近最优量化,用于近似近邻搜索","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":"{\"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}","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
摘要
高维欧几里得空间中的近似近邻(ANN)查询是数据库系统中的一个关键操作。对于这种查询,量化是为压缩向量和减少内存消耗而开发的一系列常用方法。最近,一种名为 RaBitQ 的方法在这些方法中取得了最先进的性能。当使用相同的压缩率时,它在准确性和效率方面都有更好的经验表现,并提供了严格的理论保证。然而,该方法仅针对高压缩率(32x)下的矢量压缩而设计,缺乏通过使用更多空间来实现更高精度的支持。在本文中,我们通过扩展 RaBitQ 引入了一种新的量化方法来解决这一限制。新方法继承了 RaBitQ 的理论保证,并在空间和误差边界的权衡方面实现了渐进最优,这一点将在本研究中得到证明。此外,我们还介绍了该方法的高效实现,使其能够应用于 ANN 查询,从而减少空间和时间消耗。在真实世界数据集上进行的大量实验证实,在使用相同内存量的情况下,我们的方法在准确性和效率上都一直优于现有的基准线。
Practical and Asymptotically Optimal Quantization of High-Dimensional Vectors in Euclidean Space for Approximate Nearest Neighbor Search
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.