Softmax Dissection: Towards Understanding Intra- and Inter-Class Objective for Embedding Learning
Lanqing He, Zhongdao Wang, Yali Li, Shengjin Wang
摘要
The softmax loss and its variants are widely used as objectives for embedding learning applications like face recognition. However, the intra- and inter-class objectives in Softmax are entangled, therefore a well-optimized inter-class objective leads to relaxation on the intra-class objective, and vice versa. In this paper, we propose to dissect Softmax into independent intra- and inter-class objective (D-Softmax) with a clear understanding. It is straightforward to tune each part to the best state with D-Softmax as objective.Furthermore, we find the computation of the inter-class part is redundant and propose sampling-based variants of D-Softmax to reduce the computation cost. The face recognition experiments on regular-scale data show D-Softmax is favorably comparable to existing losses such as SphereFace and ArcFace. Experiments on massive-scale data show the fast variants significantly accelerates the training process (such as 64×) with only a minor sacrifice in performance, outperforming existing acceleration methods of Softmax in terms of both performance and efficiency.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
引用它的顶会 Paper3
- Killing Two Birds with One Stone: Efficient and Robust Training of Face Recognition CNNs by Partial FCXiang An, Jiankang Deng, Jia Guo, Ziyong Feng 等CVPR 2022 · 77 次引用
- ANN Softmax: Acceleration of Extreme Classification TrainingKang Zhao, Liuyihan Song, Yingya Zhang, Pan Pan 等VLDB 2022 · 8 次引用
- Rotation Consistent Margin Loss for Efficient Low-Bit Face RecognitionYudong Wu, Yichao Wu, Ruihao Gong, Yuanhao Lv 等CVPR 2020
相关 Paper
- SphereFace2: Binary Classification is All You Need for Deep Face RecognitionYandong Wen, Weiyang Liu, Adrian Weller, Bhiksha Raj 等ICLR 2022 · 70 次引用
- UniFace: Unified Cross-Entropy Loss for Deep Face RecognitionJiancan Zhou, Xi Jia, Qiufu Li, Linlin Shen 等ICCV 2023 · 38 次引用
- UniTSFace: Unified Threshold Integrated Sample-to-Sample Loss for Face RecognitionQiufu Li, Xi Jia, Jiancan Zhou, Linlin Shen 等NeurIPS 2023 · 20 次引用
- SoftTriple Loss: Deep Metric Learning Without Triplet SamplingQi Qian, Lei Shang, Baigui Sun, Juhua Hu 等ICCV 2019 · 419 次引用
- Fair Loss: Margin-Aware Reinforcement Learning for Deep Face RecognitionBingyu Liu, Weihong Deng, Yaoyao Zhong, Mei Wang 等ICCV 2019 · 82 次引用
