mlsanityData to 14 Oct 2026

SamToNe: Improving Contrastive Loss for Dual Encoder Retrieval Models with Same Tower Negatives

arXiv 2306.02516 ↗First posted 5 Jun 2023cs.LG cs.IRcited by 9

Not on the map. Why?

Abstract (arXiv)

Dual encoders have been used for retrieval tasks and representation learning with good results. A standard way to train dual encoders is using a contrastive loss with in-batch negatives. In this work, we propose an improved contrastive learning objective by adding queries or documents from the same encoder towers to the negatives, for which we name it as "contrastive loss with SAMe TOwer NEgatives" (SamToNe). By evaluating on question answering retrieval benchmarks from MS MARCO and MultiReQA, and heterogenous zero-shot information retrieval benchmarks (BEIR), we demonstrate that SamToNe can effectively improve the retrieval quality for both symmetric and asymmetric dual encoders. By directly probing the embedding spaces of the two encoding towers via the t-SNE algorithm (van der Maaten and Hinton, 2008), we observe that SamToNe ensures the alignment between the embedding spaces from the two encoder towers. Based on the analysis of the embedding distance distributions of the top-1 retrieved results, we further explain the efficacy of the method from the perspective of regularisation.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 18 of its 24 references that are in the map. First posted on arXiv 5 Jun 2023.

Builds on

18 of 24 references.

References · 18

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  3. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  4. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  5. 2017Billion-scale similarity search with GPUscited by 2,497
  6. 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,605
  7. 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,252
  8. 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 905
  9. 2021Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text Modelscited by 463
  10. 2021Large Dual Encoders Are Generalizable Retrieverscited by 456
  11. 2017Efficient Natural Language Response Suggestion for Smart Replycited by 229
  12. 2019Multilingual Universal Sentence Encoder for Semantic Retrievalcited by 193
6 more
  1. 2017Neural Ranking Models with Weak Supervisioncited by 61
  2. 2019Improving Multilingual Sentence Embedding using Bi-directional Dual Encoder with Additive Margin Softmaxcited by 58
  3. 2021PAIR: Leveraging Passage-Centric Similarity Relation for Improving Dense Passage Retrievalcited by 50
  4. 2018End-to-End Retrieval in Continuous Spacecited by 46
  5. 2020MultiReQA: A Cross-Domain Evaluation for Retrieval Question Answering Modelscited by 23
  6. 2022Exploring Dual Encoder Architectures for Question Answeringcited by 19

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 3; 2025: 5.

9 papers.