Abstract
Cascade-style approaches to implementing ensemble classifiers can deliver significant speed-ups at test time. While highly effective, they remain challenging to tune and their overall performance depends on the availability of large validation sets to estimate rejection thresholds. These characteristics are often prohibitive and thus limit their applicability. We introduce an alternative approach to speeding-up classifier evaluation which overcomes these limitations. It involves maintaining a probability estimate of the class label at each intermediary response and stopping when the corresponding uncertainty becomes small enough. As a result, the evaluation terminates early based on the sequence of responses observed. Furthermore, it does so independently of the type of ensemble classifier used or the way it was trained. We show through extensive experimentation that our method provides 2 to 10 fold speed-ups, over existing state-of-the-art methods, at almost no loss in accuracy on a number of object classification tasks.
Introduction
Ensemble classifiers, such as Random Forests or Boosted Trees, are powerful tools for object detection but often suffer from high computational costs during inference. Traditionally, "cascades" are used to mitigate this by rejecting easy negative samples early. However, standard cascades (e.g., the Viola-Jones detector) are notoriously difficult to tune, requiring massive validation sets to determine stage-specific thresholds and manual intervention to balance the trade-off between speed and accuracy.
Entropy-Driven Evaluation (EDE)
The proposed Entropy-Driven Evaluation (EDE) framework offers a probabilistic alternative to rigid cascades. Instead of accumulating raw scores, EDE treats the class label as a random variable and performs Bayesian tracking.
As the ensemble is evaluated stage-by-stage, the algorithm updates a posterior probability estimate of the class label. The stopping criterion is based on the Shannon Entropy of this probability, which quantifies the model's uncertainty. Evaluation terminates when the entropy falls below a single, global user-defined threshold, indicating that the model is sufficiently "certain" about its prediction.
Key advantages of this approach include:
- Data Efficiency: EDE requires significantly less validation data than competing methods because it only needs to estimate a single global threshold rather than hundreds of stage-specific ones.
- Dynamic Stopping: The algorithm naturally spends more computation on "hard" examples while exiting quickly on "easy" ones, optimizing computational resources on-the-fly.
- Block Evaluation: Evaluating stages in "blocks" reduces the overhead of the Bayesian update and smooths out noise in the probability estimates.
Experimental Results
The authors evaluated EDE on three diverse tasks: face detection (MIT+CMU), object categorization (Caltech-256), and biomedical path classification (3D tubular structures).
Across all datasets, EDE consistently outperformed state-of-the-art early stopping methods like SPRT and Soft Cascades. In the Caltech-256 experiments, EDE achieved the highest F-scores with the lowest computational cost.
In face detection, EDE achieved near-perfect accuracy using an average of fewer than 10 stages out of 500. In the biomedical task, it delivered the same accuracy as a full ensemble in one-fifth of the time, demonstrating its robustness across different domains.
Conclusion
EDE provides a robust and efficient framework for speeding up ensemble classifiers. By replacing complex, stage-specific thresholds with a single entropy-based criterion, it simplifies the tuning process and improves performance even with limited validation data. Future work may explore extending this entropy-driven logic to other classifier architectures, such as Support Vector Machines (SVMs) or complex kernel-based classifiers.
Summary updated