Hard negative examples are hard, but useful
Not on the map. Why?
Abstract (arXiv)
Triplet loss is an extremely common approach to distance metric learning. Representations of images from the same class are optimized to be mapped closer together in an embedding space than representations of images from different classes. Much work on triplet losses focuses on selecting the most useful triplets of images to consider, with strategies that select dissimilar examples from the same class or similar examples from different classes. The consensus of previous research is that optimizing with the textithardest negative examples leads to bad training behavior. That's a problem -- these hardest negatives are literally the cases where the distance metric fails to capture semantic similarity. In this paper, we characterize the space of triplets and derive why hard negatives make triplet loss training fail. We offer a simple fix to the loss function and show that, with this fix, optimizing with hard negative examples becomes feasible. This leads to more generalizable features, and image retrieval results that outperform state of the art for datasets with high intra-class variance.
Key facts. Cited by 82 papers in the map (data through 7 Oct 2026). First posted on arXiv 24 Jul 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 12; 2022: 16; 2023: 23; 2024: 13; 2025: 14; 2026: 4.
82 papers.
Sort:
By area:
- 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 696
- 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 527
- 2021Robust Contrastive Learning Using Negative Samples with Diminished Semanticscited by 43
- 2021Learning Intra-Batch Connections for Deep Metric Learningcited by 34
- 2024Data curation via joint example selection further accelerates multimodal learningcited by 32
- 2024Close, But Not There: Boosting Geographic Distance Sensitivity in Visual Place Recognitioncited by 27
- 2022OutfitTransformer: Learning Outfit Representations for Fashion Recommendationcited by 24
- 2023Adaptive Sparse Pairwise Loss for Object Re-Identificationcited by 20
- 2025YoChameleon: Personalized Vision and Language Generationcited by 20
- 2021Robust and Decomposable Average Precision for Image Retrievalcited by 19
- 2023Finding Order in Chaos: A Novel Data Augmentation Method for Time Series in Contrastive Learningcited by 18
- 2024Knowledge-enhanced Visual-Language Pretraining for Computational Pathologycited by 14
38 more
- 2023Learning by Sorting: Self-supervised Learning with Group Ordering Constraintscited by 13
- 2023Investigating the Limitation of CLIP Models: The Worst-Performing Categoriescited by 12
- 2022GRIT-VLP: Grouped Mini-batch Sampling for Efficient Vision and Language Pre-trainingcited by 10
- 2023Your Negative May not Be True Negative: Boosting Image-Text Matching with False Negative Eliminationcited by 10
- 2023Optimization of Rank Losses for Image Retrievalcited by 10
- 2021WildGait: Learning Gait Representations from Raw Surveillance Streamscited by 9
- 2023Confidence-based Visual Dispersal for Few-shot Unsupervised Domain Adaptationcited by 9
- 2024Towards Improved Proxy-based Deep Metric Learning via Data-Augmented Domain Adaptationcited by 9
- 2024Diffusion-based Negative Sampling on Graphs for Link Predictioncited by 9
- 2025ELIP: Enhanced Visual-Language Foundation Models for Image Retrievalcited by 9
- 2021Rethinking Self-Supervision Objectives for Generalizable Coherence Modelingcited by 8
- 2021Relation Preserving Triplet Mining for Stabilising the Triplet Loss in Re-identification Systemscited by 8
- 2022Contrastive Bayesian Analysis for Deep Metric Learningcited by 8
- 2023GeNIe: Generative Hard Negative Images Through Diffusioncited by 8
- 2023Threshold-Consistent Margin Loss for Open-World Deep Metric Learningcited by 7
- 2025SSL4RL: Revisiting Self-supervised Learning as Intrinsic Reward for Visual-Language Reasoningcited by 7
- 2022Learning video retrieval models with relevance-aware online miningcited by 6
- 2022Relevance-based Margin for Contrastively-trained Video Retrieval Modelscited by 6
- 2022Global Contrastive Batch Sampling via Optimization on Sample Permutationscited by 5
- 2023Clustering-Aware Negative Sampling for Unsupervised Sentence Representationcited by 5
- 2023Learning to Count without Annotationscited by 5
- 2023Enhancing Sample Utilization through Sample Adaptive Augmentation in Semi-Supervised Learningcited by 5
- 2021The 2021 Hotel-ID to Combat Human Trafficking Competition Datasetcited by 4
- 2021Encouraging Intra-Class Diversity Through a Reverse Contrastive Loss for Better Single-Source Domain Generalizationcited by 4
- 2023Center Contrastive Loss for Metric Learningcited by 4
- 2021Structure-Aware Hard Negative Mining for Heterogeneous Graph Contrastive Learningcited by 3
- 2022Contrastive Learning from Demonstrationscited by 3
- 2022AdaTriplet: Adaptive Gradient Triplet Loss with Automatic Margin Learning for Forensic Medical Image Matchingcited by 3
- 2024Revisiting Experience Replayable Conditionscited by 3
- 2024UniRetriever: Multi-task Candidates Selection for Various Context-Adaptive Conversational Retrievalcited by 3
- 2024A Unified Deep Semantic Expansion Framework for Domain-Generalized Person Re-identificationcited by 3
- 2025Catheter Detection and Segmentation in X-ray Images via Multi-task Learningcited by 3
- 2021Negative Sample is Negative in Its Own Way: Tailoring Negative Sentences for Image-Text Retrievalcited by 2
- 2022Block-SCL: Blocking Matters for Supervised Contrastive Learning in Product Matchingcited by 2
- 2022Category-Level Pose Retrieval with Contrastive Features Learnt with Occlusion Augmentationcited by 2
- 2023Multiview Representation Learning from Crowdsourced Triplet Comparisonscited by 2
- 2023Selectively Hard Negative Mining for Alleviating Gradient Vanishing in Image-Text Matchingcited by 2
- 2023A Reminder of its Brittleness: Language Reward Shaping May Hinder Learning for Instruction Following Agentscited by 2
50 most cited of 82 All 82 (JSON)
- 2026Contextrast++: Robust Multi-Scale Contextual Contrastive Learning for Semantic Segmentation24 Aug 2026
- 2026Enhancing Federated Quadruplet Learning: Stochastic Client Selection and Embedding Stability Analysis8 May 2026
- 2026Breakout-picker: Reducing false positives in deep learning-based borehole breakout characterization from acoustic image logs17 Apr 2026
- 2026SA-ResGS: Self-Augmented Residual 3D Gaussian Splatting for Next Best View Selection6 Jan 2026
- 2025A Hybrid Multimodal Deep Learning Framework for Intelligent Fashion Recommendation10 Nov 2025
- 2025Dynamic Jointly Batch Selection for Data Efficient Machine Translation Fine-Tuning6 Nov 2025
- 2025SSL4RL: Revisiting Self-supervised Learning as Intrinsic Reward for Visual-Language Reasoning18 Oct 2025
- 2025Contrastive Learning with Enhanced Abstract Representations using Grouped Loss of Abstract Semantic Supervision16 Sep 2025
- 2025FedQuad: Federated Stochastic Quadruplet Learning to Mitigate Data Heterogeneity4 Sep 2025
- 2025A Scenario-Oriented Survey of Federated Recommender Systems: Techniques, Challenges, and Future Directions27 Aug 2025
- 2025Infusing fine-grained visual knowledge to Vision-Language Models16 Aug 2025
- 2025Taming LLMs with Negative Samples: A Reference-Free Framework to Evaluate Presentation Content with Actionable Feedback23 May 2025
38 more
- 2025YoChameleon: Personalized Vision and Language Generation29 Apr 2025
- 2025Domain Adaptation for Japanese Sentence Embeddings with Contrastive Learning based on Synthetic Sentence Generation12 Mar 2025
- 2025Context-aware Biases for Length Extrapolation11 Mar 2025
- 2025Catheter Detection and Segmentation in X-ray Images via Multi-task Learning4 Mar 2025
- 2025ELIP: Enhanced Visual-Language Foundation Models for Image Retrieval21 Feb 2025
- 2025Source-free Semantic Regularization Learning for Semi-supervised Domain Adaptation2 Jan 2025
- 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inference18 Dec 2024
- 2024A Unified Deep Semantic Expansion Framework for Domain-Generalized Person Re-identification11 Oct 2024
- 2024Systematic Literature Review of Vision-Based Approaches to Outdoor Livestock Monitoring with Lessons from Wildlife Studies7 Oct 2024
- 2024Invariant Graph Learning Meets Information Bottleneck for Out-of-Distribution Generalization3 Aug 2024
- 2024Close, But Not There: Boosting Geographic Distance Sensitivity in Visual Place Recognition2 Jul 2024
- 2024Data curation via joint example selection further accelerates multimodal learning25 Jun 2024
- 2024Knowledge-enhanced Visual-Language Pretraining for Computational Pathology15 Apr 2024
- 2024Diffusion-based Negative Sampling on Graphs for Link Prediction25 Mar 2024
- 2024Dual Pose-invariant Embeddings: Learning Category and Object-specific Discriminative Representations for Recognition and Retrieval1 Mar 2024
- 2024UniRetriever: Multi-task Candidates Selection for Various Context-Adaptive Conversational Retrieval26 Feb 2024
- 2024Revisiting Experience Replayable Conditions15 Feb 2024
- 2024Enhancing Contrastive Learning with Efficient Combinatorial Positive Pairing11 Jan 2024
- 2024Towards Improved Proxy-based Deep Metric Learning via Data-Augmented Domain Adaptation1 Jan 2024
- 2023Collapse-Aware Triplet Decoupling for Adversarially Robust Image Retrieval12 Dec 2023
- 2023GeNIe: Generative Hard Negative Images Through Diffusion5 Dec 2023
- 2023VEXIR2Vec: An Architecture-Neutral Embedding Framework for Binary Similarity1 Dec 2023
- 2023Investigating the Limitation of CLIP Models: The Worst-Performing Categories5 Oct 2023
- 2023Confidence-based Visual Dispersal for Few-shot Unsupervised Domain Adaptation27 Sep 2023
- 2023Finding Order in Chaos: A Novel Data Augmentation Method for Time Series in Contrastive Learning23 Sep 2023
- 2023Optimization of Rank Losses for Image Retrieval15 Sep 2023
- 2023Enhancing Sample Utilization through Sample Adaptive Augmentation in Semi-Supervised Learning7 Sep 2023
- 2023Your Negative May not Be True Negative: Boosting Image-Text Matching with False Negative Elimination8 Aug 2023
- 2023Center Contrastive Loss for Metric Learning1 Aug 2023
- 2023Conditional Cross Attention Network for Multi-Space Embedding without Entanglement in Only a SINGLE Network25 Jul 2023
- 2023Learning to Count without Annotations17 Jul 2023
- 2023Threshold-Consistent Margin Loss for Open-World Deep Metric Learning8 Jul 2023
- 2023COURIER: Contrastive User Intention Reconstruction for Large-Scale Visual Recommendation8 Jun 2023
- 2023A Reminder of its Brittleness: Language Reward Shaping May Hinder Learning for Instruction Following Agents26 May 2023
- 2023Integrating Listwise Ranking into Pairwise-based Image-Text Retrieval26 May 2023
- 2023Clustering-Aware Negative Sampling for Unsupervised Sentence Representation17 May 2023
- 2023Adaptive Sparse Pairwise Loss for Object Re-Identification31 Mar 2023
- 2023Search By Image: Deeply Exploring Beneficial Features for Beauty Product Retrieval24 Mar 2023
50 newest of 82 All 82 (JSON)
- 2025Infusing fine-grained visual knowledge to Vision-Language Models16 Aug 2025
- 2025YoChameleon: Personalized Vision and Language Generation29 Apr 2025
- 2023GeNIe: Generative Hard Negative Images Through Diffusioncited by 8
- 2023GeNIe: Generative Hard Negative Images Through Diffusion5 Dec 2023
- 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 696
- 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 527
- 2021Robust Contrastive Learning Using Negative Samples with Diminished Semanticscited by 43
- 2021Learning Intra-Batch Connections for Deep Metric Learningcited by 34
- 2024Data curation via joint example selection further accelerates multimodal learningcited by 32
- 2024Close, But Not There: Boosting Geographic Distance Sensitivity in Visual Place Recognitioncited by 27
- 2022OutfitTransformer: Learning Outfit Representations for Fashion Recommendationcited by 24
- 2023Adaptive Sparse Pairwise Loss for Object Re-Identificationcited by 20
- 2021Robust and Decomposable Average Precision for Image Retrievalcited by 19
- 2023Finding Order in Chaos: A Novel Data Augmentation Method for Time Series in Contrastive Learningcited by 18
- 2024Knowledge-enhanced Visual-Language Pretraining for Computational Pathologycited by 14
- 2023Learning by Sorting: Self-supervised Learning with Group Ordering Constraintscited by 13
12 most cited of 78 All 78 (JSON)
- 2026Contextrast++: Robust Multi-Scale Contextual Contrastive Learning for Semantic Segmentation24 Aug 2026
- 2026Enhancing Federated Quadruplet Learning: Stochastic Client Selection and Embedding Stability Analysis8 May 2026
- 2026Breakout-picker: Reducing false positives in deep learning-based borehole breakout characterization from acoustic image logs17 Apr 2026
- 2026SA-ResGS: Self-Augmented Residual 3D Gaussian Splatting for Next Best View Selection6 Jan 2026
- 2025A Hybrid Multimodal Deep Learning Framework for Intelligent Fashion Recommendation10 Nov 2025
- 2025Dynamic Jointly Batch Selection for Data Efficient Machine Translation Fine-Tuning6 Nov 2025
- 2025Contrastive Learning with Enhanced Abstract Representations using Grouped Loss of Abstract Semantic Supervision16 Sep 2025
- 2025FedQuad: Federated Stochastic Quadruplet Learning to Mitigate Data Heterogeneity4 Sep 2025
- 2025A Scenario-Oriented Survey of Federated Recommender Systems: Techniques, Challenges, and Future Directions27 Aug 2025
- 2025Taming LLMs with Negative Samples: A Reference-Free Framework to Evaluate Presentation Content with Actionable Feedback23 May 2025
- 2025Domain Adaptation for Japanese Sentence Embeddings with Contrastive Learning based on Synthetic Sentence Generation12 Mar 2025
- 2025Context-aware Biases for Length Extrapolation11 Mar 2025
12 newest of 78 All 78 (JSON)