arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.16364cs.AI
收藏

ReZero:通过后向视角与全缓冲区重分析提升基于MCTS的算法

ReZero: Boosting MCTS-based Algorithms by Backward-view and Entire-buffer Reanalyze

Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);SenseTime Research(商汤科技研究院)

Chunyu Xuan, Yazhe Niu, Yuan Pu, Shuai Hu, Yu Liu, Jing Yang

AI总结:

ReZero针对基于MCTS的算法(如MuZero)重分析耗时问题,提出后向视角复用与全缓冲区定期重分析两种协同设计,在Atari、DMControl和棋盘游戏中显著提升训练速度并保持高样本效率。

摘要:

基于蒙特卡洛树搜索(MCTS)的算法,如MuZero及其衍生算法,已在各种决策领域取得广泛成功。这些算法采用重分析过程来提高陈旧数据的样本效率,但代价是消耗大量实际运行时间。为解决这一问题,我们提出一种名为ReZero的通用方法,以提升基于MCTS的算法的树搜索操作效率。具体而言,受单臂老虎机模型启发,我们通过一种后向视角复用技术对训练样本进行重分析,该技术利用某个子节点的价值估计来节省相应子树的搜索时间。为进一步适配这一设计,我们定期对整个缓冲区进行重分析,而不是频繁地对小批量数据进行重分析。这两种设计的协同作用能够显著降低搜索成本,同时保证甚至提升性能,从而简化数据收集和重分析过程。在Atari环境、DMControl套件和棋盘游戏上进行的实验表明,ReZero在保持高样本效率的同时,大幅提升了训练速度。代码已作为LightZero MCTS基准的一部分发布在https://github.com/opendilab/LightZero。

英文摘要:

Monte Carlo Tree Search (MCTS)-based algorithms, such as MuZero and its derivatives, have achieved widespread success in various decision-making domains. These algorithms employ the reanalyze process to enhance sample efficiency from stale data, albeit at the expense of significant wall-clock time consumption. To address this issue, we propose a general approach named ReZero to boost tree search operations for MCTS-based algorithms. Specifically, drawing inspiration from the one-armed bandit model, we reanalyze training samples through a backward-view reuse technique which uses the value estimation of a certain child node to save the corresponding sub-tree search time. To further adapt to this design, we periodically reanalyze the entire buffer instead of frequently reanalyzing the mini-batch. The synergy of these two designs can significantly reduce the search cost and meanwhile guarantee or even improve performance, simplifying both data collecting and reanalyzing. Experiments conducted on Atari environments, DMControl suites and board games demonstrate that ReZero substantially improves training speed while maintaining high sample efficiency. The code is available as part of the LightZero MCTS benchmark at https://github.com/opendilab/LightZero.

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

↑