Gradient Boosting With Piece-Wise Linear Regression Trees

Yu Shi, Jian Li, Zhize Li

Abstract

Gradient Boosted Decision Trees (GBDT) is a very successful ensemble learning algorithm widely used across a variety of applications. Recently, several variants of GBDT training algorithms and implementations have been designed and heavily optimized in some very popular open sourced toolkits including XGBoost, LightGBM and CatBoost. In this paper, we show that both the accuracy and efficiency of GBDT can be further enhanced by using more complex base learners. Specifically, we extend gradient boosting to use piecewise linear regression trees (PL Trees), instead of piecewise constant regression trees, as base learners. We show that PL Trees can accelerate convergence of GBDT and improve the accuracy. We also propose some optimization tricks to substantially reduce the training time of PL Trees, with little sacrifice of accuracy. Moreover, we propose several implementation techniques to speedup our algorithm on modern computer architectures with powerful Single Instruction Multiple Data (SIMD) parallelism. The experimental results show that GBDT with PL Trees can provide very competitive testing accuracy with comparable or less training time.

Introduction

Gradient Boosted Decision Trees (GBDT) have become the standard for predictive modeling on tabular data. Most state-of-the-art implementations, such as XGBoost and LightGBM, utilize "piecewise constant" regression trees. In these models, every data point falling into a specific leaf node is assigned the same constant value. While effective, this approach results in a "staircase" approximation of the underlying function. To model smooth, complex surfaces accurately, these constant-leaf models require a high number of trees and iterations.

An alternative approach is the use of "piecewise linear" (PL) trees, where each leaf contains a linear regression model. While PL trees are theoretically more expressive and can converge in fewer iterations, they have historically been computationally expensive to train at scale. Fitting a linear regression at every potential split point is a significant bottleneck. This paper introduces GBDT-PL, a framework that makes PL trees scalable and efficient through algorithmic and system-level optimizations.

Methodology

GBDT-PL optimizes the training of linear-leaf trees through three primary pillars:

1. Algorithmic Efficiency

To reduce the overhead of fitting linear models, the authors propose two key techniques:

  • Incremental Feature Selection: Instead of using all features for the linear model in a leaf, GBDT-PL only utilizes features that were previously used for splits in that leaf's ancestor nodes. This heuristic assumes that features important for partitioning the space are also the best candidates for local linear modeling.
  • Half-Additive Fitting: This method provides a middle ground between fully-corrective fitting (fitting a new model from scratch) and simple additive fitting. It treats the parent's linear model as a single combined regressor and learns a scaling factor plus the coefficient for the new split feature, drastically reducing computation.

2. System-Level Optimization

To leverage modern hardware, GBDT-PL incorporates several low-level optimizations:

  • SIMD Parallelism: The implementation uses Single Instruction Multiple Data to process multiple data points simultaneously during histogram construction.
  • Cache-Friendly Data Structures: The introduction of leafBins—a continuous array—ensures sequential data access, which is critical for minimizing cache misses during SIMD operations.
  • Bit Manipulation Instructions (BMI): The framework utilizes the PEXT (Parallel Bits Extract) instruction to rapidly split data indices into child nodes during tree growth.
Cumulative impact of optimizations on training time.

Experimental Setup

The researchers evaluated GBDT-PL on 10 diverse public datasets from the UCI repository, covering both classification (HIGGS, HEPMASS, Epsilon, SUSY) and regression (CASP, CT, Sgemm, Year, SuperConductor, Energy). These datasets range in size from 17,000 to 10 million instances, providing a rigorous test for both accuracy and scalability.

Key Results

GBDT-PL demonstrated superior performance across the majority of benchmarks:

  • Accuracy: GBDT-PL achieved the best results on 8 out of 10 datasets compared to XGBoost, LightGBM, and CatBoost, showing a particularly strong advantage in regression tasks where the linear leaves can better approximate continuous targets.
  • Convergence Speed: Due to the higher expressivity of linear leaves, GBDT-PL often reaches target accuracy levels with significantly fewer iterations than standard GBDT. This faster convergence often offsets the additional time spent fitting the linear models.
  • Efficiency Gains: The combination of incremental feature selection and half-additive fitting provided a 20.8x speedup over a naive PL-tree implementation with negligible impact on accuracy.
Accuracy and error metrics vs. training time across various datasets.

Conclusion

GBDT-PL successfully bridges the gap between the high expressivity of piecewise linear trees and the scalability required for large-scale machine learning. By combining algorithmic shortcuts with hardware-aware optimizations, it provides a competitive alternative to established GBDT frameworks. Future work will focus on extending support to categorical features and leveraging GPU acceleration to further enhance training speeds.

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