mlsanityData to 7 Oct 2026

From Natural Language to Extensive-Form Game Representations

arXiv 2501.17282 ↗First posted 28 Jan 2025cs.AI cs.CL cs.GTcited by 6

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

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2024The Llama 3 Herd of Modelscited by 14,192
  4. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  5. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  6. 2022A Survey on In-context Learningcited by 717
  7. 2023Exploring Large Language Models for Communication Games: An Empirical Study on Werewolfcited by 238
  8. 2023Improving Language Model Negotiation with Self-Play and In-Context Learning from AI Feedbackcited by 202
  9. 2023Can Large Language Models Serve as Rational Players in Game Theory? A Systematic Analysiscited by 91
  10. 2023Can ChatGPT Replace Traditional KBQA Models? An In-depth Analysis of the Question Answering Performance of the GPT LLM Familycited by 71
  11. 2023FlexKBQA: A Flexible LLM-Powered Framework for Few-Shot Knowledge Base Question Answeringcited by 51
  12. 2024Steering Language Models with Game-Theoretic Solverscited by 28
3 more
  1. 2023Cooperation on the Fly: Exploring Language Agents for Ad Hoc Teamwork in the Avalon Gamecited by 27
  2. 2024Large Language Models Playing Mixed Strategy Nash Equilibrium Gamescited by 9
  3. 2024Charting the Shapes of Stories with Game Theorycited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 3; 2026: 3.

6 papers.