DeltaPQ: Lossless Product Quantization Code Compression for High Dimensional Similarity Search
Runhui Wang, Dong Deng
Abstract
High dimensional data is ubiquitous and plays an important role in many applications. However, the size of high dimensional data is usually excessively large. To alleviate this problem, in this paper, we develop novel techniques to compress and search high dimensional data. Specifically, we first apply vector quantization, a classical lossy data compression method. It quantizes a high dimensional vector to a sequence of small integers, namely the quantization code. Then, we propose a novel lossless compression algorithm, DeltaPQ, to further compress the quantization codes. DeltaPQ organizes the quantization codes in a tree structure and stores the differences between two quantization codes rather than the original codes. Among the exponential number of possible tree structures, we develop an efficient algorithm, whose time and space complexity are linear to the number of codes, to find the one with optimal compression ratio. The approximate nearest neighbor search query can be processed directly on the compressed data with small space overhead in a few bytes. Many similarity measures can be supported, such as inner product, cosine similarity, Euclidean distance, and Lp-norm. Experimental results on five large-scale real-world datasets show that DeltaPQ achieves a compression ratio of up to 5 (and often greater than 2) on the quantization codes whereas the state-of-art general-purpose lossless compression algorithms barely work.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext a7924b91-ff34-47f4-8d44-dfb252553f2bCited by top-tier papers20
- Similarity search in the blink of an eye with compressed indicesCecilia Aguerrebere, Ishwar Singh Bhati, Mark Hildebrand, Mariano Tepper et al.VLDB 2023 · 64 citations
- SeRF: Segment Graph for Range-Filtering Approximate Nearest Neighbor SearchChaoji Zuo, Miao Qiao, Wenchao Zhou, Feifei Li et al.SIGMOD 2024 · 41 citations
- iQAN: Fast and Accurate Vector Search with Efficient Intra-Query Parallelism on Multi-Core ArchitecturesZhen Peng, Minjia Zhang, Kai Li, Ruoming Jin et al.PPoPP 2023 · 20 citations
- PQCache: Product Quantization-based KVCache for Long Context LLM InferenceHailin Zhang, Xiaodong Ji, Yilin Chen, Fangcheng Fu et al.SIGMOD 2025 · 13 citations
- Dynamic Range-Filtering Approximate Nearest Neighbor SearchZhencan Peng, Miao Qiao, Wenchao Zhou, Feifei Li et al.VLDB 2025 · 10 citations
Builds on1
Related papers
- SAQ: Pushing the Limits of Vector Quantization through Code Adjustment and Dimension SegmentationHui Li, Shiyuan Deng, Xiao Yan, Xiangyu Zhi et al.SIGMOD 2026 · 1 citation
- Norm-Explicit Quantization: Improving Vector Quantization for Maximum Inner Product SearchXinyan Dai, Xiao Yan, Kelvin Kai Wing Ng, Jiu Liu et al.AAAI 2020 · 34 citations
- Not Small Enough? SegPQ: A Learned Approach to Compress Product Quantization CodebooksQiyu Liu, Yanlin Qi, Siyuan Han, Jingshu Peng et al.VLDB 2025 · 1 citation
- Quantization Meets Projection: A Happy Marriage for Approximate k-Nearest Neighbor SearchMingyu Yang, Liuchang Jing, Wentao Li, Wei WangVLDB 2026
- Fast Adaptive Similarity Search through Variance-Aware QuantizationJohn Paparrizos, Ikraduya Edian, Chunwei Liu, Aaron J. Elmore et al.ICDE 2022 · 34 citations
