arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.08785cs.LGcs.AIstat.ML
收藏

关于蒙特卡罗树搜索的有效分解

On Effective Parallelization of Monte Carlo Tree Search

University of California, Los Angeles(加州大学洛杉矶分校);Kwai Inc.(快手公司);Tencent AI Lab(腾讯人工智能实验室)

Anji Liu, Yitao Liang, Ji Liu, Guy Van den Broeck, Jianshu Chen

摘要:

尽管蒙特卡罗树搜索(MCTS)在围棋和计算机游戏中取得了突破性的成功,但它在计算上是昂贵的,因为它需要大量的展开来构建搜索树,这需要有效的并行化。然而,如何设计有效的并行MCTS算法尚未得到系统的研究,仍然知之甚少。在本文中,我们试图奠定其第一个理论基础,通过研究潜在的性能损失时,实现所需的加速并行化。特别是,我们发现的必要条件,实现理想的并行化性能,并强调其实际好处。首先,通过检查现有的并行MCTS算法是否满足这些条件,我们确定了未来算法应该继承的关键设计原则,例如跟踪未观察到的样本(用于WU-UCT(Liu et al.,2020年))。我们从理论上建立这个基本的设计,促进$\mathcal{O} ( \ln n + M / \sqrt{\ln n} )$累积遗憾时,最大树深度为2,其中$n$是推出的数量和$M$是工人的数量。这种形式的遗憾是非常理想的,与由连续的对应物引起的$\mathcal{O} ( \ln n )$遗憾相比,其多余部分随着$n$的增加而接近于零。其次,更重要的是,我们证明了如何建议的必要条件,可以通过设计更有效的并行MCTS算法。为了说明这一点,我们提出了一个新的并行MCTS算法,称为BU-UCT,按照我们的理论指导方针。新提出的算法虽然是初步的,但在15款Atari游戏中的11款上的表现超过了四个竞争基线。我们希望我们的理论结果可以启发未来的工作更有效的并行MCTS。

英文摘要:

Despite its groundbreaking success in Go and computer games, Monte Carlo Tree Search (MCTS) is computationally expensive as it requires a substantial number of rollouts to construct the search tree, which calls for effective parallelization. However, how to design effective parallel MCTS algorithms has not been systematically studied and remains poorly understood. In this paper, we seek to lay its first theoretical foundation, by examining the potential performance loss caused by parallelization when achieving a desired speedup. In particular, we discover the necessary conditions of achieving a desirable parallelization performance, and highlight two of their practical benefits. First, by examining whether existing parallel MCTS algorithms satisfy these conditions, we identify key design principles that should be inherited by future algorithms, for example tracking the unobserved samples (used in WU-UCT (Liu et al., 2020)). We theoretically establish this essential design facilitates $\mathcal{O} ( \ln n + M / \sqrt{\ln n} )$ cumulative regret when the maximum tree depth is 2, where $n$ is the number of rollouts and $M$ is the number of workers. A regret of this form is highly desirable, as compared to $\mathcal{O} ( \ln n )$ regret incurred by a sequential counterpart, its excess part approaches zero as $n$ increases. Second, and more importantly, we demonstrate how the proposed necessary conditions can be adopted to design more effective parallel MCTS algorithms. To illustrate this, we propose a new parallel MCTS algorithm, called BU-UCT, by following our theoretical guidelines. The newly proposed algorithm, albeit preliminary, out-performs four competitive baselines on 11 out of 15 Atari games. We hope our theoretical results could inspire future work of more effective parallel MCTS.

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

↑