Abstract
This paper analyses the design choices of face detection architecture that improve efficiency between computation cost and accuracy. Specifically, we re-examine the effectiveness of the standard convolutional block as a lightweight backbone architecture on face detection. Unlike the current tendency of lightweight architecture design, which heavily utilizes depthwise separable convolution layers, we show that heavily channel-pruned standard convolution layer can achieve better accuracy and inference speed when using a similar parameter size. This observation is supported by the analyses concerning the characteristics of the target data domain, face. Based on our observation, we propose to employ ResNet with a highly reduced channel, which surprisingly allows high efficiency compared to other mobile-friendly networks (e.g., MobileNet-V1,-V2,-V3). From the extensive experiments, we show that the proposed backbone can replace that of the state-of-the-art face detector with a faster inference speed. Also, we further propose a new feature aggregation method maximizing the detection performance. Our proposed detector EResFD obtained 80.4% mAP on WIDER FACE Hard subset which only takes 37.7 ms for VGA image inference in on CPU.
Introduction: The FLOPs Trap
In the pursuit of mobile-friendly AI, researchers have long prioritized minimizing Floating Point Operations (FLOPs). This focus has led to the near-universal adoption of depthwise separable convolutions (DSC), the core building block of the MobileNet family. However, FLOPs are often a deceptive metric for real-world performance. They fail to account for memory access costs and hardware utilization, which are critical factors in actual CPU latency.
This paper challenges the "DSC-is-always-better" dogma. The authors observe that for face detection—where models are often pruned to very small channel counts—the memory overhead of splitting a convolution into depthwise and pointwise steps can actually make DSCs slower than standard convolutions. They identify a "16-channel rule": standard convolutions are more efficient than their depthwise counterparts when the channel dimension is 16 or less.
Methods: The EResFD Architecture
The proposed EResFD (Efficient-ResNet-based Face Detector) is optimized for real-world CPU speed through three primary architectural innovations:
- EResNet Backbone: Instead of a MobileNet-style backbone, the authors utilize a modified ResNet-18. They replace the traditional heavy 7x7 "stem" with a series of smaller 3x3 and 5x5 convolutions, reducing stem latency by approximately 80%. Crucially, they employ a "channel-preserving" strategy, keeping the channel count fixed at 16 for many stages to exploit the efficiency of standard convolutions at that scale.
- SepFPN (Separated Feature Pyramid Network): Standard FPNs often mix high-level and low-level features, which can "blur" the fine details needed to detect tiny faces. SepFPN processes these features in separate paths before merging them, preserving the local detail necessary for high-precision detection.
- CCPM (Cascade Context Prediction Module): This module increases the model's receptive field by reusing previously computed features in a cascade. This "latency-aware" design provides essential context without the heavy computational cost of adding new layers.
Key Results and Performance
EResFD establishes a new Pareto frontier for the speed-accuracy trade-off in lightweight face detection. On the rigorous WIDER FACE "Hard" subset, it achieved 80.4% mAP with a VGA image inference time of just 37.7 ms on a standard CPU.
Compared to the popular RetinaFace (using a MobileNet-0.25x backbone), EResFD is significantly more accurate while being roughly 1.5x to 2x faster. It also demonstrated superior performance in facial landmark detection on the AFLW dataset, maintaining lower Normalized Mean Error (NME) while requiring less inference time.
Conclusion
By "rediscovering" the effectiveness of standard convolutions in the low-channel regime, EResFD demonstrates that hardware-aware design can outperform architectures optimized solely for theoretical FLOPs. The principles of stem reduction and channel preservation introduced here suggest that standard convolutions, when applied judiciously, remain a powerful tool for building the next generation of lightweight computer vision models.
Summary updated