Product quantization with non-uniform bit allocation based on rate-distortion theory

  • LUO Xuliyuan ,
  • XU Xiaoliang
Expand
  • School of Computer, Hangzhou Dianzi University, Hangzhou Zhejiang 310018, China

Received date: 2025-03-03

  Online published: 2025-12-16

Abstract

Product quantization, as an efficient high-dimensional vector data compression technique, is widely applied in the field of approximate nearest neighbor search. However, its existing non-uniform bit allocation methods struggle to adapt to complex real-world data distributions due to a lack of theoretical support. To address this, a theoretical solution to the non-uniform bit allocation problem has been derived from the rate-distortion theorem in information theory, and a bit allocation model adaptable to the information content of the subspaces has been proposed. This model consists of three parts: subspace information calculation, bit weight generation, and bit number optimization, aiming at enhancing the precision and generalization capability of quantization. Furthermore, to improve the search performance after quantization, an optimized subspace pruning algorithm has been designed. This algorithm precomputes the minimum distance of subspaces to filter out a significant number of non-neighbor vectors, effectively resolving the pruning failure issue caused by short sums of space distances. Experimental results on multiple real-world datasets indicate that the proposed method has achieved a nearly 30% improvement in search accuracy and nearly a 2.8-fold increase in query efficiency.

Cite this article

LUO Xuliyuan , XU Xiaoliang . Product quantization with non-uniform bit allocation based on rate-distortion theory[J]. Journal of Hangzhou Dianzi University, 2025 , 45(6) : 22 -30 . DOI: 10.13954/j.cnki.hdu.2025.06.003

References

[1]邵伟, 朱高宇, 于雷, 等. 高维数据的降维与检索算法[J]. 山东大学学报(理学版), 2024, 59(7): 27-43.
[2]GAO J, LONG C. High-dimensional approximate nearest neighbor search: with reliable and efficient distance comparison operations[J]. Proceedings of the ACM on Management of Data, 2023, 1(2): 1-27.
[3]LI W, ZHANG Y, SUN Y, et al. Approximate nearest neighbor search on high dimensional data: experiments, analyses, and improvement[J]. IEEE Transactions on Knowledge and Data Engineering, 2020, 32(8): 1475-1488.
[4]CHEN G, LI X, YANG Y, et al. Neural clustering based visual representation learning[C]//2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition(CVPR). June 16-22, 2024, Seattle, WA, USA. IEEE, 2024: 5714-5725.
[5]KE Y, SUKTHANKAR R, HUSTON L. An efficient parts-based near-duplicate and sub-image retrieval system[C]//Proceedings of the 12th annual ACM international conference on Multimedia. October 10-16, 2004, New York, NY, USA. ACM, 2004: 869-876.
[6]WANG M, XU X, YUE Q, et al. A comprehensive survey and experimental comparison of graph-Based approximate nearest neighbor search[J]. Proceedings of the VLDB Endowment, 2021, 14(1): 1964-1978.
[7]JEGOU H, DOUZE M, SCHMID C. Product quantization for nearest neighbor search[J]. IEEETransactions on Pattern Analysis and Machine Intelligence, 2011, 33(1): 117-128.
[8]GE T, HE K, KE Q, et al. Optimized product quantization[J]. IEEETransactions on Pattern Analysis and Machine Intelligence, 2014, 36(4): 744-755.
[9]陈伟林. 基于乘积量化的近似近邻检索及异常检测[D]. 福州: 福建师范大学, 2023.
[10]PAPARRIZOS J, EDIAN I, LIU C, et al. Fast adaptive similarity search through variance-aware quantization[C]//2022 IEEE 38th International Conference on Data Engineering (ICDE). IEEE, 2022: 2969-2983.
[11]GRAY R. Vector quantization[J]. IEEE ASSP Magazine, 1984, 1(2): 4-29.
[12]GUO Q Z, ZENG Z, ZHANG S, et al. Adaptive bit allocation product quantization[J]. Neurocomputing, 2016, 171: 866-877.
[13]LI L, HU Q, HAN Y, et al. Distribution sensitive product quantization[J]. IEEE Transactions on Circuits and Systems for Video Technology, 2018, 28(12): 3504-3515.
[14]THOMAS M, JOY A T. Elements of Information Theory[M]. Hoboken: Wiley-Interscience, 2006.
[15]AMSALEG L, JEGOU H. Datasets for approximate nearest neighbor search[EB/OL]. (2010-09-01)[2025-03-03]. http://corpus-texmex.irisa.fr/.
Outlines

/

〈 〉