Lune

ICCV2023Top-tier venue

UniFace: Unified Cross-Entropy Loss for Deep Face Recognition

Jiancan Zhou, Xi Jia, Qiufu Li, Linlin Shen, Jinming Duan

Abstract

As a widely used loss function in deep face recognition, the softmax loss cannot guarantee that the minimum positive sample-to-class similarity is larger than the maximum negative sample-to-class similarity. As a result, no unified threshold is available to separate positive sample-to-class pairs from negative sample-to-class pairs. To bridge this gap, we design a UCE (Unified Cross-Entropy) loss for face recognition model training, which is built on the vital constraint that all the positive sample-to-class similarities shall be larger than the negative ones. Our UCE loss can be integrated with margins for a further performance boost. The face recognition model trained with the proposed UCE loss, UniFace, was intensively evaluated using a number of popular public datasets like MFR, IJB-C, LFW, CFP-FP, AgeDB, and MegaFace. Experimental results show that our approach outperforms SOTA methods like SphereFace, CosFace, ArcFace, Partial FC, etc. Especially, till the submission of this work (Mar. 8, 2023), the proposed UniFace achieves the highest TAR@MR-All on the academic track of the MFR-ongoing challenge. Code\color{Blue}{\mathbf{Code}} is publicly available.

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.

9 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

  • WebFace260M: A Benchmark Unveiling the Power of Million-Scale Deep Face Recognition cites RetinaFace: Single-Shot Multi-Level Face Localisation in the Wild
  • BCE vs. CE in Deep Feature Learning cites SphereFace2: Binary Classification is All You Need for Deep Face Recognition
  • TopoFR: A Closer Look at Topology Alignment on Face Recognition cites RetinaFace: Single-Shot Multi-Level Face Localisation in the Wild
  • TopoFR: A Closer Look at Topology Alignment on Face Recognition cites Mis-Classified Vector Guided Softmax Loss for Face Recognition
  • TopoFR: A Closer Look at Topology Alignment on Face Recognition cites Killing Two Birds with One Stone: Efficient and Robust Training of Face Recognition CNNs by Partial FC
  • Killing Two Birds with One Stone: Efficient and Robust Training of Face Recognition CNNs by Partial FC cites WebFace260M: A Benchmark Unveiling the Power of Million-Scale Deep Face Recognition
  • Killing Two Birds with One Stone: Efficient and Robust Training of Face Recognition CNNs by Partial FC cites Mis-Classified Vector Guided Softmax Loss for Face Recognition
  • IDFace: Face Template Protection for Efficient and Secure Identification cites WebFace260M: A Benchmark Unveiling the Power of Million-Scale Deep Face Recognition
  • IDFace: Face Template Protection for Efficient and Secure Identification cites SphereFace2: Binary Classification is All You Need for Deep Face Recognition
  • LVFace: Progressive Cluster Optimization for Large Vision Models in Face Recognition cites SphereFace2: Binary Classification is All You Need for Deep Face Recognition
  • LVFace: Progressive Cluster Optimization for Large Vision Models in Face Recognition cites RetinaFace: Single-Shot Multi-Level Face Localisation in the Wild
  • LVFace: Progressive Cluster Optimization for Large Vision Models in Face Recognition cites TopoFR: A Closer Look at Topology Alignment on Face Recognition
  • LVFace: Progressive Cluster Optimization for Large Vision Models in Face Recognition cites Killing Two Birds with One Stone: Efficient and Robust Training of Face Recognition CNNs by Partial FC
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. X2-DFD: A framework for explainable and extendable Deepfake DetectionYize Chen, Zhiyuan Yan, Guangliang Cheng, Kangran Zhao et al.NeurIPS 2025 · 43 citations
  2. TopoFR: A Closer Look at Topology Alignment on Face RecognitionJun Dan, Yang Liu, Jiankang Deng, Haoyu Xie et al.NeurIPS 2024 · 27 citations
  3. LVFace: Progressive Cluster Optimization for Large Vision Models in Face RecognitionJinghan You, Shanglin Li, Yuanrui Sun, Jiangchuan Wei et al.ICCV 2025 · 3 citations
  4. IDFace: Face Template Protection for Efficient and Secure IdentificationSunpill Kim, Seunghun Paik, Chanwoo Hwang, Dongsoo Kim et al.ICCV 2025 · 2 citations
  5. BCE vs. CE in Deep Feature LearningQiufu Li, Huibin Xiao, Linlin ShenICML 2025

Builds on7

  1. Mis-Classified Vector Guided Softmax Loss for Face RecognitionXiaobo Wang, Shifeng Zhang, Shuo Wang, Tianyu Fu et al.AAAI 2020 · 188 citations
  2. 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
  3. SphereFace2: Binary Classification is All You Need for Deep Face RecognitionYandong Wen, Weiyang Liu, Adrian Weller, Bhiksha Raj et al.ICLR 2022 · 70 citations
  4. WebFace260M: A Benchmark Unveiling the Power of Million-Scale Deep Face RecognitionZheng Zhu, Guan Huang, Jiankang Deng, Yun Ye et al.CVPR 2021
  5. RetinaFace: Single-Shot Multi-Level Face Localisation in the WildJiankang Deng, Jia Guo, Evangelos Ververas, Irene Kotsia et al.CVPR 2020

Related papers

  1. UniTSFace: Unified Threshold Integrated Sample-to-Sample Loss for Face RecognitionQiufu Li, Xi Jia, Jiancan Zhou, Linlin Shen et al.NeurIPS 2023 · 20 citations
  2. Fair Loss: Margin-Aware Reinforcement Learning for Deep Face RecognitionBingyu Liu, Weihong Deng, Yaoyao Zhong, Mei Wang et al.ICCV 2019 · 82 citations
  3. Softmax Dissection: Towards Understanding Intra- and Inter-Class Objective for Embedding LearningLanqing He, Zhongdao Wang, Yali Li, Shengjin WangAAAI 2020 · 34 citations
  4. More Information Supervised Probabilistic Deep Face Embedding LearningYing Huang, Shangfeng Qiu, Wenwei Zhang, Xianghui Luo et al.ICML 2020 · 2 citations
  5. Circle Loss: A Unified Perspective of Pair Similarity OptimizationYifan Sun, Changmao Cheng, Yuhan Zhang, Chi Zhang et al.CVPR 2020
Dusk over the sea between two cliffs drawn in fine vertical lines