用于大规模树提升的GPU加速
GPU-acceleration for Large-scale Tree Boosting
摘要:
在本文中,我们提出了一种新的大规模并行算法来加速GPU(图形处理单元)上的决策树构建过程,这是梯度提升决策树(GBDT)和随机森林训练的关键步骤。以前的基于GPU的树构建算法是基于并行多扫描或基数排序来找到确切的树分裂,因此遭受可扩展性和性能问题。我们表明,使用基于直方图的算法来近似地找到最佳分割是更有效和可扩展的GPU上。通过比较传统的基于GPU的图像直方图构造与决策树训练中的特征直方图构造的差异,提出了一种基于GPU的快速特征直方图构造内核,并设计了计算和内存访问顺序,以减少原子更新冲突,最大限度地提高GPU利用率。我们的算法可以被用来作为一个下降的替代直方图建设在流行的树提升系统,以提高其可扩展性。作为一个例子,为了在GPU数据集上训练GBDT,我们使用主流GPU的方法比LightGBM中基于CPU的直方图算法快7-8倍,比XGBoost中的精确分裂查找算法快25倍,同时达到类似的预测精度。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。