Lune

AAAI2020Top-tier venue

Softmax Dissection: Towards Understanding Intra- and Inter-Class Objective for Embedding Learning

Lanqing He, Zhongdao Wang, Yali Li, Shengjin Wang

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Killing Two Birds with One Stone: Efficient and Robust Training of Face Recognition CNNs by Partial FCXiang An, Jiankang Deng, Jia Guo, Ziyong Feng et al.CVPR 2022 · 77 citations
  2. ANN Softmax: Acceleration of Extreme Classification TrainingKang Zhao, Liuyihan Song, Yingya Zhang, Pan Pan et al.VLDB 2022 · 8 citations
  3. Rotation Consistent Margin Loss for Efficient Low-Bit Face RecognitionYudong Wu, Yichao Wu, Ruihao Gong, Yuanhao Lv et al.CVPR 2020

Related papers

  1. SphereFace2: Binary Classification is All You Need for Deep Face RecognitionYandong Wen, Weiyang Liu, Adrian Weller, Bhiksha Raj et al.ICLR 2022 · 70 citations
  2. UniFace: Unified Cross-Entropy Loss for Deep Face RecognitionJiancan Zhou, Xi Jia, Qiufu Li, Linlin Shen et al.ICCV 2023 · 38 citations
  3. UniTSFace: Unified Threshold Integrated Sample-to-Sample Loss for Face RecognitionQiufu Li, Xi Jia, Jiancan Zhou, Linlin Shen et al.NeurIPS 2023 · 20 citations
  4. SoftTriple Loss: Deep Metric Learning Without Triplet SamplingQi Qian, Lei Shang, Baigui Sun, Juhua Hu et al.ICCV 2019 · 419 citations
  5. Fair Loss: Margin-Aware Reinforcement Learning for Deep Face RecognitionBingyu Liu, Weihong Deng, Yaoyao Zhong, Mei Wang et al.ICCV 2019 · 82 citations
Dusk over the sea between two cliffs drawn in fine vertical lines