Introduction
Gradient Boosted Decision Trees (GBDTs) are the undisputed kings of tabular data, but they suffer from a severe scaling bottleneck when applied to high-dimensional "multioutput" problems. SketchBoost is a novel framework designed to dramatically accelerate GBDTs for tasks like multiclass classification with hundreds of classes, multilabel tagging, or multivariate regression. By using "sketching" techniques to approximate tree splits, SketchBoost reduces the dimensionality of the gradient matrix during training. The result is up to a 40x speedup over state-of-the-art libraries like XGBoost and CatBoost, all while maintaining or even improving predictive accuracy.
The Multioutput Scaling Problem
When moving from simple binary classification to multioutput problems, the computational cost of training GBDTs explodes. Current GBDT implementations generally rely on one of two strategies:
- One-versus-all: Building a separate tree for every single output dimension.
- Single-tree: Building one multivariate tree that predicts all outputs simultaneously.
In both scenarios, training time grows linearly with the number of outputs. If a dataset has 1,000 classes, training becomes roughly 1,000 times slower.
This computational bottleneck often makes GBDTs impractical for high-dimensional problems, forcing practitioners to default to deep learning models, which handle high-dimensional outputs more gracefully but often underperform on tabular data. SketchBoost aims to bridge this gap, making GBDTs viable for massive multioutput tasks.
SketchBoost: Sketched Split Scoring
The core innovation of SketchBoost is Sketched Split Scoring. Instead of using the full, high-dimensional gradient matrix to evaluate and find the best split for a decision tree, SketchBoost creates a "sketch"—a lower-dimensional approximation of that matrix.
The authors propose and theoretically justify three distinct sketching strategies:
- Top Outputs: A deterministic approach that selects the $k$ output dimensions with the largest Euclidean norms, effectively focusing on the "most important" gradients for a given split.
- Random Sampling: A probabilistic approach that samples $k$ columns of the gradient matrix with a probability proportional to their norms.
- Random Projections: Based on the Johnson-Lindenstrauss lemma, this method uses a random matrix to project the high-dimensional gradients into a $k$-dimensional space. This is the most robust method because every column in the sketch is a linear combination of all original outputs, preventing information loss from dropped dimensions.
These methods are implemented in Py-Boost, a custom, GPU-accelerated GBDT library written in Python (utilizing CuPy and Numba) that allows for highly customizable training pipelines.
Key Insights and Performance
The authors evaluated SketchBoost on nine real-world datasets spanning multiclass classification (e.g., Dionis with 355 classes), multilabel classification (e.g., Delicious with 983 labels), and multitask regression.
Massive Speedups
The most striking result is the sheer reduction in training time. On the Dionis dataset, SketchBoost using Random Projections completed training in just 419 seconds. In contrast, standard multioutput implementations in CatBoost and XGBoost took over 18,600 seconds—representing a speedup of more than 40x.
Accuracy and Regularization
Surprisingly, using a lower-dimensional approximation often leads to better test performance than using the full gradient. By focusing on a subset or projection of outputs at each split, the model builds more diverse ensembles. This acts as an effective regularization mechanism.
Among the sketching techniques, Random Projections consistently performed the best. Because it aggregates information from all outputs into the sketch, it avoids the "blind spots" that occur when simply dropping less-significant dimensions. Furthermore, the authors found that a very small sketch dimension (often $k \le 10$) is sufficient to achieve state-of-the-art results, even when the original output dimension is in the hundreds.
Finally, the results confirm that for tabular data, even in high-dimensional output scenarios, GBDTs still outperform specialized deep learning architectures like TabNet.
Limitations and Future Directions
While SketchBoost represents a significant leap forward for GBDTs, it has a few limitations:
- Hyperparameter Tuning: The current implementation requires the user to manually choose the sketch dimension $k$. Adaptively choosing $k$ based on gradient norms during training is a promising future direction, though it may introduce additional algorithmic complexity.
- Hardware Dependency: Py-Boost is currently a GPU-only implementation. Users without high-end hardware might not see the same dramatic benefits if the algorithms were ported to CPU, where memory bandwidth and parallelization characteristics differ.
- Small Dataset Overhead: On very small datasets, the computational overhead of the sketching preprocessing step might outweigh the speed gains of the split search. However, this is negligible for the large-scale, high-dimensional problems SketchBoost is designed to solve.
Summary updated