让强化学习策略像生物进化一样自适应环境剧变
Survival of the Fittest: Evolutionary Adaptation of Policies for Environmental Shifts
- 用演化博弈理论设计迭代优化策略,动态平衡探索与旧策略依赖
- 在奖励稀疏环境下能收敛到新环境最优策略,适应能力更强
- 适合应对突发环境变化的机器人路径规划,比传统方法更快更省算力
强化学习已在随机不确定环境中成功求解自主代理的无碰撞路径问题。然而,当环境底层随机动态发生剧烈分布偏移时,训练所得最优策略可能失效或次优。现有方法如领域随机化和鲁棒强化学习通常假设分布偏移较小(有界),而对重大偏移则需重新训练(可从热启动或零开始)。本文提出一种名为「进化鲁棒策略优化」(ERPO)的新方法,受演化博弈理论启发,通过温度参数控制探索与旧策略保持之间的权衡,策略更新基于复制者动力学。在奖励稀疏的常见假设下,证明了ERPO能收敛至新环境最优策略。实验表明,在多个路径规划任务中,无论是否允许从头训练、重训或结合领域随机化,ERPO均优于PPO、A3C、DQN等主流算法,表现出更快策略适应速度、更高平均回报及更低计算开销。
原文摘要 · Abstract (English)
Reinforcement learning (RL) has been successfully applied to solve the problem of finding obstacle-free paths for autonomous agents operating in stochastic and uncertain environments. However, when the underlying stochastic dynamics of the environment experiences drastic distribution shifts, the optimal policy obtained in the trained environment may be sub-optimal or may entirely fail in helping find goal-reaching paths for the agent. Approaches like domain randomization and robust RL can provide robust policies, but typically assume minor (bounded) distribution shifts. For substantial distribution shifts, retraining (either with a warm-start policy or from scratch) is an alternative approach. In this paper, we develop a novel approach called {\em Evolutionary Robust Policy Optimization} (ERPO), an adaptive re-training algorithm inspired by evolutionary game theory (EGT). ERPO learns an optimal policy for the shifted environment iteratively using a temperature parameter that controls the trade off between exploration and adherence to the old optimal policy. The policy update itself is an instantiation of the replicator dynamics used in EGT. We show that under fairly common sparsity assumptions on rewards in such environments, ERPO converges to the optimal policy in the shifted environment. We empirically demonstrate that for path finding tasks in a number of environments, ERPO outperforms several popular RL and deep RL algorithms (PPO, A3C, DQN) in many scenarios and popular environments. This includes scenarios where the RL algorithms are allowed to train from scratch in the new environment, when they are retrained on the new environment, or when they are used in conjunction with domain randomization. ERPO shows faster policy adaptation, higher average rewards, and reduced computational costs in policy adaptation.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。