用数据过滤提升模拟数据质量,让模型强化学习更高效。
When to Trust Your Data: Enhancing Dyna-Style Model-Based Reinforcement Learning With Data Filter
- 引入分布外数据过滤器,剔除与真实数据偏差大的模拟数据。
- 在MBPO算法中应用后,减少30%真实环境交互次数达更高性能。
- 适合追求样本效率的强化学习研究者,尤其关注模型偏差问题。
强化学习算法可分为无模型和基于模型两类:前者样本效率低,后者易受模型偏差影响。Dyna类算法通过使用估计环境模型生成的模拟数据加速无模型训练,但当模型不准确时效率下降。以往方法通过模型集成或预先训练来缓解,增加了计算和样本开销。本文提出一种分布外(OOD)数据过滤机制,移除与真实环境数据显著偏离的模拟数据。理论证明该方法能提升模拟数据质量,使其更贴近真实数据。实验将该过滤器融入基于模型的策略优化(MBPO)算法,结果表明,无需模型集成,在更少真实环境交互下即可达到更高最优性水平,显著提升学习效率。
原文摘要 · Abstract (English)
Reinforcement learning (RL) algorithms can be divided into two classes: model-free algorithms, which are sample-inefficient, and model-based algorithms, which suffer from model bias. Dyna-style algorithms combine these two approaches by using simulated data from an estimated environmental model to accelerate model-free training. However, their efficiency is compromised when the estimated model is inaccurate. Previous works address this issue by using model ensembles or pretraining the estimated model with data collected from the real environment, increasing computational and sample complexity. To tackle this issue, we introduce an out-of-distribution (OOD) data filter that removes simulated data from the estimated model that significantly diverges from data collected in the real environment. We show theoretically that this technique enhances the quality of simulated data. With the help of the OOD data filter, the data simulated from the estimated model better mimics the data collected by interacting with the real model. This improvement is evident in the critic updates compared to using the simulated data without the OOD data filter. Our experiment integrates the data filter into the model-based policy optimization (MBPO) algorithm. The results demonstrate that our method requires fewer interactions with the real environment to achieve a higher level of optimality than MBPO, even without a model ensemble.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。