DouZero+: Improving DouDizhu AI by Opponent Modeling and Coach-guided Learning

Youpeng Zhao, Jian Zhao, Xunhan Hu, Wengang Zhou, Houqiang Li

Introduction

DouDizhu, or "Fighting the Landlord," is one of the most popular card games in China and represents a significant challenge for artificial intelligence. Unlike games with perfect information like Go or strictly competitive two-player games like Poker, DouDizhu is a three-player game characterized by asymmetric information and a unique "two-versus-one" cooperative structure. In this environment, two "Peasants" must coordinate their strategies to defeat a single "Landlord" without explicit communication.

The complexity of DouDizhu stems from two primary factors: a massive action space (often exceeding 100 legal moves per turn, including complex combinations like chains and "airplanes") and the necessity of inferring hidden information to facilitate cooperation. While previous reinforcement learning (RL) approaches like DouZero have achieved high levels of play using Deep Monte Carlo (DMC) methods, they often struggle with the inherent noise of unbalanced deals and the difficulty of implicit opponent modeling. This paper presents DouZero+, an enhanced architecture that introduces explicit opponent modeling and a coach-guided learning mechanism to address these limitations.

Methodology

DouZero+ builds upon the foundation of the DouZero architecture, which utilizes Deep Monte Carlo to learn value functions directly from raw game states. The authors introduce two critical enhancements designed to improve both the strategic depth of the agent and the efficiency of the training process.

Opponent Modeling (The Prediction Model)

In imperfect information games, the ability to "read" an opponent's or teammate's hand is crucial. DouZero+ incorporates an explicit Opponent Modeling module—a multi-head classifier that predicts the distribution of cards held by the next player. This module utilizes a Long Short-Term Memory (LSTM) layer to encode the sequence of historical moves, followed by shared Multi-Layer Perceptron (MLP) layers.

To ensure the predictions remain physically grounded, the model employs a "legal label" filtering mechanism. This ensures that the predicted card counts do not exceed the total number of cards in a standard deck or include cards already visible to the agent. The resulting probability distribution is concatenated with the agent's internal state features, providing the decision-making policy with an explicit estimation of the hidden environment.

Coach-guided Learning (The Coach Network)

A significant challenge in training DouDizhu agents is the high variance introduced by the initial deal. Many games are "unbalanced," where the winner is determined by the luck of the draw rather than strategic skill. Training on these "valueless" games can lead to noisy gradients and inefficient use of computational resources.

To mitigate this, the authors developed a Coach Network. This network acts as a pre-game filter; it examines the initial hands of all three players and predicts the Landlord's winning probability ($P_{win}$). If a game is deemed too one-sided (e.g., the Landlord has a near-certain win or loss regardless of play), the game is discarded from the training set. This form of automated curriculum learning ensures that the RL agent focuses its "compute budget" on balanced, high-leverage scenarios where strategic decisions significantly impact the outcome.

Evaluation and Results

The performance of DouZero+ was evaluated through extensive self-play and against a diverse pool of opponents on the Botzone leaderboard, a platform featuring over 400 distinct AI agents.

Leaderboard Performance

DouZero+ successfully secured the #1 rank on the Botzone leaderboard, outperforming the original DouZero baseline and a wide array of heuristic-based and RL-based bots. This result underscores the effectiveness of combining explicit modeling with filtered training data.

Enhanced Cooperation

A key finding of the study was the impact of opponent modeling on Peasant cooperation. By explicitly predicting the teammate's hand, the Peasant agents demonstrated a marked improvement in their Average Difference in Points (ADP). The agents learned sophisticated cooperative behaviors, such as avoiding moves that would block a teammate's winning sequence or playing "sacrificial" cards to help a teammate regain control of the round.

Training Efficiency

The integration of the Coach Network led to faster and more robust policy convergence. By filtering out the "noise" of unbalanced games, DouZero+ reached higher performance thresholds in less training time compared to the standard DMC approach. This suggests that in high-variance environments, the quality of training samples is as important as the quantity.

Discussion and Future Work

The success of DouZero+ highlights the importance of addressing the "luck factor" in imperfect information games. By controlling for initial state variance and providing explicit channels for information inference, the model achieves a level of play that surpasses previous state-of-the-art systems.

However, several avenues for future research remain. The current architecture relies on relatively simple neural network components; the authors suggest that integrating more sophisticated feature extractors, such as Residual Networks (ResNets), could further improve performance. Additionally, while DouZero+ is a pure RL policy, the integration of search-based methods (similar to AlphaZero's use of MCTS) could help the agent navigate the massive action space with even greater precision. Finally, exploring more advanced sample efficiency techniques, such as experience replay, may further reduce the computational overhead of the Deep Monte Carlo method.

Conclusion

DouZero+ represents a significant advancement in the field of multi-agent reinforcement learning for complex card games. Through the dual innovations of opponent modeling and coach-guided learning, the system demonstrates that explicit information inference and strategic data filtering are key to mastering environments characterized by competition, cooperation, and high uncertainty.

Summary updated

BibTeX
@inproceedings{zhao2022douzero,
  author = {Youpeng Zhao and Jian Zhao and Xunhan Hu and Wengang Zhou and Houqiang Li},
  title = {{DouZero+: Improving DouDizhu AI by Opponent Modeling and Coach-guided Learning}},
  booktitle = {CoG},
  year = {2022},
  doi = {10.1109/cog51982.2022.9893710},
}
Figure