HyperController: A Hyperparameter Controller for Fast and Stable Training of Reinforcement Learning Neural Networks
Jonathan Gornet, Yiannis Kantaros, Bruno Sinopoli
TL;DR
HyperController addresses the challenge of online hyperparameter optimization for reinforcement learning by modeling the hyperparameter objective as an unknown $LGDS$ and employing a learned Kalman-filter predictor to select hyperparameters during training. The approach reduces computational burden to $O(s^3)$ per update using a discretized, per-coordinate representation, and provides a regret bound to quantify performance. Empirically, it yields faster, more stable RL training and often higher rewards than GP-based Bayesian methods across OpenAI Gymnasium tasks. This framework offers a scalable alternative to Bayesian optimization for online hyperparameter control in reinforcement learning, with potential impact on faster deployment and iterative experimentation.
Abstract
We introduce Hyperparameter Controller (HyperController), a computationally efficient algorithm for hyperparameter optimization during training of reinforcement learning neural networks. HyperController optimizes hyperparameters quickly while also maintaining improvement of the reinforcement learning neural network, resulting in faster training and deployment. It achieves this by modeling the hyperparameter optimization problem as an unknown Linear Gaussian Dynamical System, which is a system with a state that linearly changes. It then learns an efficient representation of the hyperparameter objective function using the Kalman filter, which is the optimal one-step predictor for a Linear Gaussian Dynamical System. To demonstrate the performance of HyperController, it is applied as a hyperparameter optimizer during training of reinforcement learning neural networks on a variety of OpenAI Gymnasium environments. In four out of the five Gymnasium environments, HyperController achieves highest median reward during evaluation compared to other algorithms. The results exhibit the potential of HyperController for efficient and stable training of reinforcement learning neural networks.
