NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Anchor Cascade for Efficient Face Detection

Baosheng Yu, Dacheng Tao · DOI

Abstract

Face detection serves as the foundational step for numerous facial analysis applications. Current methodologies often force a compromise between the high speed of cascade detectors and the superior accuracy of anchor-based models. We introduce Anchor Cascade, a framework that harmonizes these two approaches. By employing a coarse image pyramid combined with multi-scale anchors and a Context Pyramid Maxout (CPM) mechanism, our model achieves state-of-the-art accuracy while remaining significantly faster and more compact than traditional heavy-duty detectors.

Introduction

Historically, face detection has been dominated by two paradigms. Cascade detectors, such as MTCNN, offer high efficiency by rapidly rejecting non-face regions. However, they typically rely on a "dense image pyramid"—repeatedly resizing the input image to detect faces at various scales—which is computationally expensive, particularly for small faces. Conversely, anchor-based detectors like Faster R-CNN or SSD provide high accuracy by using pre-defined boxes (anchors) across multiple scales but often require massive, resource-intensive backbone networks.

The primary bottleneck identified is the "long-tail" computational cost: in a dense pyramid, the largest image slices used for detecting the smallest faces consume the majority of processing power. Anchor Cascade addresses this by eliminating the need for a dense pyramid.

Traditional dense image pyramid approach, illustrating the computational redundancy Anchor Cascade seeks to resolve.

Methodology

The Anchor Cascade Framework

The core innovation of Anchor Cascade is the use of a coarse image pyramid. Instead of scanning dozens of resized images, the model uses a limited number of pyramid levels. At each level, a small set of anchors is deployed to cover a specific range of face scales (e.g., 16x16 to 32x32 pixels). By allowing anchors to handle local scale variations, the model can skip numerous intermediate resizing steps, reducing the computational load to approximately one-tenth of a traditional single-scale detector.

The Anchor Cascade framework: A coarse image pyramid (center) is processed using multi-scale anchors (left/right) to produce final detections (bottom).

Context Pyramid Maxout (CPM)

To improve the detection of occluded or profile faces, we propose the Context Pyramid Maxout (CPM). This structure utilizes multiple context templates for each candidate face window. A candidate is only rejected if all associated context templates fail to confirm the presence of a face. This parallelizable design ensures that the added robustness does not significantly impact inference speed.

Experimental Evaluation

The model was evaluated on the WIDER FACE and FDDB benchmarks. WIDER FACE contains over 32,000 images with nearly 400,000 faces of varying difficulty, while FDDB focuses on real-world, unconstrained scenarios.

Key Results

  • Efficiency vs. Accuracy: On the FDDB benchmark, Anchor Cascade improved accuracy to 0.9704 (at 1k false positives) compared to MTCNN's 0.9435, while maintaining similar speeds.
  • Model Size: Compared to the high-accuracy "HR" detector, Anchor Cascade achieved comparable results with less than 1/25th of the parameters and 10x faster execution.
  • WIDER FACE Performance: The model achieved 90.6% average precision on the "Easy" set and 80.1% on the "Hard" set, outperforming many larger architectures.

Conclusion and Future Work

Anchor Cascade successfully bridges the gap between efficiency and performance. While it significantly improves the detection of small faces compared to previous cascades, a performance gap remains relative to the most complex anchor-based detectors on extremely challenging datasets. Future work will explore integrating more sophisticated contextual information, such as body part detection, to further enhance robustness in difficult scenarios.

Summary updated

BibTeX
@article{yu2018anchor,
  author = {Baosheng Yu and Dacheng Tao},
  title = {{Anchor Cascade for Efficient Face Detection}},
  journal = {IEEE Trans. Image Process.},
  year = {2018},
  doi = {10.1109/tip.2018.2886790},
}
Figure