Calibrated Value-Aware Model Learning with Probabilistic Environment Models

Claas A Voelcker, Anastasiia Pedan, Arash Ahmadian, Romina Abachi, Igor Gilitschenski, Amir-massoud Farahmand

Introduction

In model-based reinforcement learning (MBRL), agents learn a "world model" to predict future states and rewards, traditionally using Maximum Likelihood Estimation (MLE). A newer paradigm called Value-Aware Model Learning (VAML)—prominently featured in algorithms like MuZero—trains the model specifically to produce accurate value estimates. In this framework, as long as the model’s predictions lead to the correct value function, slight inaccuracies in state-space predictions are tolerated.

However, a fundamental theoretical flaw exists in "value-aware" algorithms when applied to stochastic environments. Most VAML research assumes deterministic models. When the environment or the model is probabilistic, the standard sample-based losses used in MuZero and IterVAML become uncalibrated. Because these losses compare a model's expectation to a single environment sample, they inadvertently penalize the variance of the model. This is a variation of the classic "double-sampling problem" in Bellman residuals: the loss function minimizes the error plus an additional variance term, leading the agent to converge on suboptimal, low-variance solutions that fail to reflect reality.

The $(m, b)$-VAML Family and Calibration

To address this, the authors provide a unified theoretical framework for these losses, termed the $(m, b)$-VAML family. Here, $m$ represents the model rollout steps, and $b$ represents the steps used for the bootstrapped value target from the environment.

The $(m, b)$-VAML framework compares a model trajectory of length $m$ with an environment trajectory of length $b$ to compute the value loss.

To fix the calibration issue inherent in stochastic settings, the authors introduce Calibrated VAML (CVAML). The core innovation is a variance-correction term: $$\mathcal{L}_{CVAML} = \mathcal{L}_{VAML} - \text{Var}_{\hat{p}}(V)$$ By drawing multiple samples from the stochastic model, the agent can estimate the model's internal variance and subtract it from the loss. This "de-biases" the learning process, ensuring that the global minimum of the loss function accurately corresponds to the true value function.

The authors also investigate the interplay between these losses and latent-space architectures, utilizing both deterministic and stochastic (Gaussian) latent models and employing the reparameterization trick for backpropagation.

Experimental Setup

The researchers evaluated their approach across three distinct settings:

  1. Garnet MDPs: Small, synthetic finite-state problems used to precisely control and test the impact of environment stochasticity via a temperature parameter.
  2. DeepMind Control (DMC) Suite: Specifically the Humanoid and Dog domains, widely considered the most difficult tasks in the suite due to their high-dimensional state spaces and complex dynamics.
  3. Cliffwalk: A modified version of the classic grid-world task used to test policy iteration.

Key Insights and Results

The Variance Trap and MuZero's Bias: In stochastic settings, uncalibrated VAML losses actively prefer models and value functions with lower variance than the ground truth. The paper proves that the MuZero loss is specifically biased when updating value functions in stochastic environments; even with a perfect model, the value function update will be incorrect unless calibrated.

Deterministic Sufficiency vs. Stochastic Reality: Theoretically, a deterministic latent model can represent a stochastic environment's values. However, experiments show that stochastic models are still better in practice because they are less prone to "exploiting" model errors during planning. For practitioners, the authors recommend a hybrid approach: use the calibrated CVAML loss to train the model, but use standard Temporal Difference (TD) learning to update the value function.

Performance Gains: In synthetic Garnet tests, CVAML consistently achieved the lowest value prediction error as environment stochasticity (temperature) increased, whereas standard VAML and MLE performance degraded significantly.

In synthetic Garnet MDPs, CVAML maintains a lower value loss across varying temperatures (stochasticity) and model ranks compared to uncalibrated VAML and MLE.

On complex benchmarks, calibrating the MuZero-style (1,1)-VAML loss led to a massive jump in performance on the Humanoid task. In the Dog domain, (1,0)-CVAML (the calibrated version of IterVAML) showed significantly higher sample efficiency and final returns compared to uncalibrated versions. Furthermore, while IterVAML was previously thought to be unstable, it performs on par with or better than MuZero when combined with modern latent architectures and auxiliary losses.

Limitations and Future Work

While CVAML provides a robust theoretical fix, it comes with a computational cost. Drawing multiple samples from the model to calculate the variance correction increases the computational overhead per training step. Additionally, the choice of model type remains domain-dependent; while stochastic models helped in the "Dog" environment, deterministic models actually performed better in "Humanoid" when using a (1,0) loss. Finally, as this study focuses on value estimation and exploitation, how loss calibration affects an agent's ability to explore a stochastic environment remains an open question for future research.

Summary updated

BibTeX
@inproceedings{voelcker2025calibrated,
  author = {Claas A Voelcker and Anastasiia Pedan and Arash Ahmadian and Romina Abachi and Igor Gilitschenski and Amir-massoud Farahmand},
  title = {{Calibrated Value-Aware Model Learning with Probabilistic Environment Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=fgO1R1iVEi},
}
Figure