arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.04498cs.LG
收藏

基于模型的迁移学习用于上下文强化学习

Model-Based Transfer Learning for Contextual Reinforcement Learning

MIT(麻省理工学院)

Jung-Hoon Cho, Vindula Jayawardana, Sirui Li, Cathy Wu

AI总结:

针对上下文强化学习中训练任务选择问题,提出基于模型的迁移学习(MBTL),结合高斯过程与贝叶斯优化策略性选任务,实现高达43倍样本效率提升。

摘要:

深度强化学习(RL)是解决复杂决策问题的强大方法。然而,限制其实际应用的一个问题是其脆弱性,有时在环境发生微小变化时无法训练。受零样本迁移(即预训练模型在相关任务上表现良好)成功的启发,我们考虑了选择一组好的训练任务以最大化跨任务泛化性能的问题。鉴于训练成本高昂,策略性地选择训练任务至关重要,但如何做到这一点尚未得到充分理解。因此,我们引入了基于模型的迁移学习(MBTL),它叠加在现有RL方法之上,以有效解决上下文RL问题。MBTL将泛化性能建模为两部分:1)性能设定点,使用高斯过程建模;2)性能损失(泛化差距),建模为上下文相似性的线性函数。MBTL在贝叶斯优化(BO)框架内结合这两部分信息,以策略性地选择训练任务。我们从理论上证明该方法在训练任务数量上具有次线性遗憾,并讨论了进一步收紧遗憾界限的条件。我们使用城市交通和标准连续控制基准进行了实验验证。实验结果表明,与典型的独立训练和多任务训练相比,MBTL可以实现高达43倍的样本效率提升。进一步的实验证明了BO的有效性以及对底层RL算法和超参数的不敏感性。这项工作为研究泛化的显式建模奠定了基础,从而为上下文RL提供了有原则且有效的方法。

英文摘要:

Deep reinforcement learning (RL) is a powerful approach to complex decision making. However, one issue that limits its practical application is its brittleness, sometimes failing to train in the presence of small changes in the environment. Motivated by the success of zero-shot transfer-where pre-trained models perform well on related tasks-we consider the problem of selecting a good set of training tasks to maximize generalization performance across a range of tasks. Given the high cost of training, it is critical to select training tasks strategically, but not well understood how to do so. We hence introduce Model-Based Transfer Learning (MBTL), which layers on top of existing RL methods to effectively solve contextual RL problems. MBTL models the generalization performance in two parts: 1) the performance set point, modeled using Gaussian processes, and 2) performance loss (generalization gap), modeled as a linear function of contextual similarity. MBTL combines these two pieces of information within a Bayesian optimization (BO) framework to strategically select training tasks. We show theoretically that the method exhibits sublinear regret in the number of training tasks and discuss conditions to further tighten regret bounds. We experimentally validate our methods using urban traffic and standard continuous control benchmarks. The experimental results suggest that MBTL can achieve up to 43x improved sample efficiency compared with canonical independent training and multi-task training. Further experiments demonstrate the efficacy of BO and the insensitivity to the underlying RL algorithm and hyperparameters. This work lays the foundations for investigating explicit modeling of generalization, thereby enabling principled yet effective methods for contextual RL.

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

↑