Growing Regression Forests by Classification: Applications to Object Pose Estimation

Kota Hara, Rama Chellappa · DOI · OpenReview

Abstract

In this work, we propose a novel node splitting method for regression trees and incorporate it into the regression forest framework. Unlike traditional binary splitting, where the splitting rule is selected from a predefined set of binary splitting rules via trial-and-error, the proposed node splitting method first finds clusters of the training data which at least locally minimize the empirical loss without considering the input space. Then splitting rules which preserve the found clusters as much as possible are determined by casting the problem into a classification problem. Consequently, our new node splitting method enjoys more freedom in choosing the splitting rules, resulting in more efficient tree structures. In addition to the Euclidean target space, we present a variant which can naturally deal with a circular target space by the proper use of circular statistics. We apply the regression forest employing our node splitting to head pose estimation (Euclidean target space) and car direction estimation (circular target space) and demonstrate that the proposed method significantly outperforms state-of-the-art methods (38.5% and 22.5% error reduction respectively).

Introduction

Standard regression trees, the building blocks of Random Forests, typically grow by testing a massive number of random binary splits. These splits usually involve thresholding a single feature at a time (e.g., "Is pixel X brighter than 50?"). While computationally simple, this axis-aligned approach is often inefficient at capturing the complex, non-linear relationships inherent in computer vision tasks like object pose estimation.

The primary bottlenecks identified in traditional methods are a limited search space—restricted to simple hyperplanes perpendicular to feature axes—and a fixed binary topology that may not reflect the natural branching of the underlying data.

Proposed Methodology: K-clusters Regression Forests (KRF)

To address these limitations, we introduce K-clusters Regression Forests (KRF). Instead of guessing splits in the high-dimensional input space, the algorithm works backward from the target values.

Overview of the proposed node splitting method: (Left) Clustering in target space, (Middle) Determining split boundaries in input space via classification, (Right) Resulting distribution in target space.

The Splitting Process

  1. Target-Space Clustering: At each node, K-means clustering is performed on the target values (e.g., actual pose angles) to find groups that minimize variance locally.
  2. Splitting as Classification: Once target clusters are identified, the splitting task is treated as a multi-class classification problem. A linear SVM is trained to find the best boundaries in the high-dimensional input space (image features) that preserve these target clusters.
  3. Multi-way Branching: This framework allows a single node to split into $K$ children ($K \ge 2$), creating more efficient and flexible tree structures than standard binary trees.
  4. Adaptive Complexity (AKRF): Using the Bayesian Information Criterion (BIC), the algorithm automatically determines the optimal number of clusters ($K$) for each node, adapting the tree's complexity to the local data distribution.

Handling Circular Statistics

For periodic data, such as car directions where 0° and 360° are identical, the algorithm is adapted to use circular means and the von Mises distribution for clustering and BIC calculations, ensuring the model respects the topology of the target space.

Experimental Results

The proposed KRF and AKRF methods were evaluated on two primary benchmarks: the Pointing’04 Dataset for head pose estimation and the EPFL Multi-view Car Dataset for car direction estimation.

Performance Metrics

  • Head Pose Estimation: The method achieved a 38.5% error reduction compared to previous state-of-the-art techniques, reaching a Mean Absolute Error (MAE) of 3.90°.
  • Car Direction Estimation: The approach yielded a 22.5% error reduction over existing methods.
  • Computational Efficiency: Despite the increased complexity of the splitting logic during training, inference remains extremely fast. The system processes images in approximately 7.7 to 8.7 milliseconds, making it highly suitable for real-time applications.

Conclusion

By inverting the split logic—clustering in the lower-dimensional target space before classifying in the input space—KRF allows for more powerful, non-axis-aligned split boundaries. This results in significantly more accurate regression models for complex computer vision tasks without sacrificing real-time performance. Future work may extend this framework to handle more complex output manifolds, such as 3D rotations or articulated human skeletons.

Summary updated

BibTeX
@inproceedings{hara2013growing,
  author = {Kota Hara and Rama Chellappa},
  title = {{Growing Regression Forests by Classification: Applications to Object Pose Estimation}},
  booktitle = {European Conference on Computer Vision},
  year = {2013},
  doi = {10.48550/arxiv.1312.6430},
}
Figure