# When to Trust Your Model: Model-Based Policy Optimization

> 原标题：When to Trust Your Model: Model-Based Policy Optimization

- 来源：Berkeley RAIL / Sergey Levine
- 文章发布日期：2019-06-19
- Physical AI Hot：https://physical-ai-hot.pages.dev/items/tfl9sx6d3dapxoa8rl3gyba2s
- 原文：https://arxiv.org/abs/1906.08253

## 一句话结论

论文表明，短模型生成轨迹从真实数据分支展开，能在控制模型偏差的同时提高样本效率，并在长时域任务上兼顾模型式方法的效率与无模型方法的最终性能。

## 摘要

Designing effective model-based reinforcement learning algorithms is difficult because the ease of data generation must be weighed against the bias of model-generated data. In this paper, we study the role of model usage in policy optimization both theoretically and empirically. We first formulate and analyze a model-based reinforcement learning algorithm with a guarantee of monotonic improvement at each step. In practice, this analysis is overly pessimistic and suggests that real off-policy data is always preferable to model-generated on-policy data, but we show that an empirical estimate of model generalization can be incorporated into such analysis to justify model usage. Motivated by this analysis, we then demonstrate that a simple procedure of using short model-generated rollouts branched from real data has the benefits of more complicated model-based algorithms without the usual pitfalls. In particular, this approach surpasses the sample efficiency of prior model-based methods, matches the asymptotic performance of the best model-free algorithms, and scales to horizons that cause other model-based methods to fail entirely.

## 为什么重要

以下为编辑分析，不能视作已验证结果。

文章聚焦模型生成数据的效率收益与模型偏差之间的权衡，并提出用经验性的模型泛化估计来判断何时应使用模型数据。

## 对 AI 研究或应用的影响

以下为编辑分析，不能视作已验证结果。

如果短模型 rollout 的分支方式在更多环境中保持稳定，它可能为强化学习训练提供一种更简洁的数据增广路线，在提高样本效率的同时降低长时域模型误差带来的失败风险。

## 值得继续追的问题

- 该方法对模型泛化误差的经验估计依赖哪些数据和评测条件？
- 短 rollout 的长度、分支位置与环境长时域特性如何共同影响样本效率和最终性能？
- 论文报告的优势能否在不同任务分布及后续复现实验中稳定保持？

