Aggretriever: A Simple Approach to Aggregate Textual Representations for Robust Dense Passage Retrieval

Sheng-Chieh Lin, Minghan Li, Jimmy Lin
7/31/2022
cs.IR

Official code: castorini/dhr (65 stars, Python, last commit 2023-04-03).

Abstract

Pre-trained language models have been successful in many knowledge-intensive NLP tasks. However, recent work has shown that models such as BERT are not ``structurally ready'' to aggregate textual information into a [CLS] vector for dense passage retrieval (DPR).

Show full abstract

This ``lack of readiness'' results from the gap between language model pre-training and DPR fine-tuning. Previous solutions call for computationally expensive techniques such as hard negative mining, cross-encoder distillation, and further pre-training to learn a robust DPR model. In this work, we instead propose to fully exploit knowledge in a pre-trained language model for DPR by aggregating the contextualized token embeddings into a dense vector, which we call agg*. By concatenating vectors from the [CLS] token and agg*, our Aggretriever model substantially improves the effectiveness of dense retrieval models on both in-domain and zero-shot evaluations without introducing substantial training overhead. Code is available at https://github.com/castorini/dhr

View on arXivView PDF

Code Implementations(1)

castorini/dhrOfficial100%

Dense hybrid representations for text retrieval

656PythonApr 4, 20223 years ago

Similar Papers

Cite this paper

@article{lin2022aggretriever,
  title  = {Aggretriever: A Simple Approach to Aggregate Textual Representations for Robust Dense Passage Retrieval},
  author = {Sheng-Chieh Lin and Minghan Li and Jimmy Lin},
  year   = {2022},
  eprint = {2208.00511},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.00511}
}

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

Discussion