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

Kwanyoung Park, Youngwoon Lee

Offline reinforcement learning (RL) holds the promise of training capable agents from static datasets without requiring risky or expensive environmental interaction. However, a primary hurdle in offline RL is overestimation bias: agents often gravitate toward "out-of-distribution" (OOD) actions that appear promising in the training data but actually lead to failure in practice.

Model-based approaches attempt to solve this by learning a "world model" to simulate imaginary trajectories, effectively augmenting the dataset. Unfortunately, these models are imperfect. If an agent imagines a path to a high reward that doesn't exist in reality, it will exploit that model error. Previous solutions typically relied on "uncertainty penalization"—heuristically guessing where the model might be wrong and artificially lowering the value scores in those regions. These heuristics are often brittle, computationally expensive, or lead to overly cautious, sub-optimal behavior, particularly in long-horizon tasks where rewards are sparse.

To address these shortcomings, researchers have introduced Lower Expectile Q-learning (LEQ), a new model-based offline RL algorithm that achieves conservative value estimation without relying on complex, heuristic uncertainty penalties.

The LEQ Methodology

LEQ replaces complex uncertainty heuristics with a principled statistical approach designed to naturally underestimate returns in uncertain regions.

Illustration of Lower Expectile Q-learning, showing imagined trajectories and the resulting return distribution.
  1. Lower Expectile Regression: Instead of training the Q-function to predict the mean return (using standard Mean Squared Error), LEQ uses expectile regression with a small $\tau$ parameter (e.g., $\tau = 0.1$). This forces the Q-function to estimate the lower end of the return distribution. By targeting the lower expectile, LEQ provides a naturally conservative value estimate that is robust to model inaccuracies.
  2. $\lambda$-returns for Model Rollouts: To reduce the bias inherent in 1-step bootstrapping, LEQ uses multi-step $\lambda$-returns calculated from 10-step model rollouts. This allows the agent to look further into its "imagination" while carefully balancing bias and variance.
  3. Surrogate Policy Objective: Because expectiles are not directly differentiable in a way that is friendly to standard policy gradients, the authors derived a differentiable surrogate loss. This loss applies higher weights to conservative return estimates, encouraging the policy to stay within "safe" regions of the state-action space.
  4. Hybrid Training: The critic is trained on both the original offline dataset and the synthetic model-generated data. This dual approach ensures the agent stays grounded in reality while still benefiting from the model's ability to generalize.

Key Results and Breakthroughs

The authors evaluated LEQ across a wide range of benchmarks to prove its versatility, including standard state-based locomotion benchmarks (NeoRL and D4RL MuJoCo Gym) and pixel-based tasks (V-D4RL) to test scalability to high-dimensional inputs.

Most notably, LEQ demonstrated a massive breakthrough on the D4RL AntMaze benchmark.

The D4RL AntMaze environment, a challenging long-horizon, sparse-reward task where LEQ excels.

Historically, model-based methods have failed miserably on AntMaze, often scoring near zero due to the difficulty of long-horizon planning with sparse rewards. LEQ achieved a total score of 470.4 across AntMaze tasks, while prior model-based methods like MOBILE and CBOP scored 0.0. It even outperformed state-of-the-art model-free methods (like IQL) and sequence modeling approaches (like Decision Transformer).

Beyond AntMaze, LEQ set a new state-of-the-art in locomotion. On the NeoRL benchmark, LEQ reached a total score of 572.4, outperforming the next best method (MOBILE at 546.5). In pixel-based V-D4RL tasks, LEQ performed on par with or better than specialized visual RL methods like ROSMO and OfflineDV2, proving it can handle complex sensory inputs.

Insights and Future Directions

LEQ demonstrates that simplicity often wins. You don't need complex ensembles or "uncertainty-of-uncertainty" metrics to be conservative in offline RL; a simple change in the loss function (expectile vs. mean) can achieve superior results. Furthermore, by implementing LEQ in JAX and avoiding expensive distribution estimations, the authors achieved a 6x speedup over comparable baselines.

Despite its successes, LEQ has limitations. In "medium" mazes, the world model sometimes incorrectly learns that the agent can pass through thin walls, leading to impossible plans and high variance in performance. Better world models or larger ensembles might mitigate this. Additionally, the current version assumes access to a ground-truth termination function. In real-world scenarios, learning this function directly from data will be a necessary next step.

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