arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2112.15400cs.LGcs.AI
收藏

元强化学习中梯度偏差的理论理解

A Theoretical Understanding of Gradient Bias in Meta-Reinforcement Learning

University College London(伦敦大学学院);University of Edinburgh(爱丁堡大学);DeepMind(深度思维);Institute for AI, Peking University(北京大学人工智能研究院);Beijing Institute for General AI(北京通用人工智能研究院)

Xidong Feng, Bo Liu, Jie Ren, Luo Mai, Rui Zhu, Haifeng Zhang, Jun Wang, Yaodong Yang

AI总结:

本文提出统一框架描述GMRL算法变体,指出其随机元梯度估计器存在组合偏差与多步Hessian估计偏差,并通过表格MDP、Iterated Prisoner's Dilemma和Atari游戏实验验证理论发现及偏差修复方法。

摘要:

基于梯度的元强化学习(GMRL)是指维持双层优化过程的方法,其中外环元学习器引导内环基于梯度的强化学习器以实现快速适应。在本文中,我们开发了一个统一框架来描述 GMRL 算法的变体,并指出 GMRL 采用的现有随机元梯度估计器实际上是存在偏差的。这种元梯度偏差源于两个方面:1)由双层问题结构引起的组合偏差,其关于内环更新步数 K、学习率 α、估计方差和样本量的上界为 O(Kα^K σ̂_In|τ|^{-0.5});2)由于使用自动微分引起的多步 Hessian 估计偏差 Δ̂_H,其对元梯度偏差具有多项式影响 O((K-1)(Δ̂_H)^{K-1})。我们通过实证研究了表格 MDP,并提供了定量证据,证实了我们关于现有随机元梯度估计器的理论发现。此外,我们在 Iterated Prisoner's Dilemma 和 Atari 游戏上进行了实验,展示了诸如 off-policy 学习和低偏差估计器等其他方法如何有助于修复一般 GMRL 算法的梯度偏差。

英文摘要:

Gradient-based Meta-RL (GMRL) refers to methods that maintain two-level optimisation procedures wherein the outer-loop meta-learner guides the inner-loop gradient-based reinforcement learner to achieve fast adaptations. In this paper, we develop a unified framework that describes variations of GMRL algorithms and points out that existing stochastic meta-gradient estimators adopted by GMRL are actually \textbf{biased}. Such meta-gradient bias comes from two sources: 1) the compositional bias incurred by the two-level problem structure, which has an upper bound of $\mathcal{O}\big(Kα^{K}\hatσ_{\text{In}}|τ|^{-0.5}\big)$ \emph{w.r.t.} inner-loop update step $K$, learning rate $α$, estimate variance $\hatσ^{2}_{\text{In}}$ and sample size $|τ|$, and 2) the multi-step Hessian estimation bias $\hatΔ_{H}$ due to the use of autodiff, which has a polynomial impact $\mathcal{O}\big((K-1)(\hatΔ_{H})^{K-1}\big)$ on the meta-gradient bias. We study tabular MDPs empirically and offer quantitative evidence that testifies our theoretical findings on existing stochastic meta-gradient estimators. Furthermore, we conduct experiments on Iterated Prisoner's Dilemma and Atari games to show how other methods such as off-policy learning and low-bias estimator can help fix the gradient bias for GMRL algorithms in general.

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

↑