Accelerating the XGBoost algorithm using GPU computing
Preprint
- 4 April 2017
- preprint
- Published by PeerJ in PeerJ Preprints
Abstract
We present a CUDA based implementation of a decision tree construction algorithm within the gradient boosting library XGBoost. The tree construction algorithm is executed entirely on the GPU and shows high performance with a variety of datasets and settings, including sparse input matrices. Individual boosting iterations are parallelized, combining two approaches. An interleaved approach is used for shallow trees, switching to a more conventional radix sort based approach for larger depths. We show speedups of between 3-6x using a Titan X compared to a 4 core i7 CPU, and 1.2x using a Titan X compared to 2x Xeon CPUs (24 cores). We show that it is possible to process the Higgs dataset (10 million instances, 28 features) entirely within GPU memory. The algorithm is made available as a plug-in within the XGBoost library and fully supports all XGBoost features including classification, regression and ranking tasks.Keywords
All Related Versions
This publication has 6 references indexed in Scilit:
- Parallel construction of classification trees on a GPUConcurrency and Computation: Practice and Experience, 2015
- CUDT: A CUDA Based Decision Tree AlgorithmThe Scientific World Journal, 2014
- Decision tree construction on GPU: ubiquitous parallel computing approachComputing, 2013
- HIGH PERFORMANCE AND SCALABLE RADIX SORTING: A CASE STUDY OF IMPLEMENTING DYNAMIC PARALLELISM FOR GPU COMPUTINGParallel Processing Letters, 2011
- The Accuracy of Floating Point SummationSIAM Journal on Scientific Computing, 1993
- Data parallel algorithmsCommunications of the ACM, 1986