Deep Metric Learning With Tuplet Margin Loss
Baosheng Yu, Dacheng Tao
Abstract
Deep metric learning, in which the loss function plays a key role, has proven to be extremely useful in visual recognition tasks. However, existing deep metric learning loss functions such as contrastive loss and triplet loss usually rely on delicately selected samples (pairs or triplets) for fast convergence. In this paper, we propose a new deep metric learning loss function, tuplet margin loss, using randomly selected samples from each mini-batch. Specifically, the proposed tuplet margin loss implicitly up-weights hard samples and down-weights easy samples, while a slack margin in angular space is introduced to mitigate the problem of overfitting on the hardest sample. Furthermore, we address the problem of intra-pair variation by disentangling class-specific information to improve the generalizability of tuplet margin loss. Experimental results on three widely used deep metric learning datasets, CARS196, CUB200-2011, and Stanford Online Products, demonstrate significant improvements over existing deep metric learning methods.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext c596a936-31ec-4b6a-9153-b80e90910cdaCited by top-tier papers26
- SynFace: Face Recognition with Synthetic DataHaibo Qiu, Baosheng Yu, Dihong Gong, Zhifeng Li et al.ICCV 2021 · 162 citations
- Deep Metric Learning with Spherical EmbeddingDingyi Zhang, Yingming Li, Zhongfei ZhangNeurIPS 2020 · 54 citations
- Deep Relational Metric LearningWenzhao Zheng, Borui Zhang, Jiwen Lu, Jie ZhouICCV 2021 · 53 citations
- Large-Margin Contrastive Learning with Distance Polarization RegularizerShuo Chen, Gang Niu, Chen Gong, Jun Li et al.ICML 2021 · 48 citations
- Hypergraph-Induced Semantic Tuplet Loss for Deep Metric LearningJongin Lim, Sangdoo Yun, Seulki Park, Jin Young ChoiCVPR 2022 · 41 citations
Related papers
- Deep Metric Learning with Graph ConsistencyBinghui Chen, Pengyu Li, Zhaoyi Yan, Biao Wang et al.AAAI 2021 · 7 citations
- Multi-level Distance Regularization for Deep Metric LearningYonghyun Kim, Wonpyo ParkAAAI 2021 · 14 citations
- Rethinking preventing class-collapsing in metric learning with margin-based lossesElad Levi, Tete Xiao, Xiaolong Wang, Trevor DarrellICCV 2021 · 15 citations
- SoftTriple Loss: Deep Metric Learning Without Triplet SamplingQi Qian, Lei Shang, Baigui Sun, Juhua Hu et al.ICCV 2019 · 419 citations
- The Dilemma of TriHard Loss and an Element-Weighted TriHard Loss for Person Re-IdentificationYihao Lv, Youzhi Gu, Xinggao LiuNeurIPS 2020 · 11 citations
