[Paper Review] When to use parametric models in reinforcement learning?
The paper analyzes when parametric models provide advantages over experience replay in reinforcement learning, and finds replay can be competitive or superior under many conditions, especially when using models only to generate imagined transitions for a model-free update. It validates this on Atari and discusses planning directions, failure modes, and stability.
We examine the question of when and how parametric models are most useful in reinforcement learning. In particular, we look at commonalities and differences between parametric models and experience replay. Replay-based learning algorithms share important traits with model-based approaches, including the ability to plan: to use more computation without additional data to improve predictions and behaviour. We discuss when to expect benefits from either approach, and interpret prior work in this context. We hypothesise that, under suitable conditions, replay-based algorithms should be competitive to or better than model-based algorithms if the model is used only to generate fictional transitions from observed states for an update rule that is otherwise model-free. We validated this hypothesis on Atari 2600 video games. The replay-based algorithm attained state-of-the-art data efficiency, improving over prior results with parametric models.
Motivation & Objective
- Clarify the benefits and limitations of parametric models compared to experience replay in RL.
- Characterize when planning with a parametric model helps learning or policy improvement.
- Provide theoretical and empirical guidance on stability and failure modes in model-based or replay-based planning.
- Examine data efficiency in large-scale Atari experiments to compare model-based and replay-based approaches.
Proposed method
- Present a generic model-based RL algorithm (Algorithm 1) that unifies model-based and replay-based learning through explicit planning steps.
- Compare parametric models and replay through theoretical discussion of equivalences and potential failure modes such as the deadly triad.
- Analyze planning directions: forward planning for behavior vs. backward planning for credit assignment, including empirical demonstrations in grid-world environments.
- Discuss stability of TD updates under replay vs. model-based generated transitions, with propositions about divergence under model-based planning.
- Evaluate two algorithms at scale: SimPLe (model-based) and Rainbow DQN (replay-based) on Atari 2600 games, in a data-efficient regime.
Experimental results
Research questions
- RQ1Under what conditions do parametric models provide learning benefits beyond replay in reinforcement learning?
- RQ2How do forward planning and backward planning with a learned model compare in terms of learning efficiency and stability?
- RQ3Can replay-based methods outperform model-based approaches in data- and compute-efficient regimes on complex tasks like Atari?
Key findings
- Replay-based learning can achieve state-of-the-art data efficiency on Atari, outperforming prior parametric-model results under similar data budgets.
- A like-for-like comparison showed Rainbow DQN outperforming a model-based agent in data efficiency and computation, challenging assumptions about model-based superiority.
- Backward planning with a learned model can be more effective for credit assignment than forward planning, particularly when the model is imperfect.
- Forward planning for behavior may be useful but less reliably beneficial than replay in certain contexts; planning with imperfect models can introduce harmful updates if used for real transitions.
- Model-based methods can be unstable in theory (the deadly triad), whereas replay with observed transitions tends to be more stable under typical replay distributions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.