mlsanityData to 7 Oct 2026

Do Different Deep Metric Learning Losses Lead to Similar Learned Features?

arXiv 2205.02698 ↗First posted 5 May 2022cs.CV cs.AIcited by 6

Not on the map. Why?

Abstract (arXiv)

Recent studies have shown that many deep metric learning loss functions perform very similarly under the same experimental conditions. One potential reason for this unexpected result is that all losses let the network focus on similar image regions or properties. In this paper, we investigate this by conducting a two-step analysis to extract and compare the learned visual features of the same model architecture trained with different loss functions: First, we compare the learned features on the pixel level by correlating saliency maps of the same input images. Second, we compare the clustering of embeddings for several image properties, e.g. object color or illumination. To provide independent control over these properties, photo-realistic 3D car renders similar to images in the Cars196 dataset are generated. In our analysis, we compare 14 pretrained models from a recent study and find that, even though all models perform similarly, different loss functions can guide the model to learn different features. We especially find differences between classification and ranking based losses. Our analysis also shows that some seemingly irrelevant properties can have significant influence on the resulting embedding. We encourage researchers from the deep metric learning community to use our methods to get insights into the features learned by their proposed methods.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 30 of its 51 references that are in the map. First posted on arXiv 5 May 2022.

Builds on

30 of 51 references.

References · 30

  1. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  2. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
  3. 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
  4. 2015Learning Deep Features for Discriminative Localizationcited by 2,430
  5. 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,348
  6. 2017SmoothGrad: removing noise by adding noisecited by 1,097
  7. 2018CosFace: Large Margin Cosine Loss for Deep Face Recognitioncited by 968
  8. 2017SphereFace: Deep Hypersphere Embedding for Face Recognitioncited by 733
  9. 2017Interpretable Explanations of Black Boxes by Meaningful Perturbationcited by 611
  10. 2020Underspecification Presents Challenges for Credibility in Modern Machine Learningcited by 488
  11. 2015Deep Metric Learning via Lifted Structured Feature Embeddingcited by 449
  12. 2019Multi-Similarity Loss with General Pair Weighting for Deep Metric Learningcited by 368
18 more
  1. 2019Unmasking Clever Hans Predictors and Assessing What Machines Really Learncited by 359
  2. 2020A Metric Learning Reality Checkcited by 317
  3. 2018Training Deep Networks with Synthetic Data: Bridging the Reality Gap by Domain Randomizationcited by 292
  4. 2017Sampling Matters in Deep Embedding Learningcited by 285
  5. 2018Additive Margin Softmax for Face Verificationcited by 275
  6. 2017NormFace: L2 Hypersphere Embedding for Face Verificationcited by 237
  7. 2017No Fuss Distance Metric Learning using Proxiescited by 225
  8. 2019SoftTriple Loss: Deep Metric Learning Without Triplet Samplingcited by 163
  9. 2018Deep Metric Learning with Hierarchical Triplet Losscited by 112
  10. 2017Interpreting Deep Visual Representations via Network Dissectioncited by 103
  11. 2020Revisiting Training Strategies and Generalization Performance in Deep Metric Learningcited by 99
  12. 2020Attribution in Scale and Spacecited by 61
  13. 2019MIC: Mining Interclass Characteristics for Improved Metric Learningcited by 41
  14. 2019Signal-to-Noise Ratio: A Robust Distance Metric for Deep Metric Learningcited by 32
  15. 2019Visualizing Deep Similarity Networkscited by 24
  16. 2020Adapting Grad-CAM for Embedding Networkscited by 21
  17. 2019Visual Explanation for Deep Metric Learningcited by 14
  18. 2020MapLUR: Exploring a new Paradigm for Estimating Air Pollution using Deep Learning on Map Imagescited by 2

Built on by

Cited by year

Citing papers per year: 2022: 2; 2023: 2; 2024: 0; 2025: 2.

6 papers.