Skip to main content
QUICK REVIEW

[Paper Review] Git Loss for Deep Face Recognition

Alessandro Calefati, Muhammad Kamran Janjua|arXiv (Cornell University)|Jul 23, 2018
Face recognition and analysisComputer Science24 references10 citations
TL;DR

This paper proposes Git loss, a novel joint supervision loss for deep face recognition that combines softmax and center loss to minimize intra-class variations and maximize inter-class distances. By leveraging the semantic analogy to Git's 'push' and 'pull' commands, it enhances feature discriminability, achieving state-of-the-art accuracy of 99.30% on LFW and 95.30% on YTF with only ≈3M training images.

ABSTRACT

Convolutional Neural Networks (CNNs) have been widely used in computer vision tasks, such as face recognition and verification, and have achieved state-of-the-art results due to their ability to capture discriminative deep features. Conventionally, CNNs have been trained with softmax as supervision signal to penalize the classification loss. In order to further enhance the discriminative capability of deep features, we introduce a joint supervision signal, Git loss, which leverages on softmax and center loss functions. The aim of our loss function is to minimize the intra-class variations as well as maximize the inter-class distances. Such minimization and maximization of deep features are considered ideal for face recognition task. We perform experiments on two popular face recognition benchmarks datasets and show that our proposed loss function achieves maximum separability between deep face features of different identities and achieves state-of-the-art accuracy on two major face recognition benchmark datasets: Labeled Faces in the Wild (LFW) and YouTube Faces (YTF). However, it should be noted that the major objective of Git loss is to achieve maximum separability between deep features of divergent identities.

Motivation & Objective

  • To improve the discriminative power of deep face features for better recognition performance.
  • To address the limitation of standard softmax loss, which only penalizes classification error without controlling feature compactness or separability.
  • To combine the strengths of softmax and center loss into a unified, end-to-end trainable loss function.
  • To achieve maximum feature separability between identities while maintaining intra-class compactness.
  • To demonstrate generalization and effectiveness on standard benchmarks with fewer training images than prior SOTA methods.

Proposed method

  • Git loss integrates softmax cross-entropy loss with center loss to jointly optimize classification and feature clustering.
  • The loss function minimizes the distance between features and their class centers (intra-class compactness) while maximizing the distance between class centers (inter-class separation).
  • It uses a hyperparameter λC to balance the trade-off between intra-class and inter-class optimization.
  • The method is compatible with standard CNN architectures like Inception-ResNet-V1 and is end-to-end trainable with SGD.
  • The name 'Git loss' is inspired by Git commands 'push' (separating classes) and 'pull' (grouping same-class features).
  • A systematic heuristic search is used to tune hyperparameters, avoiding the computational burden of grid search in high-dimensional spaces.

Experimental results

Research questions

  • RQ1Can a joint loss function combining softmax and center loss improve deep face feature discriminability beyond individual losses?
  • RQ2How does Git loss compare to state-of-the-art methods like FaceNet and ArcFace in terms of accuracy and generalization?
  • RQ3To what extent does Git loss reduce intra-class variation and increase inter-class distance in learned feature space?
  • RQ4Can Git loss achieve SOTA performance with fewer training images than prior methods?
  • RQ5How sensitive is Git loss to hyperparameter settings, particularly λC?

Key findings

  • Git loss achieves 99.30% accuracy on the Labeled Faces in the Wild (LFW) benchmark, outperforming standard softmax loss (98.40%) and center loss (99.20%) under the same architecture and dataset.
  • On the YouTube Faces (YTF) dataset, Git loss reaches 95.30% accuracy, surpassing both softmax (93.60%) and center loss (95.10%) with identical training conditions.
  • The proposed loss function reduces intra-class distances and increases inter-class distances more effectively than center loss alone, as shown in qualitative and quantitative comparisons on MNIST.
  • Git loss achieves SOTA performance using only ≈3 million training images, significantly fewer than methods like FaceNet (200M) and Fusion (500M).
  • Hyperparameter analysis shows that smaller λC values increase inter-class distance but also raise intra-class variance, indicating a trade-off that Git loss effectively balances.
  • The method is robust and generalizes well, as validated across multiple benchmarks and training protocols, including open-set evaluation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.