Combining Automated Optimisation of Hyperparameters and Reward Shape

Julian Dierkes, Emma Cramer, Holger H. Hoos, Sebastian Trimpe
6/26/2024
cs.LGcs.AI

No official code found. Best implementation: ADA-research/combined_hpo_and_reward_shaping (7 stars, last commit 2024-07-28).

Abstract

There has been significant progress in deep reinforcement learning (RL) in recent years. Nevertheless, finding suitable hyperparameter configurations and reward functions remains challenging even for experts, and performance heavily relies on these design choices. Also, most RL research is conducted on known benchmarks where knowledge about these choices already exists. However, novel practical applications often pose complex tasks for which no prior knowledge about good hyperparameters and reward functions is available, thus necessitating their derivation from scratch. Prior work has examined automatically tuning either hyperparameters or reward functions individually. We demonstrate empirically that an RL algorithm's hyperparameter configurations and reward function are often mutually dependent, meaning neither can be fully optimised without appropriate values for the other. We then propose a methodology for the combined optimisation of hyperparameters and the reward function. Furthermore, we include a variance penalty as an optimisation objective to improve the stability of learned policies. We conducted extensive experiments using Proximal Policy Optimisation and Soft Actor-Critic on four environments. Our results show that combined optimisation significantly improves over baseline performance in half of the environments and achieves competitive performance in the others, with only a minor increase in computational costs. This suggests that combined optimisation should be best practice.

View on arXivView PDF

Code Implementations(1)

70PythonJun 17, 20242 years ago

Similar Papers

Cite this paper

@article{dierkes2024combining,
  title  = {Combining Automated Optimisation of Hyperparameters and Reward Shape},
  author = {Julian Dierkes and Emma Cramer and Holger H. Hoos and Sebastian Trimpe},
  year   = {2024},
  eprint = {2406.18293},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.18293v2}
}

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/2406.18293.svg)](https://codeofpaper.com/paper/2406.18293)

Discussion