Improved Selective Refinement Network for Face Detection

Shifeng Zhang, Rui Zhu, Xiaobo Wang, Hailin Shi, Tianyu Fu, Shuo Wang, Tao Mei, Stan Z. LiarXiv 2019

Abstract

Face detection in unconstrained environments remains a significant challenge due to extreme variations in scale, pose, and occlusion. This paper introduces the Improved Selective Refinement Network (ISRN), which builds upon the Selective Refinement Network (SRN) architecture. Through a systematic ablation study of modern computer vision techniques, we identify a combination of strategies—including Data-Anchor-Sampling, modified ResNet backbones (Root-ResNet), Group Normalization, and MS COCO pretraining—that significantly enhance detection performance. Conversely, we find that certain popular modules, such as Squeeze-and-Excitation blocks and segmentation branches, can degrade performance in this specific architecture. ISRN achieves state-of-the-art results on the WIDER FACE benchmark, particularly on the 'Hard' subset, demonstrating its robustness in detecting tiny and occluded faces.

Introduction

Face detection serves as the foundational step for a wide array of facial analysis tasks, including recognition, alignment, and attribute estimation. While deep learning has revolutionized the field, detecting faces "in the wild" continues to be difficult. The primary hurdles include extreme scale variations—where faces may occupy only a few pixels—as well as severe occlusions and diverse poses.

The Selective Refinement Network (SRN) was designed to address the massive imbalance between background and face samples, which can reach ratios as high as 15,000 to 1 in one-stage detectors. SRN utilizes a two-step process: filtering out easy negatives and refining anchor locations. However, there remained significant potential to enhance its feature extraction capabilities and training robustness. This work systematically evaluates various "tricks" in the modern computer vision toolbox to push the boundaries of face detection accuracy.

Methodology

The development of ISRN involved an extensive ablation study to determine which state-of-the-art techniques contribute meaningfully to face detection.

Architecture and Backbone Improvements

The core architecture of ISRN leverages the Selective Refinement Module to improve anchor quality. As shown in Figure 1, the network uses Feature Pyramid Network (FPN) features refined by Selective Two-step Classification (STC) and Selective Two-step Regression (STR).

The ISRN architecture utilizes selective refinement modules to filter and adjust anchors across FPN features.

A critical finding was the importance of information preservation in the backbone. Standard ResNet-50 backbones often lose spatial detail early due to a $7 \times 7$ convolution with stride 2. We replaced this with a "Root-ResNet" structure, using three $3 \times 3$ convolutions and adjusted strides to maintain higher resolution for small faces.

Training Strategies

  • Data-Anchor-Sampling: To address scale imbalance, we adopted Data-Anchor-Sampling. This technique involves randomly selecting a face and cropping/resizing the image based on anchor sizes, effectively over-sampling smaller faces during training.
  • Group Normalization (GN): Training with high-resolution images ($1024 \times 1024$) restricts batch sizes (e.g., 5 images per GPU). Since Batch Normalization is unstable with small batches, we switched to Group Normalization, enabling stable training from scratch.
  • MS COCO Pretraining: Pretraining on MS COCO, which contains numerous small "person" instances, provided a superior initialization compared to standard ImageNet pretraining.

Negative Results

Interestingly, several popular techniques were found to be detrimental to ISRN's performance:

  • Decoupled Classification Refinement (DCR): Intended to reduce false positives, it failed to provide gains, likely due to the difficulty of designing sampling heuristics for one-stage detectors.
  • Segmentation Branches: Adding a semantic segmentation side-task did not improve detection.
  • Squeeze-and-Excitation (SE) Blocks: Despite their popularity, SE blocks resulted in a 0.2–0.4% drop in accuracy, suggesting that improvements are not always additive and can sometimes introduce redundancy or conflict with existing modules.

Experiments and Results

We evaluated ISRN on the WIDER FACE dataset, the most challenging benchmark for face detection, containing nearly 400,000 annotated faces across 32,203 images.

Quantitative Performance

ISRN achieved top-tier results across all difficulty levels (Easy, Medium, and Hard):

  • Validation Set (AP): 96.7% (Easy), 95.8% (Medium), 90.9% (Hard).
  • Test Set (AP): 96.3% (Easy), 95.4% (Medium), 90.3% (Hard).

The performance on the "Hard" subset is particularly significant, as it consists primarily of tiny, blurry, or occluded faces that are often missed by standard detectors.

Qualitative Analysis

The robustness of ISRN is visually demonstrated in dense crowd scenarios. In the "World's Largest Selfie" image, the model successfully detects approximately 900 faces, many of which are extremely small and low-resolution.

Qualitative results of ISRN on a dense crowd, successfully detecting approximately 900 faces.

Conclusion

The development of ISRN highlights that for tiny object detection, the preservation of spatial information in the earliest layers of the network is paramount. Furthermore, the success of training from scratch using Group Normalization suggests that specialized detectors can achieve state-of-the-art performance without relying on ImageNet weights. Our findings regarding "negative results" serve as a reminder that the efficacy of neural network modules is highly context-dependent and that a strong baseline requires careful, non-redundant integration of new techniques.

Summary updated

BibTeX
@misc{zhang2019improved,
  author = {Shifeng Zhang and Rui Zhu and Xiaobo Wang and Hailin Shi and Tianyu Fu and Shuo Wang and Tao Mei and Stan Z. Li},
  title = {{Improved Selective Refinement Network for Face Detection}},
  year = {2019},
  eprint = {1901.06651},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1901.06651},
}
Figure