Contextualized Hybrid Ensemble Q-learning: Learning Fast with Control Priors
Emma Cramer, Bernd Frauenknecht, Ramil Sabirov, Sebastian Trimpe
TL;DR
This paper tackles data-inefficient exploration in deep reinforcement learning by integrating a control prior with an adaptive, context-aware weighting scheme. It introduces Contextualized Hybrid Ensemble Q-learning (CHEQ), which treats the blending weight as a context variable in a contextualized hybrid MDP and uses an ensemble of Q-functions to estimate epistemic uncertainty that guides weight adaptation. CHEQ leverages REDQ-style updates and a piecewise-linear mapping from uncertainty to a bounded RL contribution, enabling data-efficient learning and safer exploration without sacrificing eventual performance. Experiments on a car racing task show CHEQ achieves superior data efficiency, robustness to unknown scenarios, and strong zero-shot transfer compared to fixed-weight hybrids and state-of-the-art adaptive hybrids. The work provides a unified framework for analyzing hybrid RL and offers a practical algorithm that combines uncertainty-aware adaptation with ensemble-based acceleration.
Abstract
Combining Reinforcement Learning (RL) with a prior controller can yield the best out of two worlds: RL can solve complex nonlinear problems, while the control prior ensures safer exploration and speeds up training. Prior work largely blends both components with a fixed weight, neglecting that the RL agent's performance varies with the training progress and across regions in the state space. Therefore, we advocate for an adaptive strategy that dynamically adjusts the weighting based on the RL agent's current capabilities. We propose a new adaptive hybrid RL algorithm, Contextualized Hybrid Ensemble Q-learning (CHEQ). CHEQ combines three key ingredients: (i) a time-invariant formulation of the adaptive hybrid RL problem treating the adaptive weight as a context variable, (ii) a weight adaption mechanism based on the parametric uncertainty of a critic ensemble, and (iii) ensemble-based acceleration for data-efficient RL. Evaluating CHEQ on a car racing task reveals substantially stronger data efficiency, exploration safety, and transferability to unknown scenarios than state-of-the-art adaptive hybrid RL methods.
