Introduction
In General Game Playing (GGP), the objective is to develop artificial intelligence capable of mastering any game without prior specific programming. A key component of this is transfer learning—the ability to apply knowledge from one domain (e.g., Chess) to another (e.g., Shogi). However, effectively leveraging transfer learning requires a robust method for quantifying the similarity between games. Researchers at Maastricht University have addressed this by developing a framework to measure the "distance" between board games using high-level concepts rather than raw rule sets.
Methodology and the Ludii System
The study utilizes the Ludii general game system, representing each game as a vector of 499 distinct concepts. These concepts are categorized into six areas: Properties, Equipment, Rules, Math, Visual, and Implementation. To ensure data consistency, the researchers applied a bi-symmetric log transformation to mitigate outliers and normalized the resulting values.
The core analysis compares two primary mathematical distance metrics:
- Normalised Cosine Distance: Focuses on the pattern of features, measuring the angle between game vectors.
- Normalised Euclidean Distance: Measures the straight-line distance, making it more sensitive to the magnitude of features and overall game complexity.
Natural Clustering of Games
Using t-SNE (t-distributed Stochastic Neighbor Embedding) for dimensionality reduction, the researchers identified four distinct "neighborhoods" within the Ludii database of 1,059 games.
These clusters represent specific mechanical families:
- Mancala-style: Defined by the unique "sowing" mechanic.
- Race/Stochastic: Games involving dice and tracks, such as Backgammon.
- Chess-like: Defined by complex piece movements and "threat" mechanisms.
- General Abstract: A large, diverse group of games that are more difficult to differentiate purely by high-level concepts.
Comparative Analysis of Distance Metrics
The choice of metric significantly impacts the perceived similarity between games. Euclidean distance tends to be higher when comparing complex games to simple ones, a phenomenon termed "Complexity Bias." Conversely, Cosine distance highlights the uniqueness of very simple games (like Rock-Paper-Scissors) because their mechanical signatures are sparse.
Across 560,211 unique game pairs, the researchers found a strong positive correlation (0.7574) between the two metrics, though they diverge at the extremes. For instance, logic puzzles (e.g., Sudoku) were found to be the most distant from traditional board games across both metrics, confirming their unique position in game design.
Conclusion and Future Directions
This study demonstrates that "similarity" is subjective and depends on the application. A recommender system might favor Cosine similarity to find games with a similar "vibe," while AI researchers might prefer Euclidean distance to identify games of comparable strategic depth.
Future work will aim to refine these measurements by moving beyond equal weighting of concepts—recognizing that a rule change is often more significant than a visual change—and by using expert AI play traces rather than random playouts to capture more nuanced behavioral data.
Summary updated