Code Evolution Graphs: Understanding Large Language Model Driven Design of Algorithms
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) have demonstrated great promise in generating code, especially when used inside an evolutionary computation framework to iteratively optimize the generated algorithms. However, in some cases they fail to generate competitive algorithms or the code optimization stalls, and we are left with no recourse because of a lack of understanding of the generation process and generated codes. We present a novel approach to mitigate this problem by enabling users to analyze the generated codes inside the evolutionary process and how they evolve over repeated prompting of the LLM. We show results for three benchmark problem classes and demonstrate novel insights. In particular, LLMs tend to generate more complex code with repeated prompting, but additional complexity can hurt algorithmic performance in some cases. Different LLMs have different coding ``styles'' and generated code tends to be dissimilar to other LLMs. These two findings suggest that using different LLMs inside the code evolution frameworks might produce higher performing code than using only one LLM.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 1 of its 5 references that are in the map. First posted on arXiv 20 Mar 2025.
Builds on
1 of 5 references.
References · 1
Built on by
Citing papers per year: 2025: 6; 2026: 4.
10 papers.
- 2025BLADE: Benchmark suite for LLM-driven Automated Design and Evolution of iterative optimisation heuristicscited by 9
- 2025A Systematic Survey on Large Language Models for Evolutionary Optimization: From Modeling to Solvingcited by 9
- 2025Fitness Landscape of Large Language Model-Assisted Automated Algorithm Searchcited by 8
- 2026PathWise: Planning through World Model for Automated Heuristic Design via Self-Evolving LLMscited by 5
- 2025Behaviour Space Analysis of LLM-driven Meta-heuristic Discoverycited by 4
- 2025Large Language Models in Operations Research: Methods, Applications, and Challengescited by 4
- 2026Mutation Without Variation: Convergence Dynamics in LLM-Driven Program Evolutioncited by 4
- 2025Behavior and Representation in Open-Weight Large Language Models for Combinatorial Optimization: From Feature Extraction to Algorithm Selectioncited by 0
- 2026LLaMEA-SAGE: Guiding Automated Algorithm Design with Structural Feedback from Explainable AIcited by 0
- 2026MOSAIC: Adversarial Co-evolution of Specialist Heuristics and Problem Instances for LLM-based Automated Heuristic Designcited by 0
- 2026MOSAIC: Adversarial Co-evolution of Specialist Heuristics and Problem Instances for LLM-based Automated Heuristic Design31 Jul 2026
- 2026Mutation Without Variation: Convergence Dynamics in LLM-Driven Program Evolution3 Jun 2026
- 2026LLaMEA-SAGE: Guiding Automated Algorithm Design with Structural Feedback from Explainable AI29 Jan 2026
- 2026PathWise: Planning through World Model for Automated Heuristic Design via Self-Evolving LLMs28 Jan 2026
- 2025Behavior and Representation in Open-Weight Large Language Models for Combinatorial Optimization: From Feature Extraction to Algorithm Selection15 Dec 2025
- 2025Large Language Models in Operations Research: Methods, Applications, and Challenges18 Sep 2025
- 2025A Systematic Survey on Large Language Models for Evolutionary Optimization: From Modeling to Solving10 Sep 2025
- 2025Behaviour Space Analysis of LLM-driven Meta-heuristic Discovery4 Jul 2025
- 2025BLADE: Benchmark suite for LLM-driven Automated Design and Evolution of iterative optimisation heuristics28 Apr 2025
- 2025Fitness Landscape of Large Language Model-Assisted Automated Algorithm Search28 Apr 2025