Learning Better Features for Face Detection with Feature Fusion and Segmentation Supervision

Wanxin Tian, Zixuan Wang, Haifeng Shen, Weihong Deng, Binghui Chen, Xiubao ZhangarXiv 2018

Abstract

The performance of face detectors has been largely improved with the development of convolutional neural network. However, it remains challenging for face detectors to detect tiny, occluded or blurry faces. Besides, most face detectors can't locate face's position precisely and can't achieve high Intersection-over-Union (IoU) scores. We assume that problems inside are inadequate use of supervision information and imbalance between semantics and details at all level feature maps in CNN even with Feature Pyramid Networks (FPN). In this paper, we present a novel single-shot face detection network, named DF$^2$S$^2$ (Detection with Feature Fusion and Segmentation Supervision), which introduces a more effective feature fusion pyramid and a more efficient segmentation branch on ResNet-50 to handle mentioned problems. Specifically, inspired by FPN and SENet, we apply semantic information from higher-level feature maps as contextual cues to augment low-level feature maps via a spatial and channel-wise attention style, preventing details from being covered by too much semantics and making semantics and details complement each other. We further propose a semantic segmentation branch to best utilize detection supervision information meanwhile applying attention mechanism in a self-supervised manner. The segmentation branch is supervised by weak segmentation ground-truth (no extra annotation is required) in a hierarchical manner, deprecated in the inference time so it wouldn't compromise the inference speed. We evaluate our model on WIDER FACE dataset and achieved state-of-art results.

1. Introduction

Despite the massive success of Convolutional Neural Networks (CNNs) in computer vision, face detection remains difficult when faces are extremely small, blurry, or partially hidden. Standard architectures often use a Feature Pyramid Network (FPN) to handle different scales. However, the authors argue that FPNs have a fundamental flaw: they typically fuse high-level semantic information (e.g., "this is a head") with low-level structural details (e.g., "here is an edge") using simple addition. This can cause "semantic noise," where the broad strokes of high-level features overwhelm the delicate details needed to pinpoint a tiny face. Furthermore, traditional detectors often waste supervision information by only focusing on bounding box coordinates rather than the actual "faceness" of pixels.

2. Proposed Method: DF$^2$S$^2$

The authors propose two major architectural innovations to the standard single-shot detector (based on ResNet-50), as illustrated in the architecture diagram below.

Architecture of DF$^2$S$^2$ featuring the Feature Fusion block and hierarchical segmentation branch.

2.1 Feature Fusion Pyramid (F-block)

Instead of simple addition, the model uses a more sophisticated fusion block. It applies transposed convolution (deconvolution) to high-level features to match the resolution of lower layers. It then uses an element-wise multiplication style—essentially a spatial and channel-wise attention mechanism—to let the high-level context "guide" the low-level details rather than just burying them. By multiplying features instead of adding them, the network prevents semantic information from "covering" the fine details necessary for detecting tiny faces.

2.2 Hierarchical Segmentation Supervision

The authors add a parallel branch to the network that predicts a pixel-level segmentation mask of faces. Crucially, this doesn't require extra manual labeling; they generate "weak" ground-truth masks directly from existing bounding boxes. This branch forces the backbone to learn more discriminative features for face regions. To keep the model fast, the segmentation branch is deprecated during inference. It exists only during training to "teach" the backbone better features, meaning the final detector gains accuracy for "free" in terms of computational cost.

3. Experimental Evaluation

The model was evaluated on the WIDER FACE dataset, the industry standard for benchmarking face detection. It contains 32,203 images and nearly 400,000 faces with high variability in scale, pose, and occlusion. The dataset is split into three difficulty levels: Easy, Medium, and Hard.

3.1 Quantitative Results

The DF$^2$S$^2$ model achieved state-of-the-art performance on the WIDER FACE benchmark. On the validation set (using a ResNet-101 backbone), it achieved 96.9% (Easy), 95.9% (Medium), and 91.2% (Hard). As shown in the Precision-Recall curves, it outperformed previous heavyweights like PyramidBox and FANet, particularly on the "Hard" subset where it showed a significant +0.9% improvement over PyramidBox.

Precision-Recall curves on the WIDER FACE validation set across Easy, Medium, and Hard subsets.

3.2 Inference Speed

The model maintains real-time performance, running at 26.45 FPS on an NVIDIA Tesla P40 GPU for 640x512 input images. This efficiency is largely due to the removal of the segmentation branch during the inference phase.

4. Discussion and Conclusion

The real contribution of DF$^2$S$^2$ is its performance on the "Hard" subset, which contains the most challenging, tiny, and occluded faces. By using a segmentation branch as a self-supervised auxiliary task, the authors prove that you can squeeze more performance out of a standard backbone without adding any latency to the final deployed model.

While the paper demonstrates excellent results, the authors note that the "weak" segmentation masks (derived from boxes) are a simplification. Future work may explore more refined segmentation techniques to further improve feature learning. Additionally, these dual strategies—feature fusion and auxiliary segmentation—could be extended beyond faces to general object detection and more complex image segmentation tasks.

Summary updated

BibTeX
@misc{tian2018learning,
  author = {Wanxin Tian and Zixuan Wang and Haifeng Shen and Weihong Deng and Binghui Chen and Xiubao Zhang},
  title = {{Learning Better Features for Face Detection with Feature Fusion and Segmentation Supervision}},
  year = {2018},
  eprint = {1811.08557},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1811.08557},
}
Figure