Robust Face Detection via Learning Small Faces on Hard Images

Zhishuai Zhang, Wei Shen, Siyuan Qiao, Yan Wang, Bo Wang, Alan L. Yuille

Introduction

Deep learning has significantly advanced face detection, yet achieving human-level performance remains challenging due to "hard" cases involving small, blurred, or occluded faces. Traditional training methods often suffer from a data imbalance where "easy" images—those with large, clear faces—dominate the dataset. Consequently, models reach high accuracy on easy samples early in training, leading to diminishing returns and a failure to specialize in difficult edge cases. This paper proposes a strategy that prioritizes "hard" images to improve robustness and efficiency.

Methodology

The authors introduce two primary innovations to address the limitations of standard face detectors.

Hard Image Mining (HIM)

Unlike Online Hard Example Mining (OHEM), which focuses on difficult local anchors, Hard Image Mining (HIM) evaluates the difficulty of the entire image. The difficulty is measured using the Worst Positive Anchor Score (WPAS). If a model cannot identify even the most prominent face in an image with high confidence, the image is classified as "hard." During training, the system dynamically filters out "easy" images, forcing the network to concentrate its learning capacity on challenging samples.

The "Easy Image Trap": A cumulative distribution showing that a vast majority of images are mastered early in training.

Single-Level Dilated Detection Head

To maintain a lightweight architecture without sacrificing multi-scale performance, the researchers replaced complex feature pyramids with a single high-resolution feature map based on VGG16. They utilized dilated convolutions with varying rates (1, 2, and 4) to capture different contextual scales. This approach allows the model to handle various anchor sizes (16x16 to 64x64) efficiently.

Experiments and Results

The model was evaluated on several benchmarks, including WIDER FACE, FDDB, Pascal Faces, and AFW.

Example of a "hard" image from the WIDER FACE dataset featuring numerous small, crowded faces successfully detected by the proposed method.

Performance on WIDER FACE

The proposed method achieved state-of-the-art results on the WIDER FACE "hard" subset, reaching an Average Precision (AP) of 89.7%. It also maintained high performance on the Easy (95.7%) and Medium (94.9%) subsets.

Efficiency and Generalization

The architecture is notably efficient, requiring only 5.3 GB of GPU memory—less than half of what competitors like PyramidBox consume. Inference speeds range from 0.84s to 1.70s per image. Furthermore, the model demonstrated strong generalization with 99.00% AP on Pascal Faces and 99.60% on AFW, proving that focusing on hard images does not degrade performance on standard datasets.

Conclusion

By shifting the training focus from easy, redundant data to challenging "hard" images, the authors developed a face detector that is both robust and computationally efficient. The use of Hard Image Mining and a dilated detection head allows the model to excel at detecting small faces, which serve as a proxy for general image difficulty. Future work may involve applying the HIM strategy to other computer vision tasks and backbones.

Summary updated

BibTeX
@inproceedings{zhang2020robust,
  author = {Zhishuai Zhang and Wei Shen and Siyuan Qiao and Yan Wang and Bo Wang and Alan L. Yuille},
  title = {{Robust Face Detection via Learning Small Faces on Hard Images}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2020},
  doi = {10.1109/wacv45572.2020.9093445},
}
Figure