Alternating Regression Forests for Object Detection and Pose Estimation

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

Random Forests (RFs) have long been favored in computer vision for their speed and parallelizability. However, their standard training procedure is inherently "greedy"—each node split is optimized locally without regard for the ensemble's overall performance. Conversely, Gradient Boosting Machines (GBMs) optimize a global loss function but are restricted by a sequential training process. This paper introduces Alternating Regression Forests (ARFs), a framework that bridges this gap by enabling global optimization within a parallelizable forest structure.

The ARF Framework

The core innovation of ARFs is a stage-wise additive training procedure that alternates between growing tree levels and updating global targets. Unlike standard RFs that grow trees independently to full depth, ARFs grow all trees level-by-level.

The ARF training process: at each stage, pseudo-targets (red) are calculated based on the current forest prediction (blue) and ground truth (green) to guide the next level of growth.

After reaching a specific depth $d$, the algorithm evaluates the collective prediction of the forest. It then calculates "pseudo-targets"—the negative gradient of a global loss function (such as Squared or Huber loss) relative to current predictions. These residuals become the training labels for the next level ($d+1$). This "alternating" step ensures that each new layer of the forest specifically addresses the errors of the existing ensemble, effectively bringing the benefits of residual learning to the Random Forest architecture while maintaining parallelizability at each depth level.

Experimental Results

The authors evaluated ARFs across machine learning benchmarks, object detection, and head pose estimation. A key finding is that ARFs consistently outperform standard RFs and sequential Boosted Trees (BTSqr) in terms of convergence and final accuracy.

RMSE comparison across different forest depths and tree counts. ARFs (red) show faster convergence and lower error than standard RFs (blue) and Boosted Trees (green).

As shown in the results, ARFs achieve lower Root Mean Square Error (RMSE) with fewer trees compared to baselines. In object detection tasks using Hough Forests, the ARF principle led to a significant 5.2% to 7.2% improvement in Area Under Curve (AUC). For head pose estimation, ARFs provided superior precision, particularly for high-accuracy requirements (e.g., predicting head centers within 10mm).

Conclusion

Alternating Regression Forests successfully combine the global optimization strengths of boosting with the efficiency of parallel forest training. By replacing local node-level heuristics with a global, differentiable loss function, ARFs provide a robust and scalable solution for complex regression and detection tasks. While they introduce some memory overhead due to breadth-first growth, the gains in accuracy and training speed over sequential methods make them a powerful tool for high-performance computer vision applications.

Summary updated

BibTeX
@inproceedings{schulter2013alternating,
  author = {Samuel Schulter and Christian Leistner and Paul Wohlhart and Peter M. Roth and Horst Bischof},
  title = {{Alternating Regression Forests for Object Detection and Pose Estimation}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2013},
  doi = {10.1109/iccv.2013.59},
}
Figure