通过反事实推理增强数据,提升强化学习在分布外场景下的表现。
Counterfactual experience augmented off-policy reinforcement learning
- 用变分自编码器建模状态转移,生成反事实经验扩充数据池。
- 在满足双模拟假设的环境中,性能超越主流SOTA算法。
- 适用于离散观测与动作空间,可扩展至多种复杂环境。
强化学习控制算法面临分布外和探索效率低的问题。虽然基于模型的强化学习通过构建虚拟环境提升了智能体的推理与规划能力,但训练虚拟环境过程复杂。为构建高效推理模型并增强学习数据代表性,我们提出反事实经验增强(CEA)算法。该算法利用变分自编码器建模状态转移动态,并引入随机性以模拟非平稳性。通过反事实推断扩展经验池中的学习数据,在满足双模拟假设的环境中表现优异。针对具有双模拟性质的离散观测与动作空间环境,提出基于最大核密度估计熵的采样方法,使CEA可推广至多种环境。基于真实信息为反事实状态转移提供奖励信号,构建完整反事实经验,缓解学习数据的分布外问题,并在具有差异性质的环境中优于通用SOTA算法。最后讨论了生成的反事实经验与真实经验的异同及特性。代码已开源:https://github.com/Aegis1863/CEA。
原文摘要 · Abstract (English)
Reinforcement learning control algorithms face significant challenges due to out-of-distribution and inefficient exploration problems. While model-based reinforcement learning enhances the agent's reasoning and planning capabilities by constructing virtual environments, training such virtual environments can be very complex. In order to build an efficient inference model and enhance the representativeness of learning data, we propose the Counterfactual Experience Augmentation (CEA) algorithm. CEA leverages variational autoencoders to model the dynamic patterns of state transitions and introduces randomness to model non-stationarity. This approach focuses on expanding the learning data in the experience pool through counterfactual inference and performs exceptionally well in environments that follow the bisimulation assumption. Environments with bisimulation properties are usually represented by discrete observation and action spaces, we propose a sampling method based on maximum kernel density estimation entropy to extend CEA to various environments. By providing reward signals for counterfactual state transitions based on real information, CEA constructs a complete counterfactual experience to alleviate the out-of-distribution problem of the learning data, and outperforms general SOTA algorithms in environments with difference properties. Finally, we discuss the similarities, differences and properties of generated counterfactual experiences and real experiences. The code is available at https://github.com/Aegis1863/CEA.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。