SoftTriple Loss: Deep Metric Learning Without Triplet Sampling
Qi Qian, Lei Shang, Baigui Sun, Juhua Hu, Tacoma Tacoma, Hao Li, Rong Jin
摘要
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 .
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了最后一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper98
- Camera-Aware Proxies for Unsupervised Person Re-IdentificationMenglin Wang, Baisheng Lai, Jianqiang Huang, Xiaojin Gong 等AAAI 2021 · 被引用 247 次
- Revisiting Training Strategies and Generalization Performance in Deep Metric LearningKarsten Roth, Timo Milbich, Samarth Sinha, Prateek Gupta 等ICML 2020 · 被引用 187 次
- UFPMP-Det: Toward Accurate and Efficient Object Detection on Drone ImageryYecheng Huang, Jiaxin Chen, Di HuangAAAI 2022 · 被引用 162 次
- Hyperbolic Vision Transformers: Combining Improvements in Metric LearningAleksandr Ermolov, Leyla Mirvakhabova, Valentin Khrulkov, Nicu Sebe 等CVPR 2022 · 被引用 97 次
- Are All Losses Created Equal: A Neural Collapse PerspectiveJinxin Zhou, Chong You, Xiao Li, Kangning Liu 等NeurIPS 2022 · 被引用 93 次
相关 Paper
- Semi-Supervised Metric Learning: A Deep ResurrectionUjjal Kr Dutta, Mehrtash Harandi, Chellu Chandra SekharAAAI 2021 · 被引用 7 次
- Deep Metric Learning with Graph ConsistencyBinghui Chen, Pengyu Li, Zhaoyi Yan, Biao Wang 等AAAI 2021 · 被引用 7 次
- Multi-level Distance Regularization for Deep Metric LearningYonghyun Kim, Wonpyo ParkAAAI 2021 · 被引用 14 次
- Metric Learning with Equidistant and Equidistributed Triplet-based Loss for Product Image SearchFurong Xu, Wei Zhang, Yuan Cheng, Wei ChuWWW 2020 · 被引用 13 次
- Deep Metric Learning With Tuplet Margin LossBaosheng Yu, Dacheng TaoICCV 2019 · 被引用 104 次
