Quickly Boosting Decision Trees - Pruning Underachieving Features Early

Ron Appel, Thomas J. Fuchs, Piotr Dollár, Pietro Perona

Boosted decision trees, such as AdaBoost and Gradient Boosting, are celebrated in machine learning for their high accuracy and rapid inference speeds. However, training them is notoriously slow. Finding the optimal split for every node requires evaluating every feature ($K$) across every data sample ($N$), resulting in an $O(K \times N)$ computational bottleneck. Previous attempts to accelerate this process—such as random feature sampling or "weight trimming"—rely on heuristics that inherently trade model accuracy for speed.

This paper introduces a principled approach to achieve an order-of-magnitude speedup during training without compromising exactness, ensuring the final model is identical to one trained using traditional, exhaustive methods.

The Solution: Quick Stump Training

The authors propose Quick Stump Training, a method that leverages the inherent "heavy-tailed" weight distribution of Boosting algorithms. In Boosting, a small fraction of "hard" samples usually carries the vast majority of the total weight. For example, in AdaBoost, the top 7% of samples often account for 90% of the total weight.

By focusing on these high-weight samples, the authors derive a mathematical bound (Proposition 1) demonstrating that the product of a subset's mass ($Z_m$) and its preliminary error ($\epsilon_m$) serves as a strict lower bound for the final error on the full dataset. This insight means you do not need to evaluate all the data to know a feature is suboptimal.

How Provable Pruning Works

The algorithm exploits this mathematical bound through a four-step process:

  1. Sort and Subset: Data samples are sorted by weight in descending order. Training begins by evaluating features on a small subset of the highest-weight samples.
  2. Preliminary Ranking: Features are ranked based on their performance on this initial, high-impact subset.
  3. Provable Pruning: The algorithm continues evaluating the most promising features on progressively larger subsets. If a feature's lower bound (calculated from the subset) ever exceeds the actual error of the current "best-so-far" feature, it is mathematically impossible for that feature to become the optimal split. It is immediately discarded.
  4. Identical Output: Because pruning relies on a proven mathematical bound rather than a heuristic guess, the final model is guaranteed to be exactly the same as if the algorithm had evaluated every single data point for every single feature.

Experimental Validation and Results

The authors evaluated their method on three diverse, real-world benchmarks: CMU-MIT Faces (8.5k samples, 4.3k features), INRIA Pedestrians (17k samples, 5.1k features), and MNIST Digits (60k samples, 780 features).

The results demonstrated a consistent 10x speedup across the board compared to standard boosting counterparts. Crucially, this acceleration came with zero accuracy loss—the resulting trees were bit-for-bit identical to those produced by standard training. Furthermore, the method outperformed common heuristics like Weight Trimming; by not accidentally discarding useful low-weight information, it achieved better test error for the same computational budget.

The authors also note the generality of their approach: while the paper focuses on classification error, the same bounding logic applies to other common split criteria, including Information Gain, Gini Impurity, and Variance.

Limitations and Future Directions

While highly effective, the method has a few limitations:

  • Shallow Tree Focus: The technique is most effective for "stumps" (trees with a depth of 1) or very shallow trees. While these are the most common weak learners in Boosting, the speedup may diminish as tree depth increases significantly.
  • Sorting Overhead: The algorithm requires sorting samples by weight at each iteration. While this is an $O(N)$ operation and generally negligible compared to the $O(K \times N)$ training bottleneck, it is an extra step not required by standard Boosting.
  • Hardware Optimization: The paper focuses on algorithmic efficiency on a single CPU core. While the authors mention their method is theoretically compatible with parallelization, they do not explicitly benchmark a multi-GPU or distributed implementation.

Summary updated

BibTeX
@inproceedings{appel2013quickly,
  author = {Ron Appel and Thomas J. Fuchs and Piotr Dollár and Pietro Perona},
  title = {{Quickly Boosting Decision Trees - Pruning Underachieving Features Early}},
  booktitle = {International Conference on Machine Learning},
  year = {2013},
}
Figure