TL;DR
This paper introduces a novel multi-output Convolutional Neural Network (ConvNet) that efficiently extracts facial representations for identity recognition while simultaneously predicting age and gender. This unified approach significantly speeds up photo and video album organization, especially on mobile devices, by reducing computational complexity and enabling offline operation.
What Problem Does This Paper Address?
The explosion of digital photos and videos presents a significant challenge for organization and retrieval. Manually tagging and sorting these vast collections is impractical. Existing automated systems often rely on multiple specialized ConvNets for tasks like face detection, identification, age estimation, and gender prediction. This multi-network approach leads to high computational costs, making it unsuitable for resource-constrained environments like mobile phones. Furthermore, datasets for age and gender prediction are often smaller and noisier than those for face identification, impacting accuracy. This paper aims to bridge this gap by developing a single, efficient ConvNet that can perform all these tasks simultaneously, leveraging large-scale face identification datasets to improve the accuracy of age and gender prediction.
Methods
The core of the proposed solution is a modified MobileNet v1 architecture. This network is designed with a "multi-output" structure, meaning it has multiple "heads" that produce different types of predictions.
- Face Identification Backbone: The base MobileNet, pre-trained on a massive face identification dataset (VGGFace2), serves as the feature extractor. This backbone learns robust facial representations (embeddings) that are crucial for distinguishing individuals.
- Multi-Task Learning: Additional layers are added on top of the backbone. One "head" is dedicated to predicting age probabilities, and another to predicting gender probability. These heads are trained using data specifically labeled for age and gender.
- Age Estimation: Instead of directly predicting a single age, the network outputs probabilities for different age bins. The final age is estimated as the expected value of these top predictions, a method designed to mitigate issues with imbalanced age distributions in training data.
- Face Clustering: After extracting identity features and predicting attributes, a hierarchical agglomerative clustering algorithm is used to group images of the same person. A custom dissimilarity measure is employed, combining the L2 distance between identity features with a weighted distance based on predicted birth years.
- Birth Year and Gender Estimation per Cluster: For each identified cluster (representing a person), the birth year and gender are estimated by fusing the predictions from individual photos within that cluster, using techniques like simple voting or maximizing posterior probabilities.
Datasets
- VGGFace2: Used for pre-training the MobileNet backbone for face identification. This is a large-scale dataset with millions of images.
- IMDB-Wiki: A large dataset used for training age and gender prediction. The authors note that this dataset suffers from imbalanced age groups and potential inaccuracies.
- Adience: Another dataset used for age and gender prediction, which contains age intervals rather than precise ages.
- UTKFace: Used for evaluating age and gender recognition performance.
- LFW (Labeled Faces in the Wild): Used for evaluating facial clustering and face identification performance.
- Gallagher collection: Used for evaluating facial clustering.
- GFW (Grouping Faces in the Wild): A complex dataset used for evaluating facial clustering.
- Eurecom Kinect, Indian movie face database (IMFDB), AFEW, IARPA Janus Benchmark A: Video datasets used for evaluating age and gender recognition in video frames.
Key Insights and Ideas
- Unified Architecture for Efficiency: The most significant insight is that a single ConvNet can effectively handle face identification, age, and gender recognition simultaneously. This drastically reduces computational overhead compared to using separate networks.
- Leveraging Face Identification Data for Attributes: Training the backbone on a massive face identification dataset (VGGFace2) provides rich facial representations that significantly boost the accuracy of age and gender prediction, even when these attribute datasets are smaller or noisier.
- Improved Age Estimation Strategy: Estimating age as an expected value of top predictions, rather than a direct regression or single-class prediction, helps to handle imbalanced age distributions in training data and leads to more accurate results.
- Offline Mobile Application Viability: The use of a lightweight architecture like MobileNet, combined with the multi-output design, makes the system efficient enough to run directly on mobile devices for offline photo album organization.
Key Results
- Facial Clustering: The proposed model achieved competitive results in facial clustering, with the highest BCubed F-measure on the complex GFW dataset (0.751), slightly outperforming previous state-of-the-art.
- Face Identification: The proposed model achieved a respectable 94.81% rank-1 accuracy on the LFW dataset, competitive with many state-of-the-art methods, despite its significantly smaller model size and faster inference time.
- Age and Gender Recognition: The proposed multi-output ConvNet significantly outperformed publicly available models on UTKFace and video datasets, achieving state-of-the-art results (e.g., 94.1% gender accuracy and 5.44 age MAE on UTKFace). The fine-tuned version achieved 94.10% gender accuracy and 5.74 age MAE.
- Efficiency: The MobileNet-based model is 5-10 times faster than VGGFace and VGGFace2 for inference and has a significantly lower model size, making it ideal for mobile applications.
Limitations and Future Work
- Aging Problem: The authors acknowledge that average linkage clustering can sometimes produce multiple groups for the same person, especially for children who age significantly over time. They suggest exploring single linkage clustering or advanced distance measures for future work.
- Other Facial Attributes: The current work focuses on age and gender. Future research could extend the approach to classify other attributes like race/ethnicity or emotions.
- Clustering Techniques: While agglomerative clustering is used, the authors suggest that replacing it with contemporary clustering techniques that do not require a pre-defined number of clusters could further improve grouping quality.
- Dataset Limitations: The paper notes that datasets for age and gender prediction can be noisy and imbalanced, which impacts performance. The proposed method mitigates this by leveraging large face identification datasets.
Summary updated