Dynamic Margin-based Contrastive Learning for Robust Negative Sampling in Information Retrieval
Modern information retrieval (IR) systems, powered by bi-encoder architectures and pretrained language models, rely on effective negative sampling for contrastive learning. While easy negatives are computationally simple, they fail to challenge the model, whereas hard negatives-selected via methods like BM25, ANCE, or ADORE-can be overly difficult and misleading. To this end, this paper proposes dynamic margin-based contrastive learning (DMCL), which adaptively adjusts the decision boundary based on query-negative similarity, ensuring consistent exposure to moderately hard negatives. Experiments across diverse datasets and models show that DMCL outperforms traditional methods, achieving state-of-the-art retrieval performance with minimal computational cost.
Authors
- Chuan‐Ju Wang (ORCID: https://orcid.org/0000-0002-5281-2962)
- T Chen
- Ming-Feng Tsai (ORCID: https://orcid.org/0000-0002-3358-8176)
Institutions
- Research Center for Information Technology Innovation, Academia Sinica (TW)
- National Chengchi University (TW)
Publication Details
- Published
- 2025-07-13
- DOI
- https://doi.org/10.1145/3726302.3730182
- Primary Topic
- Domain Adaptation and Few-Shot Learning
- Type
- article
- Field-Weighted Citation Impact
- 0.00