Abstract
Faster R-CNN is one of the most representative and successful methods for object detection, and has been becoming increasingly popular in various objection detection applications. In this report, we propose a robust deep face detection approach based on Faster R-CNN. In our approach, we exploit several new techniques including new multi-task loss function design, online hard example mining, and multi-scale training strategy to improve Faster R-CNN in multiple aspects. The proposed approach is well suited for face detection, so we call it Face R-CNN. Extensive experiments are conducted on two most popular and challenging face detection benchmarks, FDDB and WIDER FACE, to demonstrate the superiority of the proposed approach over state-of-the-arts.
Introduction
While generic object detection has seen massive leaps thanks to Region-based Convolutional Neural Networks (R-CNNs), face detection presents unique hurdles. Faces in the wild vary wildly in scale, pose, illumination, and occlusion. Standard detectors often rely on softmax loss, which is excellent at pushing different classes apart (inter-class separability) but doesn't necessarily pull examples of the same class together (intra-class compactness). In face detection, where the "non-face" class is infinitely diverse, simply pushing faces away from the background isn't enough; a highly consistent, "tight" representation of what a face actually looks like is required to reduce false positives.
Methods
The researchers built their approach on the Faster R-CNN architecture (using a VGG19 backbone) and introduced three key enhancements:
- Center Loss Integration: This is the paper's primary innovation. They added a "center loss" term to the multi-task loss function. This loss calculates the distance between a feature vector and its class center, penalizing features that stray too far. This forces the network to learn highly discriminative features that are tightly clustered in the feature space.
- Balanced Online Hard Example Mining (OHEM): Standard OHEM can suffer from data imbalance. The authors modified this by forcing a strict 1:1 ratio between positive and negative hard samples in each mini-batch, ensuring the center loss has enough stable "face" examples to learn from.
- Multi-Scale Training: To handle the "small face" problem, training images were resized to various scales, making the model robust to resolution changes.
Experiments and Results
The model was evaluated on two prominent benchmarks: WIDER FACE, a massive dataset with over 393,000 labeled faces, and FDDB, a classic benchmark containing 5,171 faces in unconstrained environments.
Face R-CNN set a new bar for performance at the time of its release:
- WIDER FACE: The model took 1st place across all three subsets (Easy, Medium, and Hard) on both the validation and test sets, significantly outperforming previous methods like CMS-RCNN and HR.
- FDDB: It achieved a state-of-the-art True Positive Rate. Specifically, their "Model-B" (trained with additional private data) reached a 98.74% true positive rate at 2,000 false positives.
Key Insights
The "aha moment" of this work is that face detection is as much about defining the face as it is about rejecting the background. By adding center loss, the model creates a "prototype" of a face, making it much harder for complex background textures to "trick" the classifier. Furthermore, the 1:1 positive-to-negative ratio in OHEM was essential to keep the "class centers" stable during training.
Conclusion
While highly accurate, the implementation uses VGG19, which is computationally expensive and not optimized for real-time performance. Additionally, the performance boost seen in "Model-B" suggests the approach is data-hungry. Future work could involve applying these "compactness" losses to even newer architectures like ResNet or Feature Pyramid Networks (FPN) to further push the boundaries of face detection.
Summary updated