TL;DR
This paper introduces GameBench, a novel benchmark designed to evaluate the strategic reasoning capabilities of Large Language Models (LLMs) across a diverse set of games. Their findings reveal that even advanced LLMs like GPT-4 struggle to match human performance in strategic reasoning, highlighting the need for further development in this area.
What Problem Does This Paper Address?
While LLMs have shown impressive performance in many natural language tasks, their ability to engage in complex, strategic reasoning, especially in multi-agent environments, remains largely unevaluated. Existing benchmarks often focus on practical, in-distribution knowledge, which quickly becomes saturated as models improve. Strategic reasoning, crucial for generalizability and adapting to new contexts, requires optimizing objectives amidst potentially conflicting interests, often with incomplete information. The authors identify a lack of a comprehensive framework to assess LLM agents' strategic reasoning across various game types and reasoning skills, particularly in scenarios that are unlikely to be well-represented in pretraining data.
Methods
The authors introduce GameBench, a benchmark comprising nine distinct game environments. These games were selected to cover key reasoning skills found in strategy games and to ensure that strategy explanations are unlikely to be a significant part of LLMs' pretraining corpora, thus promoting out-of-distribution evaluation. They evaluate two prominent LLMs: GPT-3.5 and GPT-4. To assess the impact of reasoning enhancement techniques, they also test these models with two scaffolding frameworks:
- Chain-of-Thought (CoT) prompting: This technique encourages the LLM to generate intermediate reasoning steps before arriving at a final answer.
- Reasoning Via Planning (RAP): This more advanced scaffolding involves using the LLM to predict future states and actions within a Monte-Carlo tree search framework.
Agents are evaluated against each other, a random-action baseline, and a human baseline. Performance is measured using an exponential Bradley-Terry model, which estimates agent ratings based on pairwise match outcomes.
Datasets
The paper introduces GameBench, a newly curated benchmark consisting of nine game environments. These games were chosen for their diversity in reasoning requirements (abstract strategy, non-determinism, hidden information, language communication, social deduction, cooperation) and for being less likely to have extensive strategy guides or online forums, thus aiming for out-of-distribution evaluation. The games include: Air, Land, Sea (ALS); Arctic Scavengers (ARC); Are You the Traitor? (AYT); Codenames (CN); Hive (HV); Pit (PT); Santorini (SN); Two Rooms and a Boom (TRB); and Sea Battle (SB). The data collected from these games is made publicly available.
Key Insights and Ideas
- Human performance remains the gold standard: Even the most advanced LLM configurations tested fall significantly short of human strategic reasoning capabilities.
- Scaffolding matters, but doesn't bridge the gap: Both CoT and RAP significantly improve LLM performance compared to their base models, but not enough to reach human levels.
- GPT-4's sensitivity to specific games: GPT-4's performance can be surprisingly poor in certain games (e.g., Sea Battle), highlighting the limitations of simple aggregation methods and the need for more robust evaluation techniques.
- Model size and scaffolding interaction: GPT-4, being a larger model, seems to benefit more from CoT scaffolding than GPT-3.5, suggesting that larger models might be better equipped to leverage in-context information.
- Out-of-distribution evaluation is crucial: The selection of games less likely to be in pretraining data is key to understanding true strategic reasoning ability, rather than memorized strategies.
Key Results
- Human baseline consistently outperforms all LLM agents.
- CoT-augmented agents performed best among LLM configurations, followed by RAP-augmented GPT-4.
- Base GPT-3.5 performed on par with the random baseline.
- Base GPT-4 performed worse than the random baseline, largely due to poor performance in Sea Battle.
- GPT-4 with CoT scaffolding showed significant improvement over its base model, particularly in games like Sea Battle where it transformed from the worst to the best LLM agent.
- GPT-3.5 with CoT scaffolding was outperformed by its base model in some games (ALS, HV, TRB), indicating that scaffolding benefits can be game-dependent.
- RAP scaffolding generally provided less improvement compared to CoT for GPT-4.
Limitations and Future Work
- Protecting out-of-distribution status: The authors acknowledge that they did not actively prevent the selected games from becoming in-distribution in the future. Future work could involve curating environments that are explicitly held out from pretraining data.
- Sensitivity to games: The aggregation of results across games can be skewed by poor performance in a single game. Future work could explore more robust aggregation methods like factor analysis (g-factor) or multi-dimensional approaches that score agents on specific reasoning categories.
- Low-resolution human benchmark: Comprehensive human data was not collected due to resource constraints. Future work should involve collecting more extensive human data to establish a more accurate human baseline and measure progress.
- Uncaught edge cases: It's possible that some edge cases in the evaluation code went unnoticed. More human subjects in data collection could help identify such issues.
- Benchmark and dataset size: While GameBench is respectable, adding more games and agents would provide a richer picture. Future work could also involve evaluating more model and scaffolding configurations and collecting more data per configuration.
- GPT-3.5's refusal to answer: GPT-3.5 sometimes refused to answer prompts, making it difficult to measure the relative effect of RAP scaffolding on this model. This refusal is hypothesized to be due to hidden system prompting rather than a lack of ability.
- RAP depth: The authors suggest that the depth of the Monte-Carlo tree search for RAP might not have been sufficient to surpass CoT, and this could be tested further.
Summary updated