[论文解读] How to pick the domain randomization parameters for sim-to-real transfer of reinforcement learning policies?
本文通过双层优化方法优化领域随机化参数,以提升仿真到现实的强化学习迁移性能。通过使用交叉熵方法(Cross Entropy Method)调整仿真参数(如质量、阻尼、重力)的分布,该方法在真实世界仿真环境中使Hopper的性能最高提升102%,Walker的性能最高提升80%,相比手工调优的默认参数。
Recently, reinforcement learning (RL) algorithms have demonstrated remarkable success in learning complicated behaviors from minimally processed input. However, most of this success is limited to simulation. While there are promising successes in applying RL algorithms directly on real systems, their performance on more complex systems remains bottle-necked by the relative data inefficiency of RL algorithms. Domain randomization is a promising direction of research that has demonstrated impressive results using RL algorithms to control real robots. At a high level, domain randomization works by training a policy on a distribution of environmental conditions in simulation. If the environments are diverse enough, then the policy trained on this distribution will plausibly generalize to the real world. A human-specified design choice in domain randomization is the form and parameters of the distribution of simulated environments. It is unclear how to the best pick the form and parameters of this distribution and prior work uses hand-tuned distributions. This extended abstract demonstrates that the choice of the distribution plays a major role in the performance of the trained policies in the real world and that the parameter of this distribution can be optimized to maximize the performance of the trained policies in the real world
研究动机与目标
- 解决仿真到现实强化学习中领域随机化参数选择缺乏系统方法的问题。
- 证明手工调优的领域随机化分布并非最优,可通过优化方法进一步改进。
- 实现对领域随机化分布的直接优化,以最大化真实世界策略性能,而非依赖代理目标。
- 探索在训练过程中使用真实世界反馈以指导仿真环境分布设计的可行性。
- 为不同机器人和任务建立可迁移的、与任务无关的领域随机化参数初始化基础。
提出的方法
- 将领域随机化建模为双层优化问题:优化分布参数φ以最大化真实世界性能。
- 使用交叉熵方法(CEM)求解外层优化问题,即最大化在分布pφ下训练的策略的真实世界性能。
- 使用近端策略优化(PPO)求解内层问题,以在分布pφ下训练策略θ*。
- 对仿真参数(质量、阻尼、重力)采用由φ = (均值, 方差)参数化的对角高斯分布。
- 以默认值初始化φ(均值 = Dart仿真器参数,方差 = 1),并通过真实世界评估反馈迭代优化。
- 在每次CEM迭代中集成真实世界性能评估,以指导φ的优化,实现数据高效的适应。
实验结果
研究问题
- RQ1领域随机化参数的选择是否显著影响强化学习策略的真实世界性能?
- RQ2能否通过优化领域随机化分布参数,使仿真到现实的迁移性能超越手工调优的默认参数?
- RQ3在训练过程中使用真实世界性能反馈以指导仿真分布参数优化是否可行?
- RQ4能否将领域随机化参数的优化方法推广至不同机器人任务和仿真器?
- RQ5在真实世界反馈循环中,使用无梯度优化方法(如CEM)调优领域随机化分布有何优势?
主要发现
- 使用CEM优化领域随机化参数后,与手工调优的初始参数相比,Hopper环境中策略性能平均提升了102%。
- 在Walker环境中,优化后的参数相比基线实现了80%的平均性能提升,最低提升达19%。
- 性能提升的方差(Hopper为48%,Walker为53%)表明改进结果具有一致性但存在波动,提示对随机种子具有鲁棒性。
- 结果表明,手工调优的领域随机化分布并非最优,可通过自动化优化显著改进。
- 该方法成功利用真实世界反馈指导仿真分布设计,表明直接优化真实世界性能是可行且有效的。
- 该方法为系统性提升仿真到现实的迁移性能提供了框架,具有扩展至复杂分布和非策略型强化学习的潜力。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。