No Parameter Left Behind: How Distillation and Model Size Affect Zero-Shot Retrieval

Guilherme Moraes Rosa, Luiz Bonifacio, Vitor Jeronymo, Hugo Abonizio, Marzieh Fadaee +2 more
6/6/2022
cs.IRcs.CLcs.PF
distillation

Official code: guilhermemr04/scaling-zero-shot-retrieval (29 stars, Jupyter Notebook, last commit 2022-09-26).

Abstract

Recent work has shown that small distilled language models are strong competitors to models that are orders of magnitude larger and slower in a wide range of information retrieval tasks. This has made distilled and dense models, due to latency constraints, the go-to choice for deployment in real-world retrieval applications.

Show full abstract

In this work, we question this practice by showing that the number of parameters and early query-document interaction play a significant role in the generalization ability of retrieval models. Our experiments show that increasing model size results in marginal gains on in-domain test sets, but much larger gains in new domains never seen during fine-tuning. Furthermore, we show that rerankers largely outperform dense ones of similar size in several tasks. Our largest reranker reaches the state of the art in 12 of the 18 datasets of the Benchmark-IR (BEIR) and surpasses the previous state of the art by 3 average points. Finally, we confirm that in-domain effectiveness is not a good indicator of zero-shot effectiveness. Code is available at https://github.com/guilhermemr04/scaling-zero-shot-retrieval.git

View on arXivView PDF

Code Implementations(1)

No Parameter Left Behind: How Distillation and Model Size Affect Zero-Shot Retrieval

292Jupyter NotebookMay 25, 20224 years ago

Similar Papers

Cite this paper

@article{rosa2022parameter,
  title  = {No Parameter Left Behind: How Distillation and Model Size Affect Zero-Shot Retrieval},
  author = {Guilherme Moraes Rosa and Luiz Bonifacio and Vitor Jeronymo and Hugo Abonizio and Marzieh Fadaee and Roberto Lotufo and Rodrigo Nogueira},
  year   = {2022},
  eprint = {2206.02873},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.02873}
}

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

Discussion