An Efficiency Study for SPLADE Models

Carlos Lassance, Stéphane Clinchant
7/8/2022
cs.IRcs.CL

No official code found. Best implementation: naver/splade (999 stars, last commit 2024-05-03).

Abstract

Latency and efficiency issues are often overlooked when evaluating IR models based on Pretrained Language Models (PLMs) in reason of multiple hardware and software testing scenarios. Nevertheless, efficiency is an important part of such systems and should not be overlooked. In this paper, we focus on improving the efficiency of the SPLADE model since it has achieved state-of-the-art zero-shot performance and competitive results on TREC collections. SPLADE efficiency can be controlled via a regularization factor, but solely controlling this regularization has been shown to not be efficient enough. In order to reduce the latency gap between SPLADE and traditional retrieval systems, we propose several techniques including L1 regularization for queries, a separation of document/query encoders, a FLOPS-regularized middle-training, and the use of faster query encoders. Our benchmark demonstrates that we can drastically improve the efficiency of these models while increasing the performance metrics on in-domain data. To our knowledge, {we propose the first neural models that, under the same computing constraints, \textit{achieve similar latency (less than 4ms difference) as traditional BM25}, while having \textit{similar performance (less than 10\% MRR@10 reduction)} as the state-of-the-art single-stage neural rankers on in-domain data}.

View on arXivView PDF

Code Implementations(1)

naver/spladeCommunity100%

SPLADE: sparse neural search (SIGIR21, SIGIR22)

99997Shell, PythonJul 14, 20212 years agoNOASSERTION
bertinformation-retrievalnlppassage-retrievalsparse+1 more

Similar Papers

Cite this paper

@article{lassance2022efficiency,
  title  = {An Efficiency Study for SPLADE Models},
  author = {Carlos Lassance and Stéphane Clinchant},
  year   = {2022},
  eprint = {2207.03834},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.03834v1}
}

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

Discussion