TL;DR
This paper introduces a novel, "plug-and-play" reinforcement learning (RL) controller designed to automatically tune the parameters of evolutionary algorithms (EAs) on-the-fly. The authors demonstrate that this generic RL controller can significantly improve EA performance across various algorithms and problems without requiring problem-specific tailoring, offering a promising solution to the "patchwork problem" in EA parameter control.
What Problem Does This Paper Address?
Evolutionary Algorithms (EAs) are powerful optimization tools, but their performance is highly sensitive to parameter settings (e.g., population size, mutation rate). Traditionally, these parameters are set manually before a run, a process known as parameter tuning. While effective for repetitive problems, this approach is impractical for one-off problems or dynamic environments where parameters need to adapt during the search. The field of "parameter control" aims to address this by adjusting parameters dynamically. However, existing parameter control methods are often problem-specific, leading to a "patchwork problem" where combining different control mechanisms for multiple parameters is ad hoc and suboptimal. This paper tackles the challenge of developing a generic parameter controller that can be easily integrated into any EA and adapt its parameters without requiring extensive problem-specific knowledge or manual tuning.
Methods
The core of the paper is the formulation of EA parameter control as a Reinforcement Learning (RL) problem.
- State Representation: The state of an EA is defined by its population's genomes and current parameter values. However, for practical RL, the state is derived from a set of observable metrics: genotypic and phenotypic diversity, fitness standard deviation, fitness improvement, and a stagnation counter. This approach acknowledges the challenge of defining a truly Markovian state and opts for a more manageable set of observables.
- Action Space: The controller's actions involve setting the values of the EA's controllable parameters. To handle continuous parameters, the authors discretize their ranges into equal intervals. When an interval is chosen, a value is sampled uniformly from within it.
- RL Algorithm: The controller employs a Temporal Difference (TD) learning algorithm with a dynamic state space segmentation method. This means the RL agent builds a decision tree to represent the state space, dynamically splitting nodes when it identifies regions with significantly different value estimates. Eligibility traces are used to assign credit for rewards to past actions. The SARSA on-policy rule is used for updates.
- Reward Function: A reward function is defined as the ratio of the previous fitness to the current fitness (for minimization problems), normalized by the number of evaluations. This aims to balance the impact of large initial improvements with smaller, later fine-tuning gains.
Datasets
The paper does not introduce new benchmark datasets. Instead, it uses established test functions from the numeric optimization domain, often associated with specific EA competitions or research communities. These include:
- For Simple ES: Rastrigin, Schaffer, and Fletcher & Powell functions (3 standard numeric optimization problems).
- For Cellular GA: BBOB functions f21, f22, f23, and f24 (selected from the BBOB 2013 competition suite).
- For GA MPC: CEC 2011 competition problems f7, f11.8, f12, and f13 (selected from the CEC 2011 competition on real-world applications).
- For IPOP-10DDr CMA-ES: BBOB functions f21, f22, f23, and f24 (same as Cellular GA).
The authors emphasize selecting problems for which the respective EAs are known to perform well or poorly, ensuring a fair evaluation of the controller's adaptability.
Key Insights and Ideas
- "Plug-and-Play" Potential: The most significant insight is the demonstration that a single, generic RL controller can improve the performance of diverse EAs across various problems without requiring problem-specific parameter tuning for the controller itself. This directly addresses the "patchwork problem."
- Exploiting "Margin for Improvement": The RL controller is most effective when the EA is not perfectly tailored to the problem. It excels at exploiting existing performance gaps, rather than creating performance where none exists.
- Monotonicity Matters: The paper highlights an interesting observation: the monotonicity of an EA's behavior (influenced by elitism and restarts) can affect the RL controller's efficiency. Non-elitistic or frequently restarting EAs might provide more opportunities for the RL controller to learn and adapt, as states are more likely to repeat or evolve in predictable ways.
- Random Variation as a Strong Baseline: The authors found that randomly varying parameters often performed surprisingly well, sometimes even outperforming the RL controller. This underscores the importance of using random variation as a robust baseline for parameter control research.
Key Results
The paper presents results from experiments involving four EAs (Simple ES, Cellular GA, GA MPC, IPOP-10DDr CMA-ES) and 15 test problems, comparing the RL controller against static parameters, PRAM (a benchmark generic controller), and random parameter variation.
- RL Controller Performance: The RL controller significantly improved performance over the static (default) parameter settings in 8 out of 15 cases and showed better best-run performance in an additional 3 cases.
- Comparison to PRAM: The RL controller outperformed PRAM in most cases.
- Comparison to Random: The RL controller and random variation were both significantly better than static in 8 cases. The RL control was significantly better than random in 3 of these, and had a better best run in another 3.
- EA-Specific Performance: The RL controller showed particularly strong improvements for the Simple ES, while its benefits were less pronounced for highly optimized algorithms like CMA-ES, suggesting its value lies in less-tailored EAs.
- No Tailoring Needed: Crucially, the RL controller's parameters were kept constant across all experiments, demonstrating its generic applicability.
Limitations and Future Work
- Observable Selection: The authors acknowledge that the choice of observables for defining the RL state is critical but largely heuristic. They suggest that a systematic exploration of different observables and their usefulness is a key area for future work.
- Sensitivity Analysis: The paper notes that the sensitivity of the RL controller to its own parameters and to noise in the observables has not been thoroughly analyzed.
- Monotonicity Impact: The influence of EA monotonicity on RL controller performance warrants further investigation.
- More Rigorous Testing: The authors recommend more extensive testing with a wider range of EAs and problem combinations to further validate the controller's robustness.
- Dynamic State Space Segmentation: While effective, the dynamic state tree segmentation method could potentially be improved.
Summary updated