FunSearch
FunSearch (short for searching in the function space) is an artificial intelligence method developed by Google DeepMind for discovering computer programs that solve mathematical and algorithmic problems. It combines a large language model with an automated evaluator and an evolutionary search procedure, generating candidate programs, scoring them, and using high-performing programs to produce new candidates. Google DeepMind announced FunSearch in 2023, and the associated paper was published in Nature. The system was applied to the cap set problem in extremal combinatorics and to the online bin packing problem, where it found new mathematical constructions and new packing heuristics.
FunSearch (short for searching in the function space) is an artificial intelligence method developed by Google DeepMind for discovering computer programs that solve mathematical and algorithmic problems. It combines a large language model with an automated evaluator and an evolutionary search procedure, generating candidate programs, scoring them, and using high-performing programs to produce new candidates. Google DeepMind announced FunSearch in 2023, and the associated paper was published in Nature. The system was applied to the cap set problem in extremal combinatorics and to the online bin packing problem, where it found new mathematical constructions and new packing heuristics. D \leftarrow \{(f_0, S(f_0))\} f' \sim \operatorname{LLM}(\operatorname{prompt}(f_1,\ldots,f_k)), \quad (f_i, S(f_i)) \in D \text{if } f' \text{ is valid, then } D \leftarrow D \cup \{(f', S(f'))\}. The idealized objective is to find a candidate function with a high evaluator score, f^* \in \operatorname*{arg\,max}_{f \in \mathcal{F}} S(f), although in practice FunSearch returns the best valid function discovered during the search. The original implementation uses an island-based evolutionary process to preserve diversity among candidate functions while favoring higher-scoring programs.
References
No reference rows published for this article.
Cite this article
MLA
"FunSearch." encyclopegia.org, 2026, https://encyclopegia.org/wiki/funsearch. Accessed 24 November 2026.
Chicago
"FunSearch." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/funsearch.
APA
encyclopegia.org. (2026). FunSearch. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/funsearch
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON