Learning Complexity-Aware Cascades for Deep Pedestrian Detection

Zhaowei Cai, Mohammad J. Saberian, Nuno Vasconcelos

Introduction

Pedestrian detection remains a cornerstone of autonomous driving and urban surveillance. Traditionally, this task relies on the "sliding window" paradigm, evaluating nearly a million image patches per frame. While Deep Convolutional Neural Networks (CNNs) offer high accuracy, their computational cost makes them prohibitive for exhaustive search. Traditional cascades, like the Viola-Jones detector, mitigate this by using simple classifiers to reject background patches quickly. However, these frameworks often assume uniform feature costs, making it difficult to integrate expensive CNNs efficiently.

The CompACT Framework

The authors propose CompACT (Complexity-Aware Cascade Training), a boosting framework that treats cascade learning as a constrained optimization problem. Unlike standard AdaBoost, which minimizes classification error alone, CompACT minimizes a Lagrangian risk:

$$L = \text{Error} + \eta \times \text{Complexity}$$

The parameter $\eta$ allows for a principled trade-off between detection speed and accuracy. During training, the algorithm selects "weak learners" from a variable complexity pool—ranging from cheap Aggregate Channel Features (ACF) to expensive CNN layers—based on which provides the best accuracy gain per unit of computational cost.

Key Insights and Ideas

A central innovation of CompACT is the "Final Boss" strategy. By explicitly accounting for computational cost, the algorithm naturally learns to push high-complexity features to the very end of the cascade.

Feature distribution across cascade stages, demonstrating the prioritization of low-cost features in early stages.

As shown in the stage distribution above, cheap ACF features dominate the first 200 stages, while CNN-based features only appear after stage 1000. By the time a CNN is invoked, over 99% of background patches have already been rejected. This "Just-in-Time" (JIT) evaluation ensures that expensive computations are reserved only for the most difficult candidates.

Key Results

CompACT was evaluated on the Caltech Pedestrian and KITTI datasets. On the Caltech "Reasonable" benchmark, CompACT-Deep achieved a log-average miss rate of 11.7%, a substantial improvement over previous state-of-the-art methods which typically ranged between 18% and 22%.

Miss rate vs. false positives per image on the Caltech dataset, highlighting CompACT-Deep's state-of-the-art performance.

In terms of efficiency, the system operates at 2–4 frames per second (fps). While not yet real-time, it is significantly faster than contemporary two-stage approaches like R-CNN because it integrates the CNN directly into the cascade rather than using it as a separate post-processing step.

Conclusion

CompACT demonstrates that acknowledging the disparity in feature costs leads to more efficient and accurate detectors. By breaking the "equal cost" assumption of traditional boosting, the authors provide a unified mathematical framework for integrating deep learning into high-speed detection pipelines. Future work may involve end-to-end training of the entire cascade and further optimization for heterogeneous hardware (CPU/GPU) environments.

Summary updated

BibTeX
@inproceedings{cai2015learning,
  author = {Zhaowei Cai and Mohammad J. Saberian and Nuno Vasconcelos},
  title = {{Learning Complexity-Aware Cascades for Deep Pedestrian Detection}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2015},
  doi = {10.1109/iccv.2015.384},
}
Figure