Seeing Small Faces from Robust Anchor's Perspective

Chenchen Zhu, Ran Tao, Khoa Luu, Marios Savvides

Introduction

Modern face detection systems rely heavily on "anchors"—a predefined grid of reference boxes of varying sizes and aspect ratios tiled across an image. During training, a face is matched to an anchor if their overlap, measured by Intersection-over-Union (IoU), exceeds a certain threshold. While this approach works exceptionally well for large faces, performance typically plummets for tiny faces (e.g., less than 16x16 pixels). This paper identifies this "performance cliff" as a spatial quantization problem and introduces a theoretical framework to address it.

The Spatial Quantization Problem

The root cause of poor small-face detection is often the fixed interval (stride) at which anchors are placed. Because tiny faces occupy very few pixels, even a small spatial offset from the anchor grid can cause the maximum possible IoU to drop below the matching threshold. If a face cannot be matched to any anchor, the network never "sees" it as a valid training sample, leading to poor recall during inference.

Figure 1: Analysis of recall and IoU across face scales, demonstrating the performance gap for small faces and the improvement provided by the proposed anchor strategy.

As shown in Figure 1, the baseline recall rate for faces in the 0-16 pixel range is significantly lower than for larger scales. The proposed method aims to bridge this gap by ensuring that even the smallest faces have a high probability of matching with a robust anchor.

Methods: The EMO Framework and Anchor Tuning

To quantify and solve the matching problem, the authors propose the Expected Max Overlapping (EMO) score. This score mathematically defines the average maximum IoU a face of a specific size can expect to have with a given anchor grid. It serves as a theoretical "budget" for detection performance.

Figure 4: Illustration of anchor distribution, the matching mechanism, and the geometric calculation of the EMO score.

To improve the EMO score and overall detection, several strategies were implemented:

  1. Stride Reduction via Dilated Convolutions: To create a finer anchor grid, the authors used dilated convolutions to increase feature map resolution without losing receptive field size or adding parameters. This outperformed standard upsampling or skip connections.
  2. Extra Shifted Anchors: "Supportive" anchors were added, shifted to the corners of grid cells. This effectively halves the stride without requiring denser feature maps.
  3. Face Shift Jittering: This data augmentation technique randomly shifts images during training, preventing faces from being consistently trapped in "dead zones" between anchors.
  4. Hard Face Compensation: Faces that still fail to meet the IoU threshold are force-matched to the top $N$ closest anchors, ensuring the network receives sufficient training signals for difficult cases.

Key Results and Insights

The proposed detector achieved state-of-the-art results on the WIDER FACE benchmark, specifically reaching an Average Precision (AP) of 0.795 on the "Hard" subset. This is a significant jump from the 0.705 baseline. Notably, the method achieved nearly 90% recall for faces in the 16-32 pixel range, a category where previous models struggled to exceed 70%.

One of the most critical insights is that for tiny objects, the location of the object relative to the grid is as important as its visual appearance. A shift of just 4 pixels can render a face "invisible" to a standard detector. By optimizing the geometry of the anchor grid through the EMO framework, the authors demonstrate that detection can be made significantly more robust without brute-force increases in model depth.

Conclusion

By shifting the focus from heuristic anchor placement to a principled spatial analysis, this work provides a clear path for improving small object detection. The EMO framework is not limited to faces and could potentially be applied to other domains where spatial quantization is a bottleneck, such as satellite or medical imaging. Future work will explore the trade-offs of anchor density to avoid over-fitting while maintaining high recall for the smallest features.

Summary updated

BibTeX
@inproceedings{zhu2018seeing,
  author = {Chenchen Zhu and Ran Tao and Khoa Luu and Marios Savvides},
  title = {{Seeing Small Faces from Robust Anchor's Perspective}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  doi = {10.1109/cvpr.2018.00538},
}
Figure