NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

GPU-acceleration for Large-scale Tree Boosting

Huan Zhang, Si Si, Cho-Jui HsieharXiv 2017

Abstract

Gradient Boosted Decision Trees (GBDT) are essential for machine learning on tabular data, yet their training efficiency is often limited by the computational cost of split finding. This paper introduces a massively parallel GPU algorithm that utilizes a histogram-based approach to replace traditional exact-split methods. By optimizing memory bandwidth through feature bundling and minimizing atomic update conflicts, the proposed method achieves significant speedups—up to 25x compared to frameworks like XGBoost—without compromising prediction accuracy.

Introduction

The primary bottleneck in training GBDT and Random Forests is split finding: the exhaustive scan of features across all data points to identify optimal leaf node divisions. While GPUs are typically leveraged for machine learning acceleration, they have historically struggled with GBDT due to the "memory-hungry" nature of exact-split algorithms and irregular memory access patterns. These challenges often result in Out of Memory (OOM) errors or performance that fails to significantly surpass high-end CPUs.

Proposed Methodology

The authors propose a histogram-based approach tailored for the GPU’s Single Instruction, Multiple Threads (SIMT) architecture. Instead of evaluating every possible split point, continuous features are binned into discrete buckets (e.g., 64 or 256 bins).

Key technical innovations include:

  • Feature Bundling: Four 1-byte binned features are packed into a single 4-byte tuple, allowing a single thread to process multiple features simultaneously and maximize memory bandwidth.
  • Conflict-Aware Histograms: To address atomic update bottlenecks, the authors designed a kernel where threads within a warp update different feature histograms or statistics in an interleaved sequence.
  • Banked Counters: For smaller bin sizes, "banked" memory further parallelizes updates, reducing latency from memory locks.
  • LightGBM Integration: The algorithm is implemented as a drop-in replacement for histogram construction within the LightGBM framework.

Experimental Evaluation

The algorithm was tested on six diverse large-scale datasets, including Higgs (10M samples), Microsoft-LTR, Yahoo-LTR, epsilon, Expo, and Bosch. These datasets represent a range of dense, sparse, and categorical features.

Key Results and Insights

The experimental results demonstrate that the histogram-based approximation offers a substantial hardware-level advantage.

Performance and Scalability

On the epsilon dataset, the GPU algorithm achieved a 7-8x speedup over LightGBM’s CPU-based histogram method and a 25x speedup over XGBoost’s exact-split method. Furthermore, while XGBoost’s GPU implementation encountered OOM errors on four of the six datasets, the proposed method handled them efficiently, demonstrating superior scalability.

Wall time comparison across datasets for various CPU and GPU methods.

Accuracy and Efficiency

A critical insight is that exact splits are not required for high model performance. The histogram-based approach maintains accuracy levels comparable to exact methods while providing massive throughput gains. Additionally, using 64 bins on the GPU allows for more private histograms in local memory, further reducing atomic conflicts.

Comparison of accuracy metrics (AUC, NDCG) between histogram and exact methods.

From a cost perspective, a single mid-range GPU (GTX 1080) outperformed a dual-socket 28-core Xeon server, significantly lowering the barrier to high-speed GBDT training.

Limitations and Future Work

Current limitations include a reliance on 32-bit single precision for maximum speed and a hybrid CPU-GPU approach for extremely sparse datasets. Future work may focus on further optimizing multi-GPU scaling and enhancing performance for sparse data structures.

Summary updated

BibTeX
@misc{zhang2017gpu,
  author = {Huan Zhang and Si Si and Cho-Jui Hsieh},
  title = {{GPU-acceleration for Large-scale Tree Boosting}},
  year = {2017},
  eprint = {1706.08359},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1706.08359},
}
Figure