Skip to main content
QUICK REVIEW

[Paper Review] Planning with Expectation Models

Yi Wan, Zaheer Abbas|arXiv (Cornell University)|Apr 2, 2019
Reinforcement Learning in RoboticsComputer Science2 references5 citations
TL;DR

This paper proposes Gradient Dyna, a model-based policy evaluation algorithm that uses expectation models for planning in stochastic environments by leveraging a novel objective, Model-Based Mean Square Projected Bellman Error (MB-MSPBE). It proves convergence under milder conditions than prior work and empirically demonstrates stable, accurate value function learning even when standard methods diverge.

ABSTRACT

Distribution and sample models are two popular model choices in model-based reinforcement learning (MBRL). However, learning these models can be intractable, particularly when the state and action spaces are large. Expectation models, on the other hand, are relatively easier to learn due to their compactness and have also been widely used for deterministic environments. For stochastic environments, it is not obvious how expectation models can be used for planning as they only partially characterize a distribution. In this paper, we propose a sound way of using approximate expectation models for MBRL. In particular, we 1) show that planning with an expectation model is equivalent to planning with a distribution model if the state value function is linear in state features, 2) analyze two common parametrization choices for approximating the expectation: linear and non-linear expectation models, 3) propose a sound model-based policy evaluation algorithm and present its convergence results, and 4) empirically demonstrate the effectiveness of the proposed planning algorithm.

Motivation & Objective

  • Address the challenge of using expectation models—commonly used in deterministic environments—for planning in arbitrarily stochastic environments.
  • Overcome the instability and lack of convergence in prior model-based policy evaluation methods that use expectation models.
  • Develop a theoretically grounded, convergent algorithm for policy evaluation using expectation models in stochastic MDPs.
  • Demonstrate that linear value functions in state features allow equivalence between planning with expectation models and full distribution models.
  • Establish a new objective function (MB-MSPBE) that enables stable learning and convergence with weaker assumptions than prior work.

Proposed method

  • Propose a new objective function, Model-Based Mean Square Projected Bellman Error (MB-MSPBE), for policy evaluation using expectation models.
  • Derive a gradient-based planning algorithm (Gradient Dyna) that minimizes MB-MSPBE, ensuring convergence under milder conditions than previous methods.
  • Use a feature-based representation where state values are linear in the state-feature vector, enabling theoretical equivalence to distribution-based planning.
  • Apply online model learning with experience collected from a behavior policy, updating the expectation model using mean-square error on next-state features and rewards.
  • Implement search control to sample from recently visited states to approximate i.i.d. conditions for convergence, improving stability in practice.
  • Use tile-coding or learned feature representations to map states to fixed-dimensional vectors, enabling efficient function approximation in high-dimensional spaces.

Experimental results

Research questions

  • RQ1Can expectation models be used reliably for planning in stochastic environments, despite only capturing partial distributional information?
  • RQ2Under what conditions is planning with an expectation model equivalent to planning with a full distribution model?
  • RQ3Can a model-based policy evaluation algorithm using expectation models achieve convergence with weaker assumptions than prior approaches?
  • RQ4How does the choice between linear and non-linear parametrization of the expectation model affect performance and stability?
  • RQ5Can a gradient-based algorithm for expectation models achieve stable and accurate value function estimation in practice, even when standard methods diverge?

Key findings

  • Gradient Dyna converges to the off-policy LSTD solution in both Four Rooms and Mountain Car environments, with a loss of 0.001 in the latter, demonstrating high accuracy.
  • In a counterexample domain, TD(0) with linear and non-linear expectation models caused value function divergence, while Gradient Dyna remained stable and converged to an RMSE of 2.0.
  • Theoretical analysis shows that planning with expectation models is equivalent to planning with distribution models if the value function is linear in the state-feature vector.
  • The proposed MB-MSPBE objective enables convergence under milder conditions than those assumed in prior work, such as in Sutton et al. (2012).
  • Non-linear expectation models are theoretically justified even when the true value function is linear, due to better approximation capacity and stability.
  • Empirical results confirm that Gradient Dyna maintains stability and accuracy across stochastic environments, outperforming standard model-based methods that diverge under similar conditions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.