Tjong: A transformer‐based Mahjong AI via hierarchical decision‐making and fan backward

Author:

Li Xiali12ORCID,Liu Bo12ORCID,Wei Zhi3ORCID,Wang Zhaoqi12ORCID,Wu Licheng12ORCID

Affiliation:

1. School of Information and Engineering Minzu University of China Beijing China

2. Key Laboratory of Ethnic Language Intelligent Analysis and Security Governance of MOE Minzu University of China Beijing China

3. Department of Computer Science New Jersey Institute of Technology Newark New Jersey USA

Abstract

AbstractMahjong, a complex game with hidden information and sparse rewards, poses significant challenges. Existing Mahjong AIs require substantial hardware resources and extensive datasets to enhance AI capabilities. The authors propose a transformer‐based Mahjong AI (Tjong) via hierarchical decision‐making. By utilising self‐attention mechanisms, Tjong effectively captures tile patterns and game dynamics, and it decouples the decision process into two distinct stages: action decision and tile decision. This design reduces decision complexity considerably. Additionally, a fan backward technique is proposed to address the sparse rewards by allocating reversed rewards for actions based on winning hands. Tjong consists of 15M parameters and is trained using approximately 0.5 M data over 7 days of supervised learning on a single server with 2 GPUs. The action decision achieved an accuracy of 94.63%, while the claim decision attained 98.55% and the discard decision reached 81.51%. In a tournament format, Tjong outperformed AIs (CNN, MLP, RNN, ResNet, VIT), achieving scores up to 230% higher than its opponents. Furthermore, after 3 days of reinforcement learning training, it ranked within the top 1% on the leaderboard on the Botzone platform.

Funder

National Natural Science Foundation of China

Publisher

Institution of Engineering and Technology (IET)

Reference41 articles.

1. Computer poker: A review

2. Rong J. Qin T. An B.:Competitive Bridge Bidding with Deep Neural Networks(2019). arXiv May 05.https://doi.org/10.48550/arXiv.1903.00900

3. DeltaDou: Expert-level Doudizhu AI through Self-play

4. Perfectdou: dominating doudizhu with perfect information distillation;Yang G.;Adv. Neural Inf. Process. Syst.,2022

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3