Autoformalization of Game Descriptions using Large Language Models
Mensfelt, Agnieszka, Stathis, Kostas, Trencsenyi, Vince
–arXiv.org Artificial Intelligence
Game theory is a powerful framework for reasoning about strategic interactions, with applications in domains ranging from day-to-day life to international politics. However, applying formal reasoning tools in such contexts is challenging, as these scenarios are often expressed in natural language. To address this, we introduce a framework for the autoformalization of game-theoretic scenarios, which translates natural language descriptions into formal logic representations suitable for formal solvers. Our approach utilizes one-shot prompting and a solver that provides feedback on syntactic correctness to allow LLMs to refine the code. We evaluate the framework using GPT-4o and a dataset of natural language problem descriptions, achieving 98% syntactic correctness and 88% semantic correctness. These results show the potential of LLMs to bridge the gap between real-life strategic interactions and formal reasoning.
arXiv.org Artificial Intelligence
Sep-18-2024
- Country:
- Asia > China (0.04)
- North America
- United States (0.04)
- Canada > Ontario
- Toronto (0.04)
- Europe
- United Kingdom (0.04)
- Spain > Catalonia
- Barcelona Province > Barcelona (0.04)
- Genre:
- Research Report (0.84)
- Industry:
- Leisure & Entertainment > Games (1.00)
- Technology: