Joint Learning of Deep Retrieval Model and Product Quantization based Embedding Index

Han Zhang, Hongwei Shen, Yiming Qiu, Yunjiang Jiang, Songlin Wang +4 more
5/9/2021
cs.IR

Official code: jdcomsearch/poeem (62 stars, Jupyter Notebook, MIT, last commit 2021-07-07).

Abstract

Embedding index that enables fast approximate nearest neighbor(ANN) search, serves as an indispensable component for state-of-the-art deep retrieval systems. Traditional approaches, often separating the two steps of embedding learning and index building, incur additional indexing time and decayed retrieval accuracy.

Show full abstract

In this paper, we propose a novel method called Poeem, which stands for product quantization based embedding index jointly trained with deep retrieval model, to unify the two separate steps within an end-to-end training, by utilizing a few techniques including the gradient straight-through estimator, warm start strategy, optimal space decomposition and Givens rotation. Extensive experimental results show that the proposed method not only improves retrieval accuracy significantly but also reduces the indexing time to almost none. We have open sourced our approach for the sake of comparison and reproducibility.

View on arXivView PDF

Code Implementations(1)

jdcomsearch/poeemOfficial100%
MIT

A library for end-to-end learning of embedding index and retrieval model

6223Jupyter Notebook, C++May 11, 20215 years agoMIT

Similar Papers

Cite this paper

@article{zhang2021joint,
  title  = {Joint Learning of Deep Retrieval Model and Product Quantization based Embedding Index},
  author = {Han Zhang and Hongwei Shen and Yiming Qiu and Yunjiang Jiang and Songlin Wang and Sulong Xu and Yun Xiao and Bo Long and Wen-Yun Yang},
  year   = {2021},
  eprint = {2105.03933},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.03933}
}

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/2105.03933.svg)](https://codeofpaper.com/paper/2105.03933)

Discussion