Journal article · 2023 · Open access

Mathematical discoveries from program search with large language models

Bernardino Romera‐Paredes, Mohammadamin Barekatain, Alexander Novikov, Matej Balog, Manish Kumar, Emilien Dupont, Francisco J. R. Ruiz, Jordan S. Ellenberg, Pengming Wang, Omar Fawzi, Pushmeet Kohli, Alhussein Fawzi

Nature, 625(7995), 468–475 · Published 14 December 2023 · DOI 10.1038/s41586-023-06924-6

Open PDFView at the publisherCite this paper

In brief

“Mathematical discoveries from program search with large language models” is a 2023 journal article by Bernardino Romera‐Paredes and 11 co-authors, published in Nature. OpenAlex counts 2,422 citations as of 30 November 2026, which puts it in the top 1% of works published in 2023 by citations. It is open access under a CC BY licence: the full text is free to read at Nature.

Citations
2,422
Most cited in
2026 (1,656)
Field-weighted impact
129.72
References
82
Authors
12

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 statements1,2. 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 approaches3. 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.

Cite this paper

Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.

APA 7

Romera‐Paredes, B., Barekatain, M., Novikov, A., Balog, M., Kumar, M., Dupont, E., Ruiz, F. J. R., Ellenberg, J. S., Wang, P., Fawzi, O., Kohli, P., & Fawzi, A. (2023). Mathematical discoveries from program search with large language models. Nature, 625(7995), 468–475. https://doi.org/10.1038/s41586-023-06924-6

MLA 9

Romera‐Paredes, Bernardino, et al. “Mathematical discoveries from program search with large language models.” Nature, vol. 625, no. 7995, 2023, pp. 468–475. https://doi.org/10.1038/s41586-023-06924-6.

Chicago

Romera‐Paredes, Bernardino, Mohammadamin Barekatain, Alexander Novikov, Matej Balog, Manish Kumar, Emilien Dupont, Francisco J. R. Ruiz, et al. 2023. “Mathematical discoveries from program search with large language models.” Nature 625 (7995): 468–475. https://doi.org/10.1038/s41586-023-06924-6.

Harvard

Romera‐Paredes, B. et al. (2023) ‘Mathematical discoveries from program search with large language models’, Nature, 625(7995), pp. 468–475. doi:10.1038/s41586-023-06924-6.

IEEE

B. Romera‐Paredes et al., “Mathematical discoveries from program search with large language models,” Nature, vol. 625, no. 7995, pp. 468–475, 2023, doi: 10.1038/s41586-023-06924-6.

BibTeX

@article{romeraparedes2023mathematical,
  title     = {{Mathematical discoveries from program search with large language models}},
  author    = {Romera‐Paredes, Bernardino and Barekatain, Mohammadamin and Novikov, Alexander and Balog, Matej and Kumar, Manish and Dupont, Emilien and Ruiz, Francisco J. R. and Ellenberg, Jordan S. and Wang, Pengming and Fawzi, Omar and Kohli, Pushmeet and Fawzi, Alhussein},
  journal   = {Nature},
  year      = {2023},
  volume    = {625},
  number    = {7995},
  pages     = {468--475},
  doi       = {10.1038/s41586-023-06924-6},
  url       = {https://doi.org/10.1038/s41586-023-06924-6}
}

Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)

Citations by year

YearCitationsShare of the best year
202377
2024227227
2025532532
20261,6561656

Its field-weighted citation impact is 129.72: it has been cited 129.72 times as often as the average work of the same field, type and year (1.00 is the world average).

Topic and keywords

Physical Sciences › Computer Science › Artificial Intelligence › Evolutionary Algorithms and Applications

  • large language models
  • program search
  • evolutionary search
  • LLM hallucination
  • extremal combinatorics
  • online bin packing
  • heuristics
  • interpretable algorithms

Work with this paper

Most-cited papers in Computer Science

All highly cited Computer Science papers

Questions about this paper

How do I cite this paper in APA style?

Romera‐Paredes, B., Barekatain, M., Novikov, A., Balog, M., Kumar, M., Dupont, E., Ruiz, F. J. R., Ellenberg, J. S., Wang, P., Fawzi, O., Kohli, P., & Fawzi, A. (2023). Mathematical discoveries from program search with large language models. Nature, 625(7995), 468–475. https://doi.org/10.1038/s41586-023-06924-6

How many times has this paper been cited?

2,422 times, according to OpenAlex on 30 November 2026. Google Scholar and Scopus count different sets of sources, so their numbers differ.

Is this paper free to read?

Yes. It is open access at Nature: sign in and open the PDF from this page.

Who wrote this paper?

Bernardino Romera‐Paredes, Mohammadamin Barekatain, Alexander Novikov, Matej Balog, Manish Kumar, Emilien Dupont, Francisco J. R. Ruiz, Jordan S. Ellenberg, Pengming Wang, Omar Fawzi, Pushmeet Kohli, Alhussein Fawzi.

What is the DOI of this paper?

10.1038/s41586-023-06924-6, permanently at https://doi.org/10.1038/s41586-023-06924-6. Sign in and open it from this page.

Bibliographic data from OpenAlex (CC0), last checked 30 November 2026. ResearchGuru does not host this paper; once you are signed in, the links open it at the publisher or the repository that does.