[Paper Review] Robust Face Detection via Learning Small Faces on Hard Images
This paper proposes a robust face detector that improves detection of small, hard-to-detect faces by focusing training on hard images and exclusively learning small faces via a single-feature-map, anchor-based network. The method achieves state-of-the-art APs of 95.7, 94.9, and 89.7 on easy, medium, and hard subsets of WIDER FACE, respectively, with faster inference and lower memory usage than prior models.
Recent anchor-based deep face detectors have achieved promising performance, but they are still struggling to detect hard faces, such as small, blurred and partially occluded faces. A reason is that they treat all images and faces equally, without putting more effort on hard ones; however, many training images only contain easy faces, which are less helpful to achieve better performance on hard images. In this paper, we propose that the robustness of a face detector against hard faces can be improved by learning small faces on hard images. Our intuitions are (1) hard images are the images which contain at least one hard face, thus they facilitate training robust face detectors; (2) most hard faces are small faces and other types of hard faces can be easily converted to small faces by shrinking. We build an anchor-based deep face detector, which only output a single feature map with small anchors, to specifically learn small faces and train it by a novel hard image mining strategy. Extensive experiments have been conducted on WIDER FACE, FDDB, Pascal Faces, and AFW datasets to show the effectiveness of our method. Our method achieves APs of 95.7, 94.9 and 89.7 on easy, medium and hard WIDER FACE val dataset respectively, which surpass the previous state-of-the-arts, especially on the hard subset. Code and model are available at https://github.com/bairdzhang/smallhardface.
Motivation & Objective
- Address the persistent challenge of detecting small, blurred, and occluded faces in real-world scenarios.
- Overcome the limitation of existing anchor-based detectors that underperform on hard images due to overfitting to easy, high-quality faces in training data.
- Improve detector robustness by reweighting training to prioritize hard images and small faces, rather than scaling-invariant detection across all sizes.
- Design a lightweight, single-feature-map detector that focuses exclusively on small faces to enhance learning efficiency and performance on hard cases.
- Achieve state-of-the-art performance on multiple benchmarks while maintaining fast inference and low memory consumption.
Proposed method
- Propose a dynamic hard image mining strategy that assigns difficulty scores to training images based on detection performance, enabling re-sampling of hard images before each training epoch.
- Design a single-shot, anchor-based face detector with only one detection feature map, using small anchors (e.g., 4×4 to 16×16) to focus exclusively on small faces and ignore large ones.
- Implement a multi-scale testing strategy with extreme small scales (100 and 300 pixels on short side) to maintain high accuracy on easy and large faces without significant computational cost.
- Use feature fusion from VGG16’s conv4_3 and conv5_3 layers, followed by dimension reduction and bilinear upsampling, to generate a high-resolution detection feature map.
- Integrate horizontal flip augmentation during inference to further improve performance on hard faces with minimal speed penalty.
- Train the detector using a curriculum-like learning approach that emphasizes hard images and small faces, avoiding overfitting to scale variations.
Experimental results
Research questions
- RQ1Can focusing training on hard images—defined as images containing at least one hard face—improve detector robustness on small, blurred, or occluded faces?
- RQ2Does a detector that exclusively learns small faces through a single-feature-map design outperform multi-scale, scale-invariant detectors in detecting hard faces?
- RQ3To what extent do extreme small-scale testing (e.g., 100 and 300 pixels) improve detection accuracy on easy and large faces without increasing inference time?
- RQ4Can a simple, lightweight detector architecture achieve state-of-the-art performance on standard benchmarks while using less GPU memory and faster inference than complex models?
- RQ5How effective is dynamic hard image mining in reweighting training data to improve detection on hard cases without adding extra parameters or computation?
Key findings
- The proposed detector achieves state-of-the-art performance on the WIDER FACE validation set with APs of 95.7 (easy), 94.9 (medium), and 89.7 (hard), significantly outperforming prior SoTA methods on the hard subset.
- The inclusion of extreme small scales (100 and 300 pixels) in multi-scale testing is critical: removing them reduces easy-set AP from 95.7 to 78.2, indicating their role in detecting easy faces.
- The model achieves 89.7 AP on the hard subset of WIDER FACE with only 0.84 seconds inference time per image on a Titan X, outperforming SSH, S3FD, and PyramidBox in speed and memory efficiency.
- The model uses only 5.3 GB GPU memory, which is half that of PyramidBox (11.9 GB), while achieving better performance, demonstrating superior memory efficiency.
- Removing the extra small scales (100 and 300) from inference increases inference time by only 6.5% (1.59s vs. 1.70s), proving negligible overhead despite high accuracy on small faces.
- The method generalizes well: even though trained only on small faces, it performs robustly on large faces through multi-scale testing, confirming the effectiveness of the single-feature-map design.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.