Accurate Object Detection with Joint Classification-Regression Random Forests

Samuel Schulter, Christian Leistner, Paul Wohlhart, Peter M. Roth, Horst Bischof

Introduction

Classical object detection frameworks, such as the Viola-Jones face detector or HOG-based pedestrian detectors, typically rely on a "sliding window" approach using fixed-size templates. While effective for rigid objects with consistent shapes, these methods struggle with significant appearance variations caused by viewpoint changes or articulation. For instance, a car's aspect ratio varies dramatically between a side view and a front view.

While models like the Deformable Parts Model (DPM) address this by training multiple discrete "components" for different aspect ratios, they require training separate models for each category. This paper introduces Joint Classification-Regression Random Forests (JCRF), a unified model capable of predicting a continuous aspect ratio for every detection, ensuring a tight fit to the object's actual shape.

Methods: Joint Classification-Regression Random Forests

The JCRF extends the standard Random Forest (RF) framework by incorporating regression into the classification process.

Illustration of regressing continuous object height $z$ to adapt to varying aspect ratios.

Augmented Label Space and Dual-Purpose Nodes

In addition to binary "object" or "background" labels, training data is augmented with a continuous value representing the object's actual height ($z$). During training, the forest utilizes two types of split nodes:

  • Classification nodes minimize label entropy to distinguish objects from the background.
  • Regression nodes minimize the variance of the height ($z$) to learn shape prediction.

A steering parameter ($\gamma$) controls the balance between these node types at different tree depths. The authors also employ Alternating Decision Forests (ADF) to optimize a global loss function across the entire forest.

Efficient Inference

To maintain computational efficiency during sliding window testing, the model implements an "early stopping" strategy. If the initial trees in the forest indicate a high probability of background, the window is discarded immediately, bypassing expensive regression calculations for irrelevant regions.

Datasets and Evaluation

The JCRF was evaluated on three benchmarks characterized by high shape variation: ETHZcars (diverse viewing angles), TUDpedestrian (various poses), and MITStreetsceneCars (diverse lighting and scenes).

A critical part of the evaluation is the "tightening test." While many detectors perform well at a standard 50% Intersection over Union (IoU) threshold, their performance often collapses as the requirement for precision increases (e.g., 70% or 80% IoU).

Key Results and Insights

The inclusion of aspect ratio regression during training surprisingly improves classification performance, even if the predicted shape isn't used at test time. This suggests that the additional supervision helps the forest learn more robust discriminative features.

Comparison of a standard fixed-template detection (blue) vs. the proposed JCRF detection (orange), showing significantly higher IoU.

On the ETHZcars dataset, when the success threshold is tightened to 0.8 IoU, JCRF achieves an Area Under Curve (AUC) of 73%, significantly outperforming standard fixed-template methods like ACF or standard RFs, which drop to below 20%. The best variant, ADF-Regr, consistently matched or exceeded the performance of state-of-the-art models like DPM across all datasets.

Conclusion and Future Work

JCRF demonstrates that joint classification and regression can significantly enhance object localization precision. While the current model assumes a fixed width and regresses height, future work could explore independent regression of both dimensions. Additionally, integrating JCRF with object proposal methods could further optimize the sliding window bottleneck, and combining it with part-based models might better handle complex non-rigid deformations.

Summary updated

BibTeX
@inproceedings{schulter2014accurate,
  author = {Samuel Schulter and Christian Leistner and Paul Wohlhart and Peter M. Roth and Horst Bischof},
  title = {{Accurate Object Detection with Joint Classification-Regression Random Forests}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2014},
  doi = {10.1109/cvpr.2014.123},
}
Figure