TL;DR
This paper introduces FCBoost, a novel algorithm for automatically designing optimal object detector cascades. By proposing a new, analytically tractable mathematical model for cascades that balances classification accuracy and computational complexity, FCBoost can determine the ideal number of stages and their configurations, achieving state-of-the-art performance with significantly improved speed.
What Problem Does This Paper Address?
Object detection in computer vision, especially in real-time applications like face detection on mobile devices, demands highly efficient classifiers. Traditional methods, like the Viola-Jones (VJ) cascade, achieve speed by using a sequence of simple classifiers that quickly reject non-objects. However, the design process for these cascades is notoriously manual and time-consuming, requiring extensive trial-and-error to tune parameters and determine the optimal cascade structure (number of stages, complexity of each stage). This paper tackles the problem of automating and optimizing this cascade design process, aiming to find a cascade configuration that offers the best trade-off between detection accuracy and computational cost.
Methods
The core contribution is a new mathematical model for cascaded detectors that is both analytically tractable and amenable to recursive computation. This model explicitly accounts for both classification risk (accuracy) and computational complexity.
The paper then proposes FCBoost, a boosting algorithm built upon this model. FCBoost optimizes a Lagrangian cost function that balances classification risk and complexity. Key aspects of FCBoost include:
- Holistic Cascade Design: Unlike previous methods that designed stages sequentially, FCBoost searches the space of cascade configurations to automatically determine the optimal number of stages and their predictors.
- Lagrangian Optimization: It minimizes a Lagrangian that penalizes complexity, allowing for a controlled trade-off between speed and accuracy.
- Differentiable Approximation: To handle the non-differentiable nature of cascade predictors, a sigmoidal approximation is used, enabling gradient-based optimization.
- Incorporating Complexity: The model explicitly defines cascade complexity and how it relates to the complexity of individual stages.
- Extensions: FCBoost is designed to be compatible with cost-sensitive learning and bootstrapping of negative examples, further enhancing its flexibility and performance.
Datasets
The paper evaluates FCBoost on standard computer vision datasets for:
- Face detection: MIT-CMU dataset.
- Car detection: Not explicitly named, but implied by the tables and figures.
- Pedestrian detection: Not explicitly named, but implied by the tables and figures.
The paper also includes characteristics of the training and test sets used, detailing the number of positive and negative examples for each task.
Key Insights and Ideas
- The "Optimal" Cascade is a Trade-off: The paper strongly emphasizes that there isn't a single "best" cascade, but rather an optimal one for a given computational budget. The Lagrangian formulation elegantly captures this trade-off.
- Sequential Design is Suboptimal: The authors argue that previous methods, like ChainBoost, which insert rejection points after standard boosting, sacrifice optimality. FCBoost's holistic approach aims to rectify this.
- Complexity is a First-Class Citizen: By integrating complexity directly into the optimization objective, FCBoost moves beyond simply optimizing for accuracy and explicitly designs for speed.
- "Neutral Predictor" Simplifies Stage Addition: The concept of a neutral predictor as the last stage allows for a principled way to add new stages to the cascade, mimicking embedded cascades but without their restrictions.
Key Results
- State-of-the-Art Performance: FCBoost achieves superior accuracy/complexity trade-offs compared to AdaBoost, ChainBoost, FloatBoost, and WaldBoost across face, car, and pedestrian detection tasks.
- Significant Speedup: FCBoost cascades are considerably faster than traditional AdaBoost detectors, offering a substantial reduction in the average number of features evaluated per patch (e.g., 7.2 for FCBoost vs. 8 for VJ, 18.9 for FloatBoost, and 10.84 for WaldBoost on the face dataset).
- Best Trade-off: FCBoost (with $\eta = 0.02$) consistently produces cascades with the lowest overall risk (Lagrangian L), demonstrating a better balance of accuracy and speed than other methods. For face detection, it achieves a detection rate of 94% with a significantly lower number of false positives compared to other cascade methods.
Limitations and Future Work
- Manual Supervision in Previous Work: The paper highlights that previous cascade design methods often required extensive manual supervision, which FCBoost aims to eliminate.
- Suboptimal Design of Prior Methods: The paper implicitly points out the limitations of prior methods like ChainBoost by demonstrating FCBoost's superior performance and optimality.
- Future Work: While not explicitly detailed, the paper's framework suggests potential for further exploration in optimizing the choice of weak learners, exploring different cost functions, and applying the method to other object detection tasks. The compatibility with cost-sensitive learning and bootstrapping also opens avenues for further research in these areas.
Summary updated