Abstract
Reinforcement Learning (RL) has achieved impressive performance in many complex environments due to the integration with Deep Neural Networks (DNNs). At the same time, Genetic Algorithms (GAs), often seen as a competing approach to RL, had limited success in scaling up to the DNNs required to solve challenging tasks. Contrary to this dichotomic view, in the physical world, evolution and learning are complementary processes that continuously interact. The recently proposed Evolutionary Reinforcement Learning (ERL) framework has demonstrated mutual benefits to performance when combining the two methods. However, ERL has not fully addressed the scalability problem of GAs. In this paper, we show that this problem is rooted in an unfortunate combination of a simple genetic encoding for DNNs and the use of traditional biologically-inspired variation operators. When applied to these encodings, the standard operators are destructive and cause catastrophic forgetting of the traits the networks acquired. We propose a novel algorithm called Proximal Distilled Evolutionary Reinforcement Learning (PDERL) that is characterised by a hierarchical integration between evolution and learning. The main innovation of PDERL is the use of learning-based variation operators that compensate for the simplicity of the genetic representation. Unlike traditional operators, our proposals meet the functional requirements of variation operators when applied on directly-encoded DNNs. We evaluate PDERL in five robot locomotion settings from the OpenAI gym. Our method outperforms ERL, as well as two state-of-the-art RL algorithms, PPO and TD3, in all tested environments.
Introduction
In the field of artificial intelligence, Reinforcement Learning (RL) and Genetic Algorithms (GAs) are often viewed as competing paradigms. While RL excels at fine-tuning behaviors through gradient-based optimization, GAs offer robust exploration capabilities. However, GAs frequently struggle to scale to the massive Deep Neural Networks (DNNs) required for modern tasks. The core issue lies in the fragility of DNNs: traditional genetic operators, such as $n$-point crossover and Gaussian mutation, are often destructive when applied to raw weights, leading to "catastrophic forgetting."
Researchers from the University of Cambridge propose Proximal Distilled Evolutionary Reinforcement Learning (PDERL) to bridge this gap. By rethinking evolution as a functional process rather than a numerical one, PDERL evolves the phenotype (behavior) rather than just the genotype (weights), allowing for a more stable and scalable integration of evolution and learning.
The PDERL Framework
PDERL introduces a hierarchical integration where a population of agents evolves while a standalone RL agent (utilizing TD3 or DDPG) provides the "Critic" knowledge necessary to guide that evolution. This structure allows the system to leverage the precision of deep learning to inform the exploratory steps of the evolutionary process.
Learning-Based Variation Operators
The primary innovation of PDERL is the replacement of traditional, destructive genetic operators with two novel, learning-based alternatives:
- Q-filtered Distillation Crossover: Instead of swapping weight chunks, this operator uses a "Genetic Memory" buffer. It utilizes the RL agent’s Critic ($Q$-network) to evaluate which parent's action is superior for a given state. The child network is then trained via distillation (imitation learning) to mimic the winning parent's actions, ensuring the inheritance of functional traits without disrupting internal network logic.
- Proximal Mutation: Unlike standard Gaussian mutation, which adds noise blindly, proximal mutation utilizes the gradient of the network's output to calculate weight sensitivity. Weights with a high impact on behavior are modified less, while less sensitive weights are explored more freely, keeping the child within the functional "proximity" of the parent’s successful behavior.
Experimental Results
The researchers evaluated PDERL on five standard continuous control benchmarks from the OpenAI Gym (MuJoCo): Swimmer, HalfCheetah, Hopper, Walker2d, and Ant. PDERL consistently outperformed the original ERL framework and pure RL algorithms like PPO and TD3.
In the Ant-v2 environment, PDERL achieved a mean reward of 6845, nearly double that of the original ERL (~4330). Furthermore, empirical analysis showed that while traditional $n$-point crossover often results in children with less than 40% of their parents' fitness, PDERL’s distillation crossover produces children that are almost always as capable as their predecessors.
Conclusion
PDERL demonstrates that the scalability issues of GAs in deep learning are not inherent to evolution itself, but rather to the use of variation operators that ignore the functional nature of neural networks. By moving from weight-space to behavior-space, PDERL provides a stable, efficient, and high-performing framework for hybrid AI. Future work may explore more sophisticated memory management and refined selection logic to further enhance the efficiency of the distillation process.
Summary updated