mlsanityData to 13 Oct 2026

Locality-Sensitive Hashing for Efficient Hard Negative Sampling in Contrastive Learning

arXiv 2505.17844 ↗First posted 23 May 2025cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

Contrastive learning is a representational learning paradigm in which a neural network maps data elements to feature vectors. It improves the feature space by forming lots with an anchor and examples that are either positive or negative based on class similarity. Hard negative examples, which are close to the anchor in the feature space but from a different class, improve learning performance. Finding such examples of high quality efficiently in large, high-dimensional datasets is computationally challenging. In this paper, we propose a GPU-friendly Locality-Sensitive Hashing (LSH) scheme that quantizes real-valued feature vectors into binary representations for approximate nearest neighbor search. We investigate its theoretical properties and evaluate it on several datasets from textual and visual domain. Our approach achieves comparable or better performance while requiring significantly less computation than existing hard negative mining strategies.

Key facts. No citing papers in the map yet (data through 13 Oct 2026). Builds on 37 of its 50 references that are in the map. First posted on arXiv 23 May 2025.

Builds on

37 of 50 references.

References · 37

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,588
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,043
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,322
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,107
  5. 2018Representation Learning with Contrastive Predictive Codingcited by 7,712
  6. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,281
  7. 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,855
  8. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,797
  9. 2022A ConvNet for the 2020scited by 3,563
  10. 2023Sigmoid Loss for Language Image Pre-Trainingcited by 3,068
  11. 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,838
  12. 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,600
25 more
  1. 2020Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrievalcited by 847
  2. 2017In Defense of the Triplet Loss for Person Re-Identificationcited by 785
  3. 2020Contrastive Learning with Hard Negative Samplescited by 619
  4. 2020Making Monolingual Sentence Embeddings Multilingual using Knowledge Distillationcited by 591
  5. 2015Deep Metric Learning via Lifted Structured Feature Embeddingcited by 449
  6. 2020RocketQA: An Optimized Training Approach to Dense Passage Retrieval for Open-Domain Question Answeringcited by 412
  7. 2019Multi-Similarity Loss with General Pair Weighting for Deep Metric Learningcited by 368
  8. 2020Debiased Contrastive Learningcited by 354
  9. 2017Sampling Matters in Deep Embedding Learningcited by 285
  10. 2020VIGOR: Cross-View Image Geo-localization beyond One-to-one Retrievalcited by 188
  11. 2015Wide-Area Image Geolocalization with Aerial Reference Imagerycited by 185
  12. 2019Lending Orientation to Neural Networks for Cross-view Geo-localizationcited by 179
  13. 2022TransGeo: Transformer Is All You Need for Cross-view Image Geo-localizationcited by 167
  14. 2019Learning Dense Representations for Entity Retrievalcited by 122
  15. 2023Sample4Geo: Hard Negative Sampling For Cross-View Geo-Localisationcited by 108
  16. 2015Practical and Optimal LSH for Angular Distancecited by 105
  17. 2017Fast Approximate Nearest Neighbor Search With The Navigating Spreading-out Graphcited by 104
  18. 2019Improved Embeddings with Easy Positive Triplet Miningcited by 67
  19. 2021Recall@k Surrogate Loss with Large Batches and Similarity Mixupcited by 49
  20. 2016Hard-Aware Deeply Cascaded Embeddingcited by 44
  21. 2015Learning to Hash for Indexing Big Data - A Surveycited by 39
  22. 2023Unicom: Universal and Compact Representation Learning for Image Retrievalcited by 36
  23. 2015Deep Feature Learning with Relative Distance Comparison for Person Re-identificationcited by 25
  24. 2023CLIP-ReIdent: Contrastive Training for Player Re-Identificationcited by 7
  25. 2023Orientation-Guided Contrastive Learning for UAV-View Geo-Localisationcited by 7

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2021Contrastive Quantization with Code Memory for Unsupervised Image Retrieval
  2. 2025Mutual Learning for Hashing: Unlocking Strong Hash Functions from Weak Supervision
  3. 2025DualHash: A Stochastic Primal-Dual Algorithm with Theoretical Guarantee for Deep Hashing
  4. 2023Sparse-Inductive Generative Adversarial Hashing for Nearest Neighbor Search
  5. 2026Beyond Post-Quantization: Native Hash Learning with a Dedicated HASH Token
  6. 2023Deep Hashing via Householder Quantization
  7. 2022One Loss for Quantization: Deep Hashing with Discrete Wasserstein Distributional Matching
  8. 2025Learning Attribute-Aware Hash Codes for Fine-Grained Image Retrieval via Query Optimization