SamToNe: Improving Contrastive Loss for Dual Encoder Retrieval Models with Same Tower Negatives
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
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
- 2017Billion-scale similarity search with GPUscited by 2,497
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,605
- 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,252
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 905
- 2021Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text Modelscited by 463
- 2021Large Dual Encoders Are Generalizable Retrieverscited by 456
- 2017Efficient Natural Language Response Suggestion for Smart Replycited by 229
- 2019Multilingual Universal Sentence Encoder for Semantic Retrievalcited by 193
6 more
- 2017Neural Ranking Models with Weak Supervisioncited by 61
- 2019Improving Multilingual Sentence Embedding using Bi-directional Dual Encoder with Additive Margin Softmaxcited by 58
- 2021PAIR: Leveraging Passage-Centric Similarity Relation for Improving Dense Passage Retrievalcited by 50
- 2018End-to-End Retrieval in Continuous Spacecited by 46
- 2020MultiReQA: A Cross-Domain Evaluation for Retrieval Question Answering Modelscited by 23
- 2022Exploring Dual Encoder Architectures for Question Answeringcited by 19
Built on by
Citing papers per year: 2023: 1; 2024: 3; 2025: 5.
9 papers.
- 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 723
- 2025Gemini Embedding: Generalizable Embeddings from Geminicited by 94
- 2024Gecko: Versatile Text Embeddings Distilled from Large Language Modelscited by 83
- 2025Llama-Embed-Nemotron-8B: A Universal Text Embedding Model for Multilingual and Cross-Lingual Taskscited by 51
- 2024Recent advances in text embedding: A Comprehensive Review of Top-Performing Methods on the MTEB Benchmarkcited by 19
- 2025Adapting Decoder-Based Language Models for Diverse Encoder Downstream Taskscited by 10
- 2025Towards Better Instruction Following Retrieval Modelscited by 9
- 2024How effective is Multi-source pivoting for Translation of Low Resource Indian Languages?cited by 1
- 2025Optimizing What Matters: AUC-Driven Learning for Robust Neural Retrievalcited by 0
- 2025Llama-Embed-Nemotron-8B: A Universal Text Embedding Model for Multilingual and Cross-Lingual Tasks10 Nov 2025
- 2025Optimizing What Matters: AUC-Driven Learning for Robust Neural Retrieval30 Sep 2025
- 2025Towards Better Instruction Following Retrieval Models27 May 2025
- 2025Gemini Embedding: Generalizable Embeddings from Gemini10 Mar 2025
- 2025Adapting Decoder-Based Language Models for Diverse Encoder Downstream Tasks4 Mar 2025
- 2024How effective is Multi-source pivoting for Translation of Low Resource Indian Languages?19 Jun 2024
- 2024Recent advances in text embedding: A Comprehensive Review of Top-Performing Methods on the MTEB Benchmark27 May 2024
- 2024Gecko: Versatile Text Embeddings Distilled from Large Language Models29 Mar 2024
- 2023Towards General Text Embeddings with Multi-stage Contrastive Learning7 Aug 2023