Skip to main content
QUICK REVIEW

[Paper Review] FaceBoxes: A CPU Real-time Face Detector with High Accuracy

Shifeng Zhang, Xiangyu Zhu|arXiv (Cornell University)|Aug 17, 2017
Face recognition and analysisComputer Science45 references40 citations
TL;DR

FaceBoxes is a real-time, high-accuracy face detector designed for CPU inference, leveraging a lightweight network with Rapidly Digested Convolutional Layers (RDCL) for speed and Multiple Scale Convolutional Layers (MSCL) for multi-scale face detection. It achieves 20 FPS on a single CPU core for VGA images and state-of-the-art performance on AFW, PASCAL Face, and FDDB benchmarks, with a novel anchor densification strategy significantly improving small face recall.

ABSTRACT

Although tremendous strides have been made in face detection, one of the remaining open challenges is to achieve real-time speed on the CPU as well as maintain high performance, since effective models for face detection tend to be computationally prohibitive. To address this challenge, we propose a novel face detector, named FaceBoxes, with superior performance on both speed and accuracy. Specifically, our method has a lightweight yet powerful network structure that consists of the Rapidly Digested Convolutional Layers (RDCL) and the Multiple Scale Convolutional Layers (MSCL). The RDCL is designed to enable FaceBoxes to achieve real-time speed on the CPU. The MSCL aims at enriching the receptive fields and discretizing anchors over different layers to handle faces of various scales. Besides, we propose a new anchor densification strategy to make different types of anchors have the same density on the image, which significantly improves the recall rate of small faces. As a consequence, the proposed detector runs at 20 FPS on a single CPU core and 125 FPS using a GPU for VGA-resolution images. Moreover, the speed of FaceBoxes is invariant to the number of faces. We comprehensively evaluate this method and present state-of-the-art detection performance on several face detection benchmark datasets, including the AFW, PASCAL face, and FDDB. Code is available at https://github.com/sfzhang15/FaceBoxes

Motivation & Objective

  • Address the challenge of achieving real-time speed and high accuracy in face detection on CPU devices.
  • Overcome the limitations of cascaded CNN methods, which suffer from speed degradation as face count increases.
  • Design a lightweight, end-to-end trainable network that maintains high performance across diverse face scales and appearances.
  • Improve small face detection recall through a novel anchor densification strategy.

Proposed method

  • Introduce Rapidly Digested Convolutional Layers (RDCL) to accelerate inference and achieve real-time CPU performance.
  • Propose Multiple Scale Convolutional Layers (MSCL) to enrich receptive fields and enable multi-scale anchor discretization across feature layers.
  • Design a new anchor densification strategy to balance anchor density across different face scales, especially enhancing small face detection.
  • Use a fully convolutional single-stage network architecture trained end-to-end for efficient and accurate face detection.
  • Employ a multi-scale anchor tiling mechanism across feature maps to cover various face sizes.
  • Train the model end-to-end with cross-entropy and smooth L1 loss for bounding box regression.

Experimental results

Research questions

  • RQ1Can a single-stage, fully convolutional face detector achieve real-time inference on CPU while maintaining high accuracy?
  • RQ2How can anchor distribution be optimized to improve recall for small faces without increasing computational cost?
  • RQ3What architectural components enable high-speed inference on CPU while preserving detection performance?
  • RQ4To what extent does anchor densification improve detection performance on small faces across benchmarks?
  • RQ5How does the proposed MSCL and RDCL design compare to existing face detectors in terms of speed-accuracy trade-off?

Key findings

  • FaceBoxes achieves 20 FPS on a single CPU core for VGA-resolution images, with speed invariant to the number of faces in the image.
  • The model runs at 125 FPS on GPU, demonstrating strong hardware scalability.
  • On the FDDB benchmark, FaceBoxes achieves state-of-the-art performance with a 96.0% mAP on the continuous ROC curve, outperforming all prior methods.
  • Ablation studies show that anchor densification improves mAP by 1.1% on FDDB, proving its critical role in small face detection.
  • MSCL contributes a 1.0% mAP gain on FDDB by enhancing receptive field diversity and anchor tiling across scales.
  • RDCL reduces inference time by ~19.3ms with only a 0.1% drop in mAP, proving its efficiency and accuracy-preserving design.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.