CLERF: Contrastive LEaRning for Full Range Head Pose Estimation
Ting-Ruen Wei, Haowei Liu, Huei-Chung Hu, Xuyang Wu, Yi Fang, Hsin-Tai Wu
TL;DR
This work tackles the sparsity challenge in full-range head pose estimation by introducing CLERF, a contrastive learning framework that leverages anchor-positive synthetic pairs generated by a 3D-aware GAN and geometry-based augmentations to cover the entire pose space, including upside-down orientations. By preserving geodesic distances under rotation and flipping, CLERF constructs robust triplets and optimizes with Circle Loss, followed by a downstream MLP to predict rotation matrices via Gram–Schmidt normalization. The approach achieves state-of-the-art or competitive performance on standard FR-HPE benchmarks and exhibits clear robustness under minor rotations and flips, significantly outperforming existing full-range models on heavily transformed data. The combination of synthetic anchor-positive generation, SO(3)-aware augmentations, and contrastive representation learning provides a practical pathway to true full-range HPE with strong generalization to real-world variants.
Abstract
We introduce a novel framework for representation learning in head pose estimation (HPE). Previously such a scheme was difficult due to head pose data sparsity, making triplet sampling infeasible. Recent progress in 3D generative adversarial networks (3D-aware GAN) has opened the door for easily sampling triplets (anchor, positive, negative). We perform contrastive learning on extensively augmented data including geometric transformations and demonstrate that contrastive learning allows networks to learn genuine features that contribute to accurate HPE. On the other hand, we observe that existing HPE works struggle to predict head poses as accurately when test image rotation matrices are slightly out of the training dataset distribution. Experiments show that our methodology performs on par with state-of-the-art models on standard test datasets and outperforms them when images are slightly rotated/ flipped or full range head pose. To the best of our knowledge, we are the first to deliver a true full range HPE model capable of accurately predicting any head pose including upside-down pose. Furthermore, we compared with other existing full-yaw range models and demonstrated superior results.
