應用Gumbel MuZero於2048遊戲
顯示簡易詮釋資料 統計資料| 欄位 | 內容 | 語言 |
|---|---|---|
dc.contributor.advisor |
吳毅成 | |
dc.contributor.advisor |
Wu, I-Chen | |
dc.contributor.author |
高誌佑 | |
dc.contributor.author |
Kao, Chih-Yu | |
dc.contributor.college |
資訊學院 | |
dc.contributor.committee |
吳毅成 | |
dc.contributor.committee |
黃國展 | |
dc.contributor.committee |
陳志昌 | |
dc.contributor.committee |
吳廸融 | |
dc.contributor.committee |
Wu, I-Chen | |
dc.contributor.committee |
Huang, Kuo-Chan | |
dc.contributor.committee |
Chen, Jr-Chang | |
dc.contributor.committee |
Wu, Ti-Rong | |
dc.contributor.department |
資訊科學與工程研究所 | |
dc.contributor.studentid |
309551078 | |
dc.date.NCLavailable |
2022/09/02 | |
dc.date.USTavailable |
2022/09/02 | |
dc.date.issued |
2022 | |
dc.date.issuedROC |
111 | |
dc.date.paperavailable |
立即公開 | |
dc.date.schoolyear |
110 | |
dc.description.abstract |
近年來AlphaZero演算法與MuZero演算法在許多應用上都取得優異成果,AlphaZero能在沒有借助人類知識的情況下精通多種遊戲,而MuZero則額外學習環境規則與變化,在樹搜尋的過程中不需依賴模擬器,因此能適用於較複雜的環境。這兩種演算法在自我對戰時皆有使用蒙地卡羅樹搜尋(Monte Carlo tree search, MCTS),通常採取一個動作前需要進行上百次模擬。後續推出的Gumbel MuZero演算法能確保達到策略提升(policy improvement),因此使用極少模擬次數時也能穩定訓練。然而,Gumbel MuZero與MuZero相同,皆使用了確定性模型(deterministic model),使其在隨機性環境中的表現受限。在本論文中,我們將Gumbel MuZero與Stochastic MuZero結合並應用至隨機性遊戲2048,為第一個將Gumbel MuZero應用至隨機性環境的研究。根據我們的實驗結果,在訓練時僅用三次模擬的情況下,我們的方法亦可以表現很好,達到394,645的平均分數,大幅減少訓練所需的計算資源。 | |
dc.description.abstract |
In recent years, AlphaZero and MuZero have achieved remarkable success in a broad range of applications. AlphaZero masters playing without human knowledge, while MuZero also learns the game rules and environment’s dynamics without the access to a simulator during planning, which makes it applicable to complex environments. Both algorithms adopt Monte Carlo tree search (MCTS) during self-play, usually using hundreds of simulations for one move. Recently, Gumbel MuZero was proposed to ensure the policy improvement and can thus learn reliably with a small number of simulations. However, Gumbel MuZero used a deterministic model as in MuZero, limiting its performance in stochastic environments. In this thesis, we propose to combine Gumbel MuZero and Stochastic MuZero, the first attempt to apply Gumbel MuZero to a stochastic environment. Our experiment on the stochastic puzzle game 2048 demonstrates that the combined algorithm can perform well and achieve an average score of 394,645 with only 3 simulations during training, greatly reducing the computational resource needed for training. | |
dc.description.abstractopendate |
2022/09/02 | |
dc.description.degree |
碩士 | |
dc.description.tableofcontents |
摘要 iAbstract iiTable of Contents iiiList of Figures vList of Tables viI. Introduction 1II. Background 32.1 The Game of 2048 32.2 Monte Carlo Tree Search 42.3 MuZero 52.3.1 Model 72.3.2 Planning 72.3.3 Acting 72.3.4 Training 82.4 Stochastic MuZero 82.4.1 Stochastic Model 92.4.2 Stochastic Search 112.4.3 Chance Outcomes 112.4.4 Training 112.5 Gumbel MuZero 122.5.1 Selecting Actions at the Root Node 122.5.2 Choosing Actions to Act in the Environment 132.5.3 Updating the Policy Network 13III. Our Design 143.1 Combination of Gumbel MuZero and Stochastic MuZero 143.2 Analysis of Values for N-step Bootstrapping 15IV. Experiments 174.1 The Impact of Gumbel MuZero 184.2 The Comparison of Values for N-step Bootstrapping 204.3 The Impact of Different Settings 214.3.1 The Number of Sampled Actions 214.3.2 The Number of Simulations 224.3.3 Parameters in the Monotonically Increasing Transformation 244.4 The Speedup from Fewer Simulations 254.4.1 Speedup for Self-play 254.4.2 Speedup for Training 264.5 The Comparison with Other Research on 2048 27V. Conclusion 29References 30 | |
dc.identifier.citation |
[1] D. Silver, A. Huang, C. Maddison, A. Guez, L. Sifre, G. van den Driessche, J. Schrittwieser, I. Antonoglou, V. Panneershelvam, M. Lanctot, S. Dieleman, D. Grewe, J. Nham, N. Kalchbrenner, I. Sutskever, T. Lillicrap, M. Leach, K. Kavukcuoglu, T. Graepel, and D. Hassabis, “Mastering the game of go with deep neural networks and tree search,” Nature, vol. 529, no. 7587, pp. 484–489, Jan. 2016.[2] R. Coulom, “Efficient selectivity and backup operators in monte-carlo tree search,” in International Conference on Computers and Games, 2006, pp. 72–83.[3] L. Kocsis and C. Szepesv ́ari, “Bandit based monte-carlo planning,” in European Conference on Machine Learning, 2006, pp. 282–293.[4] C. B. Browne, E. Powley, D. Whitehouse, S. M. Lucas, P. I. Cowling, P. Rohlfshagen, S. Tavener, D. Perez, S. Samothrakis, and S. Colton, “A survey of monte carlo tree search methods,” IEEE Transactions on Computational Intelligence and AI in Games, vol. 4, no. 1, pp. 1–43, Dec. 2012.[5] D. Silver, J. Schrittwieser, K. Simonyan, I. Antonoglou, A. Huang, A. Guez, T. Hubert, L. Baker, M. Lai, A. Bolton, Y. Chen, T. Lillicrap, F. Hui, L. Sifre, G. van den Driessche, T. Graepel, and D. Hassabis, “Mastering the game of go without human knowledge,” Nature, vol. 550, no. 7676, pp. 354–359, Oct. 2017.[6] D. Silver, T. Hubert, J. Schrittwieser, I. Antonoglou, M. Lai, A. Guez, M. Lanctot, L. Sifre, D. Kumaran, T. Graepel, T. Lillicrap, K. Simonyan, and D. Hassabis, “A general reinforcement learning algorithm that masters chess, shogi, and go through self-play,” Science, vol. 362, no. 6419, pp. 1140–1144, Dec. 2018.[7] J. Schrittwieser, I. Antonoglou, T. Hubert, K. Simonyan, L. Sifre, S. Schmitt, A. Guez, E. Lockhart, D. Hassabis, T. Graepel, T. Lillicrap, and D. Silver, “Mastering atari, go, chess and shogi by planning with a learned model,” Nature, vol. 588, no. 7839, pp. 604–609, Dec. 2020.[8] I. Antonoglou, J. Schrittwieser, S. Ozair, T. K. Hubert, and D. Silver, “Planning in stochastic environments with a learned model,” in International Conference on Learning Representations, 2022.[9] I. Danihelka, A. Guez, J. Schrittwieser, and D. Silver, “Policy improvement by planning with gumbel,” in International Conference on Learning Representations, 2022.[10] J. I. Yellott Jr, “The relationship between Luce’s choice axiom, Thurstone’s theory of comparative judgment, and the double exponential distribution,” Journal of Mathematical Psychology, vol. 15, no. 2, pp. 109–144, Apr. 1977.[11] W. Kool, H. Van Hoof, and M. Welling, “Stochastic beams and where to find them: The gumbel-top-k trick for sampling sequences without replacement,” in International Conference on Machine Learning, 2019, pp. 3499–3508.[12] Y.H. Cheng, “The Design of a MuZero Framework,” M.S. thesis, Institute of Computer Science and Engineering, National Chiao Tung University, 2021.[13] V. Mnih, K. Kavukcuoglu, D. Silver, A. A. Rusu, J. Veness, M. G. Bellemare, A. Graves, M. Riedmiller, A. K. Fidjeland, G. Ostrovski et al., “Human-level control through deep reinforcement learning,” Nature, vol. 518, no. 7540, pp. 529–533, Feb. 2015.[14] G. Cirulli. “2048, success and me.” web.archive.org. https://web.archive.org/web/20140517152011/http://gabrielecirulli.com/articles/2048-success-and-me (accessed Aug. 8, 2022.)[15] C. D. Rosin, “Multi-armed bandits with episode context,” Annals of Mathematics and Artificial Intelligence, vol. 61, no. 3, pp. 203–230, Mar. 2011.[16] R. S. Sutton and A. G. Barto, Reinforcement learning: An introduction, 2nd ed. Cambridge, MA, USA: MIT Press, 2018.[17] A. Couetoux, “Monte carlo tree search for continuous and stochastic sequential decision making problems,” Ph.D. dissertation, Universit ́e Paris Sud - Paris XI, 2013.[18] A. van den Oord, O. Vinyals, and K. Kavukcuoglu, “Neural discrete representation learning,” in Advances in Neural Information Processing Systems, 2017.[19] Z. Karnin, T. Koren, and O. Somekh, “Almost optimal exploration in multi-armed bandits,” in International Conference on Machine Learning, 2013, pp. 1238–1246.[20] H. Guei, T. Wei, J. Huang, and I. Wu, “An early attempt at applying deep reinforcement learning to the game 2048,” in Workshop on Neural Networks in Games, 2016.[21] J. Hu, L. Shen, and G. Sun, “Squeeze-and-excitation networks,” in Proceedings of the IEEE conference on computer vision and pattern recognition, 2018, pp. 7132–7141.[22] H. Guei, L.-P. Chen, and I.-C. Wu, “Optimistic temporal difference learning for 2048,” IEEE Transactions on Games, to be published, 2021.[23] W. Ja ́skowski, “Mastering 2048 with delayed temporal coherence learning, multistage weight promotion, redundant encoding, and carousel shaping,” IEEE Transactions on Games, vol. 10, no. 1, pp. 3–14, Mar. 2018.[24] K. Matsuzaki, “Developing value networks for game 2048 with reinforcement learning,” Journal of Information Processing, vol. 29, pp. 336–346, 2021. | |
dc.identifier.uri |
https://hdl.handle.net/20.500.14371/80937 | |
dc.language.iso |
英文 | |
dc.relation.alma |
991003693150906772 | |
dc.relation.page |
32 | |
dc.subject.keyword |
2048遊戲 | |
dc.subject.keyword |
Gumbel MuZero | |
dc.subject.keyword |
Stochastic MuZero | |
dc.subject.keyword |
蒙地卡羅樹搜尋 | |
dc.subject.keyword |
深度強化式學習 | |
dc.subject.keyword |
2048 game | |
dc.subject.keyword |
Gumbel MuZero | |
dc.subject.keyword |
Stochastic MuZero | |
dc.subject.keyword |
Monte Carlo tree search | |
dc.subject.keyword |
deep reinforcement learning | |
dc.title |
應用Gumbel MuZero於2048遊戲 | zh-TW |
dc.title |
Gumbel MuZero for the Game of 2048 | en |
dc.type |
Thesis | zh-TW |
檔案
- 01.pdf (1.93 MB, Adobe PDF)
所屬典藏: 資訊科學與工程研究所