mlsanityData to 7 Oct 2026

It Takes Two to Tango: Mixup for Deep Metric Learning

arXiv 2106.04990 ↗First posted 9 Jun 2021cs.LG cs.CVcited by 23

Not on the map. Why?

Abstract (arXiv)

Metric learning involves learning a discriminative representation such that embeddings of similar classes are encouraged to be close, while embeddings of dissimilar classes are pushed far apart. State-of-the-art methods focus mostly on sophisticated loss functions or mining strategies. On the one hand, metric learning losses consider two or more examples at a time. On the other hand, modern data augmentation methods for classification consider two or more examples at a time. The combination of the two ideas is under-studied. In this work, we aim to bridge this gap and improve representations using mixup, which is a powerful data augmentation approach interpolating two or more examples and corresponding target labels at a time. This task is challenging because unlike classification, the loss functions used in metric learning are not additive over examples, so the idea of interpolating target labels is not straightforward. To the best of our knowledge, we are the first to investigate mixing both examples and target labels for deep metric learning. We develop a generalized formulation that encompasses existing metric learning loss functions and modify it to accommodate for mixup, introducing Metric Mix, or Metrix. We also introduce a new metric - utilization, to demonstrate that by mixing examples during training, we are exploring areas of the embedding space beyond the training classes, thereby improving representations. To validate the effect of improved representations, we show that mixing inputs, intermediate representations or embeddings along with target labels significantly outperforms state-of-the-art metric learning methods on four benchmark deep metric learning datasets.

Key facts. Cited by 23 papers in the map (data through 7 Oct 2026). Builds on 44 of its 60 references that are in the map. First posted on arXiv 9 Jun 2021.

Builds on

44 of 60 references.

References · 44

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  3. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  4. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  5. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
  6. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
  7. 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
  8. 2016Matching Networks for One Shot Learningcited by 2,246
  9. 2020FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidencecited by 2,080
  10. 2017Improved Regularization of Convolutional Neural Networks with Cutoutcited by 1,623
  11. 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,393
  12. 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 897
32 more
  1. 2017In Defense of the Triplet Loss for Person Re-Identificationcited by 784
  2. 2019Big Transfer (BiT): General Visual Representation Learningcited by 766
  3. 2018AutoAugment: Learning Augmentation Policies from Datacited by 728
  4. 2020Contrastive Learning with Hard Negative Samplescited by 619
  5. 2015Deep Metric Learning via Lifted Structured Feature Embeddingcited by 449
  6. 2013DeCAF: A Deep Convolutional Activation Feature for Generic Visual Recognitioncited by 422
  7. 2020Hard Negative Mixing for Contrastive Learningcited by 399
  8. 2019Multi-Similarity Loss with General Pair Weighting for Deep Metric Learningcited by 368
  9. 2020A Metric Learning Reality Checkcited by 317
  10. 2017Sampling Matters in Deep Embedding Learningcited by 285
  11. 2020Puzzle Mix: Exploiting Saliency and Local Statistics for Optimal Mixupcited by 260
  12. 2017No Fuss Distance Metric Learning using Proxiescited by 225
  13. 2020Proxy Anchor Loss for Deep Metric Learningcited by 195
  14. 2014Learning Fine-grained Image Similarity with Deep Rankingcited by 189
  15. 2017Beyond triplet loss: a deep quadruplet network for person re-identificationcited by 172
  16. 2019SoftTriple Loss: Deep Metric Learning Without Triplet Samplingcited by 163
  17. 2020SaliencyMix: A Saliency Guided Data Augmentation Strategy for Better Regularizationcited by 149
  18. 2016Deep Image Retrieval: Learning global representations for image searchcited by 147
  19. 2021Co-Mixup: Saliency Guided Joint Mixup with Supermodular Diversitycited by 127
  20. 2020ProxyNCA++: Revisiting and Revitalizing Proxy Neighborhood Component Analysiscited by 107
  21. 2018Understanding and Improving Interpolation in Autoencoders via an Adversarial Regularizercited by 87
  22. 2020ResizeMix: Mixing Data with Preserved Object Information and True Labelscited by 68
  23. 2019Improved Embeddings with Easy Positive Triplet Miningcited by 66
  24. 2020MixCo: Mix-up Contrastive Learning for Visual Representationcited by 62
  25. 2019Hardness-Aware Deep Metric Learningcited by 55
  26. 2019Divide and Conquer the Embedding Space for Metric Learningcited by 39
  27. 2020Fewer is More: A Deep Graph Metric Learning Perspective Using Fewer Proxiescited by 36
  28. 2021AlignMixup: Improving Representations By Interpolating Aligned Featurescited by 33
  29. 2020Embedding Expansion: Augmentation in Embedding Space for Deep Metric Learningcited by 27
  30. 2021Proxy Synthesis: Learning with Synthetic Classes for Deep Metric Learningcited by 17
  31. 2020Symmetrical Synthesis for Deep Metric Learningcited by 14
  32. 2014Deep Metric Learning for Practical Person Re-Identificationcited by 3

Built on by

Cited by year

Citing papers per year: 2021: 2; 2022: 5; 2023: 6; 2024: 7; 2025: 3.

23 papers.

Sort:

By area:

  1. 2021Recall@k Surrogate Loss with Large Batches and Similarity Mixupcited by 49
  2. 2022A Survey of Mix-based Data Augmentation: Taxonomy, Methods, Applications, and Explainabilitycited by 30
  3. 2022Geodesic Multi-Modal Mixup for Robust Fine-Tuningcited by 29
  4. 2024A Survey on Mixup Augmentations and Beyondcited by 18
  5. 2025DA-VPT: Semantic-Guided Visual Prompt Tuning for Vision Transformerscited by 17
  6. 2022Contrastive Bayesian Analysis for Deep Metric Learningcited by 8
  7. 2024Learning Semantic Proxies from Visual Prompts for Parameter-Efficient Fine-Tuning in Deep Metric Learningcited by 6
  8. 2022Supervised Metric Learning to Rank for Retrieval via Contextual Similarity Optimizationcited by 5
  9. 2024Globally Correlation-Aware Hard Negative Generationcited by 5
  10. 2023Center Contrastive Loss for Metric Learningcited by 4
  11. 2023Embedding Space Interpolation Beyond Mini-Batch, Beyond Pairs and Beyond Examplescited by 4
  12. 2024Anchor-aware Deep Metric Learning for Audio-visual Retrievalcited by 4
11 more
  1. 2022Deep Metric Learning with Chance Constraintscited by 3
  2. 2024A Unified Deep Semantic Expansion Framework for Domain-Generalized Person Re-identificationcited by 3
  3. 2025Metric Learning with Progressive Self-Distillation for Audio-Visual Embedding Learningcited by 3
  4. 2023STIR: Siamese Transformer for Image Retrieval Postprocessingcited by 2
  5. 2023Generalizable Embeddings with Cross-batch Metric Learningcited by 2
  6. 2025Infusing fine-grained visual knowledge to Vision-Language Modelscited by 2
  7. 2023Generalized Sum Pooling for Metric Learningcited by 1
  8. 2021Simple and Effective Balance of Contrastive Lossescited by 0
  9. 2023Improving Intrusion Detection with Domain-Invariant Representation Learning in Latent Spacecited by 0
  10. 2024Realigned Softmax Warping for Deep Metric Learningcited by 0
  11. 2024Three Things to Know about Deep Metric Learningcited by 0