Hybrid Inverted Index Is a Robust Accelerator for Dense Retrieval

Peitian Zhang, Zheng Liu, Shitao Xiao, Zhicheng Dou, Jing Yao
10/11/2022
cs.IRcs.AI

Official code: namespace-Pt/Adon (17 stars, Python, MIT, last commit 2024-04-03).

Abstract

Inverted file structure is a common technique for accelerating dense retrieval. It clusters documents based on their embeddings; during searching, it probes nearby clusters w.r.t. an input query and only evaluates documents within them by subsequent codecs, thus avoiding the expensive cost of exhaustive traversal.

Show full abstract

However, the clustering is always lossy, which results in the miss of relevant documents in the probed clusters and hence degrades retrieval quality. In contrast, lexical matching, such as overlaps of salient terms, tends to be strong feature for identifying relevant documents. In this work, we present the Hybrid Inverted Index (HI$^2$), where the embedding clusters and salient terms work collaboratively to accelerate dense retrieval. To make best of both effectiveness and efficiency, we devise a cluster selector and a term selector, to construct compact inverted lists and efficiently searching through them. Moreover, we leverage simple unsupervised algorithms as well as end-to-end knowledge distillation to learn these two modules, with the latter further boosting the effectiveness. Based on comprehensive experiments on popular retrieval benchmarks, we verify that clusters and terms indeed complement each other, enabling HI$^2$ to achieve lossless retrieval quality with competitive efficiency across various index settings. Our code and checkpoint are publicly available at https://github.com/namespace-Pt/Adon/tree/HI2.

View on arXivView PDF

Code Implementations(1)

namespace-Pt/AdonOfficial100%
MIT

An all-in-one framework for Ad-hoc Information Retrieval.

170Python, ShellDec 31, 20222 years agoMIT

Similar Papers

Cite this paper

@article{zhang2022hybrid,
  title  = {Hybrid Inverted Index Is a Robust Accelerator for Dense Retrieval},
  author = {Peitian Zhang and Zheng Liu and Shitao Xiao and Zhicheng Dou and Jing Yao},
  year   = {2022},
  eprint = {2210.05521},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.05521}
}

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

Discussion