Abstract
This paper presents MOS, a low-latency, multi-task framework designed for simultaneous face detection, landmark localization, and head pose estimation. MOS addresses the high latency of traditional sequential pipelines in Dynamic Face Recognition (DFR) systems, particularly on resource-constrained hardware. By integrating a Multi-Task Head with cross-stitch units, an automated uncertainty-based loss weighting mechanism, and an online feedback sampling strategy, MOS achieves state-of-the-art performance on mobile platforms. Experimental results on the WIDER FACE dataset demonstrate that the lightweight MOS-S variant achieves an Average Precision of 85.9% on the "Hard" subset while maintaining real-time performance on ARM-based devices.
Introduction
Dynamic Face Recognition (DFR) is critical for applications in service robotics and surveillance, where subjects are often captured in unconstrained environments. Traditional DFR systems rely on sequential pipelines—detection followed by pose estimation and identity comparison—which often suffer from high latency and poor performance on low-power hardware. Furthermore, detecting small or extremely angled faces remains a significant challenge. MOS is proposed as a "Swiss Army Knife" for real-time face analysis, optimizing both speed and accuracy for edge deployment.
Methods
The MOS framework introduces three primary architectural innovations to enhance multi-task learning efficiency:
- Multi-Task Head (MTH) with Cross-Stitch Units: Unlike standard models that branch only at the final layer, MOS employs cross-stitch units. These units learn to linearly combine feature maps, allowing the network to dynamically allocate features between detection and pose estimation tasks.
- Uncertainty Multi-Task Loss (UML): To avoid the manual tuning of task-specific loss weights, MOS utilizes a learnable uncertainty loss. This mechanism automatically adjusts weights based on task difficulty during training, ensuring stable convergence.
- Online Feedback Sampling: To improve robustness against "hard" cases, such as tiny faces, MOS implements a dynamic data augmentation strategy. Samples that yield poor performance or false positives in one epoch are automatically prioritized and "stitched" into the training set for subsequent rounds.
Experimental Setup
The model was evaluated using several benchmark datasets. Face detection performance was measured on WIDER FACE, which the authors augmented with custom head pose labels. Landmark localization was tested on AFLW, while 3D head pose estimation was evaluated on AFLW2000 and 300W-LP.
Results and Discussion
MOS demonstrates significant improvements in both efficiency and accuracy. The lightweight MOS-S variant, based on ShuffleNet V2, achieves a latency of 10.8ms on a GPU and 68ms on an RK3399 ARM platform, enabling approximately 15 FPS on mobile devices.
As shown in the comparison table, MOS-S outperforms other lightweight models like RetinaFace-MobileNet, particularly on the "Hard" subset of WIDER FACE (85.9% vs. 78.2% AP). The larger MOS-L variant (ResNet-152) further pushes the state-of-the-art, reaching 92.1% AP on the same subset. For pose estimation, MOS-S achieved a Mean Average Error (MAE) of 4.43 on AFLW2000, confirming its effectiveness as a multi-task framework.
Conclusion
MOS provides a robust solution for real-time face analysis on edge devices. While highly effective for yaw estimation, future work will focus on improving pitch and roll accuracy by diversifying training data for extreme vertical angles and further optimizing for NPU hardware.
Summary updated