ReZero: Boosting MCTS-based Algorithms by Backward-view and Entire-buffer Reanalyze
Chunyu Xuan, Yazhe Niu, Yuan Pu, Shuai Hu, Yu Liu, Jing Yang
TL;DR
The paper tackles the wall-clock time bottleneck in MCTS-based RL (notably MuZero) caused by reanalysis. It introduces ReZero, which combines backward-view reanalyze (to prune subtrees using root-child values) with periodic entire-buffer reanalyze (to align targets with the latest models and leverage large batches). Theoretical analysis casts the search process as a non-stationary bandit and proves convergence properties (Theorem 1), while empirical results show substantial speedups across Atari, DMControl, and board games without sacrificing sample efficiency; code is released within LightZero. This framework enables faster, more scalable MCTS-based learning by decoupling reanalyze from training and exploiting batch-level parallelism, broadening practical applicability in real-time decision-making tasks.
Abstract
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.
