Model-based Offline RL via Robust Value-Aware Model Learning with Implicitly Differentiable Adaptive Weighting

Zhongjian Qiao, Jiafei Lyu, Boxiang Lyu, Yao Shu, Siyang Gao, Shuang Qiu

TL;DR

ROMI (RObust value-aware Model learning with Implicitly differentiable adaptive weighting) is a new framework for model-based offline reinforcement learning that resolves the instability and "over-conservatism" of previous adversarial methods. By replacing unstable model gradients with a robust value-aware loss and a bi-level optimization scheme, ROMI achieves state-of-the-art performance across D4RL and NeoRL benchmarks while providing a much more stable and tunable "pessimism" dial.

The Challenge of Model Exploitation

In Offline Reinforcement Learning, agents must learn optimal policies from a static, pre-collected dataset without any further environment interaction. Model-based approaches attempt to solve this by learning a "world model" (a simulator) of the environment's dynamics. However, because these models are trained on limited data, they are never perfectly accurate.

The core challenge in this setting is model exploitation: an RL agent will naturally gravitate toward regions where the learned model erroneously predicts high rewards, even if those transitions are physically impossible. To counter this, researchers introduce pessimism (or conservatism)—forcing the model or the policy to be skeptical of transitions it hasn't seen often.

A popular existing method, RAMBO, uses adversarial training to "down-vote" the value of states the model predicts. However, RAMBO is notoriously brittle. Slight changes in hyperparameters can lead to "gradient explosion" or "Q-value underestimation," where the agent becomes so pessimistic it effectively stops learning.

RAMBO exhibits severe Q-value underestimation and gradient explosion with slight hyperparameter changes.

ROMI aims to provide a stable, controllable way to incorporate this necessary pessimism without collapsing the training process.

The ROMI Approach

ROMI introduces two primary innovations to stabilize model learning and prevent exploitation:

1. Robust Value-Aware Model Learning (RVL)

Instead of using adversarial gradients to push values down—which is numerically unstable—ROMI reformulates the problem using a Wasserstein dynamics uncertainty set. It requires the model to predict future states that have values close to the minimum possible value within a small neighborhood (the uncertainty set).

This makes the degree of conservatism directly controllable via a single spatial parameter, $\xi$, representing the size of that neighborhood. By using the Wasserstein distance to define uncertainty, $\xi$ becomes a measure of physical state-space distance. This is much more intuitive and stable to tune than the abstract Lagrange multipliers used in previous adversarial methods.

2. Implicitly Differentiable Adaptive Weighting

Conservatism alone can hurt the model's ability to generalize. To balance "value-awareness" (pessimism) with "dynamics-awareness" (accuracy), the authors use a bi-level optimization scheme:

  • Inner Level: The dynamics model is updated using Weighted Supervised Learning (WSL).
  • Outer Level: An adaptive weighting network assigns weights to each data sample. It is optimized to minimize the RVL loss using implicit differentiation, ensuring that the model prioritizes learning transitions that are most critical for stable, conservative value estimation.

Simply making a model pessimistic can make it a poor simulator. This bi-level weighting approach acts as a filter, allowing the model to focus its capacity on the parts of the state space that matter most for the policy's success, effectively improving generalization during multi-step rollouts.

Key Results

The authors evaluated ROMI on two major offline RL benchmarks: D4RL (standard MuJoCo locomotion tasks and challenging Antmaze navigation) and NeoRL (designed to simulate real-world scenarios with narrow data distributions).

ROMI significantly outperforms baseline methods across D4RL MuJoCo datasets.
  • Superior Performance: ROMI outperformed RAMBO on 11 out of 12 D4RL MuJoCo datasets, achieving a total score 18.6% higher than RAMBO.
  • State-of-the-Art on Antmaze: On the difficult Antmaze tasks, which require long-range navigation and stitching together sub-optimal trajectories, ROMI achieved a total score of 186.5, surpassing the previous state-of-the-art (MOBILE) at 173.4.
  • Robustness to Hyperparameters: Experimental results showed that ROMI remains stable across a wide range of $\xi$ values (from 0.01 to 10), whereas RAMBO suffered from training collapse even with small increases in its conservatism coefficient.
  • NeoRL Success: ROMI surpassed all baselines on 6 out of 9 NeoRL datasets, proving its effectiveness in data-constrained, out-of-distribution environments.

Limitations and Future Work

While highly effective, ROMI's bi-level optimization and implicit differentiation steps introduce additional computational overhead compared to simpler, single-loop methods. Furthermore, the uncertainty scale $\xi$ must currently be chosen before training. Developing methods to adaptively adjust $\xi$ during runtime—perhaps based on local data density—represents a promising future direction for making robust offline RL even more accessible.

Summary updated

BibTeX
@inproceedings{qiao2026model,
  author = {Zhongjian Qiao and Jiafei Lyu and Boxiang Lyu and Yao Shu and Siyang Gao and Shuang Qiu},
  title = {{Model-based Offline RL via Robust Value-Aware Model Learning with Implicitly Differentiable Adaptive Weighting}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=yxx6XiXwx2},
}
Figure