Discovering Expert-Level Nash Equilibrium Algorithms with Large Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Li, Hanyu, Li, Dongchen, Deng, Xiaotie
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912539697217536
author Li, Hanyu
Li, Dongchen
Deng, Xiaotie
author_facet Li, Hanyu
Li, Dongchen
Deng, Xiaotie
contents Algorithm design and analysis is a cornerstone of computer science, but it confronts a major challenge. Proving an algorithm's performance guarantee across all inputs has traditionally required extensive and often error-prone human effort. While AI has shown great success in finding solutions to specific problem instances, automating the discovery of general algorithms with such provable guarantees has remained a significant barrier. This challenge stems from the difficulty of integrating the creative process of algorithm design with the rigorous process of formal analysis. To address this gap, we propose LegoNE, a framework that tightly fuses these two processes for the fundamental and notoriously difficult problem of computing approximate Nash equilibria. LegoNE automatically translates any algorithm written by a simple Python-like language into a constrained optimization problem. Solving this problem derives and proves the algorithm's approximation bound. Using LegoNE, a state-of-the-art large language model rediscovered the state-of-the-art algorithm for two-player games within hours, a feat that had taken human researchers 15 years to achieve. For three-player games, the model discovered a novel algorithm surpassing all existing human-designed ones. This work demonstrates a new human-machine collaborative paradigm for theoretical science: humans reason at a higher-abstract level, using symbols to compress the search space, and AI explores within it, achieving what neither could alone.
format Preprint
id arxiv_https___arxiv_org_abs_2508_11874
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Discovering Expert-Level Nash Equilibrium Algorithms with Large Language Models
Li, Hanyu
Li, Dongchen
Deng, Xiaotie
Computer Science and Game Theory
Artificial Intelligence
Data Structures and Algorithms
Logic in Computer Science
Programming Languages
Algorithm design and analysis is a cornerstone of computer science, but it confronts a major challenge. Proving an algorithm's performance guarantee across all inputs has traditionally required extensive and often error-prone human effort. While AI has shown great success in finding solutions to specific problem instances, automating the discovery of general algorithms with such provable guarantees has remained a significant barrier. This challenge stems from the difficulty of integrating the creative process of algorithm design with the rigorous process of formal analysis. To address this gap, we propose LegoNE, a framework that tightly fuses these two processes for the fundamental and notoriously difficult problem of computing approximate Nash equilibria. LegoNE automatically translates any algorithm written by a simple Python-like language into a constrained optimization problem. Solving this problem derives and proves the algorithm's approximation bound. Using LegoNE, a state-of-the-art large language model rediscovered the state-of-the-art algorithm for two-player games within hours, a feat that had taken human researchers 15 years to achieve. For three-player games, the model discovered a novel algorithm surpassing all existing human-designed ones. This work demonstrates a new human-machine collaborative paradigm for theoretical science: humans reason at a higher-abstract level, using symbols to compress the search space, and AI explores within it, achieving what neither could alone.
title Discovering Expert-Level Nash Equilibrium Algorithms with Large Language Models
topic Computer Science and Game Theory
Artificial Intelligence
Data Structures and Algorithms
Logic in Computer Science
Programming Languages
url https://arxiv.org/abs/2508.11874