Abstract
Large language models have demonstrated remarkable few-shot performance on many natural language understanding tasks. Despite several demonstrations of using large language models in complex, strategic scenarios, there lacks a comprehensive framework for evaluating agents' performance across various types of reasoning found in games. To address this gap, we introduce GameBench, a cross-domain benchmark for evaluating strategic reasoning abilities of LLM agents. We focus on 9 different game environments, where each covers at least one axis of key reasoning skill identified in strategy games, and select games for which strategy explanations are unlikely to form a significant portion of models' pretraining corpuses. Our evaluations use GPT-3 and GPT-4 in their base form along with two scaffolding frameworks designed to enhance strategic reasoning ability: Chain-of-Thought (CoT) prompting and Reasoning Via Planning (RAP). Our results show that none of the tested models match human performance, and at worst GPT-4 performs worse than random action. CoT and RAP both improve scores but not comparable to human levels.
Introduction
While Large Language Models (LLMs) excel at natural language tasks, their ability to act as autonomous agents in complex, multi-player environments remains a significant challenge. Existing benchmarks often rely on popular games like Chess or Poker. However, these games are so well-documented online that LLMs may rely on memorized strategy guides from their pretraining data rather than genuine reasoning. To address this "data contamination," GameBench curates a suite of obscure board, card, and social deduction games to measure true strategic reasoning: the ability to optimize for an objective while accounting for hidden information and the unpredictable moves of other players.
The GameBench Benchmark
The GameBench suite consists of 9 games specifically chosen because they lack extensive online strategy forums. These games are categorized by the specific reasoning skills they require, ensuring a broad evaluation of agent capabilities.
By selecting games like Hive, Santorini, and Are You the Traitor?, the benchmark forces models to rely on zero-shot reasoning based on the provided rules rather than historical game data.
Methodology
We evaluated GPT-3.5 and GPT-4 using three distinct prompting strategies:
- Base Models: Direct prompting for the next move.
- Chain-of-Thought (CoT): Encouraging the model to generate intermediate reasoning steps before selecting an action.
- Reasoning Via Planning (RAP): A framework utilizing Monte Carlo Tree Search (MCTS) where the model predicts and evaluates future states to find an optimal path.
To rank these agents, we utilized the Bradley-Terry model, a statistical method for predicting outcomes in pairwise comparisons, which provides a more robust measure of fixed-skill performance than standard Elo systems.
Results and Analysis
The evaluation results provide a stark reality check for current LLM capabilities. Across all categories, human players significantly outperformed all artificial agents.
Key Findings
- The Scaffolding Necessity: Base models performed poorly, with GPT-4 actually performing worse than a random action selector in its base form (scoring -0.89 vs. -0.50 for random). This was driven by total failures in complex games like Sea Battle. However, adding CoT or RAP significantly boosted performance. GPT-4 with CoT emerged as the top-performing LLM configuration with a rating of 0.16.
- The RAP Paradox: Surprisingly, the more complex RAP framework did not consistently outperform simple CoT. This is likely due to "compounding errors," where small mistakes in predicting future game states snowball as the search tree deepens.
- Cognitive Similarity: In Codenames, LLM agents demonstrated better performance when paired with other LLMs than with humans, suggesting a shared internal logic or "language" among models that differs from human intuition.
Conclusion
GameBench demonstrates that while LLMs are improving in structured reasoning, they remain far below human levels in strategic play. The human baseline (1.76) remains the gold standard. Future work will involve expanding the human dataset and continuously updating the benchmark with new, obscure games to stay ahead of the evolving training data of future models.
Summary updated