Planning in Markov Decision Processes
|
|
- Dulcie King
- 6 years ago
- Views:
Transcription
1 Carnegie Mellon School of Computer Science Deep Reinforcement Learning and Control Planning in Markov Decision Processes Lecture 3, CMU Katerina Fragkiadaki
2 Markov Decision Process (MDP) A Markov Decision Process is a tuple (S, A,T,r, ) S is a finite set of states A is a finite set of actions T is a state transition probability function T (s 0 s, a) =P[S t+1 = s 0 S t = s, A t = a] r is a reward function r(s, a) =E[R t+1 S t = s, A t = a] is a discount factor 2 [0, 1]
3 Solving MDPs Prediction: Given an MDP (S, A,T,r, ) and a policy (a s) =P[A t = a S t = s] find the state and action value functions. Optimal control: given an MDP (S, A,T,r, ), find the optimal policy (aka the planning problem). Compare with the learning problem with missing information about rewards/dynamics. We still consider finite MDPs (finite S and A ) with known dynamics!
4 Outline Policy iteration Value iteration Linear programming Asynchronous DP
5 Policy Evaluation Policy evaluation: for a given policy, compute the state value function v (s) =E Rt+1 + R t R t S t = s where v (s) is implicitly given by the Bellman equation V (s) =E [Rt+1 + Rt Rt St = s] v (s) = X a2a (a s) r(s, a)+ X s 0 2S T (s 0 s, a)v (s 0 )! a system of S simultaneous equations.
6 MDPs to MRPs MDP under a fixed policy becomes Markov Reward Process (MRP) (a s) r(s, a)+ X! T (s 0 s, a)v (s 0 ) s 0 2S v (s) = X a2a = X a2a (a s)r(s, a)+ X a2a (a s) X s 0 2S T (s 0 s, a)v (s 0 ) = r s + X s 0 2S T s 0 sv (s 0 ) where rs = P a2a (a s)r(s, a) and T s 0 s = P a2a (a s)t (s0 s, a)
7 Back Up Diagram MDP v (s) v k+1 (s) a r s r s v (s 0 ) s 0 X
8 Back Up Diagram MDP v (s) v k+1 (s) s r s r a v (s 0 ) s 0 v X(s) s MRP v (s) =r s + P s 0 2S T s 0 s v (s 0 ) v (s 0 ) s 0
9 Matrix Form The Bellman expectation equation can be written concisely using the induced MRP as with direct solution of complexity O(N 3 ) v = r + v =(I T v T ) 1 r
10 Iterative Methods: Recall the Bellman Equation v (s) = X a2a (a s) r(s, a)+ X s 0 2S T (s 0 s, a)v (s 0 )! v (s) v k+1 (s) s r s a v (s 0 ) s 0 r
11 Iterative Methods: Backup Operation Given an expected value function at iteration k, we back up the expected value function at iteration k+1: v [k+1] (s) = X (a s) r(s, a)+ X! T (s 0 s, a)v [k] (s 0 ) a2a s 0 2S v [k+1] (s) v k+1 (s) a s v s [k+1] r s v [k] (s 0 ) s 0 r
12 Iterative Methods: Sweep A sweep consists of applying the backup operation states in S v! v 0 for all the Applying the back up operator iteratively v [0]! v [1]! v [2]!...v
13 A Small-Grid World R γ = 1 An undiscounted episodic task Nonterminal states: 1, 2,, 14 Terminal state: one, shown in shaded square Actions that would take the agent off the grid leave the state unchanged Reward is until the terminal state is reached
14 Iterative Policy Evaluation v [k] for the random policy Policy, an equiprobable random action An undiscounted episodic task Nonterminal states: 1, 2,, 14 Terminal state: one, shown in shaded square Actions that would take the agent off the grid leave the state unchanged Reward is until the terminal state is reached 1
15 Iterative Policy Evaluation v [k] for the random policy Policy, an equiprobable random action An undiscounted episodic task Nonterminal states: 1, 2,, 14 Terminal state: one, shown in shaded square Actions that would take the agent off the grid leave the state unchanged Reward is until the terminal state is reached 1
16 Iterative Policy Evaluation v [k] for the random policy Policy, an equiprobable random action An undiscounted episodic task Nonterminal states: 1, 2,, 14 Terminal state: one, shown in shaded square Actions that would take the agent off the grid leave the state unchanged Reward is until the terminal state is reached 1
17 Contraction Mapping Theorem An operator F on a normed vector space X is a -contraction, for, provided for all x, y 2 X 0 < < 1 T (x) T (y) apple x y Theorem (Contraction mapping) For a -contraction F in a complete normed vector space X converges to a unique fixed point in F X at a linear convergence rate Remark. In general we only need metric (vs normed) space
18 Value Function Sapce Consider the vector space There are S dimensions over value functions Each point in this space fully specifies a value function V v(s) Bellman backup brings value functions closer in this space? And therefore the backup must converge to a unique solution
19 Value Function 1 -Norm We will measure distance between state-value functions by the 1-norm u and v i.e. the largest difference between state values, u v 1 = max s2s u(s) v(s)
20 Bellman Expectation Backup is a Contraction Define the Bellman expectation backup operator F (v) = r + T v This operator is a -contraction, i.e. it makes value functions closer by at least, F (u) F (v) 1 = (r + T u) 1 (r + T v) 1 = T (u v) 1 apple T u v 1 1 apple u v 1
21 Convergence of Iter. Policy Evaluation and Policy Iteration The Bellman expectation operator has a unique fixed point v is a fixed point of (by Bellman expectation equation) F By contraction mapping theorem F Iterative policy evaluation converges on v
22 Policy Improvement Suppose we have computed v for a deterministic policy For a given state s, would it be better to do an action a 6= (s)? It is better to switch to action a for state s if and only if q (s, a) > v (s) And we can compute q (s, a) from by: v q (s, a) =E[R t+1 + v (S t+1 ) S t = s, A t = a] = r(s, a)+ X T (s 0 s, a)v (s 0 ) s 0 2S
23 Policy Improvement Cont. Do this for all states to get a new policy with respect to : v 0 that is greedy 0 (s) = arg max a = arg max a q (s, a) E[R t+1 + v (s 0 ) S t = s, A t = a] = arg max r(s, a)+ X s 0 2S T (s 0 s, a)v (s 0 ) What if the policy is unchanged by this? Then the policy must be optimal!
24 Policy Iteration 0 E! v 0 I! 1 E! v 1 I! 2 E!... I! E! v policy evaluation policy improvement greedification
25 Policy Iteration 1. Initialization V (s) 2 R and (s) 2 A(s) arbitrarilyforalls 2 S 2. Policy Evaluation Repeat 0 For each s 2 S: v V (s) V (s) Ps 0,r p(s0,r s, (s)) r + V (s 0 ) a2a (a s)(r(s, a)+ s 0 2ST (s 0 s, a)v (s 0 )) max(, vv V (s) ) until < (a small positive number) 3. Policy Improvement policy-stable true For each s 2 S: a (s) P (s) arg max a r(s, sa)+ 0,r p(s0,r s, a) r + V (s 0 ) s 0 2ST (s 0 s, a)v (s 0 ) If a 6= (s), then policy-stable f alse If policy-stable, then stop and return V and ; else go to 2
26 6 Iterative Policy Eval for the Small Gridworld Policy, an equiprobable random action R γ = 1 An undiscounted episodic task Nonterminal states: 1, 2,, 14 Terminal state: one, shown in shaded square Actions that take the agent off the grid leave the state unchanged Reward is until the terminal state is reached
27 Iterative Policy Eval for the Small Gridworld Policy, an equiprobable random action R γ = 1 An undiscounted episodic task Nonterminal states: 1, 2,, 14 Terminal state: one, shown in shaded square Actions that take the agent off the grid leave the state unchanged Reward is until the terminal state is reached
28 Generalized Policy Iteration Does policy evaluation need to converge to v? Or should we introduce a stopping condition e.g. -convergence of value function Or simply stop after k iterations of iterative policy evaluation? For example, in the small grid world k = 3 was sufficient to achieve optimal policy Why not update policy every iteration? i.e. stop after k = 1 This is equivalent to value iteration (next section)
29 Generalized Policy Iteration Generalized Policy Iteration (GPI): any interleaving of policy evaluation and policy improvement, independent of their granularity. evaluation V v V A geometric metaphor for convergence of GPI: greedy(v ) improvement V = v v V 0, 0 v v, v = greedy(v )
30 Principle of Optimality Any optimal policy can be subdivided into two components: An optimal first action A S 0 Followed by an optimal policy from successor state Theorem (Principle of Optimality) (a s) A policy achieves the optimal value from state, dfsfdsfdf v (s) =v dsfdf (s), if and only if s 0 s For any state reachable from, achieves the optimal value from state s 0, v (s 0 )=v (s 0 ) s
31 Value Iteration If we know the solution to subproblems Then solution v (s) v (s 0 ) max a2a can be found by one-step lookahead r(s, a)+ X s 0 2S The idea of value iteration is to apply these updates iteratively Intuition: start with final rewards and work backwards Still works with loopy, stochastic MDPs v (s 0 ) T (s 0 s, a)v (s 0 )
32 Example: Shortest Path g Body Level One Body Level Two Problem V 1 V 2 V 3 Body Level Three 0-3 Body Level Four Body Level Five V 4 V 5 V 6 V 7
33 Value Iteration Problem: find optimal policy Solution: iterative application of Bellman optimality backup v 1! v 2!...! v Using synchronous backups At each iteration k + 1 For all states s 2 S v k+1 (s) v k (s 0 ) Update from
34 Value Iteration (2) v k+1 (s) k+1(s) a r v k (s 0 ) s 0 r s s v k+1 (s) = max a2a r(s, a)+ X s 0 2S v k+1 = max a2a r(a)+ T (s 0 s, a)v k (s 0 ) T (a)v k!
35 Bellman Optimality Backup is a Contraction Define the Bellman optimality backup operator, F F (v) = max a2a r(a)+ T (a)v This operator is a closer by at least -contraction, i.e. it makes value functions (similar to previous proof) F (u) F (v) 1 apple u v 1
36 Convergence of Value Iteration The Bellman optimality operator has a unique fixed point v is a fixed point of (by Bellman optimality equation) F By contraction mapping theorem F Value iteration converges on v
37 Synchronous Dynamic Programming Algorithms Problem Bellman Equation Algorithm Prediction Control Bellman Expectation Equation Bellman Expectation Equation + Greedy Policy Improvement Iterative Policy Evaluation Policy Iteration Control Bellman Optimality Equation Value Iteration Algorithms are based on state-value function v (s) or v (s) Complexity O(mn 2 ) per iteration, for m actions and n states Could also apply to action-value function q (s, a) or q (s, a) Complexity O(m 2 n 2 ) per iteration
38 Efficiency of DP To find an optimal policy is polynomial in the number of states BUT, the number of states is often astronomical, e.g., often growing exponentially with the number of state variables (what Bellman called the curse of dimensionality ). In practice, classical DP can be applied to problems with a few millions of states.
39 Asynchronous DP All the DP methods described so far require exhaustive sweeps of the entire state set. Asynchronous DP does not use sweeps. Instead it works like this: Repeat until convergence criterion is met: Pick a state at random and apply the appropriate backup Still need lots of computation, but does not get locked into hopelessly long sweeps Guaranteed to converge if all states continue to be selected Can you select states to backup intelligently? YES: an agent s experience can act as a guide.
40 Asynchronous Dynamic Programming Three simple ideas for asynchronous dynamic programming: In-place dynamic programming Prioritized sweeping Real-time dynamic programming
41 In-Place Dynamic Programming Synchronous value iteration stores two copies of value function s for all in v new (s) S max a2a r(s, a)+ X s 0 2S T (s 0 s, a)v old (s 0 )! v old v new In-place value iteration only stores one copy of value function s for all in v(s) S max a2a r(s, a)+ X s 0 2S T (s 0 s, a)v(s 0 )!
42 Prioritized Sweeping Use magnitude of Bellman error to guide state selection, e.g.! max a2a r(s, a)+ X s 0 2S T (s 0 s, a)v(s 0 ) v(s) Backup the state with the largest remaining Bellman error Update Bellman poor of affected states after each backup Requires knowledge of reverse dynamics (predecessor states) Can be implemented efficiently by maintaining a priority queue
43 Real-time Dynamic Programming Idea: only states that are relevant to agent Use agent s experience to guide the selection of states After each time-step S t, A t,r t+1 Backup the state S t v(s t ) max a2a r(s t,a)+ X s 0 2S T (s 0 S t,a)v(s 0 )!
44 Sample Backups In subsequent lectures we will consider sample backups Using sample rewards and sample transitions (S, A,r,S 0 ) Instead of reward function and transition dynamics Advantages: Model-free: no advance knowledge of MDP required Breaks the curse of dimensionality through sampling Cost of backup is constant, independent of n = S
45 Approximate Dynamic Programming Approximate the value function Using a function approximate Apply dynamic programming to e.g. Fitted Value Iteration repeats at each iteration k, Sample states S S s 2 S ˆv ( s, w) ˆv (, w) For each state, estimate target value using Bellman optimality equation,! ṽ k (s) = max a2a r(s, a)+ X s 0 2S T (s 0 s, a)ˆv(s 0, w k ) ˆv (, w k+1 ) Train next value function using targets {hs, ṽ k (s)i}
46 Linear Programming (LP) Recall, at value iteration convergence we have 8s 2 S : V (s) = max r(s, a)+ X a2a s LP formulation to find 0 2S X min µ 0 (s)v (s) V S s.t. 8s 2 S, 8a 2 A : V (s) r(s, a)+ X s 0 2S T (s 0 s, a)v (s 0 ) T (s 0 s, a)v (s 0 )! µ 0 S µ 0 (s) > 0 s is a probability distribution over, with for all in. S Theorem. V is the solution to the above LP.
47 LP con t Let F be the Bellman operator, i.e.,. Then the LP can be written as: V i+1 = F (V i ) min V µ > 0 V s.t. V F (V ) U V F (U) F (V ) Monotonicity Property: If then. Hence, if V F (V ) then F (V ) F (F (V )), and by repeated application, V F (V ) F 2 V F 3 V... F 1 V = V Any feasible solution to the LP must satisfy V F (V ), and hence must satisfy V V. Hence, assuming all entries in µ are positive, V 0 is the optimal solution to the LP.
48 LP: The Dual -> q* min X X X (s, a)t (s, a, s 0 )r(s, a) s.t. s2s a2a s 0 2S 8s 2 S : X (s 0,a 0 )=µ 0 (s)+ X s2s X (s, a)t (s, a, s 0 ) a 0 2A a2a Interpretation 1X (s, a) = t P (s t = s, a t = a) t=0 Equation 2: ensures that has the above meaning Equation 1: maximize expected discounted sum of rewards Optimal policy: (s) = arg max a (s, a)
Chapter 4: Dynamic Programming
Chapter 4: Dynamic Programming Objectives of this chapter: Overview of a collection of classical solution methods for MDPs known as dynamic programming (DP) Show how DP can be used to compute value functions,
More informationIntroduction to Reinforcement Learning. Part 6: Core Theory II: Bellman Equations and Dynamic Programming
Introduction to Reinforcement Learning Part 6: Core Theory II: Bellman Equations and Dynamic Programming Bellman Equations Recursive relationships among values that can be used to compute values The tree
More informationInternet Monetization
Internet Monetization March May, 2013 Discrete time Finite A decision process (MDP) is reward process with decisions. It models an environment in which all states are and time is divided into stages. Definition
More informationCMU Lecture 11: Markov Decision Processes II. Teacher: Gianni A. Di Caro
CMU 15-781 Lecture 11: Markov Decision Processes II Teacher: Gianni A. Di Caro RECAP: DEFINING MDPS Markov decision processes: o Set of states S o Start state s 0 o Set of actions A o Transitions P(s s,a)
More informationDecision Theory: Q-Learning
Decision Theory: Q-Learning CPSC 322 Decision Theory 5 Textbook 12.5 Decision Theory: Q-Learning CPSC 322 Decision Theory 5, Slide 1 Lecture Overview 1 Recap 2 Asynchronous Value Iteration 3 Q-Learning
More informationMS&E338 Reinforcement Learning Lecture 1 - April 2, Introduction
MS&E338 Reinforcement Learning Lecture 1 - April 2, 2018 Introduction Lecturer: Ben Van Roy Scribe: Gabriel Maher 1 Reinforcement Learning Introduction In reinforcement learning (RL) we consider an agent
More informationThis question has three parts, each of which can be answered concisely, but be prepared to explain and justify your concise answer.
This question has three parts, each of which can be answered concisely, but be prepared to explain and justify your concise answer. 1. Suppose you have a policy and its action-value function, q, then you
More informationMarkov Decision Processes and Solving Finite Problems. February 8, 2017
Markov Decision Processes and Solving Finite Problems February 8, 2017 Overview of Upcoming Lectures Feb 8: Markov decision processes, value iteration, policy iteration Feb 13: Policy gradients Feb 15:
More informationMarkov Decision Processes Chapter 17. Mausam
Markov Decision Processes Chapter 17 Mausam Planning Agent Static vs. Dynamic Fully vs. Partially Observable Environment What action next? Deterministic vs. Stochastic Perfect vs. Noisy Instantaneous vs.
More informationReal Time Value Iteration and the State-Action Value Function
MS&E338 Reinforcement Learning Lecture 3-4/9/18 Real Time Value Iteration and the State-Action Value Function Lecturer: Ben Van Roy Scribe: Apoorva Sharma and Tong Mu 1 Review Last time we left off discussing
More information, and rewards and transition matrices as shown below:
CSE 50a. Assignment 7 Out: Tue Nov Due: Thu Dec Reading: Sutton & Barto, Chapters -. 7. Policy improvement Consider the Markov decision process (MDP) with two states s {0, }, two actions a {0, }, discount
More informationMDP Preliminaries. Nan Jiang. February 10, 2019
MDP Preliminaries Nan Jiang February 10, 2019 1 Markov Decision Processes In reinforcement learning, the interactions between the agent and the environment are often described by a Markov Decision Process
More informationProbabilistic Planning. George Konidaris
Probabilistic Planning George Konidaris gdk@cs.brown.edu Fall 2017 The Planning Problem Finding a sequence of actions to achieve some goal. Plans It s great when a plan just works but the world doesn t
More informationProf. Dr. Ann Nowé. Artificial Intelligence Lab ai.vub.ac.be
REINFORCEMENT LEARNING AN INTRODUCTION Prof. Dr. Ann Nowé Artificial Intelligence Lab ai.vub.ac.be REINFORCEMENT LEARNING WHAT IS IT? What is it? Learning from interaction Learning about, from, and while
More informationIntroduction to Reinforcement Learning. CMPT 882 Mar. 18
Introduction to Reinforcement Learning CMPT 882 Mar. 18 Outline for the week Basic ideas in RL Value functions and value iteration Policy evaluation and policy improvement Model-free RL Monte-Carlo and
More informationAlgorithms for MDPs and Their Convergence
MS&E338 Reinforcement Learning Lecture 2 - April 4 208 Algorithms for MDPs and Their Convergence Lecturer: Ben Van Roy Scribe: Matthew Creme and Kristen Kessel Bellman operators Recall from last lecture
More informationReinforcement learning an introduction
Reinforcement learning an introduction Prof. Dr. Ann Nowé Computational Modeling Group AIlab ai.vub.ac.be November 2013 Reinforcement Learning What is it? Learning from interaction Learning about, from,
More informationChristopher Watkins and Peter Dayan. Noga Zaslavsky. The Hebrew University of Jerusalem Advanced Seminar in Deep Learning (67679) November 1, 2015
Q-Learning Christopher Watkins and Peter Dayan Noga Zaslavsky The Hebrew University of Jerusalem Advanced Seminar in Deep Learning (67679) November 1, 2015 Noga Zaslavsky Q-Learning (Watkins & Dayan, 1992)
More informationReinforcement Learning
Reinforcement Learning Dipendra Misra Cornell University dkm@cs.cornell.edu https://dipendramisra.wordpress.com/ Task Grasp the green cup. Output: Sequence of controller actions Setup from Lenz et. al.
More informationChapter 3: The Reinforcement Learning Problem
Chapter 3: The Reinforcement Learning Problem Objectives of this chapter: describe the RL problem we will be studying for the remainder of the course present idealized form of the RL problem for which
More informationPrioritized Sweeping Converges to the Optimal Value Function
Technical Report DCS-TR-631 Prioritized Sweeping Converges to the Optimal Value Function Lihong Li and Michael L. Littman {lihong,mlittman}@cs.rutgers.edu RL 3 Laboratory Department of Computer Science
More informationLecture 3: The Reinforcement Learning Problem
Lecture 3: The Reinforcement Learning Problem Objectives of this lecture: describe the RL problem we will be studying for the remainder of the course present idealized form of the RL problem for which
More informationCS788 Dialogue Management Systems Lecture #2: Markov Decision Processes
CS788 Dialogue Management Systems Lecture #2: Markov Decision Processes Kee-Eung Kim KAIST EECS Department Computer Science Division Markov Decision Processes (MDPs) A popular model for sequential decision
More informationIntroduction to Reinforcement Learning
CSCI-699: Advanced Topics in Deep Learning 01/16/2019 Nitin Kamra Spring 2019 Introduction to Reinforcement Learning 1 What is Reinforcement Learning? So far we have seen unsupervised and supervised learning.
More informationChapter 3: The Reinforcement Learning Problem
Chapter 3: The Reinforcement Learning Problem Objectives of this chapter: describe the RL problem we will be studying for the remainder of the course present idealized form of the RL problem for which
More informationReinforcement Learning and Control
CS9 Lecture notes Andrew Ng Part XIII Reinforcement Learning and Control We now begin our study of reinforcement learning and adaptive control. In supervised learning, we saw algorithms that tried to make
More informationTemporal difference learning
Temporal difference learning AI & Agents for IET Lecturer: S Luz http://www.scss.tcd.ie/~luzs/t/cs7032/ February 4, 2014 Recall background & assumptions Environment is a finite MDP (i.e. A and S are finite).
More informationNotes on Reinforcement Learning
1 Introduction Notes on Reinforcement Learning Paulo Eduardo Rauber 2014 Reinforcement learning is the study of agents that act in an environment with the goal of maximizing cumulative reward signals.
More informationReinforcement Learning and Deep Reinforcement Learning
Reinforcement Learning and Deep Reinforcement Learning Ashis Kumer Biswas, Ph.D. ashis.biswas@ucdenver.edu Deep Learning November 5, 2018 1 / 64 Outlines 1 Principles of Reinforcement Learning 2 The Q
More informationDecision Theory: Markov Decision Processes
Decision Theory: Markov Decision Processes CPSC 322 Lecture 33 March 31, 2006 Textbook 12.5 Decision Theory: Markov Decision Processes CPSC 322 Lecture 33, Slide 1 Lecture Overview Recap Rewards and Policies
More informationCS 7180: Behavioral Modeling and Decisionmaking
CS 7180: Behavioral Modeling and Decisionmaking in AI Markov Decision Processes for Complex Decisionmaking Prof. Amy Sliva October 17, 2012 Decisions are nondeterministic In many situations, behavior and
More informationReading Response: Due Wednesday. R. S. Sutton and A. G. Barto: Reinforcement Learning: An Introduction 1
Reading Response: Due Wednesday R. S. Sutton and A. G. Barto: Reinforcement Learning: An Introduction 1 Another Example Get to the top of the hill as quickly as possible. reward = 1 for each step where
More informationPART A and ONE question from PART B; or ONE question from PART A and TWO questions from PART B.
Advanced Topics in Machine Learning, GI13, 2010/11 Advanced Topics in Machine Learning, GI13, 2010/11 Answer any THREE questions. Each question is worth 20 marks. Use separate answer books Answer any THREE
More informationReinforcement Learning
Reinforcement Learning March May, 2013 Schedule Update Introduction 03/13/2015 (10:15-12:15) Sala conferenze MDPs 03/18/2015 (10:15-12:15) Sala conferenze Solving MDPs 03/20/2015 (10:15-12:15) Aula Alpha
More informationBasics of reinforcement learning
Basics of reinforcement learning Lucian Buşoniu TMLSS, 20 July 2018 Main idea of reinforcement learning (RL) Learn a sequential decision policy to optimize the cumulative performance of an unknown system
More informationCMU Lecture 12: Reinforcement Learning. Teacher: Gianni A. Di Caro
CMU 15-781 Lecture 12: Reinforcement Learning Teacher: Gianni A. Di Caro REINFORCEMENT LEARNING Transition Model? State Action Reward model? Agent Goal: Maximize expected sum of future rewards 2 MDP PLANNING
More informationCourse 16:198:520: Introduction To Artificial Intelligence Lecture 13. Decision Making. Abdeslam Boularias. Wednesday, December 7, 2016
Course 16:198:520: Introduction To Artificial Intelligence Lecture 13 Decision Making Abdeslam Boularias Wednesday, December 7, 2016 1 / 45 Overview We consider probabilistic temporal models where the
More informationMarkov Decision Processes (and a small amount of reinforcement learning)
Markov Decision Processes (and a small amount of reinforcement learning) Slides adapted from: Brian Williams, MIT Manuela Veloso, Andrew Moore, Reid Simmons, & Tom Mitchell, CMU Nicholas Roy 16.4/13 Session
More informationSome AI Planning Problems
Course Logistics CS533: Intelligent Agents and Decision Making M, W, F: 1:00 1:50 Instructor: Alan Fern (KEC2071) Office hours: by appointment (see me after class or send email) Emailing me: include CS533
More informationToday s s Lecture. Applicability of Neural Networks. Back-propagation. Review of Neural Networks. Lecture 20: Learning -4. Markov-Decision Processes
Today s s Lecture Lecture 20: Learning -4 Review of Neural Networks Markov-Decision Processes Victor Lesser CMPSCI 683 Fall 2004 Reinforcement learning 2 Back-propagation Applicability of Neural Networks
More informationAn Adaptive Clustering Method for Model-free Reinforcement Learning
An Adaptive Clustering Method for Model-free Reinforcement Learning Andreas Matt and Georg Regensburger Institute of Mathematics University of Innsbruck, Austria {andreas.matt, georg.regensburger}@uibk.ac.at
More informationPART A and ONE question from PART B; or ONE question from PART A and TWO questions from PART B.
Advanced Topics in Machine Learning, GI13, 2010/11 Advanced Topics in Machine Learning, GI13, 2010/11 Answer any THREE questions. Each question is worth 20 marks. Use separate answer books Answer any THREE
More informationCS599 Lecture 1 Introduction To RL
CS599 Lecture 1 Introduction To RL Reinforcement Learning Introduction Learning from rewards Policies Value Functions Rewards Models of the Environment Exploitation vs. Exploration Dynamic Programming
More informationMarkov Decision Processes and Dynamic Programming
Markov Decision Processes and Dynamic Programming A. LAZARIC (SequeL Team @INRIA-Lille) Ecole Centrale - Option DAD SequeL INRIA Lille EC-RL Course In This Lecture A. LAZARIC Markov Decision Processes
More informationLecture 3: Markov Decision Processes
Lecture 3: Markov Decision Processes Joseph Modayil 1 Markov Processes 2 Markov Reward Processes 3 Markov Decision Processes 4 Extensions to MDPs Markov Processes Introduction Introduction to MDPs Markov
More informationToday s Outline. Recap: MDPs. Bellman Equations. Q-Value Iteration. Bellman Backup 5/7/2012. CSE 473: Artificial Intelligence Reinforcement Learning
CSE 473: Artificial Intelligence Reinforcement Learning Dan Weld Today s Outline Reinforcement Learning Q-value iteration Q-learning Exploration / exploitation Linear function approximation Many slides
More informationReinforcement Learning. Summer 2017 Defining MDPs, Planning
Reinforcement Learning Summer 2017 Defining MDPs, Planning understandability 0 Slide 10 time You are here Markov Process Where you will go depends only on where you are Markov Process: Information state
More informationCSC321 Lecture 22: Q-Learning
CSC321 Lecture 22: Q-Learning Roger Grosse Roger Grosse CSC321 Lecture 22: Q-Learning 1 / 21 Overview Second of 3 lectures on reinforcement learning Last time: policy gradient (e.g. REINFORCE) Optimize
More informationFinal Exam December 12, 2017
Introduction to Artificial Intelligence CSE 473, Autumn 2017 Dieter Fox Final Exam December 12, 2017 Directions This exam has 7 problems with 111 points shown in the table below, and you have 110 minutes
More informationMarkov Decision Processes Infinite Horizon Problems
Markov Decision Processes Infinite Horizon Problems Alan Fern * * Based in part on slides by Craig Boutilier and Daniel Weld 1 What is a solution to an MDP? MDP Planning Problem: Input: an MDP (S,A,R,T)
More informationMarkov Decision Processes Chapter 17. Mausam
Markov Decision Processes Chapter 17 Mausam Planning Agent Static vs. Dynamic Fully vs. Partially Observable Environment What action next? Deterministic vs. Stochastic Perfect vs. Noisy Instantaneous vs.
More informationDistributed Optimization. Song Chong EE, KAIST
Distributed Optimization Song Chong EE, KAIST songchong@kaist.edu Dynamic Programming for Path Planning A path-planning problem consists of a weighted directed graph with a set of n nodes N, directed links
More informationThe Simplex and Policy Iteration Methods are Strongly Polynomial for the Markov Decision Problem with Fixed Discount
The Simplex and Policy Iteration Methods are Strongly Polynomial for the Markov Decision Problem with Fixed Discount Yinyu Ye Department of Management Science and Engineering and Institute of Computational
More informationCourse basics. CSE 190: Reinforcement Learning: An Introduction. Last Time. Course goals. The website for the class is linked off my homepage.
Course basics CSE 190: Reinforcement Learning: An Introduction The website for the class is linked off my homepage. Grades will be based on programming assignments, homeworks, and class participation.
More informationLecture 25: Learning 4. Victor R. Lesser. CMPSCI 683 Fall 2010
Lecture 25: Learning 4 Victor R. Lesser CMPSCI 683 Fall 2010 Final Exam Information Final EXAM on Th 12/16 at 4:00pm in Lederle Grad Res Ctr Rm A301 2 Hours but obviously you can leave early! Open Book
More informationREINFORCEMENT LEARNING
REINFORCEMENT LEARNING Larry Page: Where s Google going next? DeepMind's DQN playing Breakout Contents Introduction to Reinforcement Learning Deep Q-Learning INTRODUCTION TO REINFORCEMENT LEARNING Contents
More informationChapter 6: Temporal Difference Learning
Chapter 6: emporal Difference Learning Objectives of this chapter: Introduce emporal Difference (D) learning Focus first on policy evaluation, or prediction, methods Compare efficiency of D learning with
More informationReinforcement Learning
Reinforcement Learning Markov decision process & Dynamic programming Evaluative feedback, value function, Bellman equation, optimality, Markov property, Markov decision process, dynamic programming, value
More informationReinforcement Learning. Yishay Mansour Tel-Aviv University
Reinforcement Learning Yishay Mansour Tel-Aviv University 1 Reinforcement Learning: Course Information Classes: Wednesday Lecture 10-13 Yishay Mansour Recitations:14-15/15-16 Eliya Nachmani Adam Polyak
More informationReinforcement Learning. Introduction
Reinforcement Learning Introduction Reinforcement Learning Agent interacts and learns from a stochastic environment Science of sequential decision making Many faces of reinforcement learning Optimal control
More informationMarkov Decision Processes and Dynamic Programming
Markov Decision Processes and Dynamic Programming A. LAZARIC (SequeL Team @INRIA-Lille) ENS Cachan - Master 2 MVA SequeL INRIA Lille MVA-RL Course How to model an RL problem The Markov Decision Process
More informationFinal Exam December 12, 2017
Introduction to Artificial Intelligence CSE 473, Autumn 2017 Dieter Fox Final Exam December 12, 2017 Directions This exam has 7 problems with 111 points shown in the table below, and you have 110 minutes
More informationLecture 3: Policy Evaluation Without Knowing How the World Works / Model Free Policy Evaluation
Lecture 3: Policy Evaluation Without Knowing How the World Works / Model Free Policy Evaluation CS234: RL Emma Brunskill Winter 2018 Material builds on structure from David SIlver s Lecture 4: Model-Free
More informationReinforcement Learning
1 Reinforcement Learning Chris Watkins Department of Computer Science Royal Holloway, University of London July 27, 2015 2 Plan 1 Why reinforcement learning? Where does this theory come from? Markov decision
More informationMonte Carlo is important in practice. CSE 190: Reinforcement Learning: An Introduction. Chapter 6: Temporal Difference Learning.
Monte Carlo is important in practice CSE 190: Reinforcement Learning: An Introduction Chapter 6: emporal Difference Learning When there are just a few possibilitieo value, out of a large state space, Monte
More informationWhat we learned last time
Wat we learned last time Value-function approximation by stocastic gradient descent enables RL to be applied to arbitrarily large state spaces Most algoritms just carry over Targets from tabular case Wit
More informationReinforcement Learning Part 2
Reinforcement Learning Part 2 Dipendra Misra Cornell University dkm@cs.cornell.edu https://dipendramisra.wordpress.com/ From previous tutorial Reinforcement Learning Exploration No supervision Agent-Reward-Environment
More informationQ-Learning for Markov Decision Processes*
McGill University ECSE 506: Term Project Q-Learning for Markov Decision Processes* Authors: Khoa Phan khoa.phan@mail.mcgill.ca Sandeep Manjanna sandeep.manjanna@mail.mcgill.ca (*Based on: Convergence of
More informationReinforcement Learning. Spring 2018 Defining MDPs, Planning
Reinforcement Learning Spring 2018 Defining MDPs, Planning understandability 0 Slide 10 time You are here Markov Process Where you will go depends only on where you are Markov Process: Information state
More informationMARKOV DECISION PROCESSES (MDP) AND REINFORCEMENT LEARNING (RL) Versione originale delle slide fornita dal Prof. Francesco Lo Presti
1 MARKOV DECISION PROCESSES (MDP) AND REINFORCEMENT LEARNING (RL) Versione originale delle slide fornita dal Prof. Francesco Lo Presti Historical background 2 Original motivation: animal learning Early
More informationCSE 573. Markov Decision Processes: Heuristic Search & Real-Time Dynamic Programming. Slides adapted from Andrey Kolobov and Mausam
CSE 573 Markov Decision Processes: Heuristic Search & Real-Time Dynamic Programming Slides adapted from Andrey Kolobov and Mausam 1 Stochastic Shortest-Path MDPs: Motivation Assume the agent pays cost
More informationSequential decision making under uncertainty. Department of Computer Science, Czech Technical University in Prague
Sequential decision making under uncertainty Jiří Kléma Department of Computer Science, Czech Technical University in Prague https://cw.fel.cvut.cz/wiki/courses/b4b36zui/prednasky pagenda Previous lecture:
More informationReinforcement Learning. George Konidaris
Reinforcement Learning George Konidaris gdk@cs.brown.edu Fall 2017 Machine Learning Subfield of AI concerned with learning from data. Broadly, using: Experience To Improve Performance On Some Task (Tom
More informationIntroduction to Markov Decision Processes
Introduction to Markov Decision Processes Fall - 2013 Alborz Geramifard Research Scientist at Amazon.com *This work was done during my postdoc at MIT. 1 Motivation Understand the customer s need in a sequence
More information16.410/413 Principles of Autonomy and Decision Making
16.410/413 Principles of Autonomy and Decision Making Lecture 23: Markov Decision Processes Policy Iteration Emilio Frazzoli Aeronautics and Astronautics Massachusetts Institute of Technology December
More informationReinforcement Learning: An Introduction
Introduction Betreuer: Freek Stulp Hauptseminar Intelligente Autonome Systeme (WiSe 04/05) Forschungs- und Lehreinheit Informatik IX Technische Universität München November 24, 2004 Introduction What is
More informationReinforcement Learning. Donglin Zeng, Department of Biostatistics, University of North Carolina
Reinforcement Learning Introduction Introduction Unsupervised learning has no outcome (no feedback). Supervised learning has outcome so we know what to predict. Reinforcement learning is in between it
More informationZero-Sum Stochastic Games An algorithmic review
Zero-Sum Stochastic Games An algorithmic review Emmanuel Hyon LIP6/Paris Nanterre with N Yemele and L Perrotin Rosario November 2017 Final Meeting Dygame Dygame Project Amstic Outline 1 Introduction Static
More informationLecture 4: Approximate dynamic programming
IEOR 800: Reinforcement learning By Shipra Agrawal Lecture 4: Approximate dynamic programming Deep Q Networks discussed in the last lecture are an instance of approximate dynamic programming. These are
More informationINF 5860 Machine learning for image classification. Lecture 14: Reinforcement learning May 9, 2018
Machine learning for image classification Lecture 14: Reinforcement learning May 9, 2018 Page 3 Outline Motivation Introduction to reinforcement learning (RL) Value function based methods (Q-learning)
More information(Deep) Reinforcement Learning
Martin Matyášek Artificial Intelligence Center Czech Technical University in Prague October 27, 2016 Martin Matyášek VPD, 2016 1 / 17 Reinforcement Learning in a picture R. S. Sutton and A. G. Barto 2015
More informationMachine Learning. Reinforcement learning. Hamid Beigy. Sharif University of Technology. Fall 1396
Machine Learning Reinforcement learning Hamid Beigy Sharif University of Technology Fall 1396 Hamid Beigy (Sharif University of Technology) Machine Learning Fall 1396 1 / 32 Table of contents 1 Introduction
More informationBalancing and Control of a Freely-Swinging Pendulum Using a Model-Free Reinforcement Learning Algorithm
Balancing and Control of a Freely-Swinging Pendulum Using a Model-Free Reinforcement Learning Algorithm Michail G. Lagoudakis Department of Computer Science Duke University Durham, NC 2778 mgl@cs.duke.edu
More informationCSE250A Fall 12: Discussion Week 9
CSE250A Fall 12: Discussion Week 9 Aditya Menon (akmenon@ucsd.edu) December 4, 2012 1 Schedule for today Recap of Markov Decision Processes. Examples: slot machines and maze traversal. Planning and learning.
More informationReinforcement Learning II
Reinforcement Learning II Andrea Bonarini Artificial Intelligence and Robotics Lab Department of Electronics and Information Politecnico di Milano E-mail: bonarini@elet.polimi.it URL:http://www.dei.polimi.it/people/bonarini
More informationReinforcement Learning
Reinforcement Learning Model-Based Reinforcement Learning Model-based, PAC-MDP, sample complexity, exploration/exploitation, RMAX, E3, Bayes-optimal, Bayesian RL, model learning Vien Ngo MLR, University
More informationA Gentle Introduction to Reinforcement Learning
A Gentle Introduction to Reinforcement Learning Alexander Jung 2018 1 Introduction and Motivation Consider the cleaning robot Rumba which has to clean the office room B329. In order to keep things simple,
More informationReinforcement Learning. Machine Learning, Fall 2010
Reinforcement Learning Machine Learning, Fall 2010 1 Administrativia This week: finish RL, most likely start graphical models LA2: due on Thursday LA3: comes out on Thursday TA Office hours: Today 1:30-2:30
More informationUnderstanding (Exact) Dynamic Programming through Bellman Operators
Understanding (Exact) Dynamic Programming through Bellman Operators Ashwin Rao ICME, Stanford University January 15, 2019 Ashwin Rao (Stanford) Bellman Operators January 15, 2019 1 / 11 Overview 1 Value
More information2534 Lecture 4: Sequential Decisions and Markov Decision Processes
2534 Lecture 4: Sequential Decisions and Markov Decision Processes Briefly: preference elicitation (last week s readings) Utility Elicitation as a Classification Problem. Chajewska, U., L. Getoor, J. Norman,Y.
More informationIntroduction to Reinforcement Learning. Part 5: Temporal-Difference Learning
Introduction to Reinforcement Learning Part 5: emporal-difference Learning What everybody should know about emporal-difference (D) learning Used to learn value functions without human input Learns a guess
More informationQ-Learning in Continuous State Action Spaces
Q-Learning in Continuous State Action Spaces Alex Irpan alexirpan@berkeley.edu December 5, 2015 Contents 1 Introduction 1 2 Background 1 3 Q-Learning 2 4 Q-Learning In Continuous Spaces 4 5 Experimental
More informationLecture 18: Reinforcement Learning Sanjeev Arora Elad Hazan
COS 402 Machine Learning and Artificial Intelligence Fall 2016 Lecture 18: Reinforcement Learning Sanjeev Arora Elad Hazan Some slides borrowed from Peter Bodik and David Silver Course progress Learning
More informationModule 8 Linear Programming. CS 886 Sequential Decision Making and Reinforcement Learning University of Waterloo
Module 8 Linear Programming CS 886 Sequential Decision Making and Reinforcement Learning University of Waterloo Policy Optimization Value and policy iteration Iterative algorithms that implicitly solve
More informationChapter 6: Temporal Difference Learning
Chapter 6: emporal Difference Learning Objectives of this chapter: Introduce emporal Difference (D) learning Focus first on policy evaluation, or prediction, methods hen extend to control methods R. S.
More informationMarkov decision processes
CS 2740 Knowledge representation Lecture 24 Markov decision processes Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square Administrative announcements Final exam: Monday, December 8, 2008 In-class Only
More informationGrundlagen der Künstlichen Intelligenz
Grundlagen der Künstlichen Intelligenz Reinforcement learning Daniel Hennes 4.12.2017 (WS 2017/18) University Stuttgart - IPVS - Machine Learning & Robotics 1 Today Reinforcement learning Model based and
More information1 Introduction 2. 4 Q-Learning The Q-value The Temporal Difference The whole Q-Learning process... 5
Table of contents 1 Introduction 2 2 Markov Decision Processes 2 3 Future Cumulative Reward 3 4 Q-Learning 4 4.1 The Q-value.............................................. 4 4.2 The Temporal Difference.......................................
More informationTrust Region Policy Optimization
Trust Region Policy Optimization Yixin Lin Duke University yixin.lin@duke.edu March 28, 2017 Yixin Lin (Duke) TRPO March 28, 2017 1 / 21 Overview 1 Preliminaries Markov Decision Processes Policy iteration
More informationReinforcement Learning and NLP
1 Reinforcement Learning and NLP Kapil Thadani kapil@cs.columbia.edu RESEARCH Outline 2 Model-free RL Markov decision processes (MDPs) Derivative-free optimization Policy gradients Variance reduction Value
More information