Matching-oriented Product Quantization For Ad-hoc Retrieval

Shitao Xiao, Zheng Liu, Yingxia Shao, Defu Lian, Xing Xie
4/16/2021
10 citations
cs.CLcs.IR

Official code: microsoft/MoPQ (13 stars, Python, MIT, last commit 2021-11-26).

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.

Show full abstract

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 real-world datasets, whose results verify the effectiveness of MoPQ. The code is available at https://github.com/microsoft/MoPQ.

View on arXivView PDF

Code Implementations(1)

microsoft/MoPQOfficial100%
MIT
136PythonSep 3, 20215 years agoMIT

Similar Papers

Cite this paper

@article{xiao2021matchingoriented,
  title  = {Matching-oriented Product Quantization For Ad-hoc Retrieval},
  author = {Shitao Xiao and Zheng Liu and Yingxia Shao and Defu Lian and Xing Xie},
  year   = {2021},
  eprint = {2104.07858},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.07858}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.07858.svg)](https://codeofpaper.com/paper/2104.07858)

Discussion