1 / 11

Monte-Carlo Methods

Monte-Carlo Methods. Learning methods averaging complete episodic returns Slides based on [Sutton & Barto : Reinforcement Learning: An Introduction , 1998]. Differences with DP/TD. Differences with DP methods: Real RL: Complete transition model not necessary

marie
Télécharger la présentation

Monte-Carlo Methods

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Monte-Carlo Methods Learning methods averaging complete episodic returns Slides based on [Sutton & Barto: Reinforcement Learning: An Introduction, 1998]

  2. Differences with DP/TD • Differences with DP methods: • Real RL: Complete transition model not necessary • They sample experience; can be used for direct learning • They do not bootstrap • No evaluation of successor states • Differences with TD methods • Well, they do not bootstrap • they average episodic returns Slides prepared by Georgios Chalkiadakis

  3. Overview and Advantages • Learn from experience – sample episodes • Sample sequences of states, actions, rewards • Either on-line, or from simulated (model-based) interactions with environment. • But no complete model required. • Advantages • Provably learn optimal policy without model • Can be used with sample /easy-to-produce models • Can focus on interesting state regions easily • More robust wrt Markov property violations Slides prepared by Georgios Chalkiadakis

  4. Policy Evaluation Slides prepared by Georgios Chalkiadakis

  5. Action-value functions required • Without a model, we need Q-value estimates • MC methods now average returns following visits to state-action pairs • All such pairs “need” to be visited! • …sufficient exploration required • Randomize episode starts (“exploring-starts”) • …or behave using a stochastic (e.g. ε-greedy) policy • …thus “Monte-Carlo” Slides prepared by Georgios Chalkiadakis

  6. Monte-Carlo Control (to generate optimal policy) • For now, assume “exploring starts” • Does “policy iteration” work? • Yes! Where evaluation of each policy is over multiple episodes And improvement  make policy greedy wrt current Q-value function Slides prepared by Georgios Chalkiadakis

  7. Monte-Carlo Control (to generate optimal policy) • Why? is greedy wrt • Then, policy-improvement theorem applies because, for all s : is uniformly better than Thus Slides prepared by Georgios Chalkiadakis

  8. A Monte-Carlo control algorithm Slides prepared by Georgios Chalkiadakis

  9. What about ε-greedy policies? ε-greedy Exploration • If not “greedy”, select with Otherwise: Slides prepared by Georgios Chalkiadakis

  10. Yes, policy iteration works • See the details in book • ε-soft on-policy algorithm:

  11. …and you can have off-policy learning as well… • Why? Slides prepared by Georgios Chalkiadakis

More Related