Adaptive $Q$-Network: On-the-fly Target Selection for Deep Reinforcement Learning
Théo Vincent, Fabian Wahren, Jan Peters, Boris Belousov, Carlo D'Eramo
TL;DR
This work tackles the sensitivity of deep RL to hyperparameters by introducing Adaptive $Q$-Network (AdaQN), an online ensemble approach that trains multiple $Q$-functions with different hyperparameters and selects the one with the smallest approximation error to form the shared Bellman target. The method provides a principled way to cope with non-stationarity in RL without extra environment samples, and it can be instantiated as AdaDQN or AdaSAC. The authors prove convergence in the tabular setting and demonstrate substantial gains in sample efficiency, final performance, and robustness across MuJoCo and Atari benchmarks. The results suggest AdaQN can dynamically tailor hyperparameter schedules to the problem, offering practical impact for real-world RL deployments where manual tuning is infeasible.
Abstract
Deep Reinforcement Learning (RL) is well known for being highly sensitive to hyperparameters, requiring practitioners substantial efforts to optimize them for the problem at hand. This also limits the applicability of RL in real-world scenarios. In recent years, the field of automated Reinforcement Learning (AutoRL) has grown in popularity by trying to address this issue. However, these approaches typically hinge on additional samples to select well-performing hyperparameters, hindering sample-efficiency and practicality. Furthermore, most AutoRL methods are heavily based on already existing AutoML methods, which were originally developed neglecting the additional challenges inherent to RL due to its non-stationarities. In this work, we propose a new approach for AutoRL, called Adaptive $Q$-Network (AdaQN), that is tailored to RL to take into account the non-stationarity of the optimization procedure without requiring additional samples. AdaQN learns several $Q$-functions, each one trained with different hyperparameters, which are updated online using the $Q$-function with the smallest approximation error as a shared target. Our selection scheme simultaneously handles different hyperparameters while coping with the non-stationarity induced by the RL optimization procedure and being orthogonal to any critic-based RL algorithm. We demonstrate that AdaQN is theoretically sound and empirically validate it in MuJoCo control problems and Atari $2600$ games, showing benefits in sample-efficiency, overall performance, robustness to stochasticity and training stability.
