TL;DR
EResFD challenges the prevailing wisdom in lightweight computer vision by demonstrating that standard convolutions, when heavily channel-pruned, can outperform depthwise separable convolutions in both speed and accuracy for face detection. By combining a modified ResNet backbone with novel feature enhancement modules, the authors achieve a state-of-the-art 80.4% mAP on the WIDER FACE Hard subset with a latency of just 37.7 ms on a standard CPU.
What Problem Does This Paper Address?
For years, the "gold standard" for building lightweight neural networks has been the depthwise separable convolution, popularized by the MobileNet family. The logic is simple: these layers drastically reduce the number of floating-point operations (FLOPs). However, the authors of EResFD point out a critical gap: FLOPs do not always equal latency.
On actual hardware like CPUs, depthwise separable convolutions suffer from high memory access costs and low arithmetic intensity. This paper re-examines whether standard convolutions—long considered too "heavy" for mobile use—might actually be more efficient for specific tasks like face detection, where model capacity requirements differ from general object recognition.
Methods
The authors introduce EResFD, a detector built on three primary innovations:
-
EResNet Backbone: A slimmed-down ResNet-18. The authors redesigned the "stem" (the initial layers) to use a larger stride (4 instead of 2) and smaller kernels, which slashed the stem's latency by nearly 80%. Crucially, they employed a channel-preserving strategy, keeping the number of channels low (e.g., 16) across stages rather than doubling them, arguing that a single-class task like face detection doesn't require the massive feature diversity of ImageNet-scale models.
Figure 2. Entire architecture of EResFD. The proposed architecture consists of EResNet with 31 weighted backbone layers, Separated Feature Pyramid Network (SepFPN), and Cascade Context Prediction Module (CCPM). ResBlock denotes the basic residual block, which was proposed in [13]. The first ResBlock of each stage has stride of 2, and every ResBlock has the same number of output channels as 16 in the case of EResFD-1x. For the classification and regression head, a single 1x1 convolution layer is used. -
Separated Feature Pyramid Network (SepFPN): Standard FPNs aggregate high-level and low-level features together. The authors found that the large receptive fields of deep layers often introduce "noise" that hurts the detection of tiny faces. SepFPN aggregates high-level and low-level features in separate groups to preserve local context for small faces.
- Cascade Context Prediction Module (CCPM): To further boost performance without a massive latency hit, CCPM reuses previously convolved features in a cascade design to efficiently enlarge the receptive field.
Datasets
The model was trained and evaluated on the WIDER FACE dataset, the industry standard for face detection, focusing on the Easy, Medium, and Hard subsets. For landmark detection (identifying eyes, nose, and mouth), the authors evaluated their model on the AFLW dataset.
Key Insights and Ideas
-
The 16-Channel Threshold: The most surprising finding is that standard convolutions are actually faster than depthwise separable ones when the channel count is 16 or fewer. As shown in Figure 3a, the overhead of depthwise layers makes them less efficient in extremely lightweight regimes.
Latency comparison showing standard convolutions outperforming depthwise separable ones at low channel counts. -
Hardware Efficiency Trumps FLOPs: A standard residual block can be faster than a MobileNet-style inverted residual block even if it has more FLOPs, simply because it is more hardware-friendly for CPU execution.
- Task-Specific Pruning: Because face detection is a "one-class" problem, the traditional deep learning practice of doubling channels as the network gets deeper is unnecessary and wasteful.
Key Results
EResFD sets a new Pareto frontier for CPU-based face detection:
- Efficiency: EResNet-1x is 2.1x faster than MobileNetV1-1.0x and 1.85x faster than MobileNetV2-1.0x, despite achieving higher accuracy.
- Accuracy: The full EResFD model achieved 80.4% mAP on WIDER FACE Hard.
- Latency: It processes a VGA-resolution image (480x640) in 37.7 ms on a standard Intel Xeon CPU.
- Comparison to SOTA: Compared to the popular RetinaFace (using a MobileNet backbone), EResFD achieves similar or better accuracy while running at roughly 64% of the latency.
Limitations and Future Work
While the paper provides a compelling case for CPUs, it does not extensively explore how these standard-convolution backbones perform on specialized AI hardware like NPUs (Neural Processing Units) or DSPs, which may have different optimization profiles for depthwise layers. The authors suggest that their "rediscovery" of standard convolutions could be a blueprint for other lightweight, single-class detection tasks beyond just faces.
Summary updated