arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.04815cs.LGcs.AIcs.RO
收藏

技能感知互信息优化用于强化学习中的泛化

Skill-aware Mutual Information Optimisation for Generalisation in Reinforcement Learning

Harbin Institute of Technology(哈尔滨工业大学);University of Edinburgh(爱丁堡大学)

Xuehui Yu, Mhairi Dunion, Xin Li, Stefano V. Albrecht

AI总结:

本文提出技能感知互信息(SaMI)及其估计器SaNCE,通过区分上下文嵌入来提升元强化学习智能体的零样本泛化能力,并在MuJoCo和Panda-gym基准上验证了其有效性及对样本减少的鲁棒性。

摘要:

元强化学习(Meta-RL)智能体在跨任务操作时可能遇到困难,这些任务具有不同的环境特征,需要不同的最优技能(即不同的行为模式)。利用基于对比学习的上下文编码器来增强元强化学习智能体的泛化能力已被广泛研究,但面临诸如需要大量样本等挑战,这也被称为$\log$-$K$诅咒。为了提高强化学习对不同任务的泛化能力,我们首先引入了技能感知互信息(SaMI),这是一个优化目标,有助于根据技能区分上下文嵌入,从而使强化学习智能体具备跨任务识别和执行不同技能的能力。然后,我们提出了技能感知噪声对比估计(SaNCE),一种用于优化SaMI目标的$K$样本估计器。我们提供了一个框架,用于在实践中为强化学习智能体配备SaNCE,并在修改后的MuJoCo和Panda-gym基准上进行了实验验证。我们通过实验发现,通过最大化SaMI学习的强化学习智能体在未见任务上实现了显著改进的零样本泛化。此外,使用SaNCE训练的上下文编码器在可用样本数量减少时表现出更强的鲁棒性,从而具有克服$\log$-$K$诅咒的潜力。

英文摘要:

Meta-Reinforcement Learning (Meta-RL) agents can struggle to operate across tasks with varying environmental features that require different optimal skills (i.e., different modes of behaviour). Using context encoders based on contrastive learning to enhance the generalisability of Meta-RL agents is now widely studied but faces challenges such as the requirement for a large sample size, also referred to as the $\log$-$K$ curse. To improve RL generalisation to different tasks, we first introduce Skill-aware Mutual Information (SaMI), an optimisation objective that aids in distinguishing context embeddings according to skills, thereby equipping RL agents with the ability to identify and execute different skills across tasks. We then propose Skill-aware Noise Contrastive Estimation (SaNCE), a $K$-sample estimator used to optimise the SaMI objective. We provide a framework for equipping an RL agent with SaNCE in practice and conduct experimental validation on modified MuJoCo and Panda-gym benchmarks. We empirically find that RL agents that learn by maximising SaMI achieve substantially improved zero-shot generalisation to unseen tasks. Additionally, the context encoder trained with SaNCE demonstrates greater robustness to a reduction in the number of available samples, thus possessing the potential to overcome the $\log$-$K$ curse.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑