arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1806.07300cs.PFcs.DC
收藏

森林包装:快速、并行的决策森林

Forest Packing: Fast, Parallel Decision Forests

James Browne, Tyler M. Tomita, Disa Mhembere, Randal Burns, Joshua T. Vogelstein

摘要:

机器学习在高性能计算中发挥着重要作用,可以调节模拟,从海量数据中提取知识,并用有效的近似值取代数值模型。决策森林是一个重要的工具,因为它们提供了对模型操作的深入了解,这对于解释学习结果至关重要。虽然决策森林是可并行的,但是树数据结构的遍历会引起许多随机存储器访问并且非常慢。我们提出了内存打包技术,重新组织学习森林,以尽量减少分类过程中的缓存未命中。生成的布局是分层的。在低层,我们将多棵树的节点打包到连续的内存块中,这样每次内存访问都会为多棵树获取数据。在更高的层次上,我们使用叶基数来识别通过树的最流行的路径,并在缓存行中配置这些路径。我们扩展了这种布局与乱序执行和缓存行预取,以增加内存吞吐量。总之,这些优化将集成分类的性能提高了四倍于优化的C++实现,并且比流行的R语言实现提高了50倍。

英文摘要:

Machine learning has an emerging critical role in high-performance computing to modulate simulations, extract knowledge from massive data, and replace numerical models with efficient approximations. Decision forests are a critical tool because they provide insight into model operation that is critical to interpreting learned results. While decision forests are trivially parallelizable, the traversals of tree data structures incur many random memory accesses and are very slow. We present memory packing techniques that reorganize learned forests to minimize cache misses during classification. The resulting layout is hierarchical. At low levels, we pack the nodes of multiple trees into contiguous memory blocks so that each memory access fetches data for multiple trees. At higher levels, we use leaf cardinality to identify the most popular paths through a tree and collocate those paths in cache lines. We extend this layout with out-of-order execution and cache-line prefetching to increase memory throughput. Together, these optimizations increase the performance of classification in ensembles by a factor of four over an optimized C++ implementation and a actor of 50 over a popular R language implementation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑