Abstract
Estimating age and gender from facial images in uncontrolled environments remains a significant challenge in computer vision. This paper explores the "transferability" of features from deep Convolutional Neural Networks (CNNs) to address this task. By comparing a task-specific model (GilNet) against models pre-trained on generic objects (AlexNet-like) and facial identity (VGG-Face), the authors demonstrate that leveraging pre-trained deep features is significantly more effective than training specialized architectures from scratch. Specifically, the domain-specific VGG-Face model sets a new performance benchmark on the challenging Adience dataset, showing faster convergence and higher accuracy.
Introduction
Age and gender estimation are vital components of "soft biometrics," enhancing the capabilities of facial recognition systems. However, real-world or "in-the-wild" conditions—characterized by varying lighting, poses, and occlusions like eyewear or facial hair—pose substantial hurdles for accuracy. While deep CNNs have revolutionized image analysis, they typically require vast amounts of annotated data. For niche tasks like age estimation, such datasets are often scarce. This research addresses a fundamental dilemma: is it better to train a shallow, task-specific network from scratch or adapt a deep, pre-trained network from a different domain?
Methodology
The study evaluates three distinct CNN architectures to determine the best approach for feature extraction and classification:
- GilNet (Task-Specific): A shallow CNN with three convolutional layers, trained from scratch specifically for age and gender classification.
- AlexNet-like (Generic): A deep model pre-trained on the ImageNet dataset, which contains 1.2 million images of general objects.
- VGG-Face (Domain-Specific): A 16-layer deep model pre-trained on 2.6 million facial images for identity recognition.
Two primary transfer learning strategies were applied to the pre-trained models:
- Fine-tuning: The weights of the pre-trained networks were adjusted using the target dataset.
- Feature Extraction + SVM: The pre-trained networks served as fixed feature extractors, with the resulting vectors classified using Support Vector Machines (SVM) with Linear and RBF kernels.
The Adience Benchmark
The models were evaluated using the Adience dataset, a benchmark designed to reflect real-world conditions. Unlike laboratory-controlled datasets, Adience contains approximately 26,000 images of 2,284 individuals captured in uncontrolled environments and uploaded to Flickr.
The dataset categorizes age into eight distinct groups and treats gender as a binary classification task. Its difficulty lies in the lack of normalization, making it a robust test for the transferability of CNN features.
Results and Discussion
The experimental results revealed several key insights into the behavior of deep features:
- Depth and Domain Proximity: Deeper architectures (AlexNet and VGG-Face) consistently outperformed the task-specific GilNet. Furthermore, VGG-Face, being pre-trained on faces, outperformed the generic AlexNet, confirming that domain proximity enhances transfer learning performance.
- Rapid Convergence: The domain-specific model adapted remarkably quickly. As shown in Figure 3(a), VGG-Face surpassed 80% accuracy within just 1,000 iterations, significantly faster than its counterparts.
- SVM Synergy: Combining CNN-derived features with an RBF-kernel SVM often yielded the highest accuracy, suggesting that deep layers produce highly descriptive, non-linearly separable features.
On the Adience benchmark, the fine-tuned VGG-Face model achieved a mean age classification accuracy of 57.9% and a gender classification accuracy of 92.0%. These results represent a significant improvement over the previous state-of-the-art GilNet (a 7% and 4.5% absolute increase, respectively) and traditional non-CNN methods like Local Binary Patterns (LBP).
Conclusion
This research confirms that for specialized facial analysis tasks, "borrowing" knowledge from deep, domain-proximate models is superior to building task-specific models from scratch. While the VGG-Face model offers superior accuracy and faster convergence, it comes with higher computational costs due to its depth. Future work should focus on moving from age group classification to precise age regression and validating these findings across even more diverse "in-the-wild" datasets.
Summary updated