LLM Driven Design of Continuous Optimization Problems with Controllable High-Level Properties

Urban Skvorc, Niki van Stein, Moritz Seiler, Britta Grimme, Thomas Bäck, Heike Trautmann

TL;DR

This paper introduces a novel framework that embeds Large Language Models (LLMs) into an evolutionary loop to automatically generate continuous black-box optimization problems with controllable, high-level landscape properties (like multimodality and separability). By combining LLM code generation with Exploratory Landscape Analysis (ELA) and a new fitness-sharing mechanism, the authors successfully expanded the diversity of standard benchmark suites, providing a more robust foundation for training automated algorithm selectors.

What Problem Does This Paper Address?

In continuous black-box optimization, we rely heavily on benchmark suites to evaluate how well algorithms perform. The gold standard has long been the BBOB (Black-Box Optimization Benchmarking) test suite. However, current benchmark suites suffer from a major flaw: a lack of structural diversity. They only cover narrow regions of the overall problem space.

If our benchmarks lack diversity, our evaluations become biased, and machine learning models trained for Automated Algorithm Selection (AAS)—predicting the best algorithm for a given problem—fail to generalize to real-world, unseen problems. While researchers have tried creating new problems using random mathematical trees or blending existing functions, these methods are notoriously difficult to guide. You cannot easily tell a random function generator to "make a problem that is highly multimodal but has uniform basin sizes." This paper tackles that exact challenge: achieving precise, interpretable control over the structural properties of generated optimization landscapes.

Methods

The authors extended LLaMEA (Large Language Model–driven Evolutionary Algorithm), a framework originally designed to evolve algorithmic code, and adapted it to synthesize optimization problem code.

The workflow consists of three main phases:

  1. Definition & Predictor Training: The authors selected five high-level landscape properties: multimodality, global-to-local optima contrast, search-space homogeneity, basin-size homogeneity, and separability. They trained XGBoost regression models on BBOB feature data to predict the presence of these properties based on Exploratory Landscape Analysis (ELA) features (numerical summaries of a landscape's geometry). Separability was evaluated directly via numerical finite-difference checks.
  2. Evolutionary Generation Loop: An LLM (gpt5-nano) acts as the generator, receiving natural-language prompts describing target properties and outputting executable Python code for a candidate optimization problem. LLaMEA evaluates the code, computes its ELA features, and scores it using the pre-trained XGBoost predictors.
  3. Novel Contribution: To prevent the LLM from repeatedly generating the same types of functions, the authors introduced an ELA-space fitness-sharing mechanism. This technique penalizes candidates that are too structurally similar to others in the population based on the Manhattan distance of their z-standardized ELA feature vectors, forcing the LLM to explore diverse landscape geometries.
  4. Property Verification: Because the fast XGBoost predictors don't guarantee perfect fulfillment, the final generated problems undergo a rigorous, feature-free validation using a basin-of-attraction analysis to map out the true landscape structure.
Overview of the three-step LLaMEA process for generating interpretable optimization problems

Datasets

  • BBOB Suite: The first 50 instances of the 24 standard BBOB benchmark functions across dimensions $D \in \{2, 5, 10\}$ (1,200 instances total per dimensionality) were used to extract ELA features and train the XGBoost property prediction models.
  • New Library: The authors generated a new, openly available Python library containing 55 distinct optimization problems for various categories (single-property, paired-property, and negated-property combinations).

Key Insights and Ideas

  • LLMs as Mathematical Creators: The paper demonstrates that LLMs can effectively translate qualitative, human-readable descriptions of landscape geometry into valid, executable mathematical formulations.
  • The Power of Niching in Feature Space: Without the ELA-based fitness-sharing mechanism, the LLM's outputs quickly stagnate. Introducing behavioral diversity directly into the evolutionary prompt loop successfully pushes the language model to discover entirely new landscape structures.
  • Filling the Gaps: Rather than creating an isolated, weird cluster of unrealistic functions, t-SNE projections revealed that the LLM-generated problems seamlessly fill the under-represented gaps within the existing BBOB instance space, effectively expanding the known benchmarking universe.

Key Results

  • High Success Rates: Among the tested models, gpt5-nano proved highly effective, achieving a 98.7% success rate in generating landscapes that simultaneously satisfied basin-size homogeneity and separability.
  • Diverse Landscapes: Visual inspections and basin-of-attraction testing confirmed distinct phase changes and structural variations across the generated functions. For example, all functions optimized for multimodality successfully contained multiple distinct basins of attraction.
  • Robust Filtering: After applying strict post-generation filters ($F \geq 0.5$), the remaining problems exhibited exceptionally high mean fitness scores (e.g., 0.97 for multimodality and 0.91 for global-local contrast), proving the reliability of the generation loop.

Limitations and Future Work

  • Dimensionality Scaling: The rigorous basin-of-attraction verification method is computationally expensive and currently restricted to 2D space. Verifying higher-dimensional landscapes remains a challenge.
  • Lack of Baseline Comparisons: The authors note that a structured comparison against other problem generators (like pure Genetic Programming or affine combinations) is still needed to fully contextualize LLaMEA's performance.
  • Downstream Validation: While the library successfully expands the problem space, the authors have yet to explicitly test whether training automated algorithm selectors (AAS) on these new problems measurably improves their generalization on real-world tasks.

Summary updated

BibTeX
@inproceedings{skvorc2026llm,
  author = {Urban Skvorc and Niki van Stein and Moritz Seiler and Britta Grimme and Thomas Bäck and Heike Trautmann},
  title = {{LLM Driven Design of Continuous Optimization Problems with Controllable High-Level Properties}},
  booktitle = {EvoApplications},
  year = {2026},
  doi = {10.1007/978-3-032-23607-4\_12},
}
Figure