向量化的自适应直方图用于稀疏斜森林
Vectorized Dynamic Histograms for Sparse Oblique Forests
AI总结:
本文提出了一种向量化的自适应直方图方法,用于优化稀疏斜森林的训练速度,通过动态切换直方图与排序技术,提升了训练效率,并提供了GPU和混合CPU-GPU的实现。
摘要:
使用稀疏斜随机森林进行分类能够在控制特定误差类型的同时提供对不确定性和置信度的保证。然而,它们比其他树集成使用更多的数据和计算,因为它们创建了深层树,并且在运行时需要对数据的线性组合进行排序或直方图处理。我们提供了一种方法,用于在运行时动态切换直方图和排序以找到最佳分割。我们进一步使用向量内建优化直方图的构建。在大型数据集上评估此方法,我们的优化将训练速度提高了1.7至2.5倍,相比现有的斜森林,以及1.5至2倍相比标准随机森林。我们还提供了GPU和混合CPU-GPU的实现。
英文摘要:
Sparse oblique (SPO), part of the top-ranked configuration of Google's Yggdrasil Decision Forests (YDF), improve the accuracy while maintaining interpretability of Random Forests (RF) and Gradient Boosted Trees (GBT) by scanning a sparse linear combination of features instead of a single feature. Because projections are sampled at runtime, training is significantly slower, as pre-run optimizations such as presorting cannot be used. We overhaul SPO training in YDF, first by fixing inefficiencies in the released version, achieving 2-5x speedup, then by devising two novel methods, one aimed at GBTs and the other at RFs: (1) Hierarchical AVX2 and AVX-512-vectorized histogram filling speeds up typical GBT-depth trees by up to 1.6x in SPO-GBT and 2x for SPO-RF, and (2) runtime-dynamic histograms between vectorized histograms and exact splits, speeds up deeper, RF depth-typical trees (depths 16 to purity) by up to 1.6x with no detectable effect on accuracy. Our optimizations bring SPO-RF training time on par with YDF's axis-aligned RF. We extensively evaluate on 8 natural and 11 synthetic datasets of up to 10.5 million rows and 1.6 million features, from depth 6 to purity, and open-source the implementation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。