Norm-Explicit Quantization: Improving Vector Quantization for Maximum Inner Product Search
Xinyan Dai, Xiao Yan, Kelvin Kai Wing Ng, Jiu Liu, James Cheng
Abstract
Vector quantization (VQ) techniques are widely used in similarity search for data compression, computation acceleration and etc. Originally designed for Euclidean distance, existing VQ techniques (e.g., PQ, AQ) explicitly or implicitly minimize the quantization error. In this paper, we present a new angle to analyze the quantization error, which decomposes the quantization error into norm error and direction error. We show that quantization errors in norm have much higher influence on inner products than quantization errors in direction, and small quantization error does not necessarily lead to good performance in maximum inner product search (MIPS). Based on this observation, we propose norm-explicit quantization (NEQ) -a general paradigm that improves existing VQ techniques for MIPS. NEQ quantizes the norms of items in a dataset explicitly to reduce errors in norm, which is crucial for MIPS. For the direction vectors, NEQ can simply reuse an existing VQ technique to quantize them without modification. We conducted extensive experiments on a variety of datasets and parameter configurations. The experimental results show that NEQ improves the performance of various VQ techniques for MIPS, including PQ, OPQ, RQ and AQ. The definition of MIPS can be easily extended to top-k inner product search, which is used more commonly in practice. MIPS has many important applications such as recommendation based on user and item embeddings (Koren, Bell, and Volinsky 2009), multi-class classification with linear classifier (Dean et al. 2013), and object matching in computer vision (Felzenszwalb et al. 2010). Recently, MIPS is also
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 cd6640db-2e75-4b47-91de-7613a8b3643aCited by top-tier papers14
- FARGO: Fast Maximum Inner Product Search via Global Multi-ProbingXi Zhao, Bolong Zheng, Xiaomeng Yi, Xiaofan Luan et al.VLDB 2023 · 22 citations
- Linear-Time Self Attention with Codeword Histogram for Efficient RecommendationYongji Wu, Defu Lian, Neil Zhenqiang Gong, Lu Yin et al.WWW 2021 · 18 citations
- Knowledge Distillation for High Dimensional Search IndexZepu Lu, Jin Chen, Defu Lian, Zaixi Zhang et al.NeurIPS 2023 · 10 citations
- Product Quantizer Aware Inverted Index for Scalable Nearest Neighbor SearchHae-Chan Noh, Taeho Kim, Jae-Pil HeoICCV 2021 · 9 citations
- Probabilistic Routing for Graph-Based Approximate Nearest Neighbor SearchKejing Lu, Chuan Xiao, Yoshiharu IshikawaICML 2024 · 9 citations
Related papers
- Differentiable Optimized Product Quantization and BeyondZepu Lu, Defu Lian, Jin Zhang, Zaixi Zhang et al.WWW 2023 · 11 citations
- Query-Aware Quantization for Maximum Inner Product SearchJin Zhang, Defu Lian, Haodi Zhang, Baoyun Wang et al.AAAI 2023 · 15 citations
- 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
- Anisotropic Additive Quantization for Fast Inner Product SearchJin Zhang, Qi Liu, Defu Lian, Zheng Liu et al.AAAI 2022 · 12 citations
- DeltaPQ: Lossless Product Quantization Code Compression for High Dimensional Similarity SearchRunhui Wang, Dong DengVLDB 2020 · 31 citations
