NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DynamoRep: Trajectory-Based Population Dynamics for Classification of Black-box Optimization Problems

Gjorgjina Cenikj, Gašper Petelin, Carola Doerr, Peter Korošec, Tome EftimovarXiv 2023 · DOI

TL;DR

DynamoRep is a novel feature extraction method that represents black-box optimization problems by analyzing the "trajectories" of the algorithms solving them. By using simple descriptive statistics of a solver's population over time, it achieves 95% accuracy in identifying problem types without requiring any extra function evaluations, significantly outperforming traditional landscape analysis methods.

What Problem Does This Paper Address?

In the world of black-box optimization (BBO), we often treat the objective function as a "mystery box"—we provide an input and get an output, but we don't know the underlying math. To solve these problems efficiently, researchers use Machine Learning to perform automated algorithm selection (picking the best tool for the job).

To do this, we first need to turn the "mystery box" into a set of numerical features. The standard approach, Exploratory Landscape Analysis (ELA), involves sampling the function at random points. However, ELA has two major flaws:

  1. Budget Drain: Every sample used for feature extraction is one less sample available for the actual optimization.
  2. Static View: It ignores how a specific algorithm actually interacts with the problem. An algorithm doesn't see the whole landscape; it sees a specific path (trajectory) through it.

The authors propose DynamoRep to bridge this gap by extracting features directly from the data an algorithm already generates during its run.

Methods

The core idea of DynamoRep is to capture the "population dynamics" of an optimization algorithm. Instead of looking at the whole landscape, it looks at the population of candidate solutions at every iteration.

For each iteration $t$, the method calculates four simple statistics—minimum, maximum, mean, and standard deviation—for:

  • Each dimension of the search space ($x_1, x_2, ..., x_d$)
  • The objective function values ($y$)

These statistics are concatenated into a single feature vector for that iteration. The final representation for the entire run is created by concatenating these vectors across all iterations. This preserves the longitudinal nature (the "time-series" aspect) of the search process.

The researchers then trained a Random Forest (RF) classifier to identify problem classes based on these trajectory features. They compared this against "trajectory-based ELA," which treats all points visited by the algorithm as a single static sample.

Datasets

The study utilizes the Black-Box Optimization Benchmarking (BBOB) suite, a gold standard in the field.

  • Problem Classes: 24 distinct optimization problem types.
  • Instances: The first 999 instances of each class (representing different shifts and rotations of the base problem).
  • Dimension: $d=3$.
  • Algorithms: Trajectories were generated using four popular solvers: Differential Evolution (DE), Genetic Algorithm (GA), Evolution Strategy (ES), and CMA-ES.

Key Insights and Ideas

  • The "Aha" Moment for Features: The researchers found that the standard deviation of objective values ($y$) was the most critical feature. It captures how the "quality" of solutions spreads out as the algorithm converges or explores.
  • Longitudinality is Key: Traditional ELA failed when applied to trajectories (achieving only ~49% accuracy) because it ignores the order of iterations. DynamoRep succeeds because it tracks how the population changes over time.
  • Objective Values > Coordinates: Features derived from the fitness values ($y$) were far more important for classification than the actual coordinates ($x$) in the search space.
  • Dynamic Interaction: Figure 1 illustrates how these features evolve differently depending on the problem class, showing that the solver's behavior is a "fingerprint" of the problem itself.
Figure 1: Line plots depicting the features generated from the trajectories of one run of the DE algorithm on the first two instances of the first two problem classes of dimension three from the BBOB benchmark suite. The first and second row show the first two instances of problem class 1, while the third and fourth row show the first two instances of problem class 2. The first column shows data for the first coordinate, the second column data for the second, etc., and the fourth column plots the evolution of the fitness values. The points at iteration 0 are the same for all three rows, since the seed is fixed to 0.

Key Results

  • High Accuracy: DynamoRep achieved a mean classification accuracy of 95% across all experiments.
  • Robustness to Randomness: While optimization is stochastic, models trained on trajectories from multiple random seeds generalized extremely well to unseen seeds, as shown in the tight clusters in Figure 3.
  • Efficiency: Calculating DynamoRep features is incredibly fast, taking only 0.02 seconds per trajectory.
  • Superiority over Baseline: It vastly outperformed trajectory-based ELA, which struggled to reach 50% accuracy.
Boxplots showing the high and consistent accuracy of the classifier across different random seeds.

The confusion matrix (Figure 5) reveals that while most problems are identified perfectly, the model occasionally confuses very similar problem classes (like classes 10 and 11).

Confusion matrix showing that most errors occur between closely related problem classes.

Limitations and Future Work

  • Scalability: The feature vector size grows linearly with the problem dimension ($d$). For very high-dimensional problems, the authors suggest that dimensionality reduction techniques will be necessary.
  • Fixed Budget: The study used a fixed budget of 30 iterations. Future work could investigate if even shorter trajectories (smaller budgets) are sufficient for accurate classification.
  • Population Sensitivity: The authors note that the features might be sensitive to the population size used by the algorithm, which requires further investigation to ensure the model generalizes across different solver configurations.
  • Beyond Classification: The next logical step is applying DynamoRep to actual algorithm selection and hyper-parameter configuration tasks in real-time.

Summary updated

BibTeX
@misc{cenikj2023dynamorep,
  author = {Gjorgjina Cenikj and Gašper Petelin and Carola Doerr and Peter Korošec and Tome Eftimov},
  title = {{DynamoRep: Trajectory-Based Population Dynamics for Classification of Black-box Optimization Problems}},
  year = {2023},
  eprint = {2306.05438},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.05438},
}
Figure