[Paper Review] Face Attribute Prediction Using Off-the-Shelf CNN Features
This paper proposes using off-the-shelf pre-trained CNN features—particularly intermediate spatial representations—from face recognition models like FaceNet and VGG-Face for face attribute prediction. By leveraging these features instead of training end-to-end networks, the method achieves state-of-the-art performance on LFWA and CelebA datasets, demonstrating that intermediate-level features are more effective than high-level features for attribute prediction due to their richer spatial detail.
Predicting attributes from face images in the wild is a challenging computer vision problem. To automatically describe face attributes from face containing images, traditionally one needs to cascade three technical blocks --- face localization, facial descriptor construction, and attribute classification --- in a pipeline. As a typical classification problem, face attribute prediction has been addressed using deep learning. Current state-of-the-art performance was achieved by using two cascaded Convolutional Neural Networks (CNNs), which were specifically trained to learn face localization and attribute description. In this paper, we experiment with an alternative way of employing the power of deep representations from CNNs. Combining with conventional face localization techniques, we use off-the-shelf architectures trained for face recognition to build facial descriptors. Recognizing that the describable face attributes are diverse, our face descriptors are constructed from different levels of the CNNs for different attributes to best facilitate face attribute prediction. Experiments on two large datasets, LFWA and CelebA, show that our approach is entirely comparable to the state-of-the-art. Our findings not only demonstrate an efficient face attribute prediction approach, but also raise an important question: how to leverage the power of off-the-shelf CNN representations for novel tasks.
Motivation & Objective
- To investigate whether off-the-shelf CNN features from pre-trained face recognition models can effectively predict diverse facial attributes.
- To determine which layers and types of features (spatial, fully connected) from pre-trained networks yield the best performance for attribute prediction.
- To compare the performance of intermediate spatial features against high-level fully connected features in predicting face attributes.
- To evaluate the utility of pre-trained models like FaceNet and VGG-Face without fine-tuning for zero-shot or few-shot attribute prediction.
- To explore whether conventional face localization combined with pre-trained features can match end-to-end deep learning performance.
Proposed method
- The method uses a three-stage pipeline: conventional face localization, feature extraction from off-the-shelf pre-trained CNNs, and training of attribute classifiers.
- Pre-trained models (FaceNet, VGG-Face) are used to extract features from multiple layers, including spatial feature maps (3×3 and 1×1) and fully connected layers (FC1, FC2).
- For each attribute, the best-performing feature representation across different network layers is selected to form the final descriptor.
- The approach avoids end-to-end training by fixing the CNN weights and only training the final attribute classifier on extracted features.
- Experiments are conducted on LFWA and CelebA datasets using multiple pre-trained architectures with varying input sizes and fully connected layer dimensions.
- Ablation studies compare feature types (spatial vs. fully connected) and model variants to identify optimal feature sources.
Experimental results
Research questions
- RQ1Can off-the-shelf CNN features from pre-trained face recognition models achieve state-of-the-art performance in face attribute prediction without fine-tuning?
- RQ2Which layer types (spatial feature maps vs. fully connected layers) in pre-trained CNNs are most effective for predicting diverse facial attributes?
- RQ3Does using intermediate spatial representations from deeper layers improve attribute prediction compared to high-level features?
- RQ4How does the receptive field size of the CNN affect the performance of attribute prediction using off-the-shelf features?
- RQ5Can a simple pipeline combining conventional face localization with pre-trained CNN features match the performance of complex two-stage end-to-end CNNs?
Key findings
- The best-performing feature representations were intermediate spatial features (3×3 and 1×1 spatial maps), which outperformed high-level fully connected features on over 75% of the 40 attributes.
- The off-the-shelf VGG-Face model’s intermediate spatial features achieved the highest average accuracy (86%) across all models, outperforming even its own FC2 layer.
- On average, spatial representations from the 3×3 and 1×1 feature maps achieved 86% accuracy, matching or exceeding the performance of the FC2 layer (84–85%).
- Specific attributes like 'Bags Under Eyes', 'Blurry', 'Mouth S. Open', 'Pale Skin', and 'Narrow Eyes' were predicted significantly better by intermediate spatial features than by FC2 features.
- The model with the largest receptive field (224×224 in VGG-Face) showed superior performance, indicating that larger spatial context improves attribute prediction.
- Increasing the FC layer size from 512 to 1024 did not improve performance, suggesting that feature quality matters more than dimensionality in this setup.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.