Abstract
Computer Games are an important aspect of Artificial Intelligence (AI) which has produced many representative algorithms of optimal strategies. Therefore, many AI researchers have applied game theory to various board games in an attempt to find the essence of games and grasp the core of AI behaviour. AlphaGo is a very famous and typical chess-playing program that uses Monte Carlo tree search (MCTS) to estimate the value of each node in the search tree and optimize the possible results. Chinese chess is one of the traditional chess versions with its typical strategy. However, due to its late start and high complexity, there are many more technical problems to be solved. In this paper, we recommend two commonly used search frameworks for Chinese chess: the minimax algorithm and the alpha-beta pruning algorithm. On this basis, to deal with the complex and changeable situation, the Chinese chess algorithm based on Monte Carlo tree search and appropriate neural network evaluation function is studied.
Introduction
Chinese Chess, or Xiangqi, represents a significant frontier for Artificial Intelligence research. While Western Chess and Go have seen landmark victories by AI, Xiangqi presents a unique set of challenges characterized by high state-space complexity and a relatively late start in algorithmic optimization. The primary hurdle in developing a competitive Xiangqi engine is the "path selection problem": the exponential growth of possible board states makes exhaustive searching computationally unfeasible.
To navigate this complexity, researchers must balance search depth—which directly correlates with move quality—against strict real-time execution constraints. This paper evaluates the evolution of search strategies from foundational Minimax approaches to modern probabilistic frameworks like Monte Carlo Tree Search (MCTS) and the AlphaZero-inspired integration of Deep Neural Networks (DNNs).
Algorithmic Frameworks
Minimax and Alpha-Beta Pruning
The foundational approach to board games is the Minimax algorithm. It operates on the assumption of optimal play from both sides: the current player seeks to maximize their advantage, while the opponent seeks to minimize it. However, standard Minimax suffers from the "curse of dimensionality." As the search depth increases, the number of nodes to evaluate grows at an unmanageable rate.
To mitigate this, Alpha-Beta Pruning is employed. This optimization identifies branches of the search tree that cannot possibly influence the final decision (because a better or worse move has already been found elsewhere) and "prunes" them.
Monte Carlo Tree Search (MCTS) and AlphaZero
Moving beyond exhaustive search, MCTS offers a probabilistic framework. It iterates through four distinct phases: Selection (using the Upper Confidence Bound for Trees), Expansion, Simulation (random playouts), and Backpropagation. Unlike Minimax, MCTS does not require a complete search of a specific depth; instead, it focuses its computational resources on the most promising branches.
The AlphaZero framework further refines MCTS by replacing random simulations with a Deep Neural Network (DNN). This network serves as a sophisticated evaluation function, predicting win probabilities and move distributions based on patterns learned through self-play rather than human-coded heuristics.
Performance Analysis and Key Insights
The research highlights a stark contrast in efficiency between these methods. In a 5-layer search depth test, the standard Minimax algorithm required over 300 seconds to reach a decision. In contrast, Alpha-Beta pruning completed the same evaluation in just 1–3 seconds, demonstrating that pruning is not just an optimization but a necessity for real-time play.
Furthermore, the study found a strong correlation between search depth and competitive strength. Increasing the Minimax search depth from 1 to 4 improved the win rate against human players from 30% to 80%. However, the limits of heuristic-based search were evident when MCTS was introduced. In head-to-head matches, MCTS outperformed a 2-layer Alpha-Beta algorithm, winning 5 out of 9 rounds despite being in an unoptimized state.
Conclusion and Future Work
While traditional pruning techniques offer massive speedups, the future of Chinese Chess AI lies in the synergy between MCTS and Deep Learning. The current bottleneck for MCTS is the quality of its evaluation function. By utilizing the AlphaZero approach—where MCTS search results serve as training data for a neural network—the system creates a feedback loop that continuously improves both search efficiency and positional judgment. Future research will focus on scaling these models to eliminate the need for human domain knowledge, potentially achieving superhuman performance in the complex domain of Xiangqi.
Summary updated