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

Por um escritor misterioso
Last updated 30 maio 2024
Policy or Value ? Loss Function and Playing Strength in AlphaZero-like  Self-play
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.
Policy or Value ? Loss Function and Playing Strength in AlphaZero-like  Self-play
Strength and accuracy of policy and value networks. a Plot showing
Policy or Value ? Loss Function and Playing Strength in AlphaZero-like  Self-play
AlphaZero from scratch in PyTorch for the game of Chain Reaction
Policy or Value ? Loss Function and Playing Strength in AlphaZero-like  Self-play
LightZero: A Unified Benchmark for Monte Carlo Tree Search in
Policy or Value ? Loss Function and Playing Strength in AlphaZero-like  Self-play
The future is here – AlphaZero learns chess
Policy or Value ? Loss Function and Playing Strength in AlphaZero-like  Self-play
AlphaZero
Policy or Value ? Loss Function and Playing Strength in AlphaZero-like  Self-play
Mastering the game of Go without human knowledge
Policy or Value ? Loss Function and Playing Strength in AlphaZero-like  Self-play
AlphaZero Explained · On AI
Policy or Value ? Loss Function and Playing Strength in AlphaZero-like  Self-play
Value targets in off-policy AlphaZero: a new greedy backup
Policy or Value ? Loss Function and Playing Strength in AlphaZero-like  Self-play
AlphaZero, a novel Reinforcement Learning Algorithm, in JavaScript
Policy or Value ? Loss Function and Playing Strength in AlphaZero-like  Self-play
Why Artificial Intelligence Like AlphaZero Has Trouble With the

© 2014-2024 praharacademy.in. All rights reserved.