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

Chunyu Xuan, Yazhe Niu, Yuan Pu, Shuai Hu, Yu Liu +1 more
4/25/2024
4 citations
cs.AI

Official code: opendilab/LightZero (1,665 stars, Python, Apache-2.0, PyTorch, last commit 2026-05-02).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

[NeurIPS 2023 Spotlight] LightZero: A Unified Benchmark for Monte Carlo Tree Search in General Sequential Decision Scenarios (awesome MCTS)

1,665202Python, C++Oct 8, 20227 months agoApache-2.0
alpha-beta-pruningalphazeroatariboard-gameboard-games+15 more

Similar Papers

Cite this paper

@article{xuan2024rezero,
  title  = {ReZero: Boosting MCTS-based Algorithms by Backward-view and Entire-buffer Reanalyze},
  author = {Chunyu Xuan and Yazhe Niu and Yuan Pu and Shuai Hu and Yu Liu and Jing Yang},
  year   = {2024},
  eprint = {2404.16364},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.16364v5}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.16364.svg)](https://codeofpaper.com/paper/2404.16364)

Discussion