Introduction
Facial attribute classification—identifying traits such as "smiling," "wearing lipstick," or "having a goatee"—is a foundational task for face verification, image search, and human-computer interaction. Historically, researchers treated these 40+ attributes as independent problems, training a separate classifier for each. This approach is computationally expensive and ignores the inherent correlations between attributes (e.g., "lipstick" is highly correlated with "female").
This paper introduces MCNN-AUX, a multi-task deep learning architecture that classifies 40 facial attributes simultaneously. By sharing features across related attributes and utilizing an auxiliary network to capture score-level correlations, the authors achieve state-of-the-art accuracy while significantly reducing model parameters and training time.
Methodology
The proposed architecture consists of two primary components: the Multi-Task Convolutional Neural Network (MCNN) and an Auxiliary Network (AUX).
MCNN: Spatial Grouping and Feature Sharing
Instead of training 40 independent networks, the MCNN employs a branching strategy to exploit spatial relationships. The first two convolutional layers are shared across all attributes to learn general low-level features like edges and textures. Following these base layers, the network splits into nine distinct branches based on facial location (e.g., Mouth, Eyes, Nose, AroundHead).
This spatial grouping forces the network to learn relevant local features. For instance, the "Mouth" branch focuses on features for "Big Lips," "Lipstick," and "Smiling." Notably, the "Male" attribute performed best with its own dedicated branch, as its features were distinct enough that sharing higher layers with other groups reduced overall accuracy.
AUX: Capturing Semantic Correlations
To capture "score-level" relationships, the authors added a 2-layer fully connected Auxiliary Network (AUX) on top of the MCNN. This network takes the raw scores from the MCNN as input and refines them based on learned semantic correlations. If the MCNN is highly confident about "lipstick," the AUX network can use this information to boost the confidence of the "female" attribute, even if the visual evidence for the latter is ambiguous.
Experimental Results
The model was evaluated on the CelebA dataset (200,000 celebrity images) and the LFWA dataset (13,143 images).
Performance and Efficiency
MCNN-AUX outperformed previous benchmarks on nearly all attributes across both datasets. On CelebA, significant gains were observed in attributes like "necklace" (+15%), "blurry" (+12%), and "straight hair" (+9%).
Beyond accuracy, the multi-task approach offers massive efficiency gains:
- Training Speed: Training time was reduced from 40 hours to just 2.5 hours on CelebA.
- Model Size: Parameter count was reduced by 75% compared to independent classifiers (from 64 million to under 16 million).
- Regularization: The reduced parameter count acted as a form of regularization, helping the model generalize better without the need for expensive pre-processing like facial landmark alignment.
Conclusion
MCNN-AUX demonstrates that leveraging both implicit spatial relationships and explicit semantic correlations leads to superior facial attribute classification. While the model shows some "data hunger"—performing better on the larger CelebA dataset than the smaller LFWA—it sets a new standard for efficient, high-performance multi-task learning in computer vision.
Summary updated