Dense Sparse Retrieval: Using Sparse Language Models for Inference Efficient Dense Retrieval

Daniel Campos, ChengXiang Zhai
3/31/2023
cs.IRcs.AIcs.CL

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Vector-based retrieval systems have become a common staple for academic and industrial search applications because they provide a simple and scalable way of extending the search to leverage contextual representations for documents and queries. As these vector-based systems rely on contextual language models, their usage commonly requires GPUs, which can be expensive and difficult to manage. Given recent advances in introducing sparsity into language models for improved inference efficiency, in this paper, we study how sparse language models can be used for dense retrieval to improve inference efficiency. Using the popular retrieval library Tevatron and the MSMARCO, NQ, and TriviaQA datasets, we find that sparse language models can be used as direct replacements with little to no drop in accuracy and up to 4.3x improved inference speeds

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{campos2023dense,
  title  = {Dense Sparse Retrieval: Using Sparse Language Models for Inference Efficient Dense Retrieval},
  author = {Daniel Campos and ChengXiang Zhai},
  year   = {2023},
  eprint = {2304.00114},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.00114v1}
}

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

Discussion