Mathematical discoveries from program search with large language models - Archive ouverte HAL
Article Dans Une Revue Nature Année : 2023

Mathematical discoveries from program search with large language models

Bernardino Romera-Paredes
Mohammadamin Barekatain
Alexander Novikov
  • Fonction : Auteur
Matej Balog
M. Pawan Kumar
  • Fonction : Auteur
Emilien Dupont
  • Fonction : Auteur
Francisco Ruiz
Jordan Ellenberg
  • Fonction : Auteur
Pengming Wang
Pushmeet Kohli
Alhussein Fawzi

Résumé

Abstract Large language models (LLMs) have demonstrated tremendous capabilities in solving complex tasks, from quantitative reasoning to understanding natural language. However, LLMs sometimes suffer from confabulations (or hallucinations), which can result in them making plausible but incorrect statements. This hinders the use of current large models in scientific discovery. Here we introduce FunSearch (short for searching in the function space), an evolutionary procedure based on pairing a pretrained LLM with a systematic evaluator. We demonstrate the effectiveness of this approach to surpass the best-known results in important problems, pushing the boundary of existing LLM-based approaches. Applying FunSearch to a central problem in extremal combinatorics—the cap set problem—we discover new constructions of large cap sets going beyond the best-known ones, both in finite dimensional and asymptotic cases. This shows that it is possible to make discoveries for established open problems using LLMs. We showcase the generality of FunSearch by applying it to an algorithmic problem, online bin packing, finding new heuristics that improve on widely used baselines. In contrast to most computer search approaches, FunSearch searches for programs that describe how to solve a problem, rather than what the solution is. Beyond being an effective and scalable strategy, discovered programs tend to be more interpretable than raw solutions, enabling feedback loops between domain experts and FunSearch, and the deployment of such programs in real-world applications.
Fichier principal
Vignette du fichier
s41586-023-06924-6.pdf (1.94 Mo) Télécharger le fichier
Origine Fichiers éditeurs autorisés sur une archive ouverte
Licence

Dates et versions

hal-04682926 , version 1 (22-10-2024)

Licence

Identifiants

Citer

Bernardino Romera-Paredes, Mohammadamin Barekatain, Alexander Novikov, Matej Balog, M. Pawan Kumar, et al.. Mathematical discoveries from program search with large language models. Nature, 2023, 625 (7995), pp.468-475. ⟨10.1038/s41586-023-06924-6⟩. ⟨hal-04682926⟩
74 Consultations
0 Téléchargements

Altmetric

Partager

More