The safe application of reinforcement learning (RL) requires generalization from limited training data to unseen scenarios. Yet, fulfilling tasks under changing circumstances is a key challenge in RL. Current state-of-the-art approaches for generalization apply data augmentation techniques to increase the diversity of training data. Even though this prevents overfitting to the training environment(s), it hinders policy optimization. Crafting a suitable observation, only containing crucial information, has been shown to be a challenging task itself. To improve data efficiency and generalization capabilities, we propose Compact Reshaped Observation Processing (CROP) to reduce the state information used for policy optimization. By providing only relevant information, overfitting to a specific training layout is precluded and generalization to unseen environments is improved. We formulate three CROPs that can be applied to fully observable observation- and action-spaces and provide methodical foundation. We empirically show the improvements of CROP in a distributionally shifted safety gridworld. We furthermore provide benchmark comparisons to full observability and data-augmentation in two different-sized procedurally generated mazes.
翻译:强化学习的安全应用要求从有限训练数据泛化到未见场景。然而,在变化环境中完成任务是强化学习面临的关键挑战。当前最先进的泛化方法采用数据增强技术来增加训练数据的多样性,虽然避免了过拟合训练环境,却阻碍了策略优化。如何构建仅包含关键信息的合适观测本身就被证明是一项困难任务。为提升数据效率与泛化能力,我们提出紧凑重塑观测处理方法(CROP),通过减少策略优化所使用的状态信息来实现目标。通过仅提供相关信息,该方法可避免对特定训练布局的过拟合,并提升对未见环境的泛化性能。我们设计了三种适用于完全可观测观测空间与动作空间的CROP方法,并提供了方法论基础。通过在存在分布偏移的安全网格世界中的实验,我们实证展示了CROP的改进效果,并在两种不同规模的程序化生成迷宫中与完全可观测性和数据增强方法进行了基准对比。