Abstract
Reinforcement learning (RL) agents often struggle to adapt when environments shift from their training conditions, frequently falling into local optima by attempting to apply obsolete strategies. This paper proposes Instance Weighted Incremental Evolution Strategies (IW-IES), a framework that facilitates rapid adaptation by weighting policy mutations based on both their performance quality and their behavioral novelty relative to previous optimal policies. Experimental results across navigation and robotic locomotion tasks demonstrate that IW-IES significantly outperforms existing meta-learning and robust RL baselines in both speed of adaptation and final performance.
Introduction
Standard RL algorithms typically assume stationary environments. However, real-world applications—ranging from robotics to autonomous navigation—are inherently dynamic. When environmental transitions or reward functions change, agents face "catastrophic forgetting" if they restart learning, or "local optima bias" if they fine-tune from a previous policy. Evolution Strategies (ES), while efficient and parallelizable, are particularly susceptible to getting stuck in old habits when the environment shifts.
The IW-IES Framework
To address these challenges, the authors introduce IW-IES, which builds upon Natural Evolution Strategies (NES). The core innovation is an instance-weighting layer applied to the mutation process. When an environment change is detected, the agent initializes with the previous optimal policy parameters ($\theta_{t-1}^*$). Instead of treating all mutations equally, IW-IES calculates a weight ($w_i$) for each mutation based on two metrics:
- Instance Novelty ($N$): Measures how much the mutation's behavior deviates from the previous optimal behavior. This encourages exploration away from failing habits.
- Instance Quality ($Qu$): Measures the return of the mutation in the new environment, ensuring the agent prioritizes high-performing strategies.
By combining these metrics into a mixing variant, the algorithm reinforces mutations that are both effective and behaviorally distinct from the obsolete strategy. A "temperature" parameter is used to initially favor exploration (novelty) and gradually shift toward exploitation (quality) as the agent converges.
Experimental Evaluation
The researchers evaluated IW-IES in several domains:
- 2D Navigation: In a task where a deceptive obstacle was introduced, IW-IES reached near-optimal performance in just 40 generations, whereas baselines like ES-MAML failed to adapt even after 200 generations.
- MuJoCo Locomotion: In high-dimensional tasks like "Swimmer" and "HalfCheetah" with changing target velocities, IW-IES nearly doubled the performance of the best baseline methods (e.g., achieving ~21.78 vs ~12.75 in the Swimmer task).
Key Insights
The success of IW-IES stems from its ability to break the "bias of the past." By explicitly incentivizing behavioral deviation through the Instance Novelty metric, the agent is "nudged" to stop attempting strategies that are no longer viable. Furthermore, because novelty is measured in behavior space (e.g., physical coordinates) rather than parameter space, the exploration is more semantically meaningful. Crucially, this approach maintains the linear scalability of ES with negligible computational overhead.
Conclusion and Future Work
IW-IES provides a robust and efficient mechanism for RL agents to adapt to dynamic environments. Future research directions include automating behavior characterization using autoencoders and integrating automated change detection modules to trigger the incremental learning process in real-time without manual intervention.
Summary updated