Illuminating the Diversity-Fitness Trade-Off in Black-Box Optimization

Maria Laura Santoni, Elena Raponi, Aneta Neumann, Frank Neumann, Mike Preuß, Carola Doerr

TL;DR

This paper investigates the trade-off between solution quality and structural diversity in black-box optimization by seeking a fixed-size batch of solutions that are far apart in the search space but maintain high average fitness. By analyzing the search trajectories of standard optimizers and random sampling strategies on the BBOB benchmark suite, the authors demonstrate that naive random sampling provides an incredibly formidable baseline, highlighting the critical need for new algorithms explicitly designed to navigate this trade-off.

What Problem Does This Paper Address?

In traditional optimization, the goal is almost always to find the single best solution. However, in real-world engineering and industrial design, the mathematically optimal solution might be impractical due to unmodeled real-world constraints like manufacturing limitations, high production costs, or subjective aesthetic preferences. In these scenarios, engineers prefer a "menu" of diverse, high-quality options to choose from.

While sub-fields like Evolutionary Diversity Optimization (EDO) and Quality Diversity (QD) address similar issues, they typically operate under fixed quality thresholds or measure diversity in a separate "behavioral" space. This paper tackles a more direct constraint: finding a batch of exactly $k$ solutions that satisfy a strict minimum pairwise Euclidean distance ($d_{\min}$) in the search space while maximizing their average quality.

Methods

The authors frame this challenge as a post-hoc subset selection problem. Instead of proposing a brand-new optimization algorithm, they evaluate whether the search histories (portfolios) of existing off-the-shelf algorithms can yield diverse, high-quality batches.

The workflow consists of two main steps:

  1. Portfolio Generation: They generate an initial portfolio $X$ of evaluated points using various algorithms, including non-adaptive sampling (Uniform Random Sampling, Sobol' sequences), a standard global optimizer (CMA-ES), and Multimodal Optimization (MMO) algorithms designed for niching (HillVallEA, RS-CMSA, WGraD).
  2. Subset Selection: They extract a batch of $k$ points from the portfolio that satisfies the $d_{\min}$ constraint. To do this, they compare an exact approach using the Gurobi solver (Mixed-Integer Programming) against a computationally efficient greedy heuristic that iteratively replaces points in the batch to increase pairwise distance while minimizing the drop in average fitness.
Visualizing how Gurobi selects 5 solutions across different BBOB landscapes under varying distance constraints ($d_{\min}$).

Datasets

The methodology was comprehensively evaluated using the 24 noiseless BBOB (Black-Box Optimization Benchmarking) functions from the COCO environment. The experiments spanned:

  • Dimensions ($D$): 2, 5, and 10.
  • Batch Sizes ($k$): 2, 5, 7, and 10.
  • Portfolio Sizes ($T$): 1,000 to 1,000,000 points.

Key Insights and Ideas

  • The Surprising Power of Random Sampling: For large distance constraints, naive uniform random sampling frequently outperforms sophisticated optimization algorithms. Because standard optimizers are aggressively driven to converge, their search trajectories naturally lack the global spatial diversity required when you demand solutions that are far apart.
  • Landscape Dependency: The impact of the diversity constraint heavily depends on the problem landscape. On highly repetitive multimodal landscapes (like $f_{16}$ or $f_{23}$), multiple equivalent basins of attraction exist naturally across the space, meaning a high pairwise distance can be achieved with virtually no loss in quality. On unimodal landscapes, forcing solutions apart pushes them away from the optimum and up the gradient, rapidly degrading average quality.
  • The Curse of Portfolio Sparseness: In low dimensions ($D=2$), a portfolio of 10,000 random points provides excellent coverage. However, as dimensionality increases to $D=10$, random sampling suffers from sparseness. In these higher-dimensional spaces, carefully targeted portfolios from MMO algorithms perform significantly better for small-to-medium distance constraints.

Key Results

  • Heuristic Accuracy: The greedy heuristic proved to be an excellent, resource-efficient approximation of the exact Gurobi solver, suffering only marginal quality deterioration.
  • True vs. Enforced Distance: The authors noted that the actual pairwise distance between selected points is often much higher than the minimum enforced threshold ($d_{\min}$), particularly in multimodal landscapes where distinct peaks are naturally distant.
Distribution of true pairwise distances versus the enforced distance constraint for $k=5$ solutions.
  • Dimensionality Shifts: In 2D, MMO algorithms and CMA-ES excel at very small enforced distances ($d_{\min} < 1$) because they pack points into the global optimum basin. However, once $d_{\min} \ge 2$, uniform random sampling matches or beats them. In 10D, MMO algorithms retain their advantage much longer across the distance range because they actively find high-quality niches in a vast space where random sampling gets lost. Yet, at extreme distances ($d_{\min} = 15$), random sampling dominates again because the optimizers fail to generate any points that far apart.

Limitations and Future Work

  • The Post-Hoc Bottleneck: The primary limitation is that this approach filters search trajectories after the fact. If an algorithm converges too rapidly to a single point, its history simply won't contain widely separated, high-quality candidates.
  • Scalability Constraints: Solving the subset selection problem itself becomes computationally expensive and memory-intensive as the portfolio size ($T$) and dimension ($D$) scale up.
  • Future Directions: The authors emphasize that these results should serve as a strong motivation to develop in-run optimization algorithms. Instead of filtering portfolios post-hoc, future algorithms should explicitly incorporate the diversity-fitness trade-off directly into their selection and variation mechanisms during the optimization process.

Summary updated

BibTeX
@inproceedings{santoni2025illuminating,
  author = {Maria Laura Santoni and Elena Raponi and Aneta Neumann and Frank Neumann and Mike Preuß and Carola Doerr},
  title = {{Illuminating the Diversity-Fitness Trade-Off in Black-Box Optimization}},
  booktitle = {Evolutionary},
  year = {2025},
  doi = {10.1162/evco.a.28},
}
Figure