Learning Upper Lower Value Envelopes to Shape Online RL: A Principled Approach
Sebastian Reboul, Hélène Halconruy, Randal Douc
TL;DR
The paper tackles the challenge of using offline data to speed up online reinforcement learning by learning upper and lower value envelopes (value envelopes) that bound the optimal value and action-value functions. It introduces a principled two-stage approach: an offline phase learns envelope functions $(W_h,U_h,\widetilde{W}_h,\widetilde{U}_h)$ that bound $Q_h^*$ and $V_h^*$ with high probability, and an online phase uses these random envelopes to shape exploration in a UCBVI-like algorithm, via either $Q$-shaping or $V$-shaping updates and a variance-aware bonus. Theoretical results establish high-probability regret bounds that depend on the envelope width $D^{\max}$ and envelope range $R^{\max}$, and show how regret decreases as offline data improves envelope accuracy (e.g., $D^{\max}$ tends to zero with large $K$). Empirical experiments on layered tabular MDPs demonstrate substantial improvements over standard UCBVI and prior shaping-based methods, illustrating a formal bridge between offline pre-training and online fine-tuning. The framework is extensible to other RL settings and suggests promising directions for transfer learning and efficient offline-online synthesis of shaping information.
Abstract
We investigate the fundamental problem of leveraging offline data to accelerate online reinforcement learning - a direction with strong potential but limited theoretical grounding. Our study centers on how to learn and apply value envelopes within this context. To this end, we introduce a principled two-stage framework: the first stage uses offline data to derive upper and lower bounds on value functions, while the second incorporates these learned bounds into online algorithms. Our method extends prior work by decoupling the upper and lower bounds, enabling more flexible and tighter approximations. In contrast to approaches that rely on fixed shaping functions, our envelopes are data-driven and explicitly modeled as random variables, with a filtration argument ensuring independence across phases. The analysis establishes high-probability regret bounds determined by two interpretable quantities, thereby providing a formal bridge between offline pre-training and online fine-tuning. Empirical results on tabular MDPs demonstrate substantial regret reductions compared with both UCBVI and prior methods.
