Introduction
Evolutionary Algorithms (EAs) are powerful optimization tools, yet their performance is often bottlenecked by the "black art" of parameter tuning. Deciding on mutation rates, crossover strategies, and population sizes typically requires extensive manual trial and error. Moreover, a static parameter set is rarely optimal throughout an evolutionary run; strategies that favor exploration at the start may hinder fine-grained convergence at the end. This paper introduces a framework for "learning to evolve," replacing hand-crafted heuristics with a Deep Reinforcement Learning (DRL) controller capable of real-time strategy adjustment.
Methodology
The core of the proposed approach is the integration of Proximal Policy Optimization (PPO) as the decision-making engine for the EA. The RL agent observes the state of the evolving population—including genomes, fitness values, and temporal progress—to dynamically adjust the EA's "knobs."
The adaptation occurs across a four-level taxonomy:
- Environment-Level: Shaping the fitness function to navigate local optima.
- Population-Level: Controlling global parameters like mutation rates for the entire group.
- Individual-Level: Assigning specific mutation rates or step-sizes to individuals based on fitness.
- Component-Level: Fine-grained control over specific genes within a genome.
To handle the high-dimensional state space, the authors utilize a 2D Convolutional Neural Network designed to be permutation-equivariant. This ensures that the order of individuals in the population does not affect the controller's decisions. The training process for the PPO agent follows a structured loop across multiple problem instances and actors to optimize the policy using clipped loss.
Experimental Setup
The "learned evolution" framework was evaluated on three distinct problem classes:
- 0-1 Knapsack Problem: A combinatorial challenge using 20 training and 10 validation instances.
- Traveling Salesman Problem (TSP): A graph-based optimization task with 40 training and 10 validation graphs.
- Continuous Function Optimization: 19 standard benchmarks (e.g., Ackley, Rastrigin) representing rugged mathematical landscapes.
Key Insights and Results
The experiments revealed that learned mutation strategies significantly outperform random or static heuristics. The DRL agent learns to be aggressive during early search phases and increasingly precise as it nears convergence.
In continuous optimization, DRL-controlled agents outperformed baseline EAs on the Ackley function by a factor of up to $10^6$ in final function value. For the TSP, the agent successfully learned to switch between seven different crossover operators, discovering optimal combinations that surpassed any single human-designed operator. Crucially, the agents demonstrated strong generalization, applying learned strategies to entirely new problem instances within the same class.
Conclusion and Future Work
While the results are promising, training stability remains a challenge, with some agents failing to converge on a useful policy. Future research will focus on training across unlimited, randomly generated instances to bolster generalization and exploring meta-optimization to handle multiple problem classes simultaneously. By shifting the burden of parameter tuning from humans to neural networks, this work paves the way for more autonomous and efficient evolutionary search.
Summary updated