Optimistic Q-value Adaptation for Offline-to-Online Reinforcement Learning

Hao Wu, Shunhao Zhang, Shuai LüNeurIPS 2026

TL;DR

When reinforcement learning agents transition from learning on static datasets to interacting with the real world, they often suffer from crippling "inherited pessimism"—consistently underestimating how good their actions could be. The authors show that this pessimism actually gets worse during online practice due to mathematical feedback loops, even in algorithms that weren't explicitly designed to be pessimistic. To fix this, they introduce Optimistic Q-value Adaptation (OQA), a simple framework that uses a "second opinion" from a twin agent to gently nudge value estimates upward, dramatically speeding up real-world adaptation.

What Problem Does This Paper Address?

Training a Reinforcement Learning (RL) agent from scratch via trial-and-error takes millions of steps—a non-starter if your agent is a physical robot or autonomous vehicle. Offline-to-Online (O2O) RL solves this by pre-training an agent on a fixed, pre-recorded dataset (offline) to get a decent starting policy, and then fine-tuning it with limited real-world interaction (online).

To survive offline training without hallucinating high rewards for untested actions, offline RL agents must be conservative. Algorithms like CQL explicitly push down value estimates (called Q-values, predicted by a network known as the critic), while algorithms like TD3+BC simply tether the agent's actions close to the dataset.

When moving online, however, this conservatism becomes an anchor. Researchers already knew CQL's pessimistic critic slows down online learning. Here, the authors uncover a much broader problem: even explicit policy-constraint methods like TD3+BC suffer from severe critic underestimation. Worse, online interaction doesn't naturally cure it. Because RL updates rely on bootstrapping (estimating today's value using tomorrow's estimated value, known as a Bellman update), pessimistic next-state values poison current targets, causing the negative bias to compound and intensify over time.

Figure 1: Offline critic underestimation and its impact on O2O fine-tuning. (a) Underestimation of offline critics on locomotion tasks for TD3+BC and CQL, where estimated Q values are compared with Monte Carlo returns. (b) Aggregated normalized scores on locomotion tasks, comparing fine- tuning with the vanilla backbone and fine-tuning with OQA.

Methods

Instead of throwing away the pre-trained critic or overhauling offline training, the authors propose Optimistic Q-value Adaptation (OQA), a plug-and-play wrapper that corrects pessimism right at the Bellman backup step during online fine-tuning.

Here is what is new versus standard:

  • Offline Twin Pre-training (New): Instead of training one actor–critic pair on the static dataset, OQA trains two independent pairs using standard offline objectives (like CQL or TD3+BC). To ensure the twins aren't identical, each is trained on a slightly perturbed subset of the dataset (created via random Bernoulli masking). Both critics remain safely conservative, just in slightly different ways.
  • Controlled Optimistic Backup (New): During online fine-tuning, whenever the agent computes a Bellman target, it asks both critics for their conservative estimates and takes the maximum of the two. Taking the higher of two pessimistic numbers yields a less-pessimistic—yet still grounded—estimate. OQA then blends this optimistic target with the standard conservative target using a fixed interpolation knob, $\alpha \in [0, 1]$.
  • Action Selection & Policy Updates (Modified Standard): When interacting with the environment, the agent acts using whichever of the two policies currently boasts the higher conservative Q-value, encouraging safe exploration. Actors are updated with a unified, fixed behavior-cloning constraint across backbones to prevent sudden drift into dangerous out-of-distribution states.

Datasets

No new benchmarks are introduced. The authors evaluate OQA across four standard domains from the D4RL benchmark:

  • MuJoCo Locomotion (HalfCheetah, Hopper, Walker2d across random, medium, medium-replay, and medium-expert datasets)
  • AntMaze Navigation and Maze2D Navigation (sparse- and dense-reward goal-reaching mazes)
  • Adroit Dexterous Manipulation (high-dimensional robotic hand clone tasks: pen, hammer, door, relocate)

Key Insights and Ideas

  • Pessimism snowballs online: In TD3+BC, slow online improvement was traditionally blamed on its behavior-cloning leash. The authors reveal that standard "clipped double-Q" mechanics introduce downward bias offline that grows more negative during online fine-tuning (dropping from $-109.8$ to $-163.5$ over 300k steps on HalfCheetah), starving the actor of improvement signals.
Figure 2: Online fine-tuning dynamics of TD3+BC. Although performance steadily improves, critic underestimation persists and progressively intensifies during fine-tuning.
  • Two pessimists make a calibrated optimist: If you average or take the minimum of two underestimated critics, performance collapses—dropping to zero on hard AntMaze tasks. Taking the maximum selectively lifts transitions where one critic is overly gloomy without triggering runaway overestimation. Furthermore, adding 3, 4, or 5 agents adds compute overhead with no extra performance gain; two is the sweet spot.
  • Micro-corrections compound: Even when two branches have nearly identical global statistics, tiny transition-level disagreements get amplified by taking the pointwise maximum, accumulating over thousands of bootstrapped updates to rehabilitate the critic.

Key Results

Trained offline for 1M steps and fine-tuned online for 300k steps, OQA consistently outperforms vanilla backbones and strong O2O baselines (like Cal-QL, OPT, and SPA):

  • MuJoCo Locomotion: Aggregate normalized scores jump from 800.7 (CQL) to 1317.6 (OQACQL), and from 812.6 (TD3+BC) to 1297.3 (OQATD3BC), beating the strongest baseline OPT (1217.7) with non-overlapping 95% confidence intervals.
  • Sparse Navigation: On AntMaze, OQACQL hits a total score of 564.2 (vs. 491.2 for Cal-QL and 508.4 for OPT), shining on the hardest large-play (84.4 vs. 53.4) and large-diverse (86.8 vs. 68.6) mazes. On Maze2D, OQATD3BC reaches 1155.5 (up from 759.6 for TD3+BC).
  • Dexterous Manipulation: On Adroit clone tasks where CQL (101.6 total) and Cal-QL (0.1 total) largely stall out, OQACQL achieves 389.0, surpassing OPT (309.1).

Limitations and Future Work

The primary limitation acknowledged by the authors is that the optimism coefficient $\alpha$ is a fixed hyperparameter set manually per domain (e.g., $\alpha=1.0$ for sparse navigation, $\alpha=0.2$ or $0.7$ for dense locomotion). Because estimation bias shifts dynamically as an agent collects fresh online data, learning an adaptive schedule for $\alpha$ during fine-tuning is highlighted as a promising avenue for future work.

Summary updated

Abstract

Offline-to-online reinforcement learning (O2O RL) aims to improve offline RL agents with limited online interaction. Prior work has shown that, in conservative value-regularized methods such as CQL, pessimistic offline critics can underestimate values and hinder online fine-tuning. We show that this issue is more general: critic underestimation also appears in explicit policy-constraint methods such as TD3+BC, and can persist or become more severe through bootstrapped Bellman updates during fine-tuning. To address this problem, we propose Optimistic Q-value Adaptation (OQA), a framework that corrects underestimation at the Bellman-backup level. OQA constructs an additional offline-pretrained actor--critic pair and uses it together with the original pair to form a controlled optimistic backup that mitigates inherited pessimism during fine-tuning. Unlike trajectory-return calibration methods, OQA does not rely on return lower bounds and is not tied to CQL-style regularization. Across D4RL MuJoCo locomotion, Maze2D, AntMaze, and Adroit benchmarks, OQA instantiations based on TD3+BC and CQL consistently outperform the corresponding backbones and strong O2O RL baselines.
BibTeX
@inproceedings{wu2026optimistic,
  author = {Hao Wu and Shunhao Zhang and Shuai Lü},
  title = {{Optimistic Q-value Adaptation for Offline-to-Online Reinforcement Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=20yOoplUQb},
}
Figure