Skip to content
Book Open access

Semantic Mutation via LLMs: A Hybrid Approach to Evolutionary Program Synthesis

Jul 2026 · Proceedings of the Genetic and Evolutionary Computation Conference Companion · 0 citations · 16 references

TL;DR

This work proposes a hybrid framework that integrates Large Language Models into GP in two complementary roles: as a semantic mutation operator that proposes non-local program rewrites during evolution, and as a post-evolution repair that iteratively refines single failed programs after search terminates.

Abstract

Program synthesis over combinatorial Domain-Specific Language (DSL) spaces is challenging because the search space is vast and small program edits rarely produce meaningful semantic changes. Genetic Programming (GP) offers an interpretable framework for this kind of task, but its mutation operators make purely structural changes without understanding task semantics, causing it to frequently stall in local optima. To mitigate this, we propose a hybrid framework that integrates Large Language Models (LLMs) into GP in two complementary roles: as a semantic mutation operator that proposes non-local program rewrites during evolution, and as a post-evolution repair that iteratively refines single failed programs after search terminates. All LLM outputs are treated as untrusted and filtered through grammar constraints and typed parsing before entering the population. Evaluated on the Abstraction and Reasoning Corpus (ARC-AGI-1), our framework solves 85 out of 400 tasks, raising pixel accuracy from 54% to 74%.

Read PDF

Similar papers

Preprint Aug 2026

ELMER: Evolutionary Language Model that Explores and Refines

This work introduces an Evolutionary Language Model that searches over natural-language policy descriptions and compiles typed programs for execution and shows that language can serve as a steerable, execution-grounded search representation over executable program space.

Matthew Siper, A. Khalifa, Julian Togelius · 0 citations
Book Open access Jul 2026

From Prompts to Pareto Fronts: Using Code LMs as Semantic Genetic Operators for Compiler Bug Discovery

Differential compiler testing requires automatically generated programs that are not only diverse and bug-revealing, but also semantically well-defined and reproducible. Rule-based generators provide strong validity guarantees but offer limited control over semantic variation, while large language models (LLMs) can syn...

Lang Hong Nguyet Anh, Ho Viet Duc Luong, Vu Van An · 0 citations
Preprint Jul 2026

Semantic-aware and Self-improving Program Reduction via Agentic Large Language Models

Reducing bug-triggering programs to their minimal essential form is a fundamental task in debugging language processors such as compilers and interpreters. Existing reduction techniques are limited by their reliance on predefined, syntax-driven transformations that lack semantic understanding of the target program, and...

Xintong Zhou, Hongxu Xu, Chun-Feng Liao et al. · 0 citations
Jul 2026

LLM-Guided Evolutionary Search for Constraint Model Reformulation to Improve Solver Efficiency

Combinatorial problems appear in numerous industrial applications. A common approach is to formulate these problems as declarative constraint models that can subsequently be compiled to and solved by a range of back-end solvers. Recent work shows that Large Language Models (LLMs) can produce correct models from natural...

Kostis Michailidis, Dimos Tsouros, Dang Nguyen et al. · 0 citations
Jun 2026

AlgoEvolve: LLM-driven Meta-evolution of Algorithmic Trading Programs

AlgoEvolve is presented, an LLM-driven evolutionary framework that generates, evaluates, and iteratively improves executable trading strategies, and introduces a meta-evolutionary outer loop that evolves the prompts guiding program synthesis in the inner loop.

Dhruv Sharma, Gautam Shroff · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.