From Natural Language to Extensive-Form Game Representations
Not on the map. Why?
Abstract (arXiv)
We introduce a framework for translating game descriptions in natural language into extensive-form representations in game theory, leveraging Large Language Models (LLMs) and in-context learning. Given the varying levels of strategic complexity in games, such as perfect versus imperfect information, directly applying in-context learning would be insufficient. To address this, we introduce a two-stage framework with specialized modules to enhance in-context learning, enabling it to divide and conquer the problem effectively. In the first stage, we tackle the challenge of imperfect information by developing a module that identifies information sets along and the corresponding partial tree structure. With this information, the second stage leverages in-context learning alongside a self-debugging module to produce a complete extensive-form game tree represented using pygambit, the Python API of a recognized game-theoretic analysis tool called Gambit. Using this python representation enables the automation of tasks such as computing Nash equilibria directly from natural language descriptions. We evaluate the performance of the full framework, as well as its individual components, using various LLMs on games with different levels of strategic complexity. Our experimental results show that the framework significantly outperforms baseline models in generating accurate extensive-form games, with each module playing a critical role in its success.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 15 of its 50 references that are in the map. First posted on arXiv 28 Jan 2025.
Builds on
15 of 50 references.
References · 15
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2022A Survey on In-context Learningcited by 717
- 2023Exploring Large Language Models for Communication Games: An Empirical Study on Werewolfcited by 238
- 2023Improving Language Model Negotiation with Self-Play and In-Context Learning from AI Feedbackcited by 202
- 2023Can Large Language Models Serve as Rational Players in Game Theory? A Systematic Analysiscited by 91
- 2023Can ChatGPT Replace Traditional KBQA Models? An In-depth Analysis of the Question Answering Performance of the GPT LLM Familycited by 71
- 2023FlexKBQA: A Flexible LLM-Powered Framework for Few-Shot Knowledge Base Question Answeringcited by 51
- 2024Steering Language Models with Game-Theoretic Solverscited by 28
Built on by
Citing papers per year: 2025: 3; 2026: 3.
6 papers.
- 2025Game Theory Meets Large Language Models: A Systematic Survey with Taxonomy and New Frontierscited by 14
- 2025LLM-Powered Preference Elicitation in Combinatorial Assignmentcited by 7
- 2026GT-HarmBench: Benchmarking AI Safety Risks Through the Lens of Game Theorycited by 5
- 2026Distilling Game Code World Model Generation into Lightweight Large Language Modelscited by 4
- 2025Discovering Expert-Level Nash Equilibrium Algorithms with Large Language Modelscited by 1
- 2026Abstraction Agentcited by 1
- 2026Abstraction Agent3 Sep 2026
- 2026Distilling Game Code World Model Generation into Lightweight Large Language Models23 May 2026
- 2026GT-HarmBench: Benchmarking AI Safety Risks Through the Lens of Game Theory12 Feb 2026
- 2025Discovering Expert-Level Nash Equilibrium Algorithms with Large Language Models16 Aug 2025
- 2025LLM-Powered Preference Elicitation in Combinatorial Assignment14 Feb 2025
- 2025Game Theory Meets Large Language Models: A Systematic Survey with Taxonomy and New Frontiers13 Feb 2025