Face detection using deep learning: An improved faster RCNN approach

Xudong Sun, Pengcheng Wu, Steven C. H. Hoi

TL;DR

This paper presents an enhanced version of the Faster R-CNN framework specifically optimized for face detection. By integrating feature concatenation from multiple layers, hard negative mining, and multi-scale training, the authors achieved state-of-the-art performance on the FDDB benchmark, outperforming previous deep learning and traditional computer vision methods.

What Problem Does This Paper Address?

While generic object detection has seen massive leaps thanks to Deep Convolutional Neural Networks (CNNs), face detection presents unique challenges. Faces in the wild appear at vastly different scales, under extreme lighting, and often with heavy occlusions or atypical poses.

Traditional methods like the Viola-Jones detector relied on hand-crafted features that struggled with non-frontal faces. Early deep learning approaches often treated face detection as a generic object detection task, but the authors argue that standard frameworks like Faster R-CNN need specific "tuning" and architectural tweaks to handle the fine-grained details and scale variances inherent in human faces.

Methods

The authors build upon the Faster R-CNN architecture, which consists of a Region Proposal Network (RPN) and a Fast R-CNN classifier. They introduce four key improvements:

  1. Feature Concatenation: Standard Faster R-CNN uses the final convolutional layer for pooling. However, deep layers have a "grosser granularity" (wide receptive fields). To capture finer details, the authors pool features from multiple layers (conv3_3, conv4_3, and conv5_3), L2-normalize them, and concatenate them into a single feature map.
  2. Hard Negative Mining: The network is trained in two steps. After an initial training phase, the model is used to identify "hard negatives"—background regions that the model incorrectly identifies as faces with high confidence. These difficult examples are then fed back into the training process to reduce false positives.
  3. Multi-Scale Training: Instead of using a fixed image size, the authors randomly rescale images during training. This forces the model to become scale-invariant, improving its ability to detect both tiny and massive faces.
  4. Anchor Optimization: They increased the number of "anchors" (reference boxes) in the RPN from 9 to 12, specifically adding a $64 \times 64$ scale to better detect smaller faces.

Datasets

  • WIDER FACE: A large-scale dataset used for initial training and harvesting hard negatives. It contains a high degree of variability in scale, pose, and occlusion.
  • FDDB (Face Detection Dataset and Benchmark): The primary benchmark used for evaluation and final fine-tuning. It contains 5,171 faces across 2,845 images.

Key Insights and Ideas

  • The "Aha" of Multi-Layer Features: Deep layers are great for semantics (knowing what an object is), but shallow layers are better for localization (knowing where it is). By concatenating them, the model gains the high-level context needed to identify a face and the low-level detail needed to bound it accurately.
  • Pre-training is not Trivial: Simply training on a larger dataset like WIDER FACE improved recall but initially increased false positives. The "aha moment" here was that Hard Negative Mining was the essential bridge needed to make pre-training actually effective for the final benchmark.
  • Geometric Refinement: Since the FDDB benchmark uses ellipses for ground truth, the authors included an optional step to convert their rectangular bounding boxes into ellipses, further boosting their score on that specific metric.

Key Results

The proposed method achieved state-of-the-art results on the FDDB benchmark, producing the best ROC (Receiver Operating Characteristic) curves among all published methods at the time.

  • Ablation Success: The authors showed a clear "staircase" of improvement. For example, adding feature concatenation significantly improved the model's ability to handle different face sizes, while hard negative mining drastically reduced the number of false positives.
  • Qualitative Robustness: The model successfully detected faces in extremely challenging scenarios, including heavily blurred faces, faces in crowds with extreme occlusion, and faces under very poor lighting conditions.

Limitations and Future Work

The authors acknowledge that while their accuracy is top-tier, the current approach may face challenges regarding efficiency and scalability. The use of multi-scale training and feature concatenation increases the computational load. Consequently, they suggest that future research should focus on optimizing the method for real-time face detection without sacrificing the accuracy gains achieved in this study.

Summary updated

BibTeX
@article{sun2018face,
  author = {Xudong Sun and Pengcheng Wu and Steven C. H. Hoi},
  title = {{Face detection using deep learning: An improved faster RCNN approach}},
  journal = {Neurocomputing},
  year = {2018},
  doi = {10.1016/j.neucom.2018.03.030},
}
Figure