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 forests, a staple in machine learning for tasks like pose estimation, typically rely on "binary splitting." During tree construction, the algorithm evaluates individual features—such as pixel brightness—and selects a threshold to divide data into two groups. This trial-and-error approach, while functional, suffers from two primary limitations. First, it is rigid, often creating splits only perpendicular to the axes of the feature space. Second, it is inefficient, as it fails to account for the natural groupings within the output (target) data. This often results in excessively deep trees that struggle with complex mappings, such as translating 2D image data into 3D head poses.
Methodology: Adaptive K-clusters Regression Forest (AKRF)
The researchers propose the Adaptive K-clusters Regression Forest (AKRF), which introduces a "top-down" approach to node splitting. Instead of prioritizing input features, the algorithm begins by analyzing the target labels.
Target-Driven Splitting
The process begins with Target Clustering, where k-means clustering identifies $K$ ideal groups in the target space to minimize local error. Once these groups are established, the algorithm performs Splitting via Classification. It treats the split as a classification problem, training a Linear SVM to separate the input data into the $K$ predefined groups. This allows for non-axis-aligned splits and K-ary splitting (more than two child nodes per split).
Adaptive Complexity and Circular Statistics
To optimize the tree structure, the model employs the Bayesian Information Criterion (BIC) to automatically determine the optimal number of clusters ($K$) for each node. This ensures the tree remains lean for simple data while expanding for complex mappings. Furthermore, for direction estimation tasks, the authors incorporate circular statistics (using von Mises distributions), allowing the model to correctly interpret the proximity between angles like 1° and 359°.
Experimental Results
The AKRF method was evaluated on two primary benchmarks: the Pointing’04 dataset for head pose estimation and the EPFL Multi-view Car Dataset for 0–360° direction estimation.
- Head Pose Estimation: The method achieved a 38.5% reduction in error compared to previous state-of-the-art techniques.
- Car Direction Estimation: The method achieved a 22.5% reduction in error, significantly outperforming standard binary regression forests that struggle with circular data.
- Computational Efficiency: The training process is remarkably fast; in one test, a single tree was trained in 6.8 seconds compared to 331.4 seconds for traditional methods. Inference is also real-time capable, processing images in approximately 8.7 milliseconds.
Discussion and Conclusion
The primary insight of this work is that the target space often contains the most critical information for structuring a regression tree. By clustering targets first, the tree is structured according to the desired output before features are even considered. This "K-ary" approach leads to wider, shallower trees that better represent physical rotations.
Despite these gains, challenges remain, such as "flipping errors" where symmetrical objects (like cars) are mistaken for their opposite orientation. Future work may involve applying this flexible framework to other high-dimensional tasks like facial landmark tracking or full human body pose estimation.
Summary updated