Large-Scale Bisample Learning on ID Versus Spot Face Recognition.

Xiangyu Zhu, Hao Liu, Zhen Lei, Hailin Shi, Fan Yang, Dong Yi, Guojun Qi, Stan Z. Li · DOI

TL;DR

This paper tackles the challenging problem of ID-versus-Spot (IvS) face recognition, where training data is scarce (only two images per person) but the number of identities is massive (millions). They propose a novel "Classification-Verification-Classification" (CVC) training strategy and a "Dominant Prototype Softmax" (DP-softmax) to enable scalable and effective learning on such datasets.

What Problem Does This Paper Address?

Real-world face recognition systems often face "ID-versus-Spot" (IvS) data. This means you have a clean, controlled "ID" photo for enrollment and a "spot" photo taken in uncontrolled, everyday conditions (varying poses, lighting, expressions, etc.). This scenario presents three major challenges:

  1. Heterogeneity: The vast difference between ID and spot photos makes matching difficult.
  2. Bisample Data: For each person, you typically only have one ID photo and one spot photo. This severely limits the intra-class variations that deep learning models usually learn from.
  3. Large-scale Classes: Practical systems deal with millions of identities, making traditional deep learning approaches computationally infeasible due to memory and processing constraints.

Existing methods, trained on datasets with many samples per class, struggle with these challenges. This paper aims to bridge this gap by developing a method specifically for large-scale bisample IvS face recognition.

Methods

The paper introduces a three-stage training strategy called Classification-Verification-Classification (CVC):

  1. Pre-learning (Classification): The model is first trained from scratch on a large, well-posed "wild" dataset (like Ms-Celeb-1M) using a standard classification loss (e.g., A-Softmax). This provides a good initial understanding of general face features.
  2. Transfer Learning (Verification): The pre-trained model is then fine-tuned on the IvS dataset using a verification loss (e.g., triplet loss). This stage is crucial because verification methods are more robust to limited data per class and help bridge the domain gap between wild and IvS data.
  3. Fine-grained Learning (Classification): Finally, the model undergoes large-scale classification on the IvS dataset. To handle the millions of classes, they propose Dominant Prototype Softmax (DP-softmax). This novel approach addresses the scalability issue by:
  4. Prototype Selection: Instead of using all millions of class prototypes, DP-softmax intelligently selects a small subset of "dominant" prototypes (those that contribute most to the gradients) for each mini-batch. This is based on the observation that only a few negative prototypes generate strong gradients.
  5. Dominant Queues: It maintains "dominant queues" for each class, storing similar classes. These queues are updated dynamically during training, improving the selection of relevant prototypes.

Datasets

  • Training Data:
    • Ms-Celeb-1M: A large wild dataset used for pre-learning.
  • CASIA-IvS-Train: The primary large-scale bisample IvS dataset used for transfer and fine-grained learning, containing over 2 million identities with two images each.
  • Testing Data:
    • CASIA-IvS-Test: A test set derived from the CASIA-IvS dataset.
  • Public-IvS: A newly released IvS test dataset with 1,262 identities for open evaluation.
  • Megaface-bisample: A new protocol created by the authors to mimic large-scale bisample learning, using subsets of the MF2 dataset.

Key Insights and Ideas

  • CVC is Crucial for Domain Adaptation: Directly training on IvS data is difficult due to the domain shift. The CVC strategy effectively transfers knowledge from well-posed wild data to the challenging IvS domain.
  • Verification Bridges the Gap: The verification stage in CVC is essential for successful knowledge transfer. It's more robust to bisample data and provides a better initialization for the final large-scale classification than direct classification.
  • Not All Prototypes Are Equal: In large-scale classification, only a small fraction of class prototypes significantly influence the training gradients. This insight is the foundation of DP-softmax.
  • Dominant Queues Improve Efficiency: Dynamically updating dominant queues allows DP-softmax to focus on the most relevant prototypes, significantly reducing computational cost without sacrificing performance.
  • Wild Performance Degrades: Interestingly, the model's performance on the original wild dataset tends to decrease as it improves on the IvS dataset during CVC training.

Key Results

  • The proposed Large-scale Bisample Learning (LBL) method with DP-softmax achieves state-of-the-art performance on IvS face recognition.
  • On CASIA-IvS-Test, the method reaches 91.92% VR at FAR=10-5, significantly outperforming previous methods.
  • DP-softmax enables effective classification with only 0.15% of the total classes participating in each mini-batch, drastically reducing computational demands.
  • The paper also releases the Public-IvS dataset and the Megaface-bisample protocol to facilitate further research in this area.

Limitations and Future Work

  • Identity Volume: The paper shows that performance scales logarithmically with the number of identities, suggesting that more data will continue to improve results.
  • Joint Training: While CVC improves IvS performance at the cost of wild performance, the authors note that joint training on both scenarios can improve wild performance with only a slight drop in IvS performance, suggesting this as a future direction when both are important.
  • Prototype Construction: The choice of prototype construction (ID-prototype vs. average-prototype) can influence performance depending on the loss function. The paper prefers ID-prototypes when available.
  • Mimic Experiments: The Megaface-bisample protocol, while simulating IvS challenges, is not a true IvS dataset as it lacks distinct ID photos.

Summary updated

BibTeX
@article{zhu2019large,
  author = {Xiangyu Zhu and Hao Liu and Zhen Lei and Hailin Shi and Fan Yang and Dong Yi and Guojun Qi and Stan Z. Li},
  title = {{Large-Scale Bisample Learning on ID Versus Spot Face Recognition.}},
  journal = {International Journal of Computer Vision2019},
  year = {2019},
  doi = {10.1007/s11263-019-01162-8},
}
Figure