Efficient Gradient Boosted Decision Tree Training on GPUs
Authors:
- Zeyi WenZWZeyi Wen
- Bingsheng HeBHBingsheng He
- Ramamohanarao KotagiriRKRamamohanarao Kotagiri
- Shengliang LuSLShengliang Lu
- Jiashuai ShiJSJiashuai Shi
- 1 May 2018
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 234-243
Abstract
In this paper, we present a novel parallel implementation for training Gradient Boosting Decision Trees (GBDTs) on Graphics Processing Units (GPUs). Thanks to the wide use of the open sourced XGBoost library, GBDTs have become very popular in recent years and won many awards in machine learning and data mining competitions. Although GPUs have demonstrated their success in accelerating many machine learning applications, there are a series of key challenges of developing a GPU-based GBDT algorithm, including irregular memory accesses, many small sorting operations and varying data parallel granularities in tree construction. To tackle these challenges on GPUs, we propose various novel techniques (including Run-length Encoding compression and thread/block workload dynamic allocation, and reusing intermediate training results for efficient gradient computation). Our experimental results show that our algorithm named GPU-GBDT is often 10 to 20 times faster than the sequential version of XGBoost, and achieves 1.5 to 2 times speedup over a 40 threaded XGBoost running on a relatively high-end workstation of 20 CPU cores. Moreover, GPU-GBDT outperforms its CPU counterpart by 2 to 3 times in terms of performance-price ratio.Keywords
This publication has 21 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
- Revisiting co-processing for hash joins on the coupled CPU-GPU architectureProceedings of the VLDB Endowment, 2013
- Decision tree construction on GPU: ubiquitous parallel computing approachComputing, 2013
- Medusa: Simplified Graph Processing on GPUsIEEE Transactions on Parallel and Distributed Systems, 2013
- Decision Tree Fields: An Efficient Non-parametric Random Field Model for Image Labeling2013
- Assessing fracture risk using gradient boosting machine (GBM) modelsJournal of Bone and Mineral Research, 2012
- PLANETProceedings of the VLDB Endowment, 2009
- A Tutorial on the Cross-Entropy MethodAnnals of Operations Research, 2005
- Run-length encodings (Corresp.)IEEE Transactions on Information Theory, 1966