Towards Universal Representation Learning for Deep Face Recognition

Yichun Shi, Xiang Yu, Kihyuk Sohn, Manmohan Chandraker, Anil K. Jain

Abstract

Recognizing wild faces is extremely hard as they appear with all kinds of variations. Traditional methods either train with specifically annotated variation data from target domains, or by introducing unlabeled target variation data to adapt from the training data. Instead, we propose a universal representation learning framework that can deal with larger variation unseen in the given training data without leveraging target domain knowledge. We firstly synthesize training data alongside some semantically meaningful variations, such as low resolution, occlusion and head pose. However, directly feeding the augmented data for training will not converge well as the newly introduced samples are mostly hard examples. We propose to split the feature embedding into multiple sub-embeddings, and associate different confidence values for each sub-embedding to smooth the training procedure. The sub-embeddings are further decorrelated by regularizing variation classification loss and variation adversarial loss on different partitions of them. Experiments show that our method achieves top performance on general face recognition datasets such as LFW and MegaFace, while significantly better on extreme benchmarks such as TinyFace and IJB-S.

Introduction

Deep face recognition has achieved remarkable success on standard benchmarks like LFW. However, performance often degrades significantly when models encounter "unconstrained" images—low-quality surveillance footage, grainy cell phone photos, or faces with extreme poses and occlusions. This performance drop is primarily due to the domain gap between high-quality web-scraped training data and the messy reality of "in-the-wild" captures.

Traditional approaches to bridge this gap typically rely on Domain Adaptation, which requires data from the target environment, or Model Ensembles, which are computationally expensive and slow. The URFace framework proposes a different path: learning a single, universal representation that is robust to these variations out-of-the-box, without requiring prior knowledge of the target domain.

The URFace Framework

The core of URFace is a learning strategy that handles extreme variations by intelligently weighting and decorrelating feature representations.

Comparison of traditional adaptation/ensemble methods versus the proposed URFace framework.

1. Variation Augmentation and Confidence-Aware Loss

To prepare the model for real-world noise, the authors synthesize training data with semantically meaningful variations, including blur, occlusion, and head pose.

Examples of synthetic variations used during training: (a) Blur and (b) Occlusion.

Directly training on these "hard" examples often leads to convergence issues. To solve this, URFace introduces Confidence-Aware Identification Loss (C-Softmax). This mechanism assigns a confidence value ($s_i$) to each sample. If an image is extremely low-quality, the model down-weights its contribution to the loss, preventing noisy gradients from overwhelming the learning process.

2. Multiple Sub-embeddings and Decorrelation

Instead of a single monolithic feature vector, URFace splits the embedding into $K$ independent sub-embeddings. Each sub-embedding has its own learned confidence score. This "divide and conquer" approach allows the model to ignore specific "noisy" parts of a face (e.g., an occluded eye) while focusing on reliable features (e.g., the jawline).

To ensure these sub-embeddings capture diverse information, the framework employs Variation Decorrelation. Using a mix of classification and adversarial losses, the model forces different sub-embeddings to focus on different factors or remain invariant to specific variations like blur.

Experimental Results

URFace was evaluated against three categories of benchmarks, ranging from standard high-quality sets to extreme surveillance data.

  • Extreme Benchmarks: On the IJB-S (Surveillance-to-Booking) task, URFace achieved 61.98% Rank-1 accuracy, a significant leap over the previous state-of-the-art PFE (50.16%). On TinyFace, it reached 63.89% Rank-1 accuracy, significantly outperforming the 44.8% reported in prior work.
  • Generalization: Importantly, these gains in low-quality scenarios did not come at the cost of standard performance. URFace maintained top-tier accuracy on LFW (99.78%) and MegaFace.

Conclusion

URFace demonstrates that universal representation learning is a viable and efficient alternative to domain-specific adaptation. By leveraging sub-embeddings and confidence-aware training, the framework creates a robust face recognition system capable of handling the unpredictable variations of the real world. While future work may involve expanding the set of "nameable" variations, the current results on extreme benchmarks like IJB-S and TinyFace set a new standard for unconstrained face recognition.

Summary updated

BibTeX
@inproceedings{shi2020towards,
  author = {Yichun Shi and Xiang Yu and Kihyuk Sohn and Manmohan Chandraker and Anil K. Jain},
  title = {{Towards Universal Representation Learning for Deep Face Recognition}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  url = {https://openreview.net/forum?id=xU5pZcR4HP2},
}
Figure