Learning to Optimize for Reinforcement Learning

Qingfeng Lan, A. Rupam Mahmood, Shuicheng Yan, Zhongwen Xu
2/3/2023
cs.LGcs.AI

No official code found. Best implementation: sail-sg/optim4rl (28 stars, Apache-2.0, JAX, last commit 2024-11-27).

Abstract

In recent years, by leveraging more data, computation, and diverse tasks, learned optimizers have achieved remarkable success in supervised learning, outperforming classical hand-designed optimizers. Reinforcement learning (RL) is essentially different from supervised learning, and in practice, these learned optimizers do not work well even in simple RL tasks. We investigate this phenomenon and identify two issues. First, the agent-gradient distribution is non-independent and identically distributed, leading to inefficient meta-training. Moreover, due to highly stochastic agent-environment interactions, the agent-gradients have high bias and variance, which increases the difficulty of learning an optimizer for RL. We propose pipeline training and a novel optimizer structure with a good inductive bias to address these issues, making it possible to learn an optimizer for reinforcement learning from scratch. We show that, although only trained in toy tasks, our learned optimizer can generalize to unseen complex tasks in Brax.

View on arXivView PDF

Code Implementations(1)

sail-sg/optim4rlCommunity100%
JAXApache-2.0

Optim4RL is a Jax framework of learning to optimize for reinforcement learning.

282Shell, Python1 years agoApache-2.0
jaxlearning-to-learnlearning-to-optimizemeta-learningmeta-learning-algorithm+7 more

Similar Papers

Cite this paper

@article{lan2023learning,
  title  = {Learning to Optimize for Reinforcement Learning},
  author = {Qingfeng Lan and A. Rupam Mahmood and Shuicheng Yan and Zhongwen Xu},
  year   = {2023},
  eprint = {2302.01470},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.01470v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.01470.svg)](https://codeofpaper.com/paper/2302.01470)

Discussion