Auto-configuring Exploration-Exploitation Tradeoff in Evolutionary Computation via Deep Reinforcement Learning

Zeyuan Ma, Jiacheng Chen, Hongshu Guo, Yining Ma, Yue-Jiao Gong

Introduction

Evolutionary Computation (EC) algorithms, such as Particle Swarm Optimization (PSO) and Differential Evolution (DE), have established themselves as robust "black-box" optimizers capable of navigating complex search spaces. The efficacy of these algorithms is fundamentally tied to the Exploration-Exploitation Tradeoff (EET): the balance between searching novel regions of the solution space (exploration) and refining the search around known high-quality solutions (exploitation).

Historically, managing this tradeoff has relied on manually designed heuristics, such as time-varying inertia weights or adaptive rules. However, these manual approaches are often labor-intensive to develop and frequently fail to generalize across diverse problem landscapes. While recent advancements have attempted to use Deep Reinforcement Learning (DRL) to automate hyper-parameter tuning, these methods often suffer from a lack of generalization—requiring retraining for every new task—and utilize oversimplified neural architectures that cannot capture the intricate social dynamics within a population. This paper introduces GLEET (Generalizable Learning-based Exploration-Exploitation Tradeoff), a framework designed to overcome these limitations through a Transformer-based architecture and meta-training.

Methodology

GLEET frames the hyper-parameter configuration of EC algorithms as a Markov Decision Process (MDP). The framework introduces several key innovations to ensure both performance and generalization.

Transformer-Styled Architecture

At the core of GLEET is a Fully Informed Encoder based on the Transformer architecture. Unlike standard multilayer perceptrons, this encoder utilizes Multi-Head Attention (MHA) to process the state of every individual in the population simultaneously. This design ensures the model is invariant to both population size and the ordering of individuals, allowing a single trained policy to be applied to problems of varying dimensions and population scales without retraining.

State and Action Design

The state representation moves beyond raw fitness values, employing a 9-dimensional vector for each individual. This vector captures critical search dynamics, including:

  • Search Progress: Relative improvement in fitness.
  • Stagnation Status: The duration since an individual last found a superior solution.
  • Spatial Relationships: Distances between particles to gauge population diversity.

The Exploration-Exploitation Decoder then maps these features to continuous hyper-parameter settings (e.g., cognitive and social coefficients in PSO) for every individual at every generation.

Meta-Training with PPO

To ensure generalization, the model is trained using Proximal Policy Optimization (PPO) across a diverse distribution of problem classes rather than a single instance. By exposing the agent to various landscape types during training, GLEET learns a robust "meta-strategy" for optimization.

Experimental Setup and Datasets

The framework was evaluated using two primary benchmarks:

  1. Augmented CEC2021: A suite of ten complex numerical optimization functions. To enhance the training set, the authors applied random shifts and rotations, resulting in 1,152 unique instances per problem class.
  2. Protein-Docking Benchmark: To test real-world applicability, the authors utilized a dataset of 280 protein-protein complexes. This served as a "zero-shot" testbed to determine if a policy trained on synthetic functions could generalize to expensive, high-stakes scientific problems.

Key Results and Insights

Performance Gains

GLEET-PSO demonstrated significant improvements over baseline PSO, with performance gains of approximately 35% on 10D problems and 28% on 30D problems. When instantiated on a multi-swarm backbone (GLEET-DMSPSO), the framework consistently outperformed both traditional adaptive algorithms (like sDMSPSO) and existing DRL-based optimizers, setting a new state-of-the-art for these benchmarks.

Zero-Shot Generalization

One of the most significant findings was the success of the model on the Protein-Docking problem. Despite being trained exclusively on synthetic CEC functions, the GLEET-enabled optimizer outperformed all competitors on the real-world docking tasks. This confirms that the model learns fundamental logic regarding the exploration-exploitation tradeoff that transcends specific mathematical formulations.

Emergent Behaviors

Ablation studies highlighted that the Multi-Head Attention mechanism is essential for performance, as it allows individuals to effectively "learn" from the successes and failures of their neighbors. Visualization of the learned policies revealed that GLEET naturally rediscovers classic strategies—such as high initial exploration followed by late-stage exploitation—but also develops complex, multi-stage "waves" of exploration for hybrid problems that surpass the complexity of human-designed heuristics.

Limitations and Future Work

Despite its success, GLEET has areas for further refinement. The current state representation still relies on handcrafted features like stagnation counts; future iterations may attempt to learn these features directly from raw search data. Additionally, while the architecture supports varying population sizes, the current implementation maintains a static population throughout a run. Future research could explore dynamic "population shedding" to further optimize computational efficiency. Finally, scaling to extremely high-dimensional spaces (thousands of variables) remains a challenge for all EC-based methods, including GLEET.

Summary updated

BibTeX
@inproceedings{ma2024auto,
  author = {Zeyuan Ma and Jiacheng Chen and Hongshu Guo and Yining Ma and Yue-Jiao Gong},
  title = {{Auto-configuring Exploration-Exploitation Tradeoff in Evolutionary Computation via Deep Reinforcement Learning}},
  booktitle = {GECCO},
  year = {2024},
  url = {https://openreview.net/forum?id=foviRsdGVZ},
}
Figure