Abstract
Current facial analysis models are often task-specific, requiring large labeled datasets for each new application. This paper explores the development of a universal facial representation through self-supervised pre-training on massive, uncurated "in-the-wild" datasets. By utilizing the Swapping Assignments between Views (SwAV) method, the researchers demonstrate that a single backbone can be effectively adapted to diverse tasks such as landmark localization, emotion recognition, and 3D reconstruction. Notably, this approach excels in "few-shot" scenarios, where labeled data is scarce, outperforming traditional supervised pre-training on ImageNet.
Introduction
The field of face analysis is characterized by a fragmented landscape of specialized models. Separate architectures are typically trained for face recognition, landmark localization, and emotion detection, each demanding its own extensive, task-specific labeled dataset. This paper addresses the challenge of finding a single, universal facial representation that can be easily adapted to any face-related task, with a particular focus on the "few-shot" regime.
Methods and Datasets
The authors depart from the standard supervised pre-training paradigm, instead focusing on unsupervised learning and large-scale uncurated data.
Unsupervised Pre-training (SwAV)
The core of the approach is the Swapping Assignments between Views (SwAV) method. SwAV learns by taking two different augmented "views" of the same face and training the model to predict the cluster assignment of one view from the representation of the other. This process allows the model to capture the underlying structural features of faces without requiring manual labels.
The Flickr-Face Dataset
A key contribution is the Flickr-Face dataset, containing approximately 1.8 million uncurated facial images. These images were collected using simple keyword searches on Flickr and processed with a basic face detector, involving no human cleaning. This dataset provides the diversity and scale necessary for robust self-supervised learning.
Adaptation Strategy
The researchers found that Network Fine-tuning (updating all model weights) is essential for high-quality results compared to simple linear adaptation. Additionally, a self-distillation framework is employed for semi-supervised settings, where a teacher model generates pseudo-labels for unlabeled data to further refine the student model.
Key Insights
- Scale Over Curation: Pre-training on the "messy" Flickr-Face dataset performed comparably to, or better than, pre-training on highly curated sets like VGG-Face2. This suggests that diversity and scale are more critical than manual cleaning for self-supervised facial representation learning.
- Few-Shot Performance: The benefits of self-supervised pre-training are most pronounced when labeled data is extremely limited. In regimes with only 2% of labeled data, the proposed models maintain high accuracy while baseline models fail.
- Universal Applicability: The same backbone, once pre-trained on unlabeled faces, achieved state-of-the-art results across landmarks, Action Units (AUs), and 3D reconstruction upon fine-tuning.
Key Results
The proposed SwAV pre-training significantly outperforms training from scratch and other self-supervised methods like MoCov2.
On the 300W landmark localization benchmark using only 2% of the labels, the SwAV pre-trained model achieved a 4.97% Normalized Mean Error (NME), compared to a 13.52% error when training from scratch. Similar gains were observed in face recognition and AU intensity tasks, where the unsupervised model consistently outperformed supervised ImageNet pre-training in low-data scenarios.
Conclusion
This work demonstrates that self-supervised pre-training on large-scale, uncurated facial data provides a powerful foundation for a variety of face analysis tasks. While the approach requires full fine-tuning for peak performance and involves significant initial computational costs, it offers a path toward more efficient and universal facial representation learning, particularly for applications where labeled data is difficult to obtain. Future research may explore the scalability of these gains with more advanced architectures like Vision Transformers.
Summary updated