Variance & Greediness: A comparative study of metric-learning losses
Not on the map. Why?
Abstract (arXiv)
Metric learning is central to retrieval, yet its effects on embedding geometry and optimization dynamics are not well understood. We introduce a diagnostic framework, VARIANCE (intra-/inter-class variance) and GREEDINESS (active ratio and gradient norms), to compare seven representative losses, i.e., Contrastive, Triplet, N-pair, InfoNCE, ArcFace, SCL, and CCL, across five image-retrieval datasets. Our analysis reveals that Triplet and SCL preserve higher within-class variance and clearer inter-class margins, leading to stronger top-1 retrieval in fine-grained settings. In contrast, Contrastive and InfoNCE compact embeddings are achieved quickly through many small updates, accelerating convergence but potentially oversimplifying class structures. N-pair achieves a large mean separation but with uneven spacing. These insights reveal a form of efficiency-granularity trade-off and provide practical guidance: prefer Triplet/SCL when diversity preservation and hard-sample discrimination are critical, and Contrastive/InfoNCE when faster embedding compaction is desired.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 17 of its 23 references that are in the map. First posted on arXiv 29 Jan 2026.
Builds on
17 of 23 references.
References · 17
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,849
- 2020Supervised Contrastive Learningcited by 2,829
- 2017In Defense of the Triplet Loss for Person Re-Identificationcited by 786
- 2021Understanding Dimensional Collapse in Contrastive Self-supervised Learningcited by 378
- 2019Multi-Similarity Loss with General Pair Weighting for Deep Metric Learningcited by 368
- 2020A Metric Learning Reality Checkcited by 321
- 2017Sampling Matters in Deep Embedding Learningcited by 285
- 2015Feature Learning based Deep Supervised Hashing with Pairwise Labelscited by 59
- 2019Deep Triplet Neural Networks with Cluster-CCA for Audio-Visual Cross-modal Retrievalcited by 18
- 2020Fisher Discriminant Triplet and Contrastive Losses for Training Siamese Networkscited by 15
- 2022Complete Cross-triplet Loss in Label Space for Audio-visual Cross-modal Retrievalcited by 6
5 more
- 2023Center Contrastive Loss for Metric Learningcited by 4
- 2023Two-Stage Triplet Loss Training with Curriculum Augmentation for Audio-Visual Retrievalcited by 4
- 2024Anchor-aware Deep Metric Learning for Audio-visual Retrievalcited by 4
- 2025Metric Learning with Progressive Self-Distillation for Audio-Visual Embedding Learningcited by 3
- 2026Learning Audio-Visual Embeddings with Inferred Latent Interaction Graphscited by 1
Built on by
Not cited yet.