Rethinking Dense Retrieval's Few-Shot Ability

Si Sun, Yida Lu, Shi Yu, Xiangyang Li, Zhonghua Li +4 more
4/12/2023
1 citation
cs.CL

Official code: OpenMatch/ANCE-Tele (18 stars, Python, MIT, last commit 2024-03-25).

Abstract

Few-shot dense retrieval (DR) aims to effectively generalize to novel search scenarios by learning a few samples. Despite its importance, there is little study on specialized datasets and standardized evaluation protocols.

Show full abstract

As a result, current methods often resort to random sampling from supervised datasets to create "few-data" setups and employ inconsistent training strategies during evaluations, which poses a challenge in accurately comparing recent progress. In this paper, we propose a customized FewDR dataset and a unified evaluation benchmark. Specifically, FewDR employs class-wise sampling to establish a standardized "few-shot" setting with finely-defined classes, reducing variability in multiple sampling rounds. Moreover, the dataset is disjointed into base and novel classes, allowing DR models to be continuously trained on ample data from base classes and a few samples in novel classes. This benchmark eliminates the risk of novel class leakage, providing a reliable estimation of the DR model's few-shot ability. Our extensive empirical results reveal that current state-of-the-art DR models still face challenges in the standard few-shot scene. Our code and data will be open-sourced at https://github.com/OpenMatch/ANCE-Tele.

View on arXivView PDF

Code Implementations(1)

MIT

Code and data of the EMNLP 2022 Main Conference paper "Reduce Catastrophic Forgetting of Dense Retrieval Training with Teleportation Negatives".

181Python, ShellOct 10, 20222 years agoMIT
catastrophic-forgettingdense-retrievalhard-negative-mininginformation-retrievaltraining-stability

Similar Papers

Cite this paper

@article{sun2023rethinking,
  title  = {Rethinking Dense Retrieval's Few-Shot Ability},
  author = {Si Sun and Yida Lu and Shi Yu and Xiangyang Li and Zhonghua Li and Zhao Cao and Zhiyuan Liu and Deiming Ye and Jie Bao},
  year   = {2023},
  eprint = {2304.05845},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.05845v1}
}

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

Discussion