Gradient Boosting with Piece-Wise Linear Regression Trees

Yu Shi, Jian Li, Zhize Li

Introduction

Gradient Boosted Decision Trees (GBDT) are a cornerstone of machine learning for tabular data. Traditional implementations, such as XGBoost, LightGBM, and CatBoost, utilize "piecewise constant" leaves, where each leaf predicts a single scalar value. While robust, this approach requires a large number of trees to approximate complex, smooth functions. This paper introduces GBDT-PL, a framework that employs piecewise linear (PL) regression trees. By fitting local linear functions at the leaves, GBDT-PL achieves higher expressiveness and faster convergence. To overcome the historical computational overhead of PL trees, the authors propose a suite of algorithmic and system-level optimizations that make GBDT-PL competitive with, and often faster than, state-of-the-art constant-leaf toolkits.

Methodology

The efficiency of GBDT-PL stems from two primary optimization categories:

Algorithmic Optimizations

Fitting a full linear model at every node is computationally prohibitive. GBDT-PL mitigates this through:

  1. Incremental Feature Selection: Instead of using all features for the linear model in a leaf, the model only uses features previously selected for splits in ancestor nodes. This focuses the linear regressor on locally relevant dimensions.
  2. Half-Additive Fitting: A novel approach that balances simple additive fitting and fully corrective fitting. It learns a scaling parameter for existing regressors while adding a new one, optimizing the trade-off between training speed and model precision.
  3. Modified Histograms: The framework adapts histogram-based training to store second-order statistics ($h_i x_i x_i^T$ and $g_i x_i$) necessary for linear regression.

System-Level Optimizations

To ensure high-performance execution on modern hardware, the authors implemented:

  • SIMD Parallelism: Leveraging Single Instruction Multiple Data to accelerate histogram construction.
  • Cache-Friendly Structures: Introducing leafBins to rearrange bin indices, reducing cache misses during data access.
  • Bit Manipulation: Utilizing the x86 PEXT (Parallel Bits Extract) instruction to accelerate the data splitting process during tree growth.

Experimental Results

The researchers evaluated GBDT-PL against LightGBM, XGBoost, and CatBoost across 10 diverse datasets (e.g., Higgs, Epsilon, Year, Casp).

Performance and Convergence

GBDT-PL consistently outperformed baselines in terms of both final accuracy and convergence speed. As shown in Figure 4, GBDT-PL reaches higher AUC or lower RMSE significantly faster than competing frameworks across nearly all tested scenarios.

Convergence of GBDT-PL vs. baselines across 10 datasets (Metric vs. Training Time).

Ablation Study

The impact of the proposed algorithmic optimizations is substantial. As detailed in Figure 6, the combination of incremental feature selection and half-additive fitting provides a 20.8x speedup over a naive PL tree implementation with negligible impact on model accuracy (AUC).

Ablation study of algorithmic optimizations on the Higgs dataset.

Conclusion

GBDT-PL demonstrates that piecewise linear regression trees can be scaled to large datasets without sacrificing training efficiency. By combining second-order optimization with hardware-aware system design, the framework provides a more expressive alternative to traditional piecewise constant GBDTs. Future work includes extending native support for categorical features and exploring GPU acceleration.

Summary updated

BibTeX
@inproceedings{shi2019gradient,
  author = {Yu Shi and Jian Li and Zhize Li},
  title = {{Gradient Boosting with Piece-Wise Linear Regression Trees}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.24963/ijcai.2019/476},
}
Figure