Query-Aware Quantization for Maximum Inner Product Search
Jin Zhang, Defu Lian, Haodi Zhang, Baoyun Wang, Enhong Chen
Abstract
Maximum Inner Product Search (MIPS) plays an essential role in many applications ranging from information retrieval, recommender systems to natural language processing. However, exhaustive MIPS is often expensive and impractical when there are a large number of candidate items. The state-of-the-art quantization method of approximated MIPS is product quantization with a score-aware loss, developed by assuming that queries are uniformly distributed in the unit sphere. However, in real-world datasets, the above assumption about queries does not necessarily hold. To this end, we propose a quantization method based on the distribution of queries combined with sampled softmax. Further, we introduce a general framework encompassing the proposed method and multiple quantization methods, and we develop an effective optimization for the proposed general framework. The proposed method is evaluated on three real-world datasets. The experimental results show that it outperforms the state-of-the-art baselines.
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.
Cited by top-tier papers3
- Maximum Inner Product is Query-Scaled Nearest NeighborTingyang Chen, Cong Fu, Kun Wang, Xiangyu Ke et al.VLDB 2025 · 5 citations
- Learning Category Trees for ID-Based Recommendation: Exploring the Power of Differentiable Vector QuantizationQijiong Liu, Jiaren Xiao, Lu Fan, Jieming Zhu et al.WWW 2024 · 2 citations
- RAIRS: Optimizing Redundant Assignment and List Layout for IVF-Based ANN SearchZehai Yang, Shimin ChenSIGMOD 2026 · 2 citations
Builds on3
- Accelerating Large-Scale Inference with Anisotropic Vector QuantizationRuiqi Guo, Philip Sun, Erik Lindgren, Quan Geng et al.ICML 2020 · 539 citations
- LRC-BERT: Latent-representation Contrastive Knowledge Distillation for Natural Language UnderstandingHao Fu, Shaojun Zhou, Qihong Yang, Junjie Tang et al.AAAI 2021 · 68 citations
- Anisotropic Additive Quantization for Fast Inner Product SearchJin Zhang, Qi Liu, Defu Lian, Zheng Liu et al.AAAI 2022 · 12 citations
Related papers
- Fast Vector Quantization Algorithm for ScaNNYasuhiro Fujiwara, Ángel López García-Arias, Yasutoshi Ida, Atsutoshi Kumagai et al.KDD 2026
- 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
- Faster Maximum Inner Product Search in High DimensionsMo Tiwari, Ryan Kang, Jaeyong Lee, Donghyun Lee et al.ICML 2024 · 6 citations
- Retrieval with Learned SimilaritiesBailu Ding, Jiaqi ZhaiWWW 2025 · 3 citations
- Differentiable Optimized Product Quantization and BeyondZepu Lu, Defu Lian, Jin Zhang, Zaixi Zhang et al.WWW 2023 · 11 citations
