NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Double Horizon Model-Based Policy Optimization

Akihiro Kubo, Paavo Parmas, Shin Ishii

Abstract

Model-based reinforcement learning (MBRL) reduces the cost of real-environment sampling by generating synthetic trajectories (called rollouts) from a learned dynamics model. However, choosing the length of the rollouts poses two dilemmas: (1) Longer rollouts better preserve on-policy training but amplify model bias, indicating the need for an intermediate horizon to mitigate distribution shift (i.e., the gap between on-policy and past off-policy samples). (2) Moreover, a longer model rollout may reduce value estimation bias but raise the variance of policy gradients due to backpropagation through multiple steps, implying another intermediate horizon for stable gradient estimates. However, these two optimal horizons may differ. To resolve this conflict, we propose Double Horizon Model-Based Policy Optimization (DHMBPO), which divides the rollout procedure into a long "distribution rollout" (DR) and a short "training rollout" (TR). The DR generates on-policy state samples for mitigating distribution shift. In contrast, the short TR leverages differentiable transitions to offer accurate value gradient estimation with stable gradient updates, thereby requiring fewer updates and reducing overall runtime. We demonstrate that the double-horizon approach effectively balances distribution shift, model bias, and gradient instability, and surpasses existing MBRL methods on continuous-control benchmarks in terms of both sample efficiency and runtime.

Introduction

In Model-Based Reinforcement Learning (MBRL), agents learn a dynamics model of the environment to simulate trajectories, significantly reducing the need for expensive real-world interactions. However, the length of these simulated "rollouts" presents a fundamental trade-off. Long rollouts are necessary to keep the training data "on-policy," yet they accumulate model errors (model bias) and lead to unstable, noisy gradients during backpropagation. Conversely, short rollouts maintain gradient stability but suffer from distribution shift, where the training data no longer reflects the agent's current policy. DHMBPO addresses this by decoupling the rollout into two distinct phases with separate horizons.

The Double Horizon Framework

The core innovation of DHMBPO is the separation of state generation from gradient estimation through two distinct horizons:

  • Distribution Rollout (DR): A relatively long, non-differentiable rollout (e.g., 20 steps). Its primary function is to generate state samples that represent the current policy's distribution, effectively mitigating distribution shift.
  • Training Rollout (TR): A short, differentiable rollout (e.g., 5 steps) that originates from the states produced by the DR. It utilizes Model-based Value Expansion (MVE) to calculate value gradients. Because the TR is short, it avoids the gradient explosion issues common in long-horizon backpropagation while keeping model bias low.
Schematic of the DHMBPO framework, illustrating the separation of Distribution Rollout (DR) and Training Rollout (TR) to balance distribution shift and gradient stability.

By chaining these together, the agent performs gradient updates at "on-policy" states without the instability of deep backpropagation. The framework also employs a bootstrap ensemble of dynamics models and target critic bounding to further stabilize training.

Experimental Results

We evaluated DHMBPO on 23 continuous-control tasks from the Gymnasium (MuJoCo) and DeepMind Control Suite (DMC), comparing it against high-performance baselines such as MBPO, SAC-SVG(H), and MACURA.

Sample Efficiency and Runtime

DHMBPO consistently matched or outperformed state-of-the-art (SOTA) methods in sample efficiency across nearly all tasks. Notably, it achieved these results with a significantly lower computational cost. While many MBRL methods rely on a high "Update-to-Data" (UTD) ratio—performing many gradient updates per real-world step—DHMBPO achieves superior performance with a UTD ratio of 1. This efficiency translates to dramatic speedups; for example, in the Humanoid task, DHMBPO reached SOTA performance in approximately 1/16th of the runtime required by MACURA.

Comparison of DHMBPO against baselines in terms of sample efficiency (top) and runtime (bottom) across MuJoCo tasks.

Conclusion

DHMBPO successfully resolves the rollout-length dilemma by employing a double-horizon strategy that optimizes for both state distribution and gradient stability. This approach yields a highly efficient algorithm that is both sample-efficient and computationally fast. Future work will focus on integrating this architecture with advanced exploration strategies to address tasks with sparse rewards or complex local optima.

Summary updated

BibTeX
@article{kubo2025double,
  author = {Akihiro Kubo and Paavo Parmas and Shin Ishii},
  title = {{Double Horizon Model-Based Policy Optimization}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=HRvHCd03HM},
}
Figure