English

SimANS: Simple Ambiguous Negatives Sampling for Dense Text Retrieval

Computation and Language 2022-10-25 v2 Information Retrieval

Abstract

Sampling proper negatives from a large document pool is vital to effectively train a dense retrieval model. However, existing negative sampling strategies suffer from the uninformative or false negative problem. In this work, we empirically show that according to the measured relevance scores, the negatives ranked around the positives are generally more informative and less likely to be false negatives. Intuitively, these negatives are not too hard (\emph{may be false negatives}) or too easy (\emph{uninformative}). They are the ambiguous negatives and need more attention during training. Thus, we propose a simple ambiguous negatives sampling method, SimANS, which incorporates a new sampling probability distribution to sample more ambiguous negatives. Extensive experiments on four public and one industry datasets show the effectiveness of our approach. We made the code and models publicly available in \url{https://github.com/microsoft/SimXNS}.

Keywords

Cite

@article{arxiv.2210.11773,
  title  = {SimANS: Simple Ambiguous Negatives Sampling for Dense Text Retrieval},
  author = {Kun Zhou and Yeyun Gong and Xiao Liu and Wayne Xin Zhao and Yelong Shen and Anlei Dong and Jingwen Lu and Rangan Majumder and Ji-Rong Wen and Nan Duan and Weizhu Chen},
  journal= {arXiv preprint arXiv:2210.11773},
  year   = {2022}
}

Comments

12 pages, accepted by EMNLP 2022

R2 v1 2026-06-28T04:09:14.393Z