Model-Advantage Optimization for Model-Based Reinforcement Learning

Nirbhay Modhe, Harish Kamath, Dhruv Batra, Ashwin KalyanarXiv 2021

Introduction

Model-Based Reinforcement Learning (MBRL) typically relies on learning a "world model" to predict future states and rewards. Traditionally, these models are trained using Maximum Likelihood Estimation (MLE), aiming to create a high-fidelity replica of the environment. However, this approach often suffers from an objective mismatch: a model does not need to be globally accurate to be useful; it only needs to be accurate in ways that facilitate optimal decision-making.

The Challenge of Value-Aware Learning

Value-Aware Model Learning (VAML) was introduced to align model training with the agent's ultimate goal—maximizing reward. By focusing on state values rather than raw coordinates, VAML theoretically ignores irrelevant environmental details. Despite its promise, VAML has historically struggled in complex, continuous control tasks, often underperforming simple MLE baselines. This paper identifies the root causes of this failure and proposes a robust alternative.

Proposed Method: Model-Advantage (MA)

The authors introduce two primary innovations to bridge the gap between theory and practice:

  1. Model-Advantage Objective ($MA-L1$): Derived from the "Simulation Lemma," this objective bounds the performance gap between the true environment and the model. By employing an $L_1$ upper bound, the researchers provide a denser learning signal that allows the model to learn effectively from individual transitions.
  2. Correcting Stale Value Estimates: A critical discovery in this work is the "stale value" problem. In Dyna-style algorithms, the model and value function are updated iteratively. If the model is optimized against a value function calculated using an outdated model version, the gradients become misleading. The authors introduce an intermittent update step ($K_{interval}$) to refresh the value function, ensuring the model is always optimized against current data.

Experimental Results

Performance of MLE vs. Model-Advantage (MA) methods across varying MiniGrid sizes. As the state space grows (16x16), MLE performance drops significantly while MA methods remain robust.

The approach was evaluated in both discrete gridworlds and continuous MuJoCo environments. In the Gym MiniGrid experiments, the $MA-L1$ objective demonstrated superior scaling. As shown in the figure above, while the MLE baseline's performance plummeted in the 16x16 environment (achieving 75% less return than the best MA method), the value-aware models maintained high sample efficiency and performance.

In continuous control tasks, $MA-L1$ matched or exceeded the performance of highly optimized baselines like SLBO on environments such as Swimmer-v1 and Hopper-v1. Crucially, the authors' ablation studies confirmed that the "stale value" correction was the essential component; without it, the $MA-L1$ objective failed to solve most environments, explaining the poor results of previous VAML implementations.

Conclusion

This research demonstrates that value-aware model learning is not only theoretically sound but practically viable for complex control tasks. By addressing the synchronization of value functions and utilizing a robust $L_1$ objective, the authors provide a path forward for more efficient MBRL. While some challenges remain in the most complex tasks like Ant-v2, this work marks a significant step in making value-aware reinforcement learning work in the real world.

Summary updated

BibTeX
@misc{modhe2021model,
  author = {Nirbhay Modhe and Harish Kamath and Dhruv Batra and Ashwin Kalyan},
  title = {{Model-Advantage Optimization for Model-Based Reinforcement Learning}},
  year = {2021},
  eprint = {2106.14080},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.14080},
}
Figure