Skip to main content
QUICK REVIEW

[Paper Review] AirFace: Lightweight and Efficient Model for Face Recognition

Xianyang Li, Feng Wang|arXiv (Cornell University)|Jul 29, 2019
Face recognition and analysisComputer Science20 references8 citations
TL;DR

This paper proposes AirFace, a lightweight and efficient face recognition model that combines a novel loss function, Li-ArcFace, and an enhanced MobileFaceNet architecture with attention modules and training optimizations. Li-ArcFace improves convergence for small embedding sizes (e.g., 128D) by replacing ArcFace’s cosine-based margin with a linear function, enabling end-to-end training without pre-training, and achieving state-of-the-art performance on LFR2019 and MegaFace Challenge 1.

ABSTRACT

With the development of convolutional neural network, significant progress has been made in computer vision tasks. However, the commonly used loss function softmax loss and highly efficient network architecture for common visual tasks are not as effective for face recognition. In this paper, we propose a novel loss function named Li-ArcFace based on ArcFace. Li-ArcFace takes the value of the angle through linear function as the target logit rather than through cosine function, which has better convergence and performance on low dimensional embedding feature learning for face recognition. In terms of network architecture, we improved the the perfomance of MobileFaceNet by increasing the network depth, width and adding attention module. Besides, we found some useful training tricks for face recognition. With all the above results, we won the second place in the deepglint-light challenge of LFR2019.

Motivation & Objective

  • Address the poor convergence of ArcFace when training small embedding size models (e.g., 128D) from scratch.
  • Improve face recognition performance on mobile devices by optimizing network architecture and training procedures.
  • Develop a loss function that enhances inter-class discrimination and intra-class compactness without requiring pre-training.
  • Achieve state-of-the-art performance in low-resource settings, such as the DeepGlint-Light Challenge 2019.
  • Demonstrate that efficient network design and training tricks significantly boost performance on face recognition benchmarks.

Proposed method

  • Propose Li-ArcFace, a new additive margin loss function that replaces the cosine-based angular margin in ArcFace with a linear function of the angle to improve training stability and convergence.
  • Enhance MobileFaceNet by increasing network depth and width, and integrating a squeeze-and-excitation (SE) attention module to improve feature representation.
  • Apply a weight decay multiplier of 5e-4 for all layers except the final embedding layer, which uses 5e-3 to improve optimization stability.
  • Use a margin hyperparameter m in Li-ArcFace tuned between 0.4 and 0.45, with optimal performance at m=0.4.
  • Implement data preprocessing using the MS1M-retina dataset and InsightFace’s face detection and alignment pipeline.
  • Train models end-to-end using SGD with momentum, and evaluate on standard benchmarks including LFW, CFP-FP, AgeDB, and MegaFace Challenge 1.

Experimental results

Research questions

  • RQ1Can a modified loss function improve convergence and performance when training small embedding size models (e.g., 128D) from scratch?
  • RQ2How does the proposed Li-ArcFace loss compare to ArcFace and CosFace in terms of convergence and accuracy on low-dimensional face embeddings?
  • RQ3To what extent can architectural improvements to MobileFaceNet enhance face recognition accuracy without increasing computational cost?
  • RQ4What training tricks significantly improve performance in lightweight face recognition models?
  • RQ5Can a lightweight model achieve state-of-the-art performance on major benchmarks like MegaFace Challenge 1 and DeepGlint-Light Challenge 2019?

Key findings

  • Li-ArcFace achieved 99.27% verification accuracy on LFW, 94.20% on CFP-FP, and 93.25% on AgeDB, outperforming ArcFace and CosFace in most settings.
  • On the DeepGlint-Light Challenge 2019, AirFace achieved 88.415% verification accuracy at 1e-8 FPR, securing second place.
  • AirFace reached 97.93% verification TAR at 1e-6 FAR on MegaFace Challenge 1, with only 1G FLOPs, outperforming MobileFaceNet and matching larger models.
  • Li-ArcFace achieved better convergence than ArcFace on small embedding sizes, eliminating the need for pre-training with softmax loss.
  • The model with attention modules and architectural enhancements improved performance by over 6% on AgeDB compared to standard MobileFaceNet.
  • The optimal margin hyperparameter for Li-ArcFace was found to be m=0.4, with performance degrading slightly at m=0.5 or higher.

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.