Lune

NeurIPS2022Top-tier venue

A Theoretical Understanding of Gradient Bias in Meta-Reinforcement Learning

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

Abstract

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 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 O 𝐾𝛼 𝐾 σIn |𝜏| -0.5 w.r.t. inner-loop update step 𝐾, learning rate 𝛼, estimate variance σ2 In and sample size |𝜏|, and 2) the multi-step Hessian estimation bias Δ𝐻 due to the use of autodiff, which has a polynomial impact O (𝐾 -1) ( Δ𝐻 ) 𝐾 -1 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. See Appendix J for more details.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • CERTAIN: Context Uncertainty-aware One-Shot Adaptation for Context-based Offline Meta Reinforcement Learning cites Meta-Gradient Reinforcement Learning with an Objective Discovered Online
  • Discovering Reinforcement Learning Algorithms cites Improving Generalization in Meta Reinforcement Learning using Learned Objectives
  • Discovering Reinforcement Learning Algorithms cites A Self-Tuning Actor-Critic Algorithm
  • Discovering Reinforcement Learning Algorithms cites Meta-Gradient Reinforcement Learning with an Objective Discovered Online
  • Meta-Gradient Reinforcement Learning with an Objective Discovered Online cites Discovering Reinforcement Learning Algorithms
  • Meta-Gradient Reinforcement Learning with an Objective Discovered Online cites Improving Generalization in Meta Reinforcement Learning using Learned Objectives
  • Meta-Learning Objectives for Preference Optimization cites Improving Generalization in Meta Reinforcement Learning using Learned Objectives
  • Meta-Learning Objectives for Preference Optimization cites Discovering Reinforcement Learning Algorithms
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. EvIL: Evolution Strategies for Generalisable Imitation LearningSilvia Sapora, Gokul Swamy, Chris Lu, Yee Whye Teh et al.ICML 2024 · 10 citations
  2. MetaCARD: Meta-Reinforcement Learning with Task Uncertainty Feedback via Decoupled Context-Aware Reward and Dynamics ComponentsMin Wang, Xin Li, Leiji Zhang, Mingzhong WangAAAI 2024 · 6 citations
  3. GEAR: A GPU-Centric Experience Replay System for Large Reinforcement Learning ModelsHanjing Wang, Man-Kit Sit, Congjie He, Ying Wen et al.ICML 2023 · 5 citations
  4. Meta-Learning Objectives for Preference OptimizationCarlo Alfano, Silvia Sapora, Jakob N. Foerster, Patrick Rebeschini et al.NeurIPS 2025 · 3 citations
  5. CERTAIN: Context Uncertainty-aware One-Shot Adaptation for Context-based Offline Meta Reinforcement LearningHongtu Zhou, Ruiling Yang, Yakun Zhu, Haoqi Zhao et al.ICML 2025

Builds on13

  1. Learning to Utilize Shaping Rewards: A New Approach of Reward ShapingYujing Hu, Weixun Wang, Hangtian Jia, Yixiang Wang et al.NeurIPS 2020 · 256 citations
  2. Discovering Reinforcement Learning AlgorithmsJunhyuk Oh, Matteo Hessel, Wojciech M. Czarnecki, Zhongwen Xu et al.NeurIPS 2020 · 154 citations
  3. Improving Generalization in Meta Reinforcement Learning using Learned ObjectivesLouis Kirsch, Sjoerd van Steenkiste, Jürgen SchmidhuberICLR 2020 · 132 citations
  4. A Self-Tuning Actor-Critic AlgorithmTom Zahavy, Zhongwen Xu, Vivek Veeriah, Matteo Hessel et al.NeurIPS 2020 · 106 citations
  5. Meta-Gradient Reinforcement Learning with an Objective Discovered OnlineZhongwen Xu, Hado Philip van Hasselt, Matteo Hessel, Junhyuk Oh et al.NeurIPS 2020 · 90 citations

Related papers

  1. Unifying Gradient Estimators for Meta-Reinforcement Learning via Off-Policy EvaluationYunhao Tang, Tadashi Kozuno, Mark Rowland, Rémi Munos et al.NeurIPS 2021 · 9 citations
  2. Biased Gradient Estimate with Drastic Variance Reduction for Meta Reinforcement LearningYunhao TangICML 2022 · 7 citations
  3. Distributional Meta-Gradient Reinforcement LearningHaiyan Yin, Shuicheng Yan, Zhongwen XuICLR 2023
  4. On the Convergence Theory of Debiased Model-Agnostic Meta-Reinforcement LearningAlireza Fallah, Kristian Georgiev, Aryan Mokhtari, Asuman E. OzdaglarNeurIPS 2021 · 31 citations
  5. On the Second-Order Convergence of Biased Policy Gradient AlgorithmsSiqiao Mu, Diego KlabjanICML 2024 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines