Skip to main content
QUICK REVIEW

[论文解读] Residual Q-Learning: Offline and Online Policy Customization without Value

Chenran Li, Chen Tang|arXiv (Cornell University)|Jun 15, 2023
Reinforcement Learning in RoboticsComputer Science被引用 3
一句话总结

该论文提出残差Q-learning(RQL),一种用于离线与在线策略定制的新框架,使预训练的模仿策略能够适应新的下游任务,同时保持其专家级行为。通过将定制化建模为一个马尔可夫决策过程(MDP),并采用模仿与任务特定目标相结合的奖励函数,RQL在无需访问先验策略的奖励或价值函数的情况下,学习残差Q函数,从而在多个环境中实现了模仿与新任务性能之间的有效权衡。

ABSTRACT

Imitation Learning (IL) is a widely used framework for learning imitative behavior from demonstrations. It is especially appealing for solving complex real-world tasks where handcrafting reward function is difficult, or when the goal is to mimic human expert behavior. However, the learned imitative policy can only follow the behavior in the demonstration. When applying the imitative policy, we may need to customize the policy behavior to meet different requirements coming from diverse downstream tasks. Meanwhile, we still want the customized policy to maintain its imitative nature. To this end, we formulate a new problem setting called policy customization. It defines the learning task as training a policy that inherits the characteristics of the prior policy while satisfying some additional requirements imposed by a target downstream task. We propose a novel and principled approach to interpret and determine the trade-off between the two task objectives. Specifically, we formulate the customization problem as a Markov Decision Process (MDP) with a reward function that combines 1) the inherent reward of the demonstration; and 2) the add-on reward specified by the downstream task. We propose a novel framework, Residual Q-learning, which can solve the formulated MDP by leveraging the prior policy without knowing the inherent reward or value function of the prior policy. We derive a family of residual Q-learning algorithms that can realize offline and online policy customization, and show that the proposed algorithms can effectively accomplish policy customization tasks in various environments. Demo videos and code are available on our website: https://sites.google.com/view/residualq-learning.

研究动机与目标

  • 解决预训练模仿策略在新下游任务上定制化的同时保持其专家级特性的挑战。
  • 将策略定制形式化为一个马尔可夫决策过程(MDP),采用整合了模仿与任务特定目标的组合奖励函数。
  • 开发一种系统性方法,学习模仿与下游任务性能之间的权衡,而无需了解先验策略的固有奖励或价值函数。
  • 通过残差Q-learning实现离线与在线策略定制,支持端到端的无模型与基于模型的方法。
  • 在多种环境(包括连续控制、自动驾驶和操作任务)中展示RQL的有效性。

提出的方法

  • 将策略定制建模为一个MDP,其奖励函数为先验策略对数似然(模仿)与附加奖励(下游任务)的线性组合。
  • 引入残差Q函数,结合先验策略的对数似然,推导出目标MDP的最大熵策略。
  • 基于软贝尔曼方程推导残差Q函数的迭代更新规则,实现在无需访问先验策略奖励或价值函数情况下的训练。
  • 开发无模型算法:残差软Q学习与残差软演员-critic,基于成熟的最大熵强化学习方法进行适配。
  • 提出基于模型的变体,利用最大熵蒙特卡洛树搜索(ME-MCTS),在具备动力学模型时实现零样本在线定制。
  • 在策略优化中利用先验策略的行为作为行为先验,确保与专家演示的连续性。

实验结果

研究问题

  • RQ1预训练的模仿策略能否在保持其专家级行为的同时,有效适应新的下游任务?
  • RQ2在无法访问先验策略奖励或价值函数的情况下,如何实现模仿与下游任务目标之间的系统性权衡?
  • RQ3残差Q-learning能否在多种环境中实现离线与在线策略定制,并保持强大性能?
  • RQ4与标准强化学习微调和行为克隆相比,RQL在保持模仿质量的同时适应新目标的性能如何?
  • RQ5分布偏移对策略定制的影响是什么,以及如何缓解?

主要发现

  • 在CartPole环境中,RQL定制的策略在基础任务上实现了100%的成功率,同时将负向附加奖励从-31.11±22.82(先验)降低至-11.18±10.12(定制后),表明实现了有效适应。
  • 在Continuous Mountain Car环境中,定制策略将附加奖励从-4.23±0.13(先验)提升至-3.79±0.07,同时保持高成功率并减少行为偏差。
  • 在Highway环境中,RQL定制策略实现了97.19%的成功率,并将附加奖励从9.17±5.54(先验)提升至19.42±0.99,展现出在新任务上的强劲表现。
  • 在Parking环境中,定制的IL策略将成功率从70.91%(先验)提升至83.59%,同时将安全合规性从11.27%提升至66.07%,并将负奖励从-4.94±5.52降低至-0.32±0.73。
  • 基于模型的ME-MCTS变体在Highway环境中实现了98.00%的成功率,并保持了较高的附加奖励(19.19±1.38),显示出零样本在线定制的强大潜力。
  • RQL框架在保持基础任务高性能(如Mountain Car中95.61±0.43的基础奖励)的同时,显著提升了附加任务的性能,证实了有效权衡学习的成功。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。