Mxplainer: Explain and Learn Insights by Imitating Mahjong Agents
Lingfeng Li, Yunlong Lu, Yongyi Wang, Qifan Zheng, Wenxin Li
TL;DR
Mxplainer targets the interpretability gap in high-performance Mahjong agents by introducing a parameterized search-based framework that can be converted into a differentiable network. By learning the framework’s interpretable parameters from black-box agent data, it can mimic actions with high fidelity while enabling step-by-step explanations of decisions and goal preferences. The approach demonstrates strong top-3 action prediction accuracy for both AI and human data and provides insights into fan and tile preferences, with ablations showing the critical role of draw modeling and goal caps. This work offers a practical pathway to transparent, trust-worthy AI in complex, imperfect-information domains and outlines extensions to broader settings and multimodal explanation modalities.
Abstract
People need to internalize the skills of AI agents to improve their own capabilities. Our paper focuses on Mahjong, a multiplayer game involving imperfect information and requiring effective long-term decision-making amidst randomness and hidden information. Through the efforts of AI researchers, several impressive Mahjong AI agents have already achieved performance levels comparable to those of professional human players; however, these agents are often treated as black boxes from which few insights can be gleaned. This paper introduces Mxplainer, a parameterized search algorithm that can be converted into an equivalent neural network to learn the parameters of black-box agents. Experiments on both human and AI agents demonstrate that Mxplainer achieves a top-three action prediction accuracy of over 92% and 90%, respectively, while providing faithful and interpretable approximations that outperform decision-tree methods (34.8% top-three accuracy). This enables Mxplainer to deliver both strategy-level insights into agent characteristics and actionable, step-by-step explanations for individual decisions.
