Accurate Face Detection for High Performance

Faen Zhang, Xinyu Fan, Guo Ai, Jianfei Song, Yongqiang Qin, Jiahong WuarXiv 2019

Abstract

AInnoFace is a high-performance face detector designed to tackle the challenges of detecting tiny faces in unrestricted real-world scenarios. By integrating advanced techniques such as Selective Refinement Networks, IoU loss, and specialized data augmentation into a one-stage RetinaNet architecture, AInnoFace achieves state-of-the-art results on the WIDER FACE benchmark, specifically reaching 91.2% AP on the "Hard" test set.

Introduction

While deep learning has revolutionized face detection, "tiny faces" remain a major hurdle. In real-world images, faces often appear at extremely small scales, obscured by occlusions, or under poor lighting and difficult poses. Traditional one-stage detectors (like SSD or RetinaNet) are efficient but often struggle with localization accuracy and high false-positive rates for tiny objects. Conversely, two-stage detectors (like Faster R-CNN) offer higher accuracy but at a significant computational cost. AInnoFace bridges this gap, maintaining the efficiency of a one-stage pipeline while achieving the precision required to dominate global benchmarks.

Methods and Architecture

AInnoFace is built upon a masterfully engineered pipeline that combines several cutting-edge techniques:

  • RetinaNet Baseline: The model uses a RetinaNet backbone with ResNet-152 and a Feature Pyramid Network (FPN) to extract multi-scale features.
  • Selective Refinement Network (SRN): This key architectural addition introduces a "two-step" classification and regression process. The first step filters out simple background negatives and provides better initialization, while the second step performs fine-grained detection.
  • IoU Regression Loss: Instead of the standard smooth L1 loss, AInnoFace utilizes Intersection over Union (IoU) loss for bounding box regression. This directly optimizes the metric used for evaluation, closing the gap between training objectives and final performance.
  • Data-Anchor-Sampling: To handle scale variation, a specialized data augmentation technique resizes training images so that faces are more likely to match the scales of the network's predefined anchors.
  • Max-out Operation: To reduce false positives, the classification subnet predicts multiple scores for each anchor and selects the maximum, helping the model distinguish between "face" and "complex background."
The AInnoFace architecture based on ResNet and Feature Pyramid Networks, featuring specialized subnets for classification and box regression.

Datasets

The researchers evaluated AInnoFace on the WIDER FACE dataset, which contains 32,203 images and 393,703 annotated faces. The dataset is known for its extreme variability in pose, occlusion, and illumination. It is split into Easy, Medium, and Hard subsets based on detection difficulty, with the "Hard" subset serving as the primary benchmark for tiny face detection.

Key Results

AInnoFace achieved top-tier performance on the WIDER FACE benchmark at the time of publication. The model reached 91.2% accuracy on the Hard test set, a significant achievement given the prevalence of tiny, blurry, and occluded faces in this subset.

Subset Validation (AP) Test (AP)
Easy 97.0% 96.5%
Medium 96.1% 95.7%
Hard 91.8% 91.2%
Precision-Recall curves for AInnoFace (Ours) compared to other state-of-the-art methods across the Easy, Medium, and Hard subsets of the WIDER FACE validation and test sets.

Discussion and Conclusion

The success of AInnoFace highlights the importance of aligning training objectives with evaluation metrics (via IoU loss) and the power of refinement in one-stage detectors. By adopting the two-step logic of the Selective Refinement Network, AInnoFace gains the precision of a two-stage detector without the full computational overhead of a region proposal network.

However, the use of a heavy ResNet-152 backbone and multi-scale testing during inference results in high computational costs, which may limit real-time applications on edge devices. Future work involves exploring lighter backbones and more efficient single-pass attention mechanisms to maintain accuracy while improving speed.

Summary updated

BibTeX
@misc{zhang2019accurate,
  author = {Faen Zhang and Xinyu Fan and Guo Ai and Jianfei Song and Yongqiang Qin and Jiahong Wu},
  title = {{Accurate Face Detection for High Performance}},
  year = {2019},
  eprint = {1905.01585},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.01585},
}
Figure