LLaMEA: A Large Language Model Evolutionary Algorithm for Automatically Generating Metaheuristics
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) such as GPT-4 have demonstrated their ability to understand natural language and generate complex code snippets. This paper introduces a novel Large Language Model Evolutionary Algorithm (LLaMEA) framework, leveraging GPT models for the automated generation and refinement of algorithms. Given a set of criteria and a task definition (the search space), LLaMEA iteratively generates, mutates and selects algorithms based on performance metrics and feedback from runtime evaluations. This framework offers a unique approach to generating optimized algorithms without requiring extensive prior expertise. We show how this framework can be used to generate novel black-box metaheuristic optimization algorithms automatically. LLaMEA generates multiple algorithms that outperform state-of-the-art optimization algorithms (Covariance Matrix Adaptation Evolution Strategy and Differential Evolution) on the five dimensional black box optimization benchmark (BBOB). The algorithms also show competitive performance on the 10- and 20-dimensional instances of the test functions, although they have not seen such instances during the automated generation process. The results demonstrate the feasibility of the framework and identify future directions for automated generation and optimization of algorithms via LLMs.
Key facts. Cited by 92 papers in the map (data through 7 Oct 2026). Builds on 25 of its 63 references that are in the map. First posted on arXiv 30 May 2024.
Builds on
25 of 63 references.
References · 25
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,582
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
- 2024Evolution of Heuristics: Towards Efficient Automatic Algorithm Design Using Large Language Modelcited by 258
- 2023EvoPrompt: Connecting LLMs with Evolutionary Algorithms Yields Powerful Prompt Optimizerscited by 189
- 2022Instruction Induction: From Few Examples to Natural Language Task Descriptionscited by 152
- 2023Self-Taught Optimizer (STOP): Recursively Self-Improving Code Generationcited by 128
- 2024Is Temperature the Creativity Parameter of Large Language Models?cited by 92
- 2024In-context Learning with Retrieved Demonstrations for Language Models: A Surveycited by 69
- 2024Large Language Models As Evolution Strategiescited by 57
- 2023Algorithm Evolution Using Large Language Modelcited by 52
- 2018IOHprofiler: A Benchmarking and Profiling Tool for Iterative Optimization Heuristicscited by 28
13 more
- 2021IOHexperimenter: Benchmarking Platform for Iterative Optimization Heuristicscited by 24
- 2020IOHanalyzer: Detailed Performance Analyses for Iterative Optimization Heuristicscited by 20
- 2021Tuning as a Means of Assessing the Benefits of New Ideas in Interplay with Existing Algorithmic Modulescited by 20
- 2019Benchmarking Discrete Optimization Heuristics with IOHprofilercited by 14
- 2016Evolving the Structure of Evolution Strategiescited by 11
- 2023Modular Differential Evolutioncited by 11
- 2024Explainable Benchmarking for Iterative Optimization Heuristicscited by 10
- 2024Large-scale Benchmarking of Metaphor-based Optimization Heuristicscited by 8
- 2023Large Language and Text-to-3D Models for Engineering Design Optimizationcited by 7
- 2024Using the Empirical Attainment Function for Analyzing Single-objective Black-box Optimization Algorithmscited by 6
- 2022Performance assessment and exhaustive listing of 500+ nature inspired metaheuristic algorithmscited by 3
- 2023Analysis of modular CMA-ES on strict box-constrained problems in the SBOX-COST benchmarking suitecited by 3
- 2023Benchmarking Algorithms for Submodular Optimization Problems Using IOHProfilercited by 1
Built on by
Citing papers per year: 2024: 6; 2025: 34; 2026: 52.
92 papers.
Sort:
By area:
- 2024Multi-Step Reasoning with Large Language Models, a Surveycited by 140
- 2025Agentic Large Language Models, a surveycited by 105
- 2024A Systematic Survey on Large Language Models for Algorithm Designcited by 65
- 2025CodeEvolve: an open source evolutionary coding agent for algorithmic discovery and optimizationcited by 37
- 2025EoH-S: Evolution of Heuristic Set using LLMs for Automated Heuristic Designcited by 32
- 2024Toward Automated Algorithm Design: A Survey and Practical Guide to Meta-Black-Box-Optimizationcited by 23
- 2025Nature-Inspired Population-Based Evolution of Large Language Modelscited by 14
- 2025HiFo-Prompt: Prompting with Hindsight and Foresight for LLM-based Automatic Heuristic Designcited by 13
- 2024Deep Insights into Automated Optimization with Large Language Models and Evolutionary Algorithmscited by 12
- 2025LLaMEA-BO: A Large Language Model Evolutionary Algorithm for Automatically Generating Bayesian Optimization Algorithmscited by 10
- 2025BLADE: Benchmark suite for LLM-driven Automated Design and Evolution of iterative optimisation heuristicscited by 9
- 2025MetaBox-v2: A Unified Benchmark Platform for Meta-Black-Box Optimizationcited by 9
38 more
- 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
- 2025Large Language Models and Evolutionary Computation: A Critical Review of Bidirectional Interaction, Automated Algorithm Design, and Co-Adaptive Systemscited by 6
- 2025Fine-tuning Large Language Model for Automated Algorithm Designcited by 6
- 2025Instance Generation for Meta-Black-Box Optimization through Latent Space Reverse Engineeringcited by 6
- 2025EvoCAD: Evolutionary CAD Code Generation with Vision Language Modelscited by 6
- 2026MadEvolve: Evolutionary Optimization of Cosmological Algorithms with Large Language Modelscited by 6
- 2024From Code to Play: Benchmarking Program Search for Games Using Large Language Modelscited by 5
- 2025Combinatorial Optimization for All: Using LLMs to Aid Non-Experts in Improving Optimization Algorithmscited by 5
- 2025Improving Existing Optimization Algorithms with LLMscited by 4
- 2025LLM-Meta-SR: In-Context Learning for Evolving Selection Operators in Symbolic Regressioncited by 4
- 2025Behaviour Space Analysis of LLM-driven Meta-heuristic Discoverycited by 4
- 2025Pareto-Grid-Guided Large Language Models for Fast and High-Quality Heuristics Design in Multi-Objective Combinatorial Optimizationcited by 4
- 2025BBOPlace-Bench: Benchmarking Black-Box Optimization for Chip Placementcited by 4
- 2025Evolving Excellence: Automated Optimization of LLM-based Agentscited by 4
- 2026GEAR: Genetic AutoResearch for Agentic Code Evolutioncited by 4
- 2026Mutation Without Variation: Convergence Dynamics in LLM-Driven Program Evolutioncited by 4
- 2025Reasoning Capabilities of Large Language Models on Dynamic Taskscited by 3
- 2025Large Language Model-Driven Surrogate-Assisted Evolutionary Algorithm for Expensive Optimizationcited by 2
- 2026Large Language Model-Powered Evolutionary Code Optimization on a Phylogenetic Treecited by 2
- 2026LLM Driven Design of Continuous Optimization Problems with Controllable High-level Propertiescited by 2
- 2026Game-Theoretic Co-Evolution for LLM-Based Heuristic Discoverycited by 2
- 2026From Heuristic Selection to Automated Algorithm Design: LLMs Benefit from Strong Priorscited by 2
- 2026SeaEvo: Advancing Algorithm Discovery with Strategy Space Evolutioncited by 2
- 2024Evolutionary Computation for the Design and Enrichment of General-Purpose Artificial Intelligence Systems: Survey and Prospectscited by 1
- 2025A Hybrid Swarm Intelligence Approach for Optimizing Multimodal Large Language Models Deployment in Edge-Cloud-based Federated Learning Environmentscited by 1
- 2025REMoH: A Reflective Evolution of Multi-objective Heuristics approach via Large Language Modelscited by 1
- 2025EvoVLMA: Evolutionary Vision-Language Model Adaptationcited by 1
- 2025DaSAThco: Data-Aware SAT Heuristics Combinations Optimization via Large Language Modelscited by 1
- 2025Solve it with EASEcited by 1
- 2025irace-evo: Automatic Algorithm Configuration Extended With LLM-Based Code Evolutioncited by 1
- 2026Overlooked Safety Vulnerability in LLMs: Malicious Intelligent Optimization Algorithm Request and its Jailbreakcited by 1
- 2026Beyond the Node: Clade-level Selection for Efficient MCTS in Automatic Heuristic Designcited by 1
- 2026Rethinking Code Similarity for Automated Algorithm Design with LLMscited by 1
- 2026A Learning-Based Cooperative Coevolution Framework for Heterogeneous Large-Scale Global Optimizationcited by 1
- 2026BEAM: Bi-level Memory-adaptive Algorithmic Evolution for LLM-Powered Heuristic Designcited by 1
- 2026REFLEX: Reflective Evolution from LLM Experiencecited by 1
- 2026The Optimizer Is the Agent: Reasoning-Driven Search across Prompts, Programs, and ML Workflowscited by 1
50 most cited of 92 All 92 (JSON)
- 2026Network World Models as Environments for Algorithm Design on Complex Systems1 Oct 2026
- 2026From Search to Signal: Online Post-Training in Automatic Heuristic Design30 Sep 2026
- 2026HeurEvo: Agentic Evolution of Hybrid Solver-Augmented Heuristics for Time-Critical Mathematical Optimization28 Sep 2026
- 2026Hyper Algorithm Design Agent: Evolving Learnable Optimizer from Zero28 Sep 2026
- 2026QuantForge: Discovering Residual Decompositions for MXFP4 Post-Training Quantization28 Sep 2026
- 2026PINNForge: Execution-Grounded Evolutionary Design of Physics-Informed Neural Networks19 Sep 2026
- 2026T-GADE: Thermodynamical Generative-AI-Driven Evolution of LLM Artifacts10 Sep 2026
- 2026Code-to-Harness: Distilling Black-Box Optimizers from Self-Play8 Sep 2026
- 2026GoalEvolve: From Handcrafted Algorithm Priors to Goal-Driven Evolution of Physical Design Algorithms17 Aug 2026
- 2026Evolving Executable Pipeline Programs for AutoML with Language Models17 Aug 2026
- 2026ATLAS: Scaffold-Free Algorithm Synthesis by LLMs via Embedding-Guided Quality-Diversity Search16 Aug 2026
- 2026The Time Value of Evolution13 Aug 2026
38 more
- 2026ELMER: Evolutionary Language Model that Explores and Refines10 Aug 2026
- 2026An AI4AI Framework for Visual Token Pruning7 Aug 2026
- 2026The Optimizer Is the Agent: Reasoning-Driven Search across Prompts, Programs, and ML Workflows7 Aug 2026
- 2026Beyond Average Performance: Dynamic Instance Clustering and Specialized Algorithm Design in LLM-Assisted Evolutionary Search4 Aug 2026
- 2026DGA2D: Directed Graph-Guided Automated Algorithm Design with Large Language Models1 Aug 2026
- 2026LLM-Guided Evolutionary Search for Constraint Model Reformulation to Improve Solver Efficiency30 Jul 2026
- 2026FunL2O: LLM-Guided Feature Function Design for Learning to Optimize29 Jul 2026
- 2026Budget-Aware LLM Discovery via Cost-Calibrated Frontier Utility29 Jul 2026
- 2026Every Time I Hire a Linguist, Inference Costs Go Down: On Linguistic Rules as Effective Prompt Compressors28 Jul 2026
- 2026LLM-Driven Evolutionary Generation of Multi-Objective Bayesian Optimization Algorithms6 Jul 2026
- 2026RAISE: LLM-based Automated Heuristic Design with Robust Adversary Instance Search30 Jun 2026
- 2026RACL: Reasoning-Agent Control Layers for Continuous Metaheuristic Learning18 Jun 2026
- 2026REFLEX: Reflective Evolution from LLM Experience15 Jun 2026
- 2026Mutation Without Variation: Convergence Dynamics in LLM-Driven Program Evolution3 Jun 2026
- 2026EvoGens: A Population-Based Heuristic Search Framework for Scientific Idea Generation29 May 2026
- 2026AutoSG: LLM-Driven Solver Generation Solely from Task Prompts for Expensive Optimization25 May 2026
- 2026Teacher-Aware Evolution of Heuristic Programs from Learned Optimization Policies11 May 2026
- 2026GEAR: Genetic AutoResearch for Agentic Code Evolution8 May 2026
- 2026CoupleEvo: Evolving Heuristics for Coupled Optimization Problems Using Large Language Models7 May 2026
- 2026SeaEvo: Advancing Algorithm Discovery with Strategy Space Evolution27 Apr 2026
- 2026Co-evolving Agent Architectures and Interpretable Reasoning for Automated Optimization20 Apr 2026
- 2026BEAM: Bi-level Memory-adaptive Algorithmic Evolution for LLM-Powered Heuristic Design14 Apr 2026
- 2026ResearchEVO: An End-to-End Framework for Automated Scientific Discovery and Documentation7 Apr 2026
- 2026CliffSearch: Structured Agentic Co-Evolution over Theory and Code for Scientific Algorithm Discovery1 Apr 2026
- 2026A Learning-Based Cooperative Coevolution Framework for Heterogeneous Large-Scale Global Optimization30 Mar 2026
- 2026Transferable knowledge graphs with executable learned operators for algorithm design30 Mar 2026
- 2026DyACE: Dynamic Algorithm Co-evolution for Online Automated Heuristic Design with Large Language Model7 Mar 2026
- 2026ReVEL: Multi-Turn Reflective LLM-Guided Heuristic Evolution via Structured Performance Feedback5 Mar 2026
- 2026From Heuristic Selection to Automated Algorithm Design: LLMs Benefit from Strong Priors3 Mar 2026
- 2026Rethinking Code Similarity for Automated Algorithm Design with LLMs3 Mar 2026
- 2026Saliency-Aware Multi-Route Thinking: Revisiting Vision-Language Reasoning18 Feb 2026
- 2026MadEvolve: Evolutionary Optimization of Cosmological Algorithms with Large Language Models17 Feb 2026
- 2026EvoOpt-LLM: Evolving industrial optimization models with large language models1 Feb 2026
- 2026Beyond the Node: Clade-level Selection for Efficient MCTS in Automatic Heuristic Design31 Jan 2026
- 2026Game-Theoretic Co-Evolution for LLM-Based Heuristic Discovery30 Jan 2026
- 2026LLaMEA-SAGE: Guiding Automated Algorithm Design with Structural Feedback from Explainable AI29 Jan 2026
- 2026LLM Driven Design of Continuous Optimization Problems with Controllable High-level Properties26 Jan 2026
- 2026Large Language Model-Powered Evolutionary Code Optimization on a Phylogenetic Tree20 Jan 2026
50 newest of 92 All 92 (JSON)
- 2025Agentic Large Language Models, a surveycited by 105
- 2025CodeEvolve: an open source evolutionary coding agent for algorithmic discovery and optimizationcited by 37
- 2025Evolving Excellence: Automated Optimization of LLM-based Agentscited by 4
- 2026GEAR: Genetic AutoResearch for Agentic Code Evolutioncited by 4
- 2026CliffSearch: Structured Agentic Co-Evolution over Theory and Code for Scientific Algorithm Discoverycited by 0
- 2026HeurEvo: Agentic Evolution of Hybrid Solver-Augmented Heuristics for Time-Critical Mathematical Optimizationcited by 0
- 2026HeurEvo: Agentic Evolution of Hybrid Solver-Augmented Heuristics for Time-Critical Mathematical Optimization28 Sep 2026
- 2026GEAR: Genetic AutoResearch for Agentic Code Evolution8 May 2026
- 2026CliffSearch: Structured Agentic Co-Evolution over Theory and Code for Scientific Algorithm Discovery1 Apr 2026
- 2025Evolving Excellence: Automated Optimization of LLM-based Agents9 Dec 2025
- 2025CodeEvolve: an open source evolutionary coding agent for algorithmic discovery and optimization15 Oct 2025
- 2025Agentic Large Language Models, a survey29 Mar 2025
- 2024Multi-Step Reasoning with Large Language Models, a Surveycited by 140
- 2025Reasoning Capabilities of Large Language Models on Dynamic Taskscited by 3
- 2026Rethinking Code Similarity for Automated Algorithm Design with LLMscited by 1
- 2026Saliency-Aware Multi-Route Thinking: Revisiting Vision-Language Reasoningcited by 0
- 2026Co-evolving Agent Architectures and Interpretable Reasoning for Automated Optimizationcited by 0
- 2026Co-evolving Agent Architectures and Interpretable Reasoning for Automated Optimization20 Apr 2026
- 2026Rethinking Code Similarity for Automated Algorithm Design with LLMs3 Mar 2026
- 2026Saliency-Aware Multi-Route Thinking: Revisiting Vision-Language Reasoning18 Feb 2026
- 2025Reasoning Capabilities of Large Language Models on Dynamic Tasks15 May 2025
- 2024Multi-Step Reasoning with Large Language Models, a Survey16 Jul 2024
- 2025EvoVLMA: Evolutionary Vision-Language Model Adaptationcited by 1
- 2026REFLEX: Reflective Evolution from LLM Experiencecited by 1
- 2026An AI4AI Framework for Visual Token Pruningcited by 1
- 2026An AI4AI Framework for Visual Token Pruning7 Aug 2026
- 2026REFLEX: Reflective Evolution from LLM Experience15 Jun 2026
- 2025EvoVLMA: Evolutionary Vision-Language Model Adaptation3 Aug 2025
- 2024A Systematic Survey on Large Language Models for Algorithm Designcited by 65
- 2025EoH-S: Evolution of Heuristic Set using LLMs for Automated Heuristic Designcited by 32
- 2024Toward Automated Algorithm Design: A Survey and Practical Guide to Meta-Black-Box-Optimizationcited by 23
- 2025Nature-Inspired Population-Based Evolution of Large Language Modelscited by 14
- 2025HiFo-Prompt: Prompting with Hindsight and Foresight for LLM-based Automatic Heuristic Designcited by 13
- 2024Deep Insights into Automated Optimization with Large Language Models and Evolutionary Algorithmscited by 12
- 2025LLaMEA-BO: A Large Language Model Evolutionary Algorithm for Automatically Generating Bayesian Optimization Algorithmscited by 10
- 2025BLADE: Benchmark suite for LLM-driven Automated Design and Evolution of iterative optimisation heuristicscited by 9
- 2025MetaBox-v2: A Unified Benchmark Platform for Meta-Black-Box Optimizationcited 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
- 2025Large Language Models and Evolutionary Computation: A Critical Review of Bidirectional Interaction, Automated Algorithm Design, and Co-Adaptive Systemscited by 6
12 most cited of 74 All 74 (JSON)
- 2026From Search to Signal: Online Post-Training in Automatic Heuristic Design30 Sep 2026
- 2026Hyper Algorithm Design Agent: Evolving Learnable Optimizer from Zero28 Sep 2026
- 2026QuantForge: Discovering Residual Decompositions for MXFP4 Post-Training Quantization28 Sep 2026
- 2026PINNForge: Execution-Grounded Evolutionary Design of Physics-Informed Neural Networks19 Sep 2026
- 2026T-GADE: Thermodynamical Generative-AI-Driven Evolution of LLM Artifacts10 Sep 2026
- 2026GoalEvolve: From Handcrafted Algorithm Priors to Goal-Driven Evolution of Physical Design Algorithms17 Aug 2026
- 2026Evolving Executable Pipeline Programs for AutoML with Language Models17 Aug 2026
- 2026ATLAS: Scaffold-Free Algorithm Synthesis by LLMs via Embedding-Guided Quality-Diversity Search16 Aug 2026
- 2026The Time Value of Evolution13 Aug 2026
- 2026ELMER: Evolutionary Language Model that Explores and Refines10 Aug 2026
- 2026The Optimizer Is the Agent: Reasoning-Driven Search across Prompts, Programs, and ML Workflows7 Aug 2026
- 2026Beyond Average Performance: Dynamic Instance Clustering and Specialized Algorithm Design in LLM-Assisted Evolutionary Search4 Aug 2026
12 newest of 74 All 74 (JSON)