LLM-Driven Evolutionary Program Search: From FunSearch to Automated Scientific Discovery
Abstract
Large language models (LLMs) suffer from logical illusions, while evolutionary algorithms (EAs) face search blindness in program generation. The LLM + EA paradigm addresses these issues.This paper systematically discusses its core technologies: program search space representation, memory-based semantic mutation, hierarchical evaluation feedback, and island population management. Using the car movement problem as a case study, it shows how historical code injection, multi‑objective evolution, and distributed islands evolve an effective and interpretable control strategy. It also constructs a multi-dimensional evaluation system (objective performance + subjective interpretability), and compares methods such as AlphaEvolve, ShinkaEvolve, and OpenEvolve in combinatorial optimization, mathematical algorithm discovery, and software engineering, including new matrix multiplication algorithms and GPU kernel optimization.Finally, it identifies challenges (credibility illusion, dimension disaster, black-box interpretability, data leakage) and future directions (formal verification, context expansion, enhanced interpretability). This paper provides a systematic framework for LLM-driven evolutionary program search, pushing automated scientific discovery from "generative" to "verifiable".
References
- Yang D, Liu T, Zhang D, et al. Code to think, think to code: A survey on code-enhanced reasoning and reasoning-driven code intelligence in llms [C]//Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing. 2025: 2586-2616.
- Billah M M. Large Language Models for Code Generation and Program Comprehension: Exploring Capabilities, Context, and Developer Adaptation [D]. , 2025.
- Wu X, Wu S H, Wu J, et al. Evolutionary computation in the era of large language model: survey and roadmap 2024 [EB/OL]. arXiv preprint arXiv: 2401.10034
- Lange R T, Imajuku Y, Cetin E. Shinkaevolve: Towards open-ended and sample-efficient program evolution [J]. arXiv preprint arXiv: 2509.19349, 2025.
- Abhyankar N, Kabra S, Desai S, et al. Accelerating materials design via LLM-guided evolutionary search [J]. arXiv preprint arXiv: 2510.22503, 2025.
- Ozdemir S. Quick start guide to large language models: strategies and best practices for using ChatGPT and other LLMs [M]. Addison-Wesley Professional, 2023.
- Lu Q, Yuan Q, Li D, et al. Embedding neural sampling and adversarial bandit into gene expression programming for symbolic regression [J]. Applied Soft Computing, 2025: 113718.
- Ran N, Li Z, Wang Y, et al. MCCE: A Framework for Multi-LLM Collaborative Co-Evolution [J]. arXiv preprint arXiv: 2510.06270, 2025.
- Beel J, Kan M Y, Baumgart M. Evaluating Sakana's AI Scientist: Bold Claims, Mixed Results, and a Promising Future? [C]//ACM SIGIR Forum. New York, NY, USA: ACM, 2025, 59(1): 1-20.
- Abed-alguni B H, Paul D. Island-based Cuckoo Search with elite opposition-based learning and multiple mutation methods for solving optimization problems [J]. Soft Computing, 2022, 26(7): 3293-3312.
- Dziurzanski P, Zhao S, Przewozniczek M, et al. Scalable distributed evolutionary algorithm orchestration using Docker containers [J]. Journal of Computational Science, 2020, 40: 101069.
- Pourcel J, Colas C, Oudeyer P Y. Self-improving language models for evolutionary program synthesis: A case study on ARC-AGI [J]. arXiv preprint arXiv: 2507.14172, 2025.
- Hu Q, Tong X, Yuan M, et al. Multimodal LLM-assisted Evolutionary Search for Programmatic Control Policies [J]. arXiv preprint arXiv: 2508.05433, 2025.
- Singhal K, Shroff G. ConceptSearch: Towards Efficient Program Search Using LLMs for Abstraction and Reasoning Corpus (ARC) [C]//Proceedings of the AAAI Conference on Artificial Intelligence. 2025, 39(19): 20506-20513.
- Nian J, Li F, Park D H, et al. RankEvolve: Automating the Discovery of Retrieval Algorithms via LLM-Driven Evolution [J]. arXiv preprint arXiv: 2602.16932, 2026.
- Lopes C L V, da Silva L M. Assessing an evolutionary search engine for small language models, prompts, and evaluation metrics [C]//Brazilian Conference on Intelligent Systems. Cham: Springer Nature Switzerland, 2025: 120-134.
- Shang N, Zhang L L, Wang S, et al. Longrope2: Near-lossless llm context window scaling [J]. arXiv preprint arXiv: 2502.20082, 2025.