Distributed Evolution Strategies With Multi-Level Learning for Large-Scale Black-Box Optimization

Qiqi Duan, Chang Shao, Guochen Zhou, Minghan Zhang, Qi Zhao, Yuhui Shi

TL;DR

The authors present DLMCMA, a distributed framework that scales the powerful Covariance Matrix Adaptation Evolution Strategy (CMA-ES) to large-scale problems with thousands of variables. By nesting limited-memory optimizers within a hierarchical "Meta-ES" structure, the system achieves significant speedups and superior solution quality compared to over 60 other state-of-the-art black-box algorithms.

What Problem Does This Paper Address?

Black-box optimization (BBO) is used when we need to find the best solution for a system where we don't have a mathematical formula for the gradient—think of tuning a complex simulation or training a non-differentiable machine learning model.

While the CMA-ES algorithm is the "gold standard" for these problems, it has a major flaw: its computational cost grows quadratically ($O(n^2)$) with the number of variables ($n$). For large-scale optimization (LSO), where $n \ge 1000$, standard CMA-ES becomes prohibitively slow and memory-intensive. Existing parallel versions often sacrifice the algorithm's core strength—its ability to learn the "shape" of the search space (invariance)—to gain speed. The authors set out to build a distributed system that maintains this intelligence while scaling to massive dimensions.

Methods

The paper introduces a multilevel learning-based meta-framework called DLMCMA. Its architecture is built on three main pillars:

  1. Hierarchical Meta-ES: The system uses a "Meta-ES" structure where an Outer-ES (the coordinator) manages a population of Inner-ESs (the workers). Each worker runs a serial version of LM-CMA (Limited-Memory CMA-ES), which is specifically designed to handle high dimensions with linear memory complexity.
  2. Spatiotemporal Step-Size Adaptation: To decide how far to "jump" in the search space, the framework combines information across different parallel islands (spatial) and over multiple iterations (temporal). It uses a mix of elitist selection (following the best island) and random mutation to maintain population diversity.
  3. Collective Learning: After a set "isolation time," the workers share their "evolution paths"—records of their successful search directions. The coordinator aggregates these paths to reconstruct a global understanding of the search landscape, allowing the algorithm to approximate the second-order information (like a Hessian matrix) that makes CMA-ES so effective.

The system is implemented using Ray, a modern distributed computing engine, making it compatible with cloud and cluster environments.

Datasets

The researchers evaluated DLMCMA against a massive suite of benchmarks:

  • 13 Standard Functions: A set of 2000-dimensional benchmarking functions (e.g., Sphere, Rosenbrock, Rastrigin, Ackley) representing various challenges like rugged landscapes and high-dimensional plateaus.
  • UCI Machine Learning Repository: A real-world case study involving a non-convex classification problem with an 857-dimensional fitness function.
  • Comparison Baseline: They compared their results against 61 different black-box optimizers from various families, including Differential Evolution (DE), Particle Swarm Optimization (PSO), and Natural Evolution Strategies (NES).

Key Insights and Ideas

  • The "Isolation Time" Balance: The authors found that keeping parallel islands isolated for a specific duration ($\tau$) is crucial. Too short, and communication overhead kills performance; too long, and the islands diverge too much to learn collectively.
  • Structure vs. Parameter Learning: The framework treats the "shape" of the search (the covariance matrix) as a structural learning problem and the "location" (the mean) as a parameter learning problem, mimicking biological theories of multi-level evolution.
  • Avoiding Stagnation: By running elitist and multi-recombination strategies in parallel at the outer level, the algorithm avoids "stagnation" (getting stuck) and "regression" (losing progress), which are common pitfalls in distributed ES.

Key Results

  • Significant Speedups: On the discus function, DLMCMA achieved a >3x runtime speedup compared to the second-best optimizer (MM-ES).
  • Superior Scalability: Experiments showed that as the number of CPU cores increased from 1 to 300, the convergence speed improved dramatically, proving the framework effectively utilizes distributed hardware.
  • Competitive Performance: DLMCMA achieved the best or near-best performance on almost all unimodal and multimodal test functions, outranking dozens of established algorithms in high-dimensional settings.
  • Real-World Utility: The algorithm successfully optimized the 857-dimensional data science loss function, showing faster convergence as more parallel units were added.

Limitations and Future Work

  • Restart Strategies: On some extremely complex multimodal functions (like scaledrastrigin), the evolution process can still stagnate early. The authors suggest that a more robust "restart" strategy is needed to kickstart the search when progress stalls.
  • Hyperparameter Sensitivity: The optimal "isolation time" ($\tau$) and the number of parallel workers ($\lambda'$) are currently problem-dependent. Future work could involve automating the tuning of these parameters on-the-fly.
  • Asynchronous Updates: The current version uses a "generational" (synchronous) update. Moving to an asynchronous model could further improve efficiency by preventing faster CPU cores from waiting on slower ones.

Summary updated

BibTeX
@article{duan2024distributed,
  author = {Qiqi Duan and Chang Shao and Guochen Zhou and Minghan Zhang and Qi Zhao and Yuhui Shi},
  title = {{Distributed Evolution Strategies With Multi-Level Learning for Large-Scale Black-Box Optimization}},
  journal = {IEEE Trans. Parallel Distributed Syst.},
  year = {2024},
  doi = {10.1109/tpds.2024.3437688},
}

Loading related content...

Figure