Salient Phrase Aware Dense Retrieval: Can a Dense Retriever Imitate a Sparse One?

Xilun Chen, Kushal Lakhotia, Barlas Oğuz, Anchit Gupta, Patrick Lewis +4 more
10/13/2021
94 citations
cs.CLcs.IRcs.LG

Official code: facebookresearch/dpr-scale (297 stars, Python, last commit 2026-04-08).

Abstract

Despite their recent popularity and well-known advantages, dense retrievers still lag behind sparse methods such as BM25 in their ability to reliably match salient phrases and rare entities in the query and to generalize to out-of-domain data. It has been argued that this is an inherent limitation of dense models.

Show full abstract

We rebut this claim by introducing the Salient Phrase Aware Retriever (SPAR), a dense retriever with the lexical matching capacity of a sparse model. We show that a dense Lexical Model Λ can be trained to imitate a sparse one, and SPAR is built by augmenting a standard dense retriever with Λ. Empirically, SPAR shows superior performance on a range of tasks including five question answering datasets, MS MARCO passage retrieval, as well as the EntityQuestions and BEIR benchmarks for out-of-domain evaluation, exceeding the performance of state-of-the-art dense and sparse retrievers. The code and models of SPAR are available at: https://github.com/facebookresearch/dpr-scale/tree/main/spar

View on arXivView PDF

Code Implementations(1)

Scalable training for dense retrieval models.

29732PythonOct 20, 20217 months ago

Similar Papers

Cite this paper

@article{chen2021salient,
  title  = {Salient Phrase Aware Dense Retrieval: Can a Dense Retriever Imitate a Sparse One?},
  author = {Xilun Chen and Kushal Lakhotia and Barlas Oğuz and Anchit Gupta and Patrick Lewis and Stan Peshterliev and Yashar Mehdad and Sonal Gupta and Wen-tau Yih},
  year   = {2021},
  eprint = {2110.06918},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.06918}
}

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

Discussion