[Paper Review] GPU-acceleration for Large-scale Tree Boosting
Presents a GPU-based histogram approach for accelerating decision tree building in GBDT and random forests, achieving large speedups over CPU-based histogram and exact-split methods while maintaining accuracy.
In this paper, we present a novel massively parallel algorithm for accelerating the decision tree building procedure on GPUs (Graphics Processing Units), which is a crucial step in Gradient Boosted Decision Tree (GBDT) and random forests training. Previous GPU based tree building algorithms are based on parallel multi-scan or radix sort to find the exact tree split, and thus suffer from scalability and performance issues. We show that using a histogram based algorithm to approximately find the best split is more efficient and scalable on GPU. By identifying the difference between classical GPU-based image histogram construction and the feature histogram construction in decision tree training, we develop a fast feature histogram building kernel on GPU with carefully designed computational and memory access sequence to reduce atomic update conflict and maximize GPU utilization. Our algorithm can be used as a drop-in replacement for histogram construction in popular tree boosting systems to improve their scalability. As an example, to train GBDT on epsilon dataset, our method using a main-stream GPU is 7-8 times faster than histogram based algorithm on CPU in LightGBM and 25 times faster than the exact-split finding algorithm in XGBoost on a dual-socket 28-core Xeon server, while achieving similar prediction accuracy.
Motivation & Objective
- Motivate the need for scalable GPU acceleration in decision tree ensembles due to high-cost leaf-split computations.
- Propose a histogram-based GPU algorithm to approximate the best splits and improve scalability.
- Integrate the GPU histogram method into LightGBM and benchmark against CPU and GPU baselines.
- Demonstrate speedups and memory efficiency on large-scale datasets across different GPU architectures.
Proposed method
- Develop a histogram-based approach to approximate leaf splits for GBDT using feature histograms on GPU.
- Construct multiple histograms per step to reduce atomic update conflicts and maximize GPU utilization.
- Bundle features into small tuples and use 4-byte representations to fit histograms in local memory and minimize global memory access.
- Exploit small bin sizes (e.g., 64) to increase parallelism and reduce memory footprint without sacrificing accuracy.
- Provide a drop-in GPU histogram implementation integrated with LightGBM for large-scale training.
Experimental results
Research questions
- RQ1Can histogram-based split finding on GPUs outperform exact-split GPU and CPU methods for large-scale GBDT training?
- RQ2What are the memory and thread-conflict considerations when building many feature histograms in parallel on GPUs?
- RQ3How does reducing bin size affect training speed and model accuracy across diverse datasets?
- RQ4Is the GPU histogram approach scalable to multi-GPU setups and large datasets that exceed CPU capabilities?
Key findings
- GPU histogram-based tree building yields substantial speedups over CPU histogram methods (7-8x faster on epsilon dataset with 63-bin histograms).
- GPU histogram method outperforms the exact-split method on CPU and GPU, achieving up to ~25x faster training on certain datasets.
- The approach maintains comparable prediction metrics (AUC, NDCG) to CPU-based methods despite using reduced precision and smaller bin sizes.
- Memory usage on GPU is modest (at most 1 GB for all datasets with 8 GB GPU), enabling training on datasets much larger than Higgs on a single GPU.
- Using smaller bins (e.g., 64) improves throughput without sacrificing accuracy for the tested datasets.
- Exact-GPU methods suffer from memory constraints and do not scale as well as the histogram-based GPU approach.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.