arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.17282cs.AIcs.CLcs.GTcs.MA
收藏

从自然语言到扩展型博弈表示

From Natural Language to Extensive-Form Game Representations

University of Liverpool(利物浦大学);The Alan Turing Institute(阿兰·图灵研究所)

Shilong Deng, Yongzhao Wang, Rahul Savani

AI总结:

本文提出一种基于LLM和上下文学习的两阶段框架,通过识别信息集和自调试模块,将自然语言博弈描述转换为pygambit扩展型博弈树,实现Nash均衡自动计算,显著优于基线模型。

摘要:

我们引入了一个框架,利用大型语言模型(LLMs)和上下文学习,将自然语言中的博弈描述翻译为博弈论中的扩展型表示。鉴于博弈中战略复杂性的不同水平,如完美信息与不完美信息,直接应用上下文学习是不够的。为了解决这个问题,我们引入了一个带有专门模块的两阶段框架来增强上下文学习,使其能够有效地分而治之。在第一阶段,我们通过开发一个模块来应对不完美信息的挑战,该模块识别信息集及相应的部分树结构。有了这些信息,第二阶段利用上下文学习和自调试模块,生成使用pygambit表示的完整扩展型博弈树,pygambit是名为Gambit的公认博弈论分析工具的Python API。使用这种Python表示能够实现任务的自动化,例如直接从自然语言描述计算Nash均衡。我们使用各种LLMs在不同战略复杂性的博弈上评估了整个框架及其各个组件的性能。实验结果表明,该框架在生成准确的扩展型博弈方面显著优于基线模型,每个模块在其成功中发挥了关键作用。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑