Bridging Local and Global Knowledge via Transformer in Board Games
Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 7446-7454.
https://doi.org/10.24963/ijcai.2025/828
Keywords
- Multidisciplinary Topics and Applications: MTA: Game playing
- Search: S: Game playing
- Multidisciplinary Topics and Applications: MTA: Computer games
- Machine Learning: ML: Deep learning architectures
Abstract
Although AlphaZero has achieved superhuman performance in board games, recent studies reveal its limitations in handling scenarios requiring a comprehensive understanding of the entire board, such as recognizing long-sequence patterns in Go. To address this challenge, we propose ResTNet, a network that interleaves residual and Transformer blocks to bridge local and global knowledge. ResTNet improves playing strength across multiple board games, increasing win rate from 54.6% to 60.8% in 9x9 Go, 53.6% to 60.9% in 19x19 Go, and 50.4% to 58.0% in 19x19 Hex. In addition, ResTNet effectively processes global information and tackles two long-sequence patterns in 19x19 Go, including circular pattern and ladder pattern. It reduces the mean square error for circular pattern recognition from 2.58 to 1.07 and lowers the attack probability against an adversary program from 70.44% to 23.91%. ResTNet also improves ladder pattern recognition accuracy from 59.15% to 80.01%. By visualizing attention maps, we demonstrate that ResTNet captures critical game concepts in both Go and Hex, offering insights into AlphaZero's decision-making process. Overall, ResTNet shows a promising approach to integrating local and global knowledge, paving the way for more effective AlphaZero-based algorithms in board games. Our code is available at https://rlg.iis.sinica.edu.tw/papers/restnet.
@inproceedings{ijcai2025p828,
title = {Bridging Local and Global Knowledge via Transformer in Board Games},
author = {Ju, Yan-Ru and Wu, Tai-Lin and Shih, Chung-Chin and Wu, Ti-Rong},
booktitle = {Proceedings of the Thirty-Fourth International Joint Conference on
Artificial Intelligence, {IJCAI-25}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {James Kwok},
pages = {7446--7454},
year = {2025},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2025/828},
url = {https://doi.org/10.24963/ijcai.2025/828},
}
TY - CPAPER TI - Bridging Local and Global Knowledge via Transformer in Board Games AU - Ju, Yan-Ru AU - Wu, Tai-Lin AU - Shih, Chung-Chin AU - Wu, Ti-Rong T2 - Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence, IJCAI-25 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2025 SP - 7446 EP - 7454 DO - 10.24963/ijcai.2025/828 UR - https://doi.org/10.24963/ijcai.2025/828 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: