[Paper Review] XGBoost: Scalable GPU Accelerated Learning
This paper presents a multi-GPU accelerated gradient boosting algorithm in XGBoost that achieves end-to-end GPU parallelism for training, prediction, gradient calculation, and decision tree construction. By using feature quantization and runtime data compression, the method reduces GPU memory usage by fourfold and processes 115 million instances in under three minutes on a single cloud instance with 8 V100 GPUs, outperforming CPU and other GPU-optimized baselines in speed and accuracy.
We describe the multi-GPU gradient boosting algorithm implemented in the XGBoost library (https://github.com/dmlc/xgboost). Our algorithm allows fast, scalable training on multi-GPU systems with all of the features of the XGBoost library. We employ data compression techniques to minimise the usage of scarce GPU memory while still allowing highly efficient implementation. Using our algorithm we show that it is possible to process 115 million training instances in under three minutes on a publicly available cloud computing instance. The algorithm is implemented using end-to-end GPU parallelism, with prediction, gradient calculation, feature quantisation, decision tree construction and evaluation phases all computed on device.
Motivation & Objective
- To enable scalable, high-speed training of gradient boosting models on large-scale datasets using multi-GPU systems.
- To reduce GPU memory usage while maintaining high computational efficiency through runtime data compression and feature quantization.
- To implement end-to-end GPU acceleration for all stages of the gradient boosting pipeline, including tree construction, prediction, and gradient evaluation.
- To support all standard XGBoost learning tasks—regression, classification, multiclass, and ranking—on GPU with full compatibility to existing APIs.
- To achieve superior performance compared to leading CPU and GPU-optimized gradient boosting frameworks on diverse, real-world datasets.
Proposed method
- The algorithm uses feature quantization to represent input features in discrete bins, reducing the tree construction problem to efficient gradient histogram accumulation.
- A runtime data compression technique packs quantized values into log₂(max_value) bits using bitwise operations, reducing GPU memory usage by up to four times.
- Decision tree construction is performed in parallel across multiple GPUs, with partial histograms built per GPU and merged via NCCL's AllReduce operation.
- Optimal splits are found using a parallel prefix sum (scan) operation on the merged histograms to compute split gains efficiently.
- Prediction and gradient evaluation are mapped to the GPU, with one thread per training instance, leveraging high memory bandwidth and parallelism.
- The implementation supports logistic and linear regression objectives on the GPU, with other objectives (e.g., multiclass, ranking) computed on the CPU for now.
Experimental results
Research questions
- RQ1Can end-to-end GPU acceleration significantly reduce training time for large-scale gradient boosting models?
- RQ2How effective is runtime data compression in reducing GPU memory usage without sacrificing performance?
- RQ3Can multi-GPU parallelism with AllReduce-based histogram aggregation scale efficiently across multiple GPUs for decision tree construction?
- RQ4How does the GPU-accelerated XGBoost implementation compare in speed and accuracy to state-of-the-art CPU and GPU-optimized alternatives like LightGBM and CatBoost?
- RQ5What is the upper bound of dataset size and training speed achievable with GPU-accelerated XGBoost on modern hardware?
Key findings
- The XGBoost GPU implementation processes 115 million training instances in under three minutes on a single cloud instance with 8 Tesla V100 GPUs.
- The algorithm is the fastest among all evaluated methods on 3 out of 6 benchmark datasets, including the largest (airline dataset with 115M rows), achieving nearly 3x speedup over its nearest competitor.
- Runtime never exceeds two minutes across any of the six datasets, demonstrating consistent scalability and efficiency.
- The method reduces GPU memory usage by four times or more through runtime compression of quantized feature values using bitwise operations.
- The implementation maintains high accuracy, matching or slightly exceeding the best CPU-based XGBoost results on 2 out of 6 datasets.
- The algorithm scales efficiently with additional GPUs, reducing training time from 280s (1 GPU) to 240s (8 GPUs) on the airline dataset, indicating strong multi-GPU scaling.
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.