Policy or Value ? Loss Function and Playing Strength in AlphaZero
Por um escritor misterioso
Last updated 27 abril 2025

Results indicate that, at least for relatively simple games such as 6x6 Othello and Connect Four, optimizing the sum, as AlphaZero does, performs consistently worse than other objectives, in particular by optimizing only the value loss. Recently, AlphaZero has achieved outstanding performance in playing Go, Chess, and Shogi. Players in AlphaZero consist of a combination of Monte Carlo Tree Search and a Deep Q-network, that is trained using self-play. The unified Deep Q-network has a policy-head and a value-head. In AlphaZero, during training, the optimization minimizes the sum of the policy loss and the value loss. However, it is not clear if and under which circumstances other formulations of the objective function are better. Therefore, in this paper, we perform experiments with combinations of these two optimization targets. Self-play is a computationally intensive method. By using small games, we are able to perform multiple test cases. We use a light-weight open source reimplementation of AlphaZero on two different games. We investigate optimizing the two targets independently, and also try different combinations (sum and product). Our results indicate that, at least for relatively simple games such as 6x6 Othello and Connect Four, optimizing the sum, as AlphaZero does, performs consistently worse than other objectives, in particular by optimizing only the value loss. Moreover, we find that care must be taken in computing the playing strength. Tournament Elo ratings differ from training Elo ratings—training Elo ratings, though cheap to compute and frequently reported, can be misleading and may lead to bias. It is currently not clear how these results transfer to more complex games and if there is a phase transition between our setting and the AlphaZero application to Go where the sum is seemingly the better choice.

Representation Matters: The Game of Chess Poses a Challenge to Vision Transformers – arXiv Vanity

AlphaDDA: strategies for adjusting the playing strength of a fully trained AlphaZero system to a suitable human training partner [PeerJ]

AlphaZero - Notes on AI

How to build your own AlphaZero AI using Python and Keras, by David Foster, Applied Data Science

AlphaZero Explained · On AI

A general reinforcement learning algorithm that masters chess, shogi, and Go through self-play

Policy or Value ? Loss Function and Playing Strength in AlphaZero-like Self- play

A general reinforcement learning algorithm that masters chess, shogi, and Go through self-play

AlphaZero from scratch in PyTorch for the game of Chain Reaction — Part 3, by Bentou

PDF) Targeted Search Control in AlphaZero for Effective Policy Improvement

AlphaZero, a novel Reinforcement Learning Algorithm, in JavaScript, by Carlos Aguayo

Reimagining Chess with AlphaZero, February 2022

Acquisition of Chess Knowledge in AlphaZero – arXiv Vanity