mlsanityData to 7 Oct 2026

SoftTriple Loss: Deep Metric Learning Without Triplet Sampling

arXiv 1909.05235 ↗First posted 11 Sep 2019cs.CVcited by 163

Not on the map. Why?

Abstract (arXiv)

Distance metric learning (DML) is to learn the embeddings where examples from the same class are closer than examples from different classes. It can be cast as an optimization problem with triplet constraints. Due to the vast number of triplet constraints, a sampling strategy is essential for DML. With the tremendous success of deep learning in classifications, it has been applied for DML. When learning embeddings with deep neural networks (DNNs), only a mini-batch of data is available at each iteration. The set of triplet constraints has to be sampled within the mini-batch. Since a mini-batch cannot capture the neighbors in the original set well, it makes the learned embeddings sub-optimal. On the contrary, optimizing SoftMax loss, which is a classification loss, with DNN shows a superior performance in certain DML tasks. It inspires us to investigate the formulation of SoftMax. Our analysis shows that SoftMax loss is equivalent to a smoothed triplet loss where each class has a single center. In real-world data, one class can contain several local clusters rather than a single one, e.g., birds of different poses. Therefore, we propose the SoftTriple loss to extend the SoftMax loss with multiple centers for each class. Compared with conventional deep metric learning algorithms, optimizing SoftTriple loss can learn the embeddings without the sampling phase by mildly increasing the size of the last fully connected layer. Experiments on the benchmark fine-grained data sets demonstrate the effectiveness of the proposed loss function. Code is available at https://github.com/idstcv/SoftTriple

Key facts. Cited by 163 papers in the map (data through 7 Oct 2026). First posted on arXiv 11 Sep 2019.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 46; 2022: 46; 2023: 32; 2024: 26; 2025: 8; 2026: 5.

163 papers.

Sort:

By area:

  1. 2022Hyperbolic Vision Transformers: Combining Improvements in Metric Learningcited by 109
  2. 2021Training Vision Transformers for Image Retrievalcited by 90
  3. 2022Are All Losses Created Equal: A Neural Collapse Perspectivecited by 78
  4. 2021Recall@k Surrogate Loss with Large Batches and Similarity Mixupcited by 49
  5. 2021von Mises-Fisher Loss: An Exploration of Embedding Geometries for Supervised Learningcited by 42
  6. 2023Unicom: Universal and Compact Representation Learning for Image Retrievalcited by 36
  7. 2021Learning Intra-Batch Connections for Deep Metric Learningcited by 34
  8. 2021UFPMP-Det: Toward Accurate and Efficient Object Detection on Drone Imagerycited by 34
  9. 2022Non-isotropy Regularization for Proxy-based Deep Metric Learningcited by 33
  10. 2021VS-Net: Voting with Segmentation for Visual Localizationcited by 29
  11. 2021Unsupervised Visual Representation Learning by Online Constrained K-Meanscited by 27
  12. 2023Intra-Modal Proxy Learning for Zero-Shot Visual Categorization with CLIPcited by 27
38 more
  1. 2022HIER: Metric Learning Beyond Class Labels via Hierarchical Regularizationcited by 26
  2. 2021Query-by-Example Keyword Spotting system using Multi-head Attention and Softtriple Losscited by 25
  3. 2023Stable Cluster Discrimination for Deep Clusteringcited by 24
  4. 2021Noise-resistant Deep Metric Learning with Ranking-based Instance Selectioncited by 23
  5. 2021It Takes Two to Tango: Mixup for Deep Metric Learningcited by 23
  6. 2021SphereFace Revived: Unifying Hyperspherical Face Recognitioncited by 23
  7. 2021Deep Relational Metric Learningcited by 22
  8. 2022Delving into Semantic Scale Imbalancecited by 22
  9. 2024Online Zero-Shot Classification with CLIPcited by 22
  10. 2021Embedding Transfer with Label Relaxation for Improved Metric Learningcited by 21
  11. 2021Learning with Memory-based Virtual Classes for Deep Metric Learningcited by 21
  12. 2021Instance Level Affinity-Based Transfer for Unsupervised Domain Adaptationcited by 21
  13. 2024Multi-Modal Proxy Learning Towards Personalized Visual Multiple Clusteringcited by 21
  14. 2022Integrating Language Guidance into Vision-based Deep Metric Learningcited by 19
  15. 2022A Non-isotropic Probabilistic Take on Proxy-based Deep Metric Learningcited by 19
  16. 2022Satellite Image Based Cross-view Localization for Autonomous Vehiclecited by 19
  17. 2021Hierarchical Proxy-based Loss for Deep Metric Learningcited by 18
  18. 2021Proxy Synthesis: Learning with Synthetic Classes for Deep Metric Learningcited by 17
  19. 2021Characterizing Generalization under Out-Of-Distribution Shifts in Deep Metric Learningcited by 17
  20. 2022Continual Learning for Visual Search with Backward Consistent Feature Embeddingcited by 17
  21. 2023Proxy Anchor-based Unsupervised Learning for Continuous Generalized Category Discoverycited by 16
  22. 2023View Consistent Purification for Accurate Cross-View Localizationcited by 15
  23. 2021Bag of Tricks and A Strong baseline for Image Copy Detectioncited by 14
  24. 2023Generalizing and Decoupling Neural Collapse via Hyperspherical Uniformity Gapcited by 14
  25. 2022Attributable Visual Similarity Learningcited by 12
  26. 2021Dynamic Metric Learning: Towards a Scalable Metric Space to Accommodate Multiple Semantic Scalescited by 11
  27. 2022Is Fairness Only Metric Deep? Evaluating and Addressing Subgroup Gaps in Deep Metric Learningcited by 11
  28. 2022Semantic Data Augmentation based Distance Metric Learning for Domain Generalizationcited by 11
  29. 2025Interactive Medical Image Analysis with Concept-based Similarity Reasoningcited by 11
  30. 2024Understanding Hyperbolic Metric Learning through Hard Negative Samplingcited by 10
  31. 2022Offline-Online Associated Camera-Aware Proxies for Unsupervised Person Re-identificationcited by 9
  32. 2022Spectral, Probabilistic, and Deep Metric Learning: Tutorial and Surveycited by 9
  33. 2024Towards Improved Proxy-based Deep Metric Learning via Data-Augmented Domain Adaptationcited by 9
  34. 2024Improved Diversity-Promoting Collaborative Metric Learning for Recommendationcited by 9
  35. 2021Dual-Tuning: Joint Prototype Transfer and Structure Regularization for Compatible Feature Learningcited by 8
  36. 2021Adaptive Hierarchical Similarity Metric Learning with Noisy Labelscited by 8
  37. 2022Contrastive Bayesian Analysis for Deep Metric Learningcited by 8
  38. 2022Few-shot Metric Learning: Online Adaptation of Embedding for Retrievalcited by 8

50 most cited of 163 All 163 (JSON)