A Hierarchical and Risk-Aware Decision Framework for Riichi Mahjong AI
Abstract
Riichi Mahjong is a difficult imperfect-information game. To improve the way Mahjong AI makes decisions, this paper proposes a hierarchical and risk-aware decision framework. Instead of choosing an action directly from the current state, the model first selects a high-level strategy and then evaluates specific actions under that strategy. A risk control head is also added so that the model can better handle dangerous situations and make a better trade-off between offense and defense. Experimental results show that this framework improves overall decision quality and gives a better balance between attack and safety. Among the tested models, the version that combines both strategy and risk performs the best overall. The latent strategy analysis also shows that the model learns different internal decision modes with different behavior patterns. This suggests that the proposed method is effective for Riichi Mahjong AI and can make the decision process more structured, stable, and easier to understand.
References
- Silver, D., et al. (2016). Mastering the game of go with deep neural networks and tree search. Nature, 529(7587), 484–489. https: //doi.org/10.1038/nature16961
- Silver, D., et al. (2017). Mastering the game of go without human knowledge. Nature, 550(7676), 354–359. https: //doi.org/10.1038/nature24270
- Silver, D., et al. (2017). Mastering chess and shogi by self-play with a general reinforcement learning algorithm. arXiv. https: //doi.org/10.48550/arXiv.1712.01815
- Schrittwieser, J., et al. (2020). Mastering atari, go, chess and shogi by planning with a learned model. Nature, 588(7839), 604–609. https: //doi.org/10.1038/s41586-020-03051-4
- Moravčík, M., et al. (2017). DeepStack: expert-level artificial intelligence in heads-up no-limit poker. Science, 356(6337), 508–513. https: //doi.org/10.1126/science.aam6960
- Brown, N., & Sandholm, T. (2017). Libratus: The superhuman AI for no-limit poker. In Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence (pp. 5226–5228). International Joint Conferences on Artificial Intelligence Organization. https: //doi.org/10.24963/ijcai.2017/772
- Brown, N., & Sandholm, T. (2019). Superhuman AI for multiplayer poker. Science, 365(6456), 885–890. https: //doi.org/10.1126/science.aay2400
- Zhang, R., et al. (2025). A survey on self-play methods in reinforcement learning. arXiv. https: //doi.org/10.48550/arXiv.2408.01072
- Zheng, Y., & Li, S. (2020). A review of mahjong AI research. In Proceedings of the 2020 2nd International Conference on Robotics, Intelligent Control and Artificial Intelligence (pp. 345–349). ACM. https: //doi.org/10.1145/3438872.3439104
- Sato, H., Shirakawa, T., Hagihara, A., & Maeda, K. (2017). An analysis of play style of advanced mahjong players toward the implementation of strong AI player. International Journal of Parallel, Emergent and Distributed Systems, 32(2), 195–205. https: //doi.org/10.1080/17445760.2015.1049267
- Yamaguchi, Y. (2024). An overview of online riichi mahjong game industry in japanese internet society. In 2024 IEEE Gaming, Entertainment, and Media Conference (GEM) (pp. 1–3). https: //doi.org/10.1109/GEM61861.2024.10585787
- Tenhou | A Top-Level Online Mahjong Game Site. (n.d.). Retrieved March 20, 2026, from https: //tenhou.net/
- Louie. (2026, March 13). NikkeTryHard/tenhou-to-mjai. GitHub. Retrieved March 19, 2026, from https: //github.com/NikkeTryHard/tenhou-to-mjai
- Li, J., et al. (2020). Suphx: mastering mahjong with deep reinforcement learning. arXiv. https: //doi.org/10.48550/arXiv.2003.13590
- Dwango Media Village. (n.d.). Retrieved March 19, 2026, from https: //dmv.nico/
- Oriol, M. (n.d.). LuckyJ: an asynchronous evolution platform for component-based applications.
- What Is Mahjong? A Free Online Mahjong Strategy Guide. (n.d.). Retrieved March 20, 2026, from http: //beginners.biz/kihon/kihon01.html
- Li, X., Dai, J., Su, C., Fan, X., & Gu, J. (2026). Efficient mahjong model using an improved distributed proximal policy optimization algorithm and residual residual network-integrated long short-term memory network. Engineering Applications of Artificial Intelligence, 166, 113475. https: //doi.org/10.1016/j.engappai.2025.113475
- Li, X., Wang, Z., Liu, B., & Dai, J. (2024). LsAc*-MJ: A low-resource consumption reinforcement learning model for mahjong game. International Journal of Intelligent Systems, 2024(1), 4558614. https: //doi.org/10.1155/2024/4558614
- Li, X., Liu, B., Wei, Z., Wang, Z., & Wu, L. (2024). Tjong: A transformer-based mahjong AI via hierarchical decision-making and fan backward. CAAI Transactions on Intelligence Technology, 9(4), 982–995. https: //doi.org/10.1049/cit2.12298