CODER: An efficient framework for improving retrieval through COntextual Document Embedding Reranking

George Zerveas, Navid Rekabsaz, Daniel Cohen, Carsten Eickhoff
12/16/2021
cs.IRcs.AI

Official code: gzerveas/CODER (8 stars, Python, BSD-3-Clause, last commit 2023-10-21).

Abstract

Contrastive learning has been the dominant approach to training dense retrieval models. In this work, we investigate the impact of ranking context - an often overlooked aspect of learning dense retrieval models.

Show full abstract

In particular, we examine the effect of its constituent parts: jointly scoring a large number of negatives per query, using retrieved (query-specific) instead of random negatives, and a fully list-wise loss. To incorporate these factors into training, we introduce Contextual Document Embedding Reranking (CODER), a highly efficient retrieval framework. When reranking, it incurs only a negligible computational overhead on top of a first-stage method at run time (delay per query in the order of milliseconds), allowing it to be easily combined with any state-of-the-art dual encoder method. After fine-tuning through CODER, which is a lightweight and fast process, models can also be used as stand-alone retrievers. Evaluating CODER in a large set of experiments on the MS~MARCO and TripClick collections, we show that the contextual reranking of precomputed document embeddings leads to a significant improvement in retrieval performance. This improvement becomes even more pronounced when more relevance information per query is available, shown in the TripClick collection, where we establish new state-of-the-art results by a large margin.

View on arXivView PDF

Code Implementations(1)

gzerveas/CODEROfficial100%
BSD-3-Clause

A framework for COntextual Document Embedding Reranking

82Python, ShellApr 18, 20223 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{zerveas2021coder,
  title  = {CODER: An efficient framework for improving retrieval through COntextual Document Embedding Reranking},
  author = {George Zerveas and Navid Rekabsaz and Daniel Cohen and Carsten Eickhoff},
  year   = {2021},
  eprint = {2112.08766},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.08766}
}

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

Discussion