Unknown Identity Rejection Loss: Utilizing Unlabeled Data for Face Recognition

Haiming Yu, Yin Fan, Keyu Chen, He Yan, Xiangju Lu, Junhui Liu, Danming XieWorkshops @ ICCV 2019

Abstract

Face recognition has advanced considerably with the availability of large-scale labeled datasets. However, how to further improve the performance with the easily accessible unlabeled dataset remains a challenge. In this paper, we propose the novel Unknown Identity Rejection (UIR) loss to utilize the unlabeled data. We categorize identities in unconstrained environment into the known set and the unknown set. The former corresponds to the identities that appear in the labeled training dataset while the latter is its complementary set. Besides training the model to accurately classify the known identities, we also force the model to reject unknown identities provided by the unlabeled dataset via our proposed UIR loss. In order to 'reject' faces of unknown identities, centers of the known identities are forced to keep enough margin from centers of unknown identities which are assumed to be approximated by the features of their samples. By this means, the discriminativeness of the face representations can be enhanced. Experimental results demonstrate that our approach can provide obvious performance improvement by utilizing the unlabeled data.

Introduction

State-of-the-art face recognition relies on massive labeled datasets like MS-Celeb-1M. However, manual annotation is expensive and slow. While unlabeled face images are easy to crawl from the web, they are difficult to use due to their long-tailed distribution and open-set nature. Existing semi-supervised learning (SSL) methods often try to guess labels for unlabeled data, which can introduce noise. This paper, presented by researchers from iQIYI and the Beijing Institute of Technology, takes the opposite approach: it uses unlabeled data to define what a "known" identity is not through a novel Unknown Identity Rejection (UIR) loss.

Methods: Unknown Identity Rejection (UIR) Loss

The core innovation is treating unlabeled data as "unknown" identities. In a standard classifier, the output is a probability distribution across $n$ known classes. For an "unknown" identity from the unlabeled set, the model should ideally be as uncertain as possible, with all class probabilities $p_i$ being small and roughly equal ($1/n$).

To achieve this, the authors formulate a loss function that minimizes the individual probabilities of an unlabeled sample belonging to any known class. Mathematically, the UIR loss is defined as: $$L_{uir} = -\sum_{i=1}^{n} \log(p_i)$$

Geometric Intuition

Think of the feature space as a high-dimensional sphere where known identities have "centers" (weights in the final layer). By applying UIR loss, the feature vectors of unlabeled "unknown" samples are pushed away from all known centers. This forces the known centers to move further apart to make "room" for the unknown identities, increasing sparsity and creating larger margins.

Geometric intuition of UIR loss pushing known class centers apart.

Training Framework

The training process involves a two-step strategy: supervised pre-training on labeled data followed by semi-supervised fine-tuning using a weighted combination of standard supervised loss ($L_{sup}$) and the new $L_{uir}$. Each training batch is composed of 75% labeled data and 25% unlabeled data.

Overview of the training pipeline using both labeled and unlabeled data.

Experimental Results

The UIR loss provided consistent improvements across various backbones (ResNet50, ResNet100, MobileNet) and benchmarks:

  • IJB-C: On ResNet100, the True Accept Rate (TAR) at a False Accept Rate (FAR) of $10^{-6}$ improved from 89.66% to 91.46%.
  • iQIYI-VID: Significant gains were observed, with ResNet100 performance increasing from 65.139% to 67.214%.
  • Sparsity Verification: Models trained with UIR loss showed consistently larger average pairwise distances between class centers, proving the feature space became more discriminative.

Conclusion

By embracing the "unknown" rather than forcing unlabeled data into known categories, the UIR loss effectively utilizes unlabeled data to define the boundaries of known identities. This approach is robust to noise and the long-tail problem often found in web-crawled data. Future work may explore dynamic weighting for the UIR loss and its application to other classification tasks like person re-identification or fine-grained image recognition.

Summary updated

BibTeX
@inproceedings{yu2019unknown,
  author = {Haiming Yu and Yin Fan and Keyu Chen and He Yan and Xiangju Lu and Junhui Liu and Danming Xie},
  title = {{Unknown Identity Rejection Loss: Utilizing Unlabeled Data for Face Recognition}},
  booktitle = {Workshops @ ICCV},
  year = {2019},
}
Figure