Skip to main content
QUICK REVIEW

[Paper Review] Beyond Trade-off: Accelerate FCN-based Face Detector with Higher Accuracy

Guanglu Song, Yu Liu|arXiv (Cornell University)|Apr 14, 2018
Face recognition and analysisComputer Science40 references4 citations
TL;DR

This paper proposes S²AP, a novel method that accelerates FCN-based face detectors by jointly estimating optimal scales and spatial locations via attention mechanisms, enabling masked-convolution to skip redundant computation. It achieves 4× speedup on RPN with state-of-the-art accuracy on FDDB, AFW, and MALF benchmarks while maintaining 98% recall.

ABSTRACT

Fully convolutional neural network (FCN) has been dominating the game of face detection task for a few years with its congenital capability of sliding-window-searching with shared kernels, which boiled down all the redundant calculation, and most recent state-of-the-art methods such as Faster-RCNN, SSD, YOLO and FPN use FCN as their backbone. So here comes one question: Can we find a universal strategy to further accelerate FCN with higher accuracy, so could accelerate all the recent FCN-based methods? To analyze this, we decompose the face searching space into two orthogonal directions, `scale' and `spatial'. Only a few coordinates in the space expanded by the two base vectors indicate foreground. So if FCN could ignore most of the other points, the searching space and false alarm should be significantly boiled down. Based on this philosophy, a novel method named scale estimation and spatial attention proposal ($S^2AP$) is proposed to pay attention to some specific scales and valid locations in the image pyramid. Furthermore, we adopt a masked-convolution operation based on the attention result to accelerate FCN calculation. Experiments show that FCN-based method RPN can be accelerated by about $4 imes$ with the help of $S^2AP$ and masked-FCN and at the same time it can also achieve the state-of-the-art on FDDB, AFW and MALF face detection benchmarks as well.

Motivation & Objective

  • To address the trade-off between speed and accuracy in FCN-based face detectors by reducing redundant computation in multi-scale feature maps.
  • To minimize false alarms in image pyramids by identifying only relevant scales and spatial locations for face detection.
  • To develop a generalizable, lightweight attention mechanism that can be integrated into any FCN-based detector without architectural overhaul.
  • To accelerate inference via masked-convolution, selectively computing only on high-attention regions identified by S²AP.
  • To demonstrate that scale and spatial attention jointly improve both speed and accuracy in face detection.

Proposed method

  • S²AP decomposes the face detection space into orthogonal 'scale' and 'spatial' dimensions to focus computation on relevant regions and scales.
  • A lightweight FCN head estimates scale ranges and spatial proposals using high-level features, with negligible computational cost.
  • The method applies spatial attention to suppress background regions and scale attention to avoid processing irrelevant pyramid levels.
  • Masked-convolution is applied to FCN layers based on S²AP predictions, skipping computation in low-attention regions.
  • The attention mechanism is trained end-to-end with the detector, using a differentiable thresholding strategy for dynamic proposal selection.
  • A transformer module is used on FDDB to align predicted bounding boxes with elliptical ground-truth annotations, improving adaptation.

Experimental results

Research questions

  • RQ1Can we reduce the computational cost of FCN-based face detectors without sacrificing accuracy by focusing on relevant scales and spatial locations?
  • RQ2To what extent can scale and spatial attention jointly reduce false positives in image pyramid-based face detection?
  • RQ3How effective is S²AP in accelerating RPN while maintaining or improving detection recall and precision?
  • RQ4Can the S²AP mechanism be generalized to generic object detection beyond face detection?
  • RQ5What is the contribution of scale attention versus spatial attention in performance and speed gains?

Key findings

  • S²AP accelerates RPN by 4× on average while maintaining 98% recall on FDDB, AFW, and MALF benchmarks.
  • On FDDB, RPN+ S²AP achieves 93.59% recall with 50 false positives, outperforming prior methods that use scale information.
  • On AFW, the method achieves 99.94% AP, setting a new state-of-the-art for face detection.
  • On MALF, the method achieves 77.92% recall with zero false positives, demonstrating high precision.
  • The ablation study confirms that both scale and spatial attention contribute synergistically to performance and speed.
  • S²AP generalizes well to generic object detection, achieving high recall on both VOC2007 and COCO2014, with better performance on COCO due to more uniform scale distribution.

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.