Maximum Entropy Model Rollouts: Fast Model Based Policy Optimization without Compounding Errors

Chi Zhang, Sanmukh Rao Kuppannagari, Viktor K. PrasannaarXiv 2020

Abstract

Maximum Entropy Model Rollouts (MEMR) is a model-based reinforcement learning (MBRL) algorithm designed to be both sample-efficient and computationally fast. By utilizing single-step model rollouts and a novel Maximum Entropy sampling strategy to prioritize diverse data, MEMR eliminates the compounding error problem common in long-horizon "imagined" trajectories. Experimental results on MuJoCo benchmarks demonstrate that MEMR matches state-of-the-art performance while requiring significantly fewer policy updates and model rollouts than previous methods.

Introduction

Reinforcement Learning (RL) agents are typically categorized into Model-Free (MFRL) and Model-Based (MBRL) approaches. While MBRL is more sample-efficient, it faces two primary challenges: compounding errors from long-horizon predictions and a computational bottleneck caused by the massive number of simulated rollouts and policy updates required by high-performing methods like MBPO. MEMR addresses these issues by restricting model usage to single-step predictions and optimizing the selection of states for simulation.

Methods

MEMR is a "Dyna-style" algorithm built upon Soft Actor-Critic (SAC). Its core innovations include:

  1. Single-Step Rollouts: To bypass compounding errors, MEMR only predicts one step into the future from real states, ensuring model accuracy is grounded in supervised learning theory.
  2. Maximum Entropy Sampling: The authors derived a criterion to prioritize real-world states that maximize the entropy (diversity) of the model-generated dataset. This is implemented via a modified Prioritized Experience Replay (PER).
  3. Segmented Replay Buffer: To handle the shifting distribution of informative states as the policy evolves, MEMR employs a segmented buffer. This ensures that importance-sampling weights remain accurate for bias correction.
Segmented replay buffer used in MEMR to maintain accurate importance-sampling weights.

Experimental Results

The researchers evaluated MEMR on standard MuJoCo locomotion benchmarks (Ant-v2, Hopper-v2, HalfCheetah-v2, Walker2d-v2).

Performance comparison of MEMR against SAC and MBPO. MEMR achieves parity with MBPO while requiring fewer policy updates and model rollouts.

As shown in Figure 2, MEMR matches the asymptotic performance and sample efficiency of MBPO. Crucially, MEMR requires only 1/4 the number of policy updates and a small fraction of the model rollouts compared to MBPO, leading to significantly faster training times. In terms of policy updates, MEMR converges as quickly as the model-free SAC algorithm but with far fewer real-world environment interactions.

Discussion and Conclusion

MEMR demonstrates that high-performance MBRL does not require millions of imagined steps if the simulated data is carefully selected for diversity. By sticking to the "supervised learning trust zone" of single-step rollouts, the algorithm avoids the pitfalls of long-term imagination while drastically reducing computational overhead.

Future work may involve improving density estimation for the entropy calculation and extending the framework to highly stochastic environments. Despite these areas for refinement, MEMR represents a significant step toward making sample-efficient RL computationally accessible.

Summary updated

BibTeX
@misc{zhang2020maximum,
  author = {Chi Zhang and Sanmukh Rao Kuppannagari and Viktor K. Prasanna},
  title = {{Maximum Entropy Model Rollouts: Fast Model Based Policy Optimization without Compounding Errors}},
  year = {2020},
  eprint = {2006.04802},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.04802},
}
Figure