Rinascimento: Optimising Statistical Forward Planning Agents for Playing Splendor

Ivan Bravi, Simon M. Lucas, Diego Perez Liebana, Jialin Liu

Introduction

Artificial Intelligence has achieved remarkable success in games of perfect information like Chess and Go, as well as reactive environments like Atari. However, a significant middle ground remains relatively unexplored: multiplayer, stochastic, and partially observable board games. These games present unique challenges, such as large branching factors and the need to plan under uncertainty.

To address this, researchers have introduced Rinascimento, a highly flexible, parameterized framework based on the popular board game Splendor. This framework serves as a benchmark for evaluating Statistical Forward Planning (SFP) agents. A core contribution of this work is demonstrating that optimizing an algorithm's internal "knobs"—its hyper-parameters—is just as critical as the choice of the algorithm itself.

The Rinascimento Framework

The authors developed the Rinascimento (R) framework, a Java-based engine that replicates the mechanics of Splendor. Unlike static implementations, this engine is fully parameterized. Rules such as token counts, card costs, and victory conditions can be toggled to create a vast array of game variants, facilitating robust AI testing.

The Rinascimento framework provides a parameterized environment for Splendor, supporting high-speed simulations.

Efficiency is a hallmark of the Rinascimento engine. It is capable of simulating approximately 1.74 million states per second on standard hardware. This high throughput allows agents to explore millions of future possibilities within the constraints of a standard turn timer, making it an ideal environment for forward-model-based planning.

Statistical Forward Planning Agents

The study evaluates three primary SFP agents, each adapted to handle the combinatorial action space of Splendor:

  1. Branching Mutation Rolling Horizon Evolutionary Algorithm (BMRH): This evolutionary approach evolves sequences of actions. It utilizes a novel "branching mutation" strategy to better account for the game's stochastic nature during simulations.
  2. Seeding Rolling Horizon (SRH): Instead of evolving explicit action lists, SRH evolves "seeds" for a random action generator, providing a different way to explore the search space.
  3. Monte Carlo Tree Search (MCTS): A standard in AI planning, MCTS was adapted here using a Random Action Generator (RAG) to sample the action space effectively without needing to enumerate every possible legal move.

The Critical Role of Hyper-parameter Tuning

A common pitfall in AI research is the use of "default" or hand-picked parameters. The authors argue that an algorithm's true potential can only be measured through systematic hyper-parameter optimization. To achieve this, they employed the N-Tuple Bandit Evolutionary Algorithm (NTBEA) to automatically search for the best settings for each agent, including planning horizons, mutation rates, and exploration constants.

Fitness distribution across different agent configurations, highlighting the critical role of hyper-parameter tuning.

The results of this tuning process were stark. As shown in the fitness distribution plots, only a small fraction of configurations for agents like MCTS yielded high performance. The gap between a "default" agent and a "tuned" agent was substantial, proving that manual tuning is likely to miss the optimal configuration.

Key Insights and Results

The experiments revealed several counter-intuitive findings:

  • The Short Horizon Paradox: While deeper planning is often assumed to be better, the best-tuned agents in Splendor preferred a planning horizon of only two actions. In a highly stochastic environment where opponent moves and deck shuffles rapidly alter the state, planning too far ahead introduces more noise than useful signal.
  • Performance Benchmarks: After NTBEA tuning, the BMRH agent achieved a dominant 92.4% win rate against a One-Step Look Ahead (OSLA) baseline. MCTS followed closely with a 91.8% win rate. In head-to-head 4-player matches, BMRH and MCTS were nearly tied, both significantly outperforming the SRH variant.
  • Strategic Purpose: Random play in Splendor often leads to stalemates (where no player can make a legal move), occurring in 14.1% of games. The tuned SFP agents reduced this to just 1.39%, indicating they developed a coherent sense of strategy and long-term goals.

Limitations and Future Directions

While the tuned SFP agents show impressive performance, there is room for growth. Currently, the agents rely on simple heuristics, such as counting prestige points. Integrating more sophisticated value functions, perhaps through Deep Reinforcement Learning, could further enhance play.

Additionally, current agents assume opponents move randomly or not at all during simulations. Future work will focus on opponent modeling, allowing agents to predict and counter specific strategies, such as "hate-drafting" or blocking. Finally, the authors intend to use these tuned agents for Procedural Content Generation (PCG), using AI to automatically playtest and balance new game variants created within the Rinascimento framework.

Summary updated

BibTeX
@inproceedings{bravi2019rinascimento,
  author = {Ivan Bravi and Simon M. Lucas and Diego Perez Liebana and Jialin Liu},
  title = {{Rinascimento: Optimising Statistical Forward Planning Agents for Playing Splendor}},
  booktitle = {CoG},
  year = {2019},
  doi = {10.1109/cig.2019.8848028},
}
Figure