LLM-Driven Evolutionary Generation of Multi-Objective Bayesian Optimization Algorithms

Georgios Laskaris, Reuben Brasher, Niki van Stein, Elena Raponi, Thomas Bäck, Florian NeukartarXiv 2026

TL;DR

This paper introduces LLaMEA-MOBO, an automated framework that uses Large Language Models (LLMs) as evolutionary operators to design complete multi-objective Bayesian optimization (MOBO) algorithms from scratch. The discovered algorithms not only match or exceed the accuracy of state-of-the-art human-designed baselines like qParEGO, but they also run up to 60 times faster on synthetic tasks and 3.4 times faster on real-world engineering problems.

What Problem Does This Paper Address?

Multi-objective optimization (MOO) is a fundamental challenge in science and engineering, popping up whenever we need to balance competing goals—like maximizing a drug's efficacy while minimizing its toxicity. When evaluating these objectives requires expensive experiments or heavy simulations, Bayesian Optimization (BO) is the go-to framework.

However, designing a Multi-Objective Bayesian Optimization (MOBO) algorithm is notoriously difficult. An expert must manually choose and balance surrogate models, acquisition functions, objective scalarization techniques, and candidate generation strategies. This manual design process is slow, highly problem-dependent, and often forces a harsh trade-off between optimization accuracy and computational overhead (wall-clock time). The authors look to solve this by asking: Can we automate the entire algorithmic design process using AI?

Methods

The authors build upon LLaMEA (Large Language Model Evolutionary Algorithm), extending it to the multi-objective domain. Instead of just tuning parameters, their framework evolves entire Python code implementations.

Here is how the LLaMEA-MOBO loop works:

  1. LLM as the Variation Operator: Gemini 2.5 Flash is prompted with a "parent" algorithm's source code, its fitness score, and any runtime errors. The LLM acts as the mutation or crossover operator, outputting a brand-new Python implementation along with its hyperparameter search space.
  2. Automated Configuration: The framework integrates SMAC (Sequential Model-based Algorithm Configuration) directly into the loop to automatically tune the hyperparameters of the LLM-generated code.
  3. Multi-Objective Evaluation: The algorithm's fitness is evaluated based on its mean normalized hypervolume—a standard metric measuring how well an optimizer finds the Pareto-optimal front.

The authors evaluated three different evolutionary strategy configurations—(1+1)-ES, (4+16)-ES, and (8,16)-ES—to see how population diversity impacts the quality of the generated code.

Overview of the LLaMEA-MOBO framework pipeline

Datasets

The algorithms were evaluated in three distinct phases across two main suites of problems:

  • Synthetic Suite (Phases 1 & 2): 12 classic benchmark problems drawn from the ZDT, DTLZ, and WFG families. These problems span 5 to 30 decision variables and include both bi-objective and tri-objective formulations.
  • Real-World Engineering Suite (Phase 3): To test true generalization, the top algorithms were evaluated on three unseen problems from the RE benchmark suite: RE21 (four-bar truss design), RE34 (rocket-injector design), and RE37 (gear-train design).
Table of the synthetic and real-world benchmark problems used for evaluation

Key Insights and Ideas

  • Implicit Cost-Accuracy Balancing: The LLM was never explicitly instructed to optimize for wall-clock speed. However, because the evolutionary loop evaluated candidates under a fixed budget, the system naturally favored algorithms that balanced surrogate model fidelity with computational speed.
  • Human-Legible Code Lineages: Unlike deep learning models that act as black boxes, the evolved algorithms are clean, short, and highly interpretable Python scripts. They utilize recognizable, well-motivated building blocks (like Tchebycheff decomposition and Expected Improvement), making them easy for human engineers to audit and trust.
  • Power of Crossover: The top-performing synthetic algorithm, MOEAD-EI Hybrid, was born in generation 2 from a crossover event. It successfully combined the speed of a fast-but-unstable MOEA/D-GP hybrid with the accuracy of a slow ParEGO-GP method, inheriting the best traits of both.

Key Results

The evolved algorithms consistently found the Pareto-efficient frontier faster and more accurately than traditional methods.

Table showing mean normalized hypervolume across Phase 2 and Phase 3
  • The Synthetic Champion: On the synthetic suite, MOEAD-EI Hybrid achieved the highest mean normalized hypervolume (0.971 vs. 0.869 for the state-of-the-art qParEGO baseline) while requiring 60× less wall-clock time.
  • Real-World Generalization: On the unseen engineering problems, Improved-Scalarized-EI emerged as the single most accurate method, achieving a hypervolume of 0.985 (vs. 0.971 for qParEGO) at 3.4× lower wall-clock cost.
  • The Speed Demon: For compute-constrained scenarios, the evolved RF-ParEGO-Batch algorithm swapped out Gaussian Processes for a Random Forest surrogate, running 2,310× faster than qParEGO on synthetic problems while still outperforming classical evolutionary algorithms like NSGA-II.
FIG. 3: Convergence of all nine algorithms—the four LLaMEA-generated (the top-3 plus MOEAD-EI Hybrid) and five baselines/SOTA—on representative Phase-2 problems. Shaded bands denote ±1 std over five repeats.

Limitations and Future Work

The authors highlighted a few subtle hazards and future directions:

  • The Stochasticity Hazard: Without explicit instructions, LLMs occasionally generate deterministic code (e.g., hardcoding a random seed). This artificially hides run-to-run variance. The authors corrected this post-hoc but note that future iteration loops must include automated checks for zero-variance candidates.
  • Compute Bottlenecks: Benchmarking heavy surrogate-assisted methods like qParEGO takes hours, which capped the number of problem repetitions the authors could realistically run.
  • Next Steps: The authors plan to extend LLaMEA-MOBO to handle constrained, noisy, and mixed-integer real-world problems, as well as exploring problem-specific specialization where an algorithm is evolved for one exact target problem.

Summary updated

BibTeX
@misc{laskaris2026llm,
  author = {Georgios Laskaris and Reuben Brasher and Niki van Stein and Elena Raponi and Thomas Bäck and Florian Neukart},
  title = {{LLM-Driven Evolutionary Generation of Multi-Objective Bayesian Optimization Algorithms}},
  year = {2026},
  eprint = {2607.08791},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.08791},
}
Figure