Matching-oriented Embedding Quantization For Ad-hoc Retrieval
Shitao Xiao, Zheng Liu, Yingxia Shao, Defu Lian, Xing Xie
Abstract
Product quantization (PQ) is a widely used technique for ad-hoc retrieval. Recent studies propose supervised PQ, where the embedding and quantization models can be jointly trained with supervised learning. However, there is a lack of appropriate formulation of the joint training objective; thus, the improvements over previous non-supervised baselines are limited in reality. In this work, we propose the Matching-oriented Product Quantization (MoPQ), where a novel objective Multinoulli Contrastive Loss (MCL) is formulated. With the minimization of MCL, we are able to maximize the matching probability of query and ground-truth key, which contributes to the optimal retrieval accuracy. Given that the exact computation of MCL is intractable due to the demand of vast contrastive samples, we further propose the Differentiable Cross-device Sampling (DCS), which significantly augments the contrastive samples for precise approximation of MCL. We conduct extensive experimental studies on four realworld datasets, whose results verify the effectiveness of MoPQ. The code is available at https://github.com/microsoft/MoPQ . †. Work is done during the internship at Microsoft. * . Corresponding author. 1. We adopt the Asymmetric Distance Computation (ADC) (Jégou et al., 2011) , where only keys need to be quantized.
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 papers6
- Distill-VQ: Learning Retrieval Oriented Vector Quantization By Distilling Knowledge from Dense EmbeddingsShitao Xiao, Zheng Liu, Weihao Han, Jianjin Zhang et al.SIGIR 2022 · 31 citations
- Progressively Optimized Bi-Granular Document Representation for Scalable Embedding Based RetrievalShitao Xiao, Zheng Liu, Weihao Han, Jianjin Zhang et al.WWW 2022 · 19 citations
- Model-enhanced Vector IndexHailin Zhang, Yujing Wang, Qi Chen, Ruiheng Chang et al.NeurIPS 2023 · 12 citations
- Efficient Document Retrieval by End-to-End Refining and Quantizing BERT Embedding with Contrastive Product QuantizationZexuan Qiu, Qinliang Su, Jianxing Yu, Shijing SiEMNLP 2022 · 4 citations
- Hybrid Inverted Index Is a Robust Accelerator for Dense RetrievalPeitian Zhang, Zheng Liu, Shitao Xiao, Zhicheng Dou et al.EMNLP 2023 · 4 citations
Builds on4
- MIND: A Large-scale Dataset for News RecommendationFangzhao Wu, Ying Qiao, Jiun-Hung Chen, Chuhan Wu et al.ACL 2020 · 454 citations
- Scalable Zero-shot Entity Linking with Dense Entity RetrievalLedell Wu, Fabio Petroni, Martin Josifoski, Sebastian Riedel et al.EMNLP 2020 · 336 citations
- Dense Passage Retrieval for Open-Domain Question AnsweringVladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick Lewis et al.EMNLP 2020 · 142 citations
- Differentiable Product Quantization for End-to-End Embedding CompressionTing Chen, Lala Li, Yizhou SunICML 2020 · 81 citations
Related papers
- Self-supervised Product Quantization for Deep Unsupervised Image RetrievalYoung Kyun Jang, Nam Ik ChoICCV 2021 · 90 citations
- Differentiable Optimized Product Quantization and BeyondZepu Lu, Defu Lian, Jin Zhang, Zaixi Zhang et al.WWW 2023 · 11 citations
- Contrastive Quantization with Code Memory for Unsupervised Image RetrievalJinpeng Wang, Ziyun Zeng, Bin Chen, Tao Dai et al.AAAI 2022 · 56 citations
- HiHPQ: Hierarchical Hyperbolic Product Quantization for Unsupervised Image RetrievalZexuan Qiu, Jiahong Liu, Yankai Chen, Irwin KingAAAI 2024 · 14 citations
- Generalized Product Quantization Network for Semi-Supervised Image RetrievalYoung Kyun Jang, Nam Ik ChoCVPR 2020
