TL;DR
While AlphaZero has achieved legendary status by mastering games like Go, Chess, and Shogi, the impact of its numerous hyperparameters remains a black box. This paper systematically sweeps 12 key hyperparameters using a lightweight Othello implementation, categorizing them into "time-sensitive" and "time-friendly" parameters. The results provide a practical roadmap for optimizing AlphaZero-style architectures without burning infinite compute.
What Problem Does This Paper Address?
AlphaZero-style algorithms combine Monte Carlo Tree Search (MCTS) with deep neural networks trained purely via self-play. While the theoretical framework is well-documented, setting its hyperparameters is largely treated as an art form. DeepMind’s original papers offer only brief mentions of specific default values, leaving researchers and engineers in the dark about how sensitive the algorithm is to changes.
Because training AlphaZero from scratch is incredibly resource-intensive, blindly tuning these parameters is computationally impossible for most. This paper addresses this gap by evaluating how 12 core hyperparameters impact three vital objectives: training loss, playing strength (Elo rating), and wall-clock time cost.
Methods
The authors utilize AlphaZeroGeneral, a popular lightweight open-source re-implementation of AlphaZero. To understand the individual contribution of each hyperparameter, they perform a controlled one-parameter-at-a-time sweep. For each of the 12 parameters, they test three configurations—a minimum, a default, and a maximum value—while holding all other variables constant.
The parameters are evaluated across the three stages of AlphaZero's iterative loop:
- Self-play (generating data)
- Neural network training (optimizing the policy and value loss)
- Arena comparison (pitting the new model against the previous best)
The authors also derive a formal time-cost function to mathematically map out how each parameter scales the training duration across these nested loops.
Datasets
No static datasets were used. Following the AlphaZero paradigm, all training examples are generated dynamically through reinforcement learning self-play. To make the extensive parameter sweep computationally feasible, the authors use $6\times6$ Othello (Reversi) as their experimental testbed rather than the full $8\times8$ board or more complex games like Go.
Key Insights and Ideas
- Time-Sensitive vs. Time-Friendly Parameters: The paper introduces a crucial categorization for AlphaZero tuning. Time-sensitive parameters (like
episode,mctssimu, anditeration) drastically alter the training duration. For example, increasing the number of self-play episodes from 10 to 100 exploded the training time from 17.4 hours to 87.7 hours. Conversely, time-friendly parameters (likeCpuct,learningrate, anddropout) alter the model's performance without significantly impacting execution time. Tuning time-friendly parameters represents a "Pareto Improvement"—better performance for free. - More Data $\neq$ Better Performance: Intuitively, one might think that more training iterations or more self-play episodes always yield a stronger model. However, the authors observed that after the 110th iteration, training loss unexpectedly spiked and performance destabilized, signaling potential overfitting or optimization issues caused by an unadjusted learning rate.
- Exploitation Lowers Loss, but Balance Wins the Game: For the MCTS exploration constant (
Cpuct), a lower value (0.5, favoring exploitation) achieved the lowest training loss. However, a balanced or slightly higher value is typically required to maintain the exploration necessary to discover superior long-term strategies.
Key Results
The authors successfully mapped the optimal values for each parameter across the three evaluation dimensions:

- Batch Size Dynamics: A smaller
batchsize(32) led to higher variance but ultimately achieved the highest stable Elo rating faster than larger batch sizes (64 or 96). - The Power of Retraining: Setting
retrainlength(the window of past iterations kept in the training pool) to a maximum value of 40 allowed the model to achieve a stable Elo rating much faster (by the 60th iteration) compared to smaller windows, proving its efficacy in preventing catastrophic forgetting. - Arena Efficiency: The parameter
arenacompare(the number of games played to evaluate a new model) showed no significant impact on final playing strength whether set to 20 or 100. Therefore, keeping this parameter low while slightly raising theupdateThresholdis the most compute-efficient choice.
Limitations and Future Work
The primary limitation of this study is its one-at-a-time parameter sweep, which treats hyperparameters as independent variables. In deep reinforcement learning, hyperparameters often exhibit complex, non-linear interactions (co-efficiency). For instance, changing the learningrate likely demands a simultaneous change in batchsize or epoch numbers to remain optimal.
Additionally, the findings are grounded in $6\times6$ Othello; scaling these insights to more complex games remains an open question. The authors suggest that future work should leverage automated hyperparameter optimization (HPO) frameworks (like Bayesian Optimization) to explore these multi-dimensional parameter relationships automatically.
Summary updated