NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Combinatorial Q-Learning for Dou Di Zhu

Yang You, Liangwei Li, Baisong Guo, Weiming Wang, Cewu LuAIIDE 2020

TL;DR

This paper introduces Combinatorial Q-Learning (CQL), a novel deep reinforcement learning approach designed to tackle the immense action space of complex card games like Dou Di Zhu. By decomposing the decision-making process into two stages – selecting a card combination and then choosing the specific cards within that combination – CQL significantly reduces the effective action space and achieves human-level performance in Dou Di Zhu.

What Problem Does This Paper Address?

Deep Reinforcement Learning (DRL) has shown remarkable success in games like Go and Atari, largely due to their manageable action spaces that can be handled by standard neural network architectures. However, many popular card games, such as Dou Di Zhu, present a significant challenge due to their combinatorial nature. In Dou Di Zhu, players must not only select individual cards but also form valid groups of cards (combinations) to play, leading to an exponentially large number of possible actions at each turn. This combinatorial explosion makes it difficult for traditional DRL algorithms to learn effectively, as they struggle to explore and evaluate such a vast action space. The paper aims to bridge this gap by developing a DRL method specifically tailored to handle these combinatorial actions.

Methods

The core innovation is Combinatorial Q-Learning (CQL), a two-stage hierarchical reinforcement learning approach.

  • Decomposition Proposal Network (DPN): This network's role is to propose the best way to "decompose" a player's hand into valid card groups for a move. It uses an order-invariant max-pooling operation to capture relationships between different card groups, treating them as a set. This helps in understanding the overall strategic value of a particular decomposition.
  • Move Proposal Network (MPN): Once DPN selects the most promising decomposition, MPN takes over. It then focuses on selecting the best specific card group (move) from that chosen decomposition. The MPN concatenates local features of each card group with the global feature from DPN to make its decision.

This hierarchical structure effectively breaks down the complex decision into two more manageable sub-problems, significantly reducing the effective action space explored by the agent. The authors also introduce a novel representation for cards and their relationships.

Datasets

The paper does not explicitly mention using pre-existing datasets for training. Instead, they develop their own easy-to-use card game environment for Dou Di Zhu. All agents are trained adversarially from scratch, learning solely from the game rules. For evaluation, they compare their agents against other models playing against RHCP (Recursive Handheld Cards Partitioning algorithm) and MCTS (Monte-Carlo Tree Search) based agents, which act as opponents.

Key Insights and Ideas

  • Decomposition is Key: The paper highlights that human players intuitively decompose their hands into strategic groups. Mimicking this by explicitly modeling decomposition as a first step is crucial for handling combinatorial action spaces.
  • Order-Invariant Representations: For card combinations, the order of cards within a group doesn't matter, but the relationships between different groups do. Using order-invariant operations like max-pooling effectively captures these relationships.
  • Hierarchical RL for Action Space Reduction: Breaking down a large, combinatorial action space into a hierarchy of smaller, more manageable sub-problems is a powerful strategy for enabling DRL to learn effectively.
  • Adversarial Training for Robustness: Training agents adversarially from scratch, without human data, leads to robust agents that can adapt and improve against each other, preventing local optima.

Key Results

  • CQL significantly outperforms baseline methods like naive Q-learning and A3C, achieving a 30% higher winning rate against RHCP opponents.
  • Naive DQN fails to converge due to the unstable and overoptimistic nature of the Bellman equation with a massive discrete action space.
  • A3C shows some improvement but struggles with the complex combinatorial structures.
  • CQL agents achieve human-level performance in Dou Di Zhu, demonstrating comparable performance against strong baselines like RHCP and MCTS.
  • The adversarial training process leads to agents that become progressively stronger and avoid easily exploitable weaknesses.

Limitations and Future Work

  • Cooperation between Peasants: The authors acknowledge that the current model treats the two peasant players independently. They suggest that explicitly encoding cooperation units between the two peasants could be a valuable future direction to further improve performance.
  • Generalizability: While successful in Dou Di Zhu, the direct applicability of this specific two-stage decomposition to other complex combinatorial games might require further investigation and adaptation.

Summary updated

BibTeX
@inproceedings{you2020combinatorial,
  author = {Yang You and Liangwei Li and Baisong Guo and Weiming Wang and Cewu Lu},
  title = {{Combinatorial Q-Learning for Dou Di Zhu}},
  booktitle = {AIIDE},
  year = {2020},
  url = {https://openreview.net/forum?id=xKou5N9pPd},
}
Figure