Benchmarking Zero-Shot LLM-Generated Parent Selection in Genetic Programming for Symbolic Regression
Hengzhe Zhang, Qi Chen, Bing Xue, Wolfgang Banzhaf, Mengjie Zhang
Abstract
Parent selection significantly affects exploration, exploitation, and complexity control in genetic programming (GP) for symbolic regression. It is unclear whether large language models (LLMs) can synthesize effective operators in a zero-shot setting without iterative meta-evolution. Here, zero-shot means that the model receives only the task description, with no reference operators or iterative feedback. In this work, we benchmark zero-shot synthesis of parent-selection operators across eight LLMs within a standard GP framework for symbolic regression. Each model receives the same natural-language prompt to generate a parent-selection operator, which is then evaluated in a standard GP framework with only the parent-selection operator replaced, while all other components and the evolutionary-search budget are held constant. For each LLM, ten independent zero-shot operators are evaluated on twelve OpenML regression benchmarks and compared against automatic lexicase and tournament selection baselines. Claude Sonnet~4.6 and Gemini~3.1 Pro stand out for consistently strong performance on both training and held-out test . The strongest operator in our benchmark---a Kimi~K2.5 zero-shot synthesis---surpasses the automatic lexicase and tournament baselines in search effectiveness. These results suggest that zero-shot LLM synthesis is a viable approach to generating competitive GP selection operators. Analysis shows that many generated operators use semantics to guide selection, suggesting that LLMs can produce non-trivial search heuristics from the task description alone. We also examine the relationship between public LLM leaderboard rankings and GP performance. Widely used benchmarks, such as Humanity's Last Exam and SWE-bench Verified, strongly correlate with training , while their relationship to held-out test is weaker and less clear.
Create a lesson
Metadata
- Comments
- Accepted at PPSN 2026
Related papers
TSGP-2: On the Non-Linearity of Symbolic Regression Problems and How to Exploit It with Model-based Semantic Genetic Programming
Shared title terminologycs.NEPhilipp Anthes, Alina Geiger, Martin Briesch et al.
Efficient Constant Optimization for Symbolic Regression with GPU-Accelerated Tree-Based Genetic Programming
Shared title terminologycs.NEHao Mao, Xu Tony Liu, Shuai Lu et al.
Automating Parent Selection Configuration in Genetic Programming with Agentic AI
Shared title terminologycs.NEJose Guadalupe Hernandez, Jui-Hsuan Chang, Anil Kumar Saini et al.
Analysis of Memory-Runtime Trade-offs in Caching Strategies for Genetic Programming Symbolic Regression
Shared title terminologycs.NEJiaming Shi, Kei Sen Fong, Mehul Motani
Evaluation of Population Initialization Methods for Genetic Programming-based Symbolic Regression
Shared title terminologycs.NELukas Kammerer, Gabriel Kronberger, Deaglan J. Bartlett et al.
Speeding up Automated Algorithm Design by Batch Evaluation: A Case Study of Genetic Programming for Ant Colony Optimisation
Shared title terminologycs.NEBo-Cheng Lin, Yi Mei, Mengjie Zhang