{"id":"arxiv:2409.12300","kind":"preprint","title":"Autoformalization of Game Descriptions using Large Language Models","authors":["Agnieszka Mensfelt","Kostas Stathis","Vince Trencsenyi"],"author_count":3,"year":2024,"published":"2024-09-18","venue":null,"cited_by":null,"doi":null,"arxiv_id":"2409.12300","nct_id":null,"source_url":"https://arxiv.org/abs/2409.12300","archive_url":"https://space-kitty.com/papers/arxiv:2409.12300","updated":"2024-09-18","pmid":null,"pmcid":null,"openalex_id":null,"pdf_url":"https://arxiv.org/pdf/2409.12300","abstract":"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.","abstract_license":"CC0-1.0 (arXiv descriptive metadata)","license":null,"is_open_access":false,"retracted":false,"peer_reviewed":false,"categories":["cs.AI","cs.GT"],"details":null,"provenance":"arxiv","attribution":"Abstract: arXiv descriptive metadata (CC0). Thank you to arXiv for use of its open access interoperability. This service was not reviewed or approved by, nor does it necessarily express or reflect the policies or opinions of, arXiv.","topics":[],"cited_in_dossiers":[]}