MixBoost: A Heterogeneous Boosting Machine

Thomas P. Parnell, Andreea Anghel, Malgorzata Lazuka, Nikolas Ioannou, Sebastian Kurella, Peshal Agarwal, Nikolaos Papandreou, Haralampos PozidisarXiv 2020

TL;DR

This paper introduces SnapBoost, a novel heterogeneous boosting machine that dynamically selects its base learners (decision trees or linear regressors with random Fourier features) at each boosting iteration. This flexibility allows SnapBoost to achieve state-of-the-art generalization performance on various datasets, outperforming established frameworks like XGBoost and LightGBM, without a significant increase in tuning time.

What Problem Does This Paper Address?

Modern gradient boosting frameworks like XGBoost and LightGBM are incredibly powerful for tabular data. They typically optimize a loss function using Newton's method in a functional space, where at each step, they select the best "weak learner" (usually a decision tree of a fixed depth) that approximates the desired update direction. However, these frameworks are "homogeneous," meaning the type of weak learner is fixed throughout the boosting process. This paper addresses the limitation of this homogeneity by proposing a "heterogeneous" approach where the choice of weak learner can vary at each boosting iteration. The goal is to leverage the strengths of different types of learners to improve overall model performance and generalization.

Methods

The core innovation is the Heterogeneous Newton Boosting Machine (HNBM). At each boosting iteration, HNBM samples a base hypothesis class from a predefined set of subclasses according to a probability distribution. This allows the boosting process to adapt its learning strategy on the fly.

The paper then presents a concrete implementation called SnapBoost. SnapBoost's subclasses include:

  • Binary Decision Trees (BDTs): These can have varying maximum depths, allowing for flexibility in tree complexity.
  • Linear Regressors with Random Fourier Features (LRFs): These are used to approximate kernel methods, offering a different inductive bias.

SnapBoost's training involves:

  1. Pre-sorting features: A one-time cost for efficient split finding.
  2. Building histograms: For BDTs, this speeds up split evaluation.
  3. Tree construction: A depth-first search algorithm that uses histogram statistics.
  4. LRF projection: Mapping data to a lower-dimensional space for linear regression.

The paper also derives theoretical guarantees for HNBM, showing a global linear convergence rate under certain assumptions, which aligns with existing rates for standard Newton's method when the chosen hypothesis class perfectly fits the Newton direction.

Datasets

SnapBoost was evaluated on:

  • OpenML datasets: 10 binary classification datasets were used for hyper-parameter tuning and evaluation via 3x3 nested cross-validation.
  • Kaggle datasets: 3 larger datasets (Credit Card Fraud, Rossmann Store Sales, Mercari Price Suggestion) were used for a more realistic benchmark.
  • NODE vs. SnapBoost Benchmark: 6 regression datasets were used to compare against Neural Oblivious Decision Ensembles (NODE).

The paper also details preprocessing steps for these datasets, including handling missing values, feature engineering, and transformations (e.g., logarithmic transformation for target variables).

Key Insights and Ideas

  • Heterogeneity is beneficial: Allowing the boosting algorithm to switch between different types of base learners (trees vs. linear models with random features) can lead to better generalization than using a single, fixed learner type.
  • Flexibility in learner choice: By sampling from a distribution of subclasses, SnapBoost can adapt to the local structure of the data and the current stage of the boosting process.
  • Theoretical grounding: The paper provides theoretical convergence guarantees for this heterogeneous approach, bridging the gap between practical implementations and theoretical understanding.
  • Efficient implementation: SnapBoost is designed for efficiency, leveraging techniques like histogram-based splitting for trees and optimized linear algebra for LRFs, making it competitive in terms of training time.

Key Results

  • Superior Generalization: SnapBoost consistently outperformed XGBoost and LightGBM on 8 out of 10 OpenML datasets, achieving an average rank of 1.2 compared to 2.6 for XGBoost and 2.2 for LightGBM.
  • Competitive Performance: On Kaggle datasets, SnapBoost achieved better test loss than pure BDT-based boosting frameworks and was comparable to or better than other heterogeneous methods.
  • Efficiency: SnapBoost's end-to-end experiment time (tuning, re-training, evaluation) was comparable to XGBoost and LightGBM, and significantly faster (up to 160x) than NODE on regression tasks.
  • Theoretical Convergence: The derived global linear convergence rate for HNBM matches existing rates for Newton's method under ideal conditions.

Limitations and Future Work

  • GPU Acceleration: The authors mention that a next step is to further enhance SnapBoost's performance by taking advantage of GPUs.
  • Hyper-parameter Tuning: While SnapBoost is competitive, the performance is still dependent on hyper-parameter tuning, which is addressed using Successive Halving. The paper provides extensive hyper-parameter ranges for SnapBoost and other compared methods.
  • Stochasticity: The heterogeneous nature introduces stochasticity, which is managed through random seeds and multiple repetitions in experiments.

The paper successfully demonstrates that a heterogeneous approach to boosting, as embodied by SnapBoost, can offer significant advantages in generalization performance without sacrificing computational efficiency, paving the way for more adaptive and powerful boosting algorithms.

Summary updated

Abstract

Modern gradient boosting software frameworks, such as XGBoost and LightGBM, implement Newton descent in a functional space. At each boosting iteration, their goal is to find the base hypothesis, selected from some base hypothesis class, that is closest to the Newton descent direction in a Euclidean sense. Typically, the base hypothesis class is fixed to be all binary decision trees up to a given depth. In this work, we study a Heterogeneous Newton Boosting Machine (HNBM) in which the base hypothesis class may vary across boosting iterations. Specifically, at each boosting iteration, the base hypothesis class is chosen, from a fixed set of subclasses, by sampling from a probability distribution. We derive a global linear convergence rate for the HNBM under certain assumptions, and show that it agrees with existing rates for Newton's method when the Newton direction can be perfectly fitted by the base hypothesis at each boosting iteration. We then describe a particular realization of a HNBM, SnapBoost, that, at each boosting iteration, randomly selects between either a decision tree of variable depth or a linear regressor with random Fourier features. We describe how SnapBoost is implemented, with a focus on the training complexity. Finally, we present experimental results, using OpenML and Kaggle datasets, that show that SnapBoost is able to achieve better generalization loss than competing boosting frameworks, without taking significantly longer to tune.
BibTeX
@misc{parnell2020mixboost,
  author = {Thomas P. Parnell and Andreea Anghel and Malgorzata Lazuka and Nikolas Ioannou and Sebastian Kurella and Peshal Agarwal and Nikolaos Papandreou and Haralampos Pozidis},
  title = {{MixBoost: A Heterogeneous Boosting Machine}},
  year = {2020},
  eprint = {2006.09745},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.09745},
}
Figure