arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2208.11208cs.DCcs.SYeess.SY
收藏

基于CPU-FPGA异构平台的蒙特卡罗树搜索加速

Accelerating Monte-Carlo Tree Search on CPU-FPGA Heterogeneous Platform

Yuan Meng, Rajgopal Kannan, Viktor Prasanna

摘要:

蒙特卡罗树搜索(MCTS)方法在许多人工智能(AI)基准测试中取得了巨大的成功。在CPU上实现并行MCTS时,树内操作成为一个关键的性能瓶颈。在这项工作中,我们开发了一个可扩展的CPU-FPGA系统的树并行MCTS。提出了一种新的MCTS数据结构和计算的分解和映射到CPU和FPGA,以减少通信和协调。通过在基于SRAM的FPGA加速器中封装入树操作,实现了系统的高可扩展性。为了降低高数据访问延迟和工人间同步开销,我们开发了几个硬件优化。我们表明,通过使用我们的加速器,我们获得了$35\times$的加速比为在树操作,和$3\times$更高的整体系统吞吐量。我们的CPU-FPGA系统还实现了卓越的可扩展性wrt的并行工作者的数量比国家的最先进的并行MCTS的CPU上实现。

英文摘要:

Monte Carlo Tree Search (MCTS) methods have achieved great success in many Artificial Intelligence (AI) benchmarks. The in-tree operations become a critical performance bottleneck in realizing parallel MCTS on CPUs. In this work, we develop a scalable CPU-FPGA system for Tree-Parallel MCTS. We propose a novel decomposition and mapping of MCTS data structure and computation onto CPU and FPGA to reduce communication and coordination. High scalability of our system is achieved by encapsulating in-tree operations in an SRAM-based FPGA accelerator. To lower the high data access latency and inter-worker synchronization overheads, we develop several hardware optimizations. We show that by using our accelerator, we obtain up to $35\times$ speedup for in-tree operations, and $3\times$ higher overall system throughput. Our CPU-FPGA system also achieves superior scalability wrt number of parallel workers than state-of-the-art parallel MCTS implementations on CPU.

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

↑