Introduction
The game of Hearts presents a significant challenge for artificial intelligence due to its multi-agent nature and imperfect information. Unlike games with perfect information, such as Chess or Backgammon, Hearts requires agents to operate within a Partially Observable Markov Decision Process (POMDP). This paper, originally published in Machine Learning (2005), proposes a model-based reinforcement learning (RL) architecture designed to handle the massive state space and hidden variables inherent in the game.
Problem Formulation
In Hearts, players do not have access to the cards held by their opponents. This lack of transparency makes the environment appear non-stationary to a naive agent, as the optimal move depends on hidden information. The state space is astronomically large, making traditional POMDP solvers computationally infeasible. The authors address this by focusing on state estimation and opponent modeling to create a tractable learning framework.
Methodology
The proposed architecture decomposes the RL problem into three distinct modules: a State Evaluation Module (the Critic), Action Predictors for each opponent, and an Action Selector (the Actor).
Model-Based Architecture
The agent utilizes a model-based approach to predict state transitions and opponent behaviors. Instead of mapping raw observations directly to actions, the system maintains a "belief state"—a probabilistic estimation of the hidden card distribution.
As shown in the figure above, the system models the game as a sequence of states ($s$), observations ($x$), and actions ($a$). The inclusion of parameters ($\phi$) allows the agent to adapt its internal models for each specific opponent. By learning individual action predictors, the agent can account for the unique strategies and idiosyncrasies of different players.
Function Approximation and Training
To manage the continuous and high-dimensional features, the researchers employed Normalized Gaussian Networks (NGnet). These networks were trained using an on-line Expectation-Maximization (EM) algorithm, which offers superior sample efficiency compared to standard gradient-descent methods. This efficiency is crucial for learning in complex environments where data collection through simulation can be time-consuming.
Results and Discussion
The agent's performance was evaluated through millions of simulated games against rule-based experts and human players.
Performance Against Experts
After approximately 80,000 training games, the RL agent consistently outperformed rule-based experts, achieving a statistically significant reduction in penalty points ($p < 0.01$). This indicates that the model-based approach successfully captured strategic nuances that hand-coded rules could not.
Stability in Multi-Agent Environments
A key finding was the system's stability during concurrent learning. When multiple RL agents were trained together, they successfully adapted to each other's evolving strategies, demonstrating the robustness of the individual opponent modeling approach.
Human-Level Strategy
The final agent demonstrated an ability to navigate complex game dynamics, such as "breaking hearts" and "shooting the moon," reaching a level of play comparable to a human expert.
Conclusion
This research demonstrates that model-based reinforcement learning, combined with explicit state estimation and opponent modeling, is a powerful framework for tackling imperfect-information games. By decomposing the problem and using efficient function approximators like NGnet, the authors created an agent capable of high-level strategic play in the challenging environment of Hearts. Future work may explore the "cold start" problem in pure self-play scenarios and the integration of card-passing strategies.
Summary updated