ImageNet classification with deep convolutional neural networks
Alex Krizhevsky, Ilya Sutskever et al.
1.1k
Citations
49
Influential Citations
Nature
Venue
2023
Year
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 1,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 approaches 3 . 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.
This paper is a landmark demonstration that large language models can go beyond pattern matching and confabulation to make genuine scientific discoveries. By pairing an LLM with a systematic evaluator in an evolutionary loop, the authors show that LLMs can solve open problems in extremal combinatorics—a domain traditionally requiring deep human insight. The cap set problem, a central question in additive combinatorics, had resisted improvement for years; FunSearch found new constructions that beat the best-known results. This challenges the prevailing view that LLMs are limited to tasks with clear ground truth or that they cannot contribute to formal mathematics.
Moreover, the paper introduces a general framework—FunSearch—that is not tied to a specific problem. The same method yields improved heuristics for online bin packing, a practical algorithmic challenge. This generality suggests that LLM-guided program search could become a standard tool in scientific computing and optimization.
This work opens a new paradigm for AI-assisted scientific discovery. By combining the generative power of LLMs with rigorous evaluation, FunSearch demonstrates that LLMs can contribute to formal mathematics and algorithm design—fields where correctness is paramount. The interpretable program output also enables a collaborative loop where human experts can refine and build upon AI-generated ideas. For AI practitioners, this paper provides a blueprint for using LLMs in high-stakes, verifiable domains beyond natural language tasks. The approach is likely to be extended to other combinatorial problems, optimization tasks, and even theorem proving, potentially accelerating progress in mathematics and computer science.
Alex Krizhevsky, Ilya Sutskever et al.
Ashish Vaswani, Noam Shazeer et al.
Douglas M. Bates, Martin Mächler et al.
Diederik P. Kingma, Jimmy Ba