Abstract
While modern AI engines like AlphaZero achieve superhuman performance in board games, their playstyles often feel alien to human players. This paper introduces the Xiangqi Structurally Variable (XQSV) network, a novel architecture designed to imitate human play in Chinese Chess. By employing Elo range partitioning, sequential 1D move inputs, and imperfect memory constraints, XQSV achieves approximately 40% move prediction accuracy. Crucially, in a three-terminal Turing Test, XQSV was identified as human at the same rate as actual human players, demonstrating its effectiveness in human-centric AI development.
Introduction
The state-space complexity of Xiangqi ($10^{150}$) significantly exceeds that of Western Chess ($10^{123}$), yet research into human-like AI for the game has lagged. Traditional engines prioritize winning probability, utilizing perfect memory and massive processing power. However, for training and strategic advice, engines that understand and replicate human cognitive limits and mistakes are more valuable. XQSV addresses this gap by focusing on imitation rather than optimization.
Methodology
The XQSV architecture is built upon four primary innovations designed to mirror human cognitive processes:
- Elo Range Partitioning: The model's structure is not static; it becomes more complex as the target player's skill level increases. Higher Elo ranges utilize deeper networks and larger memory capacities.
- Sequential 1D Input: Unlike standard CNN-based engines that process 2D board snapshots, XQSV treats the game as a linear sequence of moves. This reflects how human players deliberate based on the "flow" of the game history.
- Imperfect Memory Capacity: Human memory is finite. XQSV is restricted to a memory window of the last m moves, preventing it from making decisions based on perfect recall of the entire game.
- Locally Illegal Move Filter: Since the model predicts moves based on history, a post-processing filter ensures all outputs are legal within the current board state.
The importance of these design choices is validated by an ablation study, which shows significant performance drops when these features are removed.
Results
Predictive Accuracy and Skill Dynamics
XQSV achieved a move prediction accuracy of ~40%, which is competitive with state-of-the-art imitation models in other games. When the metric is relaxed to "Top-5" accuracy, the model reaches 62.30%, accounting for the non-deterministic nature of human decision-making.
A key finding is the relationship between training and testing Elo ranges. Models trained on high-Elo data maintain relatively high accuracy when tested on lower-Elo games, suggesting experts can emulate novices. Conversely, models trained on novice data perform poorly on expert games, as they lack the structural complexity to capture advanced strategic relations.
The Turing Test
In a "three-terminal" Turing Test involving 30 human participants, XQSV was indistinguishable from human players. Both XQSV and actual humans were identified as "human" 38.89% of the time. In contrast, a standard mobile Xiangqi app was correctly identified as a machine in 77.78% of cases.
Conclusion
XQSV successfully demonstrates that structural variability and cognitive constraints are essential for imitating human play in complex board games. While the current model is deterministic, future iterations could incorporate "personality" traits or non-deterministic sampling to better replicate individual playing styles. This work paves the way for more relatable and effective AI training partners in the domain of Xiangqi.
Summary updated