Efficiently Learning a Detection Cascade With Sparse Eigenvectors

Chunhua Shen, Sakrapee Paisitkriangkrai, Jian Zhang

TL;DR

This paper introduces Boosted Greedy Sparse Linear Discriminant Analysis (BGSLDA), a novel algorithm for training efficient object detection cascades. By combining the class-separability criterion of GSLDA with the sample re-weighting of boosting, BGSLDA achieves superior detection performance, especially on highly imbalanced datasets like face and pedestrian detection, outperforming traditional AdaBoost.

What Problem Does This Paper Address?

Real-time object detection is crucial for applications like surveillance and multimedia retrieval. A major challenge in this field is the highly imbalanced nature of datasets, where negative background patterns vastly outnumber object patterns. This imbalance makes it difficult to achieve both high detection rates and low false alarm rates simultaneously. While cascade classifiers, popularized by Viola and Jones' AdaBoost-based face detector, have been effective, improving their training efficiency and performance, especially on skewed data, remains an active research area. Existing methods often focus on optimizing the boosting algorithm itself or accelerating training, but this paper explores alternative feature selection and classifier training techniques.

Methods

The paper proposes two main contributions:

  • Greedy Sparse Linear Discriminant Analysis (GSLDA): This method is presented as an alternative to AdaBoost for training object detectors. GSLDA uses a greedy forward selection approach to find sparse linear discriminants that maximize the class-separability criterion (maximizing between-class scatter and minimizing within-class scatter). This criterion is argued to be more robust to imbalanced data distributions than AdaBoost's exponential loss.
  • Boosted Greedy Sparse Linear Discriminant Analysis (BGSLDA): This is the core novel algorithm. BGSLDA combines the strengths of GSLDA with the sample re-weighting mechanism of boosting algorithms (specifically AdaBoost and AsymBoost). Instead of training decision stumps only once, BGSLDA re-weights training samples and retrains decision stumps in each boosting iteration, allowing for more adaptive feature selection and improved performance, particularly on skewed datasets. The paper also introduces a method for handling multi-dimensional features (like covariance features) by projecting them into a 1D space using LDA before applying decision stumps.

Datasets

The paper evaluates its methods on the following datasets:

  • Face Detection:
    • A custom dataset consisting of 10,000 mirrored faces and 10,000 non-face patches, with training and validation splits.
  • MIT+CMU frontal face test set (507 frontal faces).
  • Pedestrian Detection:
    • Daimler-Chrsyler dataset: Contains extracted pedestrian and non-pedestrian samples, scaled to 18x36 pixels, with training and test sets.
  • INRIA dataset: Includes mirrored pedestrian examples and non-pedestrian images, with samples scaled to 64x128 pixels.

Key Insights and Ideas

  • Class-Separability is Key for Imbalanced Data: The paper strongly advocates for using a class-separability criterion (like LDA's) over AdaBoost's exponential loss for training detectors on highly imbalanced datasets. This criterion directly addresses the goal of separating classes, which is crucial when one class is overwhelmingly dominant.
  • Separating Feature Selection and Classifier Training: The authors highlight that feature selection and classifier training can have different objective functions, offering more flexibility. GSLDA's approach of selecting features based on class separability and then training a classifier is contrasted with boosting methods that often perform these tasks simultaneously.
  • Boosting Enhances GSLDA: The BGSLDA algorithm demonstrates that incorporating boosting's sample re-weighting into GSLDA significantly improves performance, showing that the adaptive nature of boosting can further refine the class-separability driven feature selection.
  • GSLDA's Simplicity: Compared to AdaBoost, GSLDA's weak classifiers (decision stumps) are trained only once, which simplifies the training process and can lead to faster feature selection.

Key Results

  • Face Detection:
    • On single-node classifiers, GSLDA achieved comparable error rates to AdaBoost, with slight advantages in different feature number ranges.
  • In cascade detectors, BGSLDA (scheme 1) consistently outperformed AdaBoost and AdaBoost+LDA across various ROC curve comparisons, especially at lower false positive rates.
  • Pedestrian Detection:
    • On the Daimler-Chrsyler dataset with Haar-like features, GSLDA and BGSLDA outperformed AdaBoost.
  • On the INRIA dataset using covariance features, GSLDA (both forward and forward+backward) showed superior performance to AdaBoost on projected covariance features.
  • Training Efficiency: While BGSLDA might have a slightly higher computation cost than AdaBoost, the overall training time for cascade detectors was reduced from weeks to days on a standard PC, especially when handling multi-dimensional features.

Limitations and Future Work

  • Computational Cost: While BGSLDA offers performance gains, it can incur a higher computation cost compared to AdaBoost, particularly in the number of weak classifiers and feature evaluations (as seen in Table II).
  • Feature Selection Complexity: The paper notes that while GSLDA's feature selection is efficient, the number of decision stumps available for GSLDA is smaller than AdaBoost, which can limit its choice of powerful features.
  • Future Work: The authors suggest exploring more efficient weak classifiers and investigating on-line updating of learned models. They also propose future work on combining various feature selection techniques with classification methods for better object detectors.

Summary updated

BibTeX
@article{shen2011efficiently,
  author = {Chunhua Shen and Sakrapee Paisitkriangkrai and Jian Zhang},
  title = {{Efficiently Learning a Detection Cascade With Sparse Eigenvectors}},
  journal = {IEEE Trans. Image Process.},
  year = {2011},
  doi = {10.1109/tip.2010.2055880},
}
Figure