Fast Feature Value Searching for Face Detection

Yunyang Yan, Zhibo Guo, Jingyu YangComputer 2008

Abstract

Training face detectors using the AdaBoost algorithm is traditionally a computationally expensive process. This paper proposes two improved algorithms, Rank-AdaBoost (based on feature-value-division) and Dual-AdaBoost (based on dual-thresholding), to accelerate training and enhance detection performance. By rearranging feature values into a discrete number of ranks—significantly fewer than the number of training samples—the search time for optimal thresholds is drastically reduced. Additionally, an inheriting cascaded frame is introduced to further speed up convergence. Experimental results on the MIT-CBCL and MIT+CMU datasets demonstrate that these methods can reduce training time to 1/50th of the original Viola-Jones approach while improving both detection speed and accuracy.

Introduction

Since the introduction of the Viola-Jones framework in 2001, real-time face detection has become a standard in computer vision. However, the training phase remains a significant bottleneck. To build a robust detector, the AdaBoost algorithm must evaluate hundreds of thousands of Haar-like features across thousands of training samples.

In the original "Init-AdaBoost" approach, the algorithm exhaustively searches every single feature value from every training sample to find the optimal threshold. For large datasets, this process can take weeks. This paper addresses this exhaustive search bottleneck by introducing discretization and structural optimizations to the weak classifier selection process.

Proposed Methodology

Rank-AdaBoost: Feature-Value-Division

The authors identify that exhaustive searching is often redundant due to the similarity of feature values among faces. By dividing the distribution of feature values into a fixed number of "ranks" (e.g., $r=100$), the computational complexity is reduced from $O(m \times n)$ to $O(r \times (m+n))$, where $m$ and $n$ represent face and non-face samples, respectively. This "binning" process maintains discriminative power while slashing the search space.

Dual-AdaBoost: The "Face Sandwich"

Traditional weak classifiers use a single threshold to split data. However, facial features often cluster within a specific middle range of a distribution, while non-faces occupy the "tails." Dual-AdaBoost finds two thresholds to "sandwich" the face peak, significantly reducing false positives and improving classification precision.

A Haar-like feature used to identify facial structures.

Inheriting Cascaded Detector

In a standard cascade, each stage is trained independently. The authors propose an "inheriting" model where the strong classifier from stage $k-1$ serves as the starting point for stage $k$. This cumulative approach ensures that later stages focus on refining existing knowledge rather than starting from scratch, leading to faster convergence.

The cascaded structure of the face detector.

Experimental Evaluation

The study utilized the MIT-CBCL dataset (2,429 faces, 4,548 non-faces) for training and the MIT+CMU set (130 images, 507 faces) for testing. To improve robustness, supplemental data from the FERET and NJUST603 datasets were added, totaling over 8,000 face samples.

Key Results

  • Training Speed: The training time for Dual-AdaBoost was approximately 1/50th of the original method. Specifically, the search time for a single classifier dropped from 0.1192 seconds to 0.0023 seconds.
  • Accuracy: On the MIT-CBCL test set, Dual-AdaBoost achieved a 98.6% detection rate with zero false positives, outperforming both the original AdaBoost (97%) and Rank-AdaBoost (96.4%).
  • Efficiency: Dual-AdaBoost required only 56 weak classifiers to achieve superior results compared to the 96 required by the original method, resulting in faster inference speeds.

Conclusion

By discretizing feature values and utilizing dual-threshold classifiers, the proposed Rank-AdaBoost and Dual-AdaBoost algorithms provide a massive leap in training efficiency. The 50x speedup allows researchers to iterate on models much faster without sacrificing—and in fact, improving—detection accuracy. Future work will focus on scaling the non-face training data and incorporating more diverse feature types to further push the boundaries of real-time face detection.

Summary updated

BibTeX
@inproceedings{yan2008fast,
  author = {Yunyang Yan and Zhibo Guo and Jingyu Yang},
  title = {{Fast Feature Value Searching for Face Detection}},
  booktitle = {Computer},
  year = {2008},
  doi = {10.5539/cis.v1n2p120},
}
Figure