Modular Discovery of General Game-Playing Algorithms with Large Language Models
Abstract
General Game Playing across arbitrary games from rules alone remains challenging due to differing algorithmic requirements across game classes and strict decision-time constraints. Rather than hand-designing search heuristics for specific domains, can we leverage Large Language Models (LLMs) to discover general game-playing algorithms? Because language models can propose and refactor structured code, they provide an expressive proposal engine for exploring the space of algorithmic designs. We introduce a multi-agent LLM meta-learning system to co-evolve game-agnostic procedural search mechanisms in C++ alongside domain heuristics synthesized directly from game rules. Controlling the compute budget, we benchmark the discovered mechanisms across more than 400 diverse environments, including OpenSpiel training and held-out games, procedural simulation engines, and games with deep neural policy-value representations trained via PPO. Evaluated via AlphaRank stationary distributions and Soft Condorcet Optimization (SCO) against 15 established MCTS baselines, the discovered search mechanisms consistently achieve top-tier ratings and pairwise ballot majorities over most baselines across independent evolutionary runs, generalizing to unseen human-designed and procedurally synthesized games and remaining competitive with baselines on frozen neural network representations.
Create a lesson
Metadata
- Categories
- cs.AI, cs.GT, cs.MA
Related papers
LimoBench: How Street Smart Are Large Language Models?
Shared title terminologycs.AIGautam Choudhary, Jack Peng, Udesh Kumarasinghe et al.
Learning Heterogeneous Reasoning in Large Language Models: From Mode Compatibility to Local Bottlenecks
Shared title terminologycs.AISunbowen Li, Dandan Song, Shengkun Ma et al.
Tool Mediation Alters Refusal Mechanisms in Large Language Models
Shared title terminologycs.AIAbel Rodríguez, Giuseppe Garofalo, Lieven Desmet et al.
What Drives Citations in Production Large Language Models? An Observational Multi-Method Study of Two Million AI Citations Across Ten Thousand Web Pages
Shared title terminologycs.AIBen Moore, Liam Dunne
Simulating Respondents, Not Single Questions: Coherent Survey Generation with Large Language Models
Shared title terminologycs.AIJi Huang, Mengfei Li, Shuai Shao
SeLMRoute: Probabilistic Semantic Evidence for Large Language Model Routing
Shared title terminologycs.AIVasilis Perifanis, Nikolaos Pavlidis, Symeon Symeonidis