Gradient boosting machines (GBMs) like XGBoost, LightGBM, and CatBoost are the undisputed kings of tabular data. However, these frameworks are typically "homogeneous," using the same class of base learner—usually binary decision trees of a fixed maximum depth—at every single boosting iteration. While effective, this homogeneity limits the diversity of functions the ensemble can represent.
Previous attempts to create "heterogeneous" ensembles that mix different types of learners often suffered from a "greedy" bottleneck. They would train multiple different types of models at every step and pick the best one, making training prohibitively slow. SnapBoost introduces a heterogeneous approach to gradient boosting by randomly sampling from different types of weak learners at each iteration. This method provides theoretical convergence guarantees and achieves superior generalization on tabular data without the massive computational overhead of previous heterogeneous methods.
The Heterogeneous Newton Boosting Machine (HNBM)
The authors propose the Heterogeneous Newton Boosting Machine (HNBM). Instead of training every possible type of learner at each step, the algorithm randomly samples a "subclass" of learners from a predefined set based on a probability distribution.
Key components of this approach include:
- Stochastic Selection: At each iteration, the algorithm flips a weighted coin to decide which type of learner to train (e.g., a decision tree or a linear model).
- SnapBoost Realization: A specific implementation of HNBM that chooses between:
- Binary Decision Trees (BDTs): The depth is chosen randomly within a range (e.g., between depth 1 and 18), allowing the model to capture both simple and complex interactions.
- Linear Regressors with Random Fourier Features (LRFs): These use a randomized feature map to approximate Gaussian kernels, allowing the model to learn smooth, non-linear patterns that axis-aligned decision trees often struggle to represent.
- Newton Descent: Like modern GBMs, SnapBoost uses second-order information (gradients and Hessians) to find the update that best minimizes the loss function.
- Computational Efficiency: To maintain speed, the algorithm generates the random weights for LRFs and the histogram bins for trees only once at the beginning of the training process.
Key Insights: Diversity via Randomness
The core insight of SnapBoost is that you do not need to find the best type of learner at every step. By simply sampling from a set of diverse learners, the ensemble gains enough functional variety to improve generalization while keeping the per-iteration cost low. The authors proved that HNBM achieves a global linear convergence rate, meaning that even with random sampling of learners, the model is guaranteed to close in on the optimal solution at a predictable speed.
Furthermore, the learners are highly complementary. Trees excel at handling discrete jumps and axis-aligned splits, while LRFs are better at capturing smooth, curved surfaces. Mixing them allows SnapBoost to fill in the gaps that a tree-only model might miss.
Benchmarks and Results
The authors evaluated SnapBoost using two main benchmarks: an OpenML benchmark of 10 binary classification datasets (ranging from 10k to 20k examples) and a Kaggle benchmark featuring 3 larger, more complex real-world datasets (Credit Card Fraud, Rossmann Store Sales, and Mercari Price Suggestion).
Superior Generalization on OpenML: On the 10 OpenML datasets, SnapBoost achieved the best test loss on 8 of them. It earned an impressive average rank of 1.2, significantly outperforming LightGBM (2.2) and XGBoost (2.6).
Kaggle Performance: In larger-scale tests, SnapBoost consistently outperformed BDT-only frameworks. Interestingly, the authors found that the performance improvement came specifically from the inclusion of LRFs; a version of SnapBoost using only trees of varying depths (SNAP-T) did not consistently beat the competition.
Training Speed: Despite its heterogeneous nature, SnapBoost's training time was found to be comparable to XGBoost and LightGBM. It proved significantly faster than KTBoost (which trains multiple learners per step) and one to two orders of magnitude faster to tune than deep learning-based approaches like TabNet.
Limitations and Future Work
The current implementation of SnapBoost is optimized for CPUs using C++ and OpenMP. The authors acknowledge that GPU acceleration is a logical next step to further enhance performance on massive datasets.
Additionally, while the paper uses a fixed probability distribution for selecting learners, future work could explore adaptive distributions—where the algorithm learns which type of model is most helpful at different stages of the boosting process. Exploring other subclasses of base hypotheses beyond trees and LRFs also presents an exciting avenue for future research.
Summary updated