Model-based Offline Reinforcement Learning with Lower Expectile Q-Learning

Kwanyoung Park, Youngwoon Lee

TL;DR

Lower Expectile Q-learning (LEQ) is a new model-based offline reinforcement learning (RL) algorithm that achieves state-of-the-art performance on challenging long-horizon tasks. By using lower expectile regression on multi-step $\lambda$-returns, LEQ provides a simple, efficient, and low-bias way to estimate conservative values, overcoming the overestimation issues that typically plague model-based offline RL.

What Problem Does This Paper Address?

Offline RL is the "holy grail" of data-driven decision-making: learning optimal policies from static, pre-collected datasets without any further environment interaction. The primary hurdle is overestimation bias. When an agent evaluates actions not present in the dataset (out-of-distribution), it often assigns them erroneously high values.

Model-based approaches try to solve this by learning a "world model" to simulate imaginary trajectories, effectively augmenting the data. However, these models are never perfect. Errors in the model compound over long horizons, leading to "hallucinated" high-value paths that the agent exploits, resulting in poor real-world performance. Previous solutions relied on complex, heuristic uncertainty penalties that often led to sub-optimal, overly cautious behavior, especially in sparse-reward tasks like the D4RL AntMaze.

Methods

The authors introduce Lower Expectile Q-learning (LEQ), which replaces heuristic penalties with a principled statistical approach.

  1. Lower Expectile Regression: Instead of predicting the mean return (which is prone to being pulled up by outliers/model errors), LEQ predicts a lower expectile (with a small $\tau < 0.5$). This acts as a built-in safety margin. As shown in Figure 2, this is implemented by simply weighting the loss function asymmetrically: errors where the target is higher than the prediction are weighted less than errors where the target is lower.

    Comparison of standard Q-learning and LEQ objectives.
  2. $\lambda$-returns for Low Bias: To further reduce value estimation error, LEQ uses multi-step $\lambda$-returns calculated over 10-step imaginary rollouts. This allows the agent to look further ahead into its "imagination" while balancing bias and variance.

  3. Conservative Policy Optimization: The policy is trained to maximize the lower expectile of these $\lambda$-returns. The authors derive a differentiable surrogate loss (Equation 11 in the paper) that allows for stable gradient-based optimization of this conservative objective.
Figure 1: Lower Expectile Q-learning (LEQ). (left) In model-based offline RL, an agent can generate imaginary trajectories using a world model. (right) For conservative Q-evaluation of the policy, LEQ learns the lower expectile of the target Q-distribution from a few sampled rollouts Ti, without estimating the entire Q-distribution with exhaustive rollouts.

Datasets

The authors evaluated LEQ across four diverse benchmarks to prove its robustness:

  • D4RL AntMaze: A notoriously difficult long-horizon, sparse-reward navigation task (Figure 3).
  • D4RL MuJoCo Gym: Standard locomotion tasks (Hopper, Walker2d, HalfCheetah) (Figure 4).
  • NeoRL: Dense-reward environments designed to be closer to real-world industrial applications.
  • V-D4RL: A pixel-based version of D4RL, testing the algorithm's ability to handle high-dimensional visual inputs.

Key Insights and Ideas

  • Conservatism without Heuristics: Unlike prior methods that require tuning complex uncertainty estimators (like ensemble variance), LEQ achieves conservatism through a single hyperparameter $\tau$. This makes it more stable and easier to implement.
  • Bridging the Gap in AntMaze: Model-based methods historically failed (scoring near zero) on the "Large" and "Ultra" AntMaze tasks. LEQ is the first model-based method to not only solve them but match or beat specialized sequence-modeling and model-free approaches.
  • Efficiency: By implementing LEQ in JAX, the authors achieved a 6x speedup over previous state-of-the-art model-based implementations like MOBILE and CBOP.

Key Results

  • AntMaze Dominance: On the "large-diverse" AntMaze task, LEQ achieved a success rate of 60.2, compared to just 4.0 for the next best model-based method (IQL-TD-MPC).
  • Robustness: LEQ matched or exceeded the performance of state-of-the-art methods across all benchmarks, including dense-reward and pixel-based tasks.
  • Ablation Success: The studies showed that all three components—lower expectiles, $\lambda$-returns, and training on both real and imaginary data—are essential for these gains.

Limitations and Future Work

Despite its success, LEQ faces a few challenges:

  • Model-Induced Variance: In some tasks, the agent experiences high variance during training (Figure 6). This happens when the world model predicts "optimistic" futures that don't exist, such as an agent thinking it can walk through a wall (Figure 5).

    Failure case in medium mazes where the model thinks the agent can pass through walls.
  • Termination Functions: The current version assumes access to a ground-truth termination function (knowing when a task is "over"). Learning this from data is a suggested next step to make the algorithm truly general.

  • Stochastic Policies: While LEQ works with deterministic policies, extending it to handle stochastic policies more effectively through better entropy tuning is an open area for research.

Summary updated

BibTeX
@inproceedings{park2025model,
  author = {Kwanyoung Park and Youngwoon Lee},
  title = {{Model-based Offline Reinforcement Learning with Lower Expectile Q-Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=OATPSB5JK1},
}
Figure