Introduction
Self-supervised learning (SSL) through Contrastive Learning (CL) has revolutionized general object recognition. However, standard CL frameworks like SimCLR often encourage pose-invariance, which is detrimental for facial analysis. In tasks such as facial expression recognition (FER) or head pose estimation, pose is a critical feature rather than noise. To address this, the authors propose Pose-disentangled Contrastive Learning (PCL), a framework that explicitly separates pose-related information from other facial features like identity and expression.
Methodology
The PCL framework introduces two primary innovations to achieve feature disentanglement while maintaining high representational quality.
Pose-disentangled Decoder (PDD)
The architecture utilizes a shared backbone to extract a global feature vector, which is then processed by two specialized sub-networks: a face subnet ($g_f$) for pose-unrelated features and a pose subnet ($g_p$). To ensure these features are distinct, the model employs:
- Orthogonalizing Regulation ($L_{orth}$): A constraint forcing the feature vectors from the two subnets to be orthogonal, preventing information leakage.
- Reconstruction Loss ($L_{dis}$): The model must successfully reconstruct a face image by swapping identity features from one view with pose features from another, ensuring the subnets capture their intended attributes.
Pose-related Contrastive Learning
Unlike standard CL, which treats different poses of the same face as positive pairs, PCL treats them as negative pairs within the pose branch. This forces the pose subnet to focus on the specific nuances of head orientation. The framework uses Dynamic Weight Average (DWA) to adaptively balance the face-related and pose-related losses during training.
Experimental Results
PCL was pre-trained on the VoxCeleb1 and VoxCeleb2 datasets and evaluated across multiple downstream tasks. It consistently outperformed standard SSL baselines:
- Facial Expression Recognition: On the RAF-DB dataset, PCL achieved 74.47% accuracy, significantly higher than SimCLR's 71.06%.
- Face Recognition: On the LFW dataset, PCL reached 79.72% accuracy, compared to 75.97% for SimCLR.
- Head Pose Estimation: On AFLW2000, PCL reduced the Mean Absolute Error (MAE) to 12.36, surpassing the previous best SSL method, FaceCycle (12.47).
Ablation studies confirmed that both the orthogonalizing regulation and the specialized pose-related contrastive loss are essential for these performance gains.
Conclusion
PCL demonstrates that for specialized domains like facial analysis, disentangling attributes is superior to seeking total invariance. By preserving pose information in a separate feature space, PCL achieves state-of-the-art results in self-supervised facial representation. Future work may extend this disentanglement to other attributes such as age or occlusions and explore scaling the framework with Vision Transformer backbones.
Summary updated