Introduction
Face detection remains a cornerstone of computer vision, yet it faces persistent challenges due to extreme variations in scale, rotation, and occlusion. While standard detectors like SSD or R-CNN have seen success, they often struggle with the "tiny face" problem. Deep layers in Convolutional Neural Networks (CNNs) possess large receptive fields that provide semantic context but lose fine-grained detail, while shallow layers offer rich texture but lack the context to distinguish faces from complex backgrounds.
MSFD (Multi-Scale Receptive Field Face Detector) addresses these issues by intelligently "agglomerating" context and texture from adjacent layers, creating a real-time framework that excels across varied scales.
The MSFD Framework
The core of MSFD is a hierarchical architecture designed to balance semantic context with spatial detail. By fusing information from neighboring layers, the model ensures that each detection head has access to the optimal receptive field for its target scale.
Key Components
- Context-Texture Module (CTM): Unlike standard top-down Feature Pyramid Networks, MSFD utilizes a "sandwich" fusion approach. For a given layer $f_n$, the CTM pulls context from the layer above ($f_{n+1}$) and texture from the layer below ($f_{n-1}$). This local fusion prevents the receptive field from becoming too large or "blurry," which is critical for maintaining the sharp features needed to detect small faces.
- Dense Anchor Assignment: To improve recall for tiny and partially cropped faces, the authors implemented a denser anchor matching system. Scales were set from $16^2$ to $512^2$ with aspect ratios of 1 and 1.5, specifically tuned to the distribution of faces in the WIDER FACE dataset.
- Focal Loss: To combat the extreme class imbalance where background samples vastly outnumber face samples, the model employs Focal Loss. This focuses training on "hard" examples—ambiguous faces or complex backgrounds—while down-weighting easy background regions.
Performance and Benchmarks
MSFD was evaluated on major benchmarks including WIDER FACE, FDDB, and PASCAL-Faces. The results demonstrate a superior balance between accuracy and inference speed.
On the PASCAL-Faces benchmark, MSFD achieved a state-of-the-art 98.71% mAP, outperforming established detectors like $S^3FD$ (98.49%) and SSH (98.27%). On the challenging WIDER FACE test set, it reached 94.2% (Easy), 93.1% (Medium), and 86.3% (Hard).
Beyond accuracy, MSFD is highly efficient. Running on an NVIDIA 1080Ti, the detector maintains a speed of 31 FPS for VGA-resolution images. Ablation studies confirmed that the Context-Texture Module alone contributed over a 1% mAP improvement across all categories compared to the baseline, validating the "sandwich" fusion strategy.
Conclusion and Future Work
MSFD proves that careful management of receptive fields through local feature fusion can significantly enhance face detection, particularly for small objects. While the current VGG16 backbone allows for real-time performance, future iterations could leverage lighter backbones like MobileNet or ShuffleNet to further increase throughput. Additionally, refining the anchor assignment to reduce the total number of anchors could further optimize computational costs and lower false-positive rates.
Summary updated