Skip to main content
QUICK REVIEW

[Paper Review] On the Importance of Hyperparameter Optimization for Model-based Reinforcement Learning

Baohe Zhang, Raghu Rajan|arXiv (Cornell University)|Feb 26, 2021
Machine Learning and Data ClassificationComputer Science21 references32 citations
TL;DR

Automatic hyperparameter optimization (HPO) can outperform human experts in model-based RL, and dynamic HPO further improves performance, highlighting non-stationarity and environment-specific effects of hyperparameters.

ABSTRACT

Model-based Reinforcement Learning (MBRL) is a promising framework for learning control in a data-efficient manner. MBRL algorithms can be fairly complex due to the separate dynamics modeling and the subsequent planning algorithm, and as a result, they often possess tens of hyperparameters and architectural choices. For this reason, MBRL typically requires significant human expertise before it can be applied to new problems and domains. To alleviate this problem, we propose to use automatic hyperparameter optimization (HPO). We demonstrate that this problem can be tackled effectively with automated HPO, which we demonstrate to yield significantly improved performance compared to human experts. In addition, we show that tuning of several MBRL hyperparameters dynamically, i.e. during the training itself, further improves the performance compared to using static hyperparameters which are kept fixed for the whole training. Finally, our experiments provide valuable insights into the effects of several hyperparameters, such as plan horizon or learning rate and their influence on the stability of training and resulting rewards.

Motivation & Objective

  • Motivate the need for automatic HPO in model-based RL due to high-dimensional hyperparameter spaces and data-efficiency concerns.
  • Evaluate whether HPO can outperform human-tuned settings for PETS, a state-of-the-art MBRL method.
  • Investigate static vs dynamic (time-varying) hyperparameter configurations and their impact on learning stability and final rewards.
  • Provide practical guidance on when dynamic tuning is advantageous and how history copying affects PBT in MBRL.

Proposed method

  • Study three HPO approaches: Hyperband (multifidelity), Population Based Training (PBT) with and without backtracking, and random search as a baseline.
  • Apply HPO to PETS with two hyperparameter groups: model training and CEM optimizer, and also consider joint optimization.
  • Evaluate on four MuJoCo tasks (Pusher, Reacher, Hopper, HalfCheetah) and a Daisy hexapod simulation.
  • Use average returns over the most recent trials as the HPO objective to address evaluation stochasticity.
  • Investigate transferability of learned dynamic schedules across environments and runs, and analyze the effect of copying history in PBT.

Experimental results

Research questions

  • RQ1Does automatic HPO outperform hand-tuned hyperparameters in PETS-based MBRL across multiple environments?
  • RQ2Do dynamic hyperparameter schedules provide gains over static configurations in MBRL?
  • RQ3How transferable are dynamic HPO schedules across environments and runs?
  • RQ4What is the impact of copying history data in Population Based Training for MBRL?
  • RQ5Which hyperparameter groups (model training vs CEM optimizer) drive most of the performance gains?

Key findings

  • Automatic HPO configurations outperform hand-tuned baselines in Hopper and HalfCheetah, with up to 10x improvements in final returns.
  • Dynamic HPO schedules outperform static tuning across comparable budgets, indicating non-stationarity in MBRL.
  • Hyperparameter importance varies by environment and by whether we optimize model training or CEM optimizer parameters.
  • PBT with history copying across members significantly improves performance and stability, whereas omitting history copying harms performance.
  • Best static configurations for some environments resemble mid-range plan horizons, while dynamic methods adapt horizons over time.
  • Tuning model training hyperparameters generally has larger impact than tuning CEM hyperparameters in HalfCheetah, with environment-dependent differences observed.

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.