Skip to main content
QUICK REVIEW

[Paper Review] Metatrace: Online Step-size Tuning by Meta-gradient Descent for Reinforcement Learning Control.

Kenny Young, Baoxiang Wang|arXiv (Cornell University)|May 10, 2018
Reinforcement Learning in RoboticsComputer Science9 references5 citations
TL;DR

Metatrace proposes online step-size tuning via meta-gradient descent for reinforcement learning control, using eligibility traces to stabilize learning in non-stationary environments. It improves learning speed and robustness to initial hyperparameters in both linear and nonlinear function approximation settings, especially under non-stationarity.

ABSTRACT

Reinforcement learning (RL) has had many successes in both deep and shallow settings. In both cases, significant hyperparameter tuning is often required to achieve good performance. Furthermore, when nonlinear function approximation is used, non-stationarity in the state representation can lead to learning instability. A variety of techniques exist to combat this --- most notably large experience replay buffers or the use of multiple parallel actors. These techniques come at the cost of moving away from the online RL problem as it is traditionally formulated (i.e., a single agent learning online without maintaining a large database of training examples). Meta-learning can potentially help with both these issues by tuning hyperparameters online and allowing the algorithm to more robustly adjust to non-stationarity in a problem. This paper applies meta-gradient descent to derive a set of step-size tuning algorithms specifically for online RL control with eligibility traces. Our novel technique, Metatrace, makes use of an eligibility trace analogous to methods like $TD(\lambda)$. We explore tuning both a single scalar step-size and a separate step-size for each learned parameter. We evaluate Metatrace first for control with linear function approximation in the classic mountain car problem and then in a noisy, non-stationary version. Finally, we apply Metatrace for control with nonlinear function approximation in 5 games in the Arcade Learning Environment where we explore how it impacts learning speed and robustness to initial step-size choice. Results show that the meta-step-size parameter of Metatrace is easy to set, Metatrace can speed learning, and Metatrace can allow an RL algorithm to deal with non-stationarity in the learning task.

Motivation & Objective

  • Address the challenge of hyperparameter sensitivity in online reinforcement learning, particularly step-size selection.
  • Improve learning stability in non-stationary environments where state representations shift during training.
  • Enable online, adaptive step-size adjustment without relying on large experience replay buffers or parallel actors.
  • Develop a meta-learning-based method that tunes step-sizes dynamically during training using eligibility traces.
  • Demonstrate robustness and efficiency gains in both linear and nonlinear function approximation settings.

Proposed method

  • Apply meta-gradient descent to learn optimal step-sizes by differentiating through the learning dynamics of the RL algorithm.
  • Introduce a meta-objective that minimizes the expected return over a trajectory, using eligibility traces to propagate credit assignment.
  • Derive update rules for both a single global step-size and per-parameter step-sizes using the gradient of the meta-objective.
  • Use eligibility traces analogous to TD(λ) to track temporal credit assignment and enable efficient meta-gradient computation.
  • Maintain a separate meta-optimizer that updates step-sizes based on the observed learning progress and prediction errors.
  • Integrate the meta-step-size tuning into standard value-based RL algorithms such as Sarsa and Q-learning, extending them to be meta-learned.

Experimental results

Research questions

  • RQ1Can meta-gradient descent be effectively applied to online step-size tuning in reinforcement learning with eligibility traces?
  • RQ2How does Metatrace improve learning speed and stability in non-stationary environments compared to fixed step-sizes?
  • RQ3To what extent does Metatrace reduce sensitivity to initial step-size choices in nonlinear function approximation?
  • RQ4Can per-parameter step-size adaptation via meta-learning lead to faster convergence and better performance in complex control tasks?
  • RQ5How does Metatrace perform in environments with shifting state distributions, especially when traditional replay buffers are not used?

Key findings

  • Metatrace significantly accelerates learning in the classic mountain car environment compared to fixed step-sizes.
  • In a noisy, non-stationary version of mountain car, Metatrace maintains stable learning where fixed step-sizes fail or diverge.
  • Metatrace reduces sensitivity to initial step-size choice in the Arcade Learning Environment, enabling reliable performance across a wide range of settings.
  • The meta-step-size hyperparameter in Metatrace is easy to set and remains effective across diverse tasks without extensive tuning.
  • Metatrace enables robust learning in nonlinear function approximation settings, improving convergence speed and stability in 5 Atari games.
  • Per-parameter step-size adaptation in Metatrace leads to faster policy convergence and better final performance than scalar step-size tuning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.