Strategic Features for General Games

Cameron Browne, Dennis J. N. J. Soemers, Éric Piette

Introduction

General Game Playing (GGP) aims to create artificial intelligence capable of playing any board game without prior knowledge of its rules. This research, conducted as part of the Digital Ludeme Project at Maastricht University, focuses on developing a system to analyze and reconstruct 1,000 influential traditional games. A core challenge in this endeavor is the vast diversity of game geometries, ranging from standard square grids to complex hexagonal or triangular tilings.

The Challenge of Geometry-Dependent Features

Traditional game-playing AIs often rely on hard-coded features—specific patterns like "three-in-a-row"—that are tied to a fixed coordinate system (e.g., an 8x8 square board). For the Digital Ludeme Project, which evaluates thousands of games with varying topologies, manually designing features is infeasible. The researchers sought a method to automate feature discovery that remains geometry-independent, allowing strategies learned on one board shape to transfer to another.

Methodology: Graph-Based Walks and Fractional Turns

The authors utilize the Ludii general game system, enhancing its Monte Carlo Tree Search (MCTS) engine with a novel syntax for strategic features. Instead of absolute coordinates, patterns are defined as "walks" on a graph using "turtle commands."

Fractional turn notation for geometry-independent navigation.

As shown in Figure 3, the system employs a fractional turn notation to normalize directions across different polygons. For instance, a "right turn" is defined relative to the number of edges meeting at a vertex, enabling consistent navigation regardless of whether the board is composed of triangles, squares, or hexagons.

Strategic Transfer and Walk Notation

By defining moves as relative sequences of steps and turns, complex maneuvers can be generalized. A classic example is the Knight's move in Chess.

Representing a Knight's move as a sequence of relative steps (walks).

In Figure 4, the Knight's move is decomposed into a "walk" (two steps forward, one step perpendicular). This abstraction allows the same strategic logic to be mapped onto non-square grids, such as semi-regular 3.4.6.4 tilings, without retraining the AI.

Reactive vs. Proactive Patterns

The system distinguishes between two types of strategic patterns:

  1. Reactive Patterns: Immediate responses to an opponent's last move. These are computationally efficient as they only scan the local area of the most recent change.
  2. Proactive Patterns: General strategic goals that consider the entire board state.

The researchers found that biasing the AI toward reactive patterns significantly improves efficiency. Furthermore, by using "ludemes"—the fundamental building blocks of game rules—the system can prune the search space, focusing only on patterns that are strategically relevant to the specific game's mechanics.

Results and Explainability

The primary contribution of this work is architectural. The authors demonstrated that lightweight features can encode complex concepts like "bridge completion" in Hex or "thin group formation." Because these features are built from human-readable "ludemes," the AI can explain its strategies in plain English (e.g., "make lines of 4"), bridging the gap in Explainable AI (XAI) for historical game analysis.

Conclusion and Future Work

While the system successfully maps strategies across diverse geometries, the computational cost of mining optimal features from millions of self-play games remains a hurdle. Future research will focus on optimizing this extraction process and refining the explainability mechanisms to assist historians in understanding the nuances of ancient gameplay.

Summary updated

BibTeX
@inproceedings{browne2019strategic,
  author = {Cameron Browne and Dennis J. N. J. Soemers and Éric Piette},
  title = {{Strategic Features for General Games}},
  booktitle = {KEG @ AAAI},
  year = {2019},
  url = {https://openreview.net/forum?id=Sy-7MJbObH},
}
Figure