Lecture 3: Markov Decision Processes
|
|
- Elvin Foster
- 6 years ago
- Views:
Transcription
1 Lecture 3: Markov Decision Processes Joseph Modayil
2 1 Markov Processes 2 Markov Reward Processes 3 Markov Decision Processes 4 Extensions to MDPs
3 Markov Processes Introduction Introduction to MDPs Markov decision processes formally describe an environment for reinforcement learning Conventionally where the environment is fully observable i.e. The current state completely characterizes the process Almost all RL problems can be formalized as MDPs, e.g. Optimal control primarily deals with continuous MDPs Partially observable problems can be converted into MDPs Bandits are MDPs with one state References: Sutton & Barto Chapter 3. Slides:
4 Markov Processes Notation Statistical notation in Reinforcement Learning A variety of statistical notation has been used in earlier RL textbooks and earlier versions of this course. We will move towards more standard notation. Lowercase letters are used for states s and functions f. Uppercase letters are used for random variables, S t, and these are often indexed by time. This is not the case yet for the figures, so for now assume V π = v π (and similar), particularly in figures. There will be some typos in the slides. Also be aware of this when combining information from different sources. An expectation E [G t ] is often made over future trajectories. A probability distribution is denoted by P [].
5 Markov Processes Markov Property Markov Property The future is independent of the past given the present Consider a sequence of random states, {S t } t N, indexed by time. Definition A random state S t has the Markov property if and only if s, s S P [ S t+1 = s S t = s ] = P [ S t+1 = s S 1,..., S t = s ] for all histories (all instantiations of S k for k < t). The state captures all relevant information from the history Once the state is known, the history may be thrown away i.e. The state is a sufficient statistic of the future
6 Markov Processes Markov Property State Transition Matrix For random states with the Markov property, the state transition probability is defined by P ss = P [ S t+1 = s S t = s ] State transition matrix P defines transition probabilities from all states s to all successor states s, P = from to P P 1n. P P nn where each row of the matrix sums to 1.
7 Markov Processes Markov Chains Markov Process A Markov process is a memoryless random process, i.e. a sequence of random states S 1, S 2,... with the Markov property. Definition A Markov Process (or Markov Chain) is a tuple S, P S is a (finite) set of states P is a state transition probability matrix, P ss = P [S t+1 = s S t = s]
8 Markov Processes Markov Chains Example: Student Markov Chain Facebook Sleep Class Class 2 Class Pass 0.2 Pub
9 Markov Processes Markov Chains Example: Student Markov Chain Episodes Sample episodes for Student Markov Chain starting from S 1 = C1 0.9 Facebook Sleep S 1, S 2,..., S T Class Class 2 Class Pass C1 C2 C3 Pass Sleep C1 FB FB C1 C2 Sleep C1 C2 C3 Pub C2 C3 Pass Sleep 0.2 Pub C1 FB FB C1 C2 C3 Pub C1 FB FB FB C1 C2 C3 Pub C2 Sleep
10 Markov Processes Markov Chains Example: Student Markov Chain Transition Matrix 0.9 Facebook Class 1 Sleep Class 2 Class Pass C1 C2 C3 Pass Pub FB Sleep C C C3 0.6 P = Pass 1.0 Pub 0.2 FB Sleep Pub
11 Markov Reward Processes MRP Markov Reward Process A Markov reward process is a Markov chain with values. Definition A Markov Reward Process is a tuple S, P, R, γ S is a finite set of states P is a state transition probability matrix, P ss = P [S t+1 = s S t = s] R is a (expected) reward function, R s = E [R t+1 S t = s] γ is a discount factor, γ [0, 1]
12 Markov Reward Processes MRP Example: Student MRP 0.9 Facebook Sleep 0.1 r = -1 r = Class Class Class 3 r = -2 r = -2 r = Pass r = Pub r = +1
13 Markov Reward Processes Return Return Definition The return G t is the total discounted reward from time-step t. G t = R t+1 + γr t = γ k R t+k+1 k=0 The discount γ [0, 1] is the present value of future rewards The value of receiving reward R after k + 1 time-steps is γ k R. This values immediate reward above delayed reward. γ close to 0 leads to myopic evaluation γ close to 1 leads to far-sighted evaluation
14 Markov Reward Processes Return Why discount? Most Markov reward and decision processes are discounted. Why? Mathematically convenient to discount rewards Avoids infinite returns in cyclic Markov processes Uncertainty about the future may not be fully represented If the reward is financial, immediate rewards may earn more interest than delayed rewards Animal/human behaviour shows preference for immediate reward It sometimes possible to use undiscounted Markov reward processes (i.e. γ = 1), e.g. if all sequences terminate.
15 Markov Reward Processes Value Function Value Function The value function v(s) gives the long-term value of state s Definition The state value function v(s) of an MRP is the expected return starting from state s v(s) = E [G t S t = s]
16 Markov Reward Processes Value Function Example: Student Markov Chain Returns Sample returns for Student Markov Chain: Starting from S 1 = C1 with γ = 1 2 G 1 = R 1 + γr γ T 1 R T C1 C2 C3 Pass Sleep G 1 = = 2.25 C1 FB FB C1 C2 Sleep G 1 = = C1 C2 C3 Pub C2 C3 Pass Sleep G 1 = = 3.41 C1 FB FB C1 C2 C3 Pub C1... G 1 = = 3.20 FB FB FB C1 C2 C3 Pub C2 Sleep
17 Markov Reward Processes Value Function Example: State-Value Function for Student MRP (1) V(s) for γ = r = -1 r = r = -2 r = -2 r = r = r = +1
18 Markov Reward Processes Value Function Example: State-Value Function for Student MRP (2) V(s) for γ = r = -1 r = r = -2 r = -2 r = r = r = +1
19 Markov Reward Processes Value Function Example: State-Value Function for Student MRP (3) V(s) for γ = r = -1 r = r = -2 r = -2 r = r = r = +1
20 Markov Reward Processes Bellman Equation Bellman Equation for MRPs The value function can be decomposed into two parts: immediate reward r discounted value of successor state γv(s ) v(s) = E [G t S t = s] = E [ R t+1 + γr t+2 + γ 2 R t S t = s ] = E [R t+1 + γ (R t+2 + γr t ) S t = s] = E [R t+1 + γg t+1 S t = s] = E [R t+1 + γv(s t+1 ) S t = s]
21 Markov Reward Processes Bellman Equation Bellman Equation for MRPs (2) v(s) = E [R t+1 + γv(s t+1 ) S t = s] s V(s) r s' V(s') v(s) = R s + γ s S P ss v(s )
22 Markov Reward Processes Bellman Equation Example: Bellman Equation for Student MRP 4.3 = *10 + * r = -1 r = r = -2 r = -2 r = r = r = +1
23 Markov Reward Processes Bellman Equation Bellman Equation in Matrix Form The Bellman equation can be expressed concisely using matrices, v = R + γpv where v is a column vector with one entry per state v(1) R 1 P P 1n v(1). =. + γ.. v(n) R n P n1... P nn v(n)
24 Markov Reward Processes Bellman Equation Solving the Bellman Equation The Bellman equation is a linear equation It can be solved directly: (I γp) v = R v = R + γpv v = (I γp) 1 R Computational complexity is O(n 3 ) for n states Direct solution only possible for small MRPs There are many iterative methods for large MRPs, e.g. Dynamic programming Monte-Carlo evaluation Temporal-Difference learning
25 Markov Decision Processes MDP Markov Decision Process A Markov decision process (MDP) is a Markov reward process with decisions. It is an environment in which all random states are Markov. Definition A Markov Decision Process is a tuple S, A, P, R, γ S is a finite set of states A is a finite set of actions P is a state transition probability matrix, P a ss = P [S t+1 = s S t = s, A t = a] R is a reward function, R a s = E [R t+1 S t = s, A t = a] γ is a discount factor γ [0, 1].
26 Markov Decision Processes MDP Markov Decision Process: New notation A more precise way to describe the state and reward dynamics of a MDP is to give the probability for each possible next state and reward. p(s, r s, a) P [ S t+1 = s, R t+1 = r S t = s, A t = a ] We can then write the state transistion probabilities as P a ss P [ S t+1 = s S t = s, A t = a ] = r R p(s, r s, a). We can then write the state transistion probabilities as R a s E [R t+1 = r S t = s, A t = a] = r R r s S p(s, r s, a).
27 Markov Decision Processes MDP Example: Student MDP Facebook r = -1 Quit r = 0 Facebook Sleep r = -1 r = 0 Study Study r = -2 r = -2 Study r = Pub r = +1
28 Markov Decision Processes Policies Policies (1) Definition A policy π is a distribution over actions given states, π(s, a) = P [A t = a S t = s] A policy fully defines the behaviour of an agent MDP policies depend on the current state (not the history) i.e. Policies are stationary (time-independent), A t π(s t, ), t > 0 The policy π(s, a) is sometimes written as π(a s)
29 Markov Decision Processes Policies Policies (2) Given an MDP M = S, A, P, R, γ and a policy π The state sequence S 1, S 2,... is a Markov process S, P π The state and reward sequence S 1, R 2, S 2,... is a Markov reward process S, P π, R π, γ where P π s,s = a A π(s, a)p a s,s R π s = a A π(s, a)r a s
30 Markov Decision Processes Value Functions Policy Conditional Expectations Definition The expectation of a random variable F t conditional on π being used to select future actions is written as E π [F t ].
31 Markov Decision Processes Value Functions Value Function Definition The state-value function v π (s) of an MDP is the expected return starting from state s, and then following policy π v π (s) = E π [G t S t = s] Definition The action-value function q π (s, a) is the expected return starting from state s, taking action a, and then following policy π q π (s, a) = E π [G t S t = s, A t = a]
32 Markov Decision Processes Value Functions Example: State-Value Function for Student MDP Facebook r = -1 V π (s) for π(s,a)=0.5, γ = Quit r = 0 Facebook Sleep r = -1 r = Study 2.7 Study 7.4 r = -2 r = -2 Study r = Pub r = +1
33 Markov Decision Processes Bellman Expectation Equation Bellman Expectation Equation The state-value function can again be decomposed into immediate reward plus discounted value of successor state, v π (s) = E π [R t+1 + γv π (S t+1 ) S t = s] The action-value function can similarly be decomposed, q π (s, a) = E π [R t+1 + γq π (S t+1, A t+1 ) S t = s, A t = a]
34 Markov Decision Processes Bellman Expectation Equation Bellman Expectation Equation for v π s V! (s) a Q! (s,a) v π (s) = a A π(s, a)q π (s, a)
35 Markov Decision Processes Bellman Expectation Equation Bellman Expectation Equation for q π s,a Q! (s,a) r s' V! (s') q π (s, a) = R a s + γ s S P a ss v π (s )
36 Markov Decision Processes Bellman Expectation Equation Bellman Expectation Equation for v π (2) s V! (s) a r s' V! (s') v π (s) = ( π(s, a) R a s + γ ) Pss a v π (s ) a A s S
37 Markov Decision Processes Bellman Expectation Equation Bellman Expectation Equation for q π (2) s,a Q! (s,a) r s' a' Q! (s',a') q π (s, a) = R a s + γ s S P a ss π(s, a )q π (s, a ) a A
38 Markov Decision Processes Bellman Expectation Equation Example: Bellman Expectation Equation in Student MDP Facebook r = = 0.5 * ( * * * 7.4) * Quit r = 0 Facebook Sleep r = -1 r = Study 2.7 Study 7.4 r = -2 r = -2 Study r = Pub r = +1
39 Markov Decision Processes Bellman Expectation Equation Bellman Expectation Equation (Matrix Form) The Bellman expectation equation can be expressed concisely using the induced MRP, with direct solution v π = R π + γp π v π v π = (I γp π ) 1 R π
40 Markov Decision Processes Optimal Value Functions Optimal Value Function Definition The optimal state-value function v (s) is the maximum value function over all policies v (s) = max π v π (s) The optimal action-value function q (s, a) is the maximum action-value function over all policies q (s, a) = max π q π (s, a) The optimal value function specifies the best possible performance in the MDP. An MDP is solved when we know the optimal value fn.
41 Markov Decision Processes Optimal Value Functions Example: Optimal Value Function for Student MDP Facebook r = -1 V*(s) for γ =1 6 0 Quit r = 0 Facebook Sleep r = -1 r = 0 6 Study Study 8 r = -2 r = Study r = +10 Pub r =
42 Markov Decision Processes Optimal Value Functions Example: Optimal Action-Value Function for Student MDP Facebook r = -1 Q* =5 Q*(s,a) for γ =1 6 0 Quit r = 0 Q* =6 Facebook Sleep r = -1 r = 0 Q* =5 Q* =0 6 Study Study 8 r = -2 r = Q* =6 Q* =8 Study r = +10 Q* =10 Pub r = Q* =8.4
43 Markov Decision Processes Optimal Value Functions Optimal Policy Define a partial ordering over policies π π if v π (s) v π (s), s Theorem For any Markov Decision Process There exists an optimal policy π that is better than or equal to all other policies, π π, π All optimal policies achieve the optimal value function, v π (s) = v (s) All optimal policies achieve the optimal action-value function, q π (s, a) = q (s, a)
44 Markov Decision Processes Optimal Value Functions Finding an Optimal Policy An optimal policy can be found by maximising over q (s, a), { 1 if a = argmax q (s, a) π (s, a) = a A 0 otherwise There is always a deterministic optimal policy for any MDP If we know q (s, a), we immediately have the optimal policy There can be multiple optimal policies
45 Markov Decision Processes Optimal Value Functions Example: Optimal Policy for Student MDP Facebook r = -1 Q* =5 π*(s,a) for γ =1 6 0 Quit r = 0 Q* =6 Facebook Sleep r = -1 r = 0 Q* =5 Q* =0 6 Study Study 8 r = -2 r = Q* =6 Q* =8 Study r = +10 Q* =10 Pub r = Q* =8.4
46 Markov Decision Processes Bellman Optimality Equation Bellman Optimality Equation for v The optimal value functions are recursively related by the Bellman optimality equations: s V * (s) a Q * (s,a) v (s) = max a q (s, a)
47 Markov Decision Processes Bellman Optimality Equation Bellman Optimality Equation for q s,a Q * (s,a) r s' V * (s') q (s, a) = R a s + γ s S P a ss v (s )
48 Markov Decision Processes Bellman Optimality Equation Bellman Optimality Equation for v (2) s V * (s) a r s' V * (s') v (s) = max a R a s + γ s S P a ss v (s )
49 Markov Decision Processes Bellman Optimality Equation Bellman Optimality Equation for q (2) s,a Q * (s,a) r s' a' Q * (s',a') q (s, a) = R a s + γ s S P a ss max a v (s, a )
50 Markov Decision Processes Bellman Optimality Equation Example: Bellman Optimality Equation in Student MDP Facebook r = -1 6 = max {-2 + 8, } 6 0 Quit r = 0 Facebook Sleep r = -1 r = 0 6 Study Study 8 r = -2 r = Study r = +10 Pub r =
51 Markov Decision Processes Bellman Optimality Equation Solving the Bellman Optimality Equation Bellman Optimality Equation is non-linear No closed form solution (in general) Many iterative solution methods Value Iteration Policy Iteration Q-learning Sarsa
52 Extensions to MDPs Extensions to MDPs Infinite and continuous MDPs Partially observable MDPs Undiscounted, average reward MDPs
53 Extensions to MDPs Infinite MDPs Infinite MDPs The following extensions are all possible: Countably infinite state and/or action spaces Straightforward Continuous state and/or action spaces Closed form for linear quadratic model (LQR) Continuous time Requires partial differential equations Hamilton-Jacobi-Bellman (HJB) equation Limiting case of Bellman equation as time-step 0
54 Extensions to MDPs Partially Observable MDPs POMDPs A POMDP is an MDP with hidden states. It is a hidden Markov model with actions. Definition A Partially Observable Markov Decision Process is a tuple S, A, O, P, R, Z, γ S is a finite set of states A is a finite set of actions O is a finite set of observations P is a state transition probability matrix, P a ss = P [S t+1 = s S t = s, A t = a] R is a reward function, R a s = E [R t+1 = r S t = s, A t = a] Z is an observation function, Z a s = P [O t+1 = o S t = s, A t = a] γ is a discount factor γ [0, 1].
55 Extensions to MDPs Partially Observable MDPs Belief States Definition A history H t is a sequence of actions, rewards, and observations H t = A 1, R 2, O 2,..., A t 1, R t, O t Definition A belief state b(h t ) is a probability distribution over states, conditioned on the history h t b(h t ) = (P [ S t = s 1 H t ],..., P [St = s n H t ])
56 Extensions to MDPs Partially Observable MDPs Reductions of POMDPs The history H t satisfies the Markov property The belief state b(h t ) satisfies the Markov property History tree Belief tree P(s) a 1 a 2 a 1 a 2 a 1 a 2 o 1 o 2 o 1 o 2 P(s a 1 ) P(s a 2 ) o 1 o 2 o 1 o 2 a 1 o 1 a 1 o 2 a 2 o 1 a 2 o 2 P(s a 1 o 1 ) P(s a 1 o 2 ) P(s a 2 o 1 ) P(s a 2 o 2 ) a 1 a 2 a 1 o 1 a 1 a 1 o 1 a a 1 a 2 P(s a 1 o 1 a 1 ) P(s a 1 o 1 a 2 ) A POMDP can be reduced to an (infinite) history tree A POMDP can be reduced to an (infinite) belief state tree
57 Extensions to MDPs Average Reward MDPs Ergodic Markov Process An ergodic Markov process is Theorem Recurrent: each state is visited an infinite number of times Aperiodic: each state is visited without any systematic period An ergodic Markov process has a limiting stationary distribution d π (s) with the property d π (s) = s S P k ss dπ (s )
58 Extensions to MDPs Average Reward MDPs Ergodic MDP Definition An MDP is ergodic if the Markov chain induced by any policy is ergodic. For any policy π, an ergodic MDP has an average reward per time-step ρ π that is independent of start state. ρ π = lim T [ T ] 1 T E π R t t=1
59 Extensions to MDPs Average Reward MDPs Average Reward Value Function The value function of an undiscounted, ergodic MDP can be expressed in terms of average reward. ṽ π (s) is the extra reward due to starting from state s, [ ] ṽ π (s) = E π (R t+k ρ π ) S t = s k=1 There is a corresponding average reward Bellman equation, ] ṽ π (s) = E π [(R t+1 ρ π ) + (R t+k+1 ρ π ) S t = s k=1 = E π [(R t+1 ρ π ) + ṽ π (S t+1 ) S t = s]
60 Extensions to MDPs Average Reward MDPs Questions? The only stupid question is the one you were afraid to ask but never did. -Rich Sutton
Reinforcement 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 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 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 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 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 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 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 informationTemporal Difference. Learning KENNETH TRAN. Principal Research Engineer, MSR AI
Temporal Difference Learning KENNETH TRAN Principal Research Engineer, MSR AI Temporal Difference Learning Policy Evaluation Intro to model-free learning Monte Carlo Learning Temporal Difference Learning
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 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 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 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 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 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 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 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 informationArtificial Intelligence
Artificial Intelligence Dynamic Programming Marc Toussaint University of Stuttgart Winter 2018/19 Motivation: So far we focussed on tree search-like solvers for decision problems. There is a second important
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 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 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 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 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 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 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 informationMarkov Decision Processes
Markov Decision Processes Noel Welsh 11 November 2010 Noel Welsh () Markov Decision Processes 11 November 2010 1 / 30 Annoucements Applicant visitor day seeks robot demonstrators for exciting half hour
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 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 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 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 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 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 informationThe Reinforcement Learning Problem
The Reinforcement Learning Problem Slides based on the book Reinforcement Learning by Sutton and Barto Formalizing Reinforcement Learning Formally, the agent and environment interact at each of a sequence
More informationMachine Learning I Reinforcement Learning
Machine Learning I Reinforcement Learning Thomas Rückstieß Technische Universität München December 17/18, 2009 Literature Book: Reinforcement Learning: An Introduction Sutton & Barto (free online version:
More informationReinforcement Learning
Reinforcement Learning Temporal Difference Learning Temporal difference learning, TD prediction, Q-learning, elibigility traces. (many slides from Marc Toussaint) Vien Ngo MLR, University of Stuttgart
More informationMarks. bonus points. } Assignment 1: Should be out this weekend. } Mid-term: Before the last lecture. } Mid-term deferred exam:
Marks } Assignment 1: Should be out this weekend } All are marked, I m trying to tally them and perhaps add bonus points } Mid-term: Before the last lecture } Mid-term deferred exam: } This Saturday, 9am-10.30am,
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 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 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 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 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 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 information6 Reinforcement Learning
6 Reinforcement Learning As discussed above, a basic form of supervised learning is function approximation, relating input vectors to output vectors, or, more generally, finding density functions p(y,
More informationLecture 1: March 7, 2018
Reinforcement Learning Spring Semester, 2017/8 Lecture 1: March 7, 2018 Lecturer: Yishay Mansour Scribe: ym DISCLAIMER: Based on Learning and Planning in Dynamical Systems by Shie Mannor c, all rights
More informationReinforcement learning
Reinforcement learning Based on [Kaelbling et al., 1996, Bertsekas, 2000] Bert Kappen Reinforcement learning Reinforcement learning is the problem faced by an agent that must learn behavior through trial-and-error
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 informationPlanning in Markov Decision Processes
Carnegie Mellon School of Computer Science Deep Reinforcement Learning and Control Planning in Markov Decision Processes Lecture 3, CMU 10703 Katerina Fragkiadaki Markov Decision Process (MDP) A Markov
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 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 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 informationLecture 7: Value Function Approximation
Lecture 7: Value Function Approximation Joseph Modayil Outline 1 Introduction 2 3 Batch Methods Introduction Large-Scale Reinforcement Learning Reinforcement learning can be used to solve large problems,
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 informationLeast squares policy iteration (LSPI)
Least squares policy iteration (LSPI) Charles Elkan elkan@cs.ucsd.edu December 6, 2012 1 Policy evaluation and policy improvement Let π be a non-deterministic but stationary policy, so p(a s; π) is the
More informationOff-Policy Actor-Critic
Off-Policy Actor-Critic Ludovic Trottier Laval University July 25 2012 Ludovic Trottier (DAMAS Laboratory) Off-Policy Actor-Critic July 25 2012 1 / 34 Table of Contents 1 Reinforcement Learning Theory
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 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 informationREINFORCE Framework for Stochastic Policy Optimization and its use in Deep Learning
REINFORCE Framework for Stochastic Policy Optimization and its use in Deep Learning Ronen Tamari The Hebrew University of Jerusalem Advanced Seminar in Deep Learning (#67679) February 28, 2016 Ronen Tamari
More informationAM 121: Intro to Optimization Models and Methods: Fall 2018
AM 11: Intro to Optimization Models and Methods: Fall 018 Lecture 18: Markov Decision Processes Yiling Chen Lesson Plan Markov decision processes Policies and value functions Solving: average reward, discounted
More informationMachine Learning. Machine Learning: Jordan Boyd-Graber University of Maryland REINFORCEMENT LEARNING. Slides adapted from Tom Mitchell and Peter Abeel
Machine Learning Machine Learning: Jordan Boyd-Graber University of Maryland REINFORCEMENT LEARNING Slides adapted from Tom Mitchell and Peter Abeel Machine Learning: Jordan Boyd-Graber UMD Machine Learning
More informationReinforcement Learning with Function Approximation. Joseph Christian G. Noel
Reinforcement Learning with Function Approximation Joseph Christian G. Noel November 2011 Abstract Reinforcement learning (RL) is a key problem in the field of Artificial Intelligence. The main goal is
More informationReinforcement Learning: the basics
Reinforcement Learning: the basics Olivier Sigaud Université Pierre et Marie Curie, PARIS 6 http://people.isir.upmc.fr/sigaud August 6, 2012 1 / 46 Introduction Action selection/planning Learning by trial-and-error
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 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 /doku.php/courses/a4b33zui/start pagenda Previous lecture: individual rational
More informationIntroduction to Reinforcement Learning Part 1: Markov Decision Processes
Introduction to Reinforcement Learning Part 1: Markov Decision Processes Rowan McAllister Reinforcement Learning Reading Group 8 April 2015 Note I ve created these slides whilst following Algorithms for
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 informationLecture 8: Policy Gradient
Lecture 8: Policy Gradient Hado van Hasselt Outline 1 Introduction 2 Finite Difference Policy Gradient 3 Monte-Carlo Policy Gradient 4 Actor-Critic Policy Gradient Introduction Vapnik s rule Never solve
More informationUniversity of Alberta
University of Alberta NEW REPRESENTATIONS AND APPROXIMATIONS FOR SEQUENTIAL DECISION MAKING UNDER UNCERTAINTY by Tao Wang A thesis submitted to the Faculty of Graduate Studies and Research in partial fulfillment
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 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 informationReinforcement learning
Reinforcement learning Stuart Russell, UC Berkeley Stuart Russell, UC Berkeley 1 Outline Sequential decision making Dynamic programming algorithms Reinforcement learning algorithms temporal difference
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 informationLecture notes for Analysis of Algorithms : Markov decision processes
Lecture notes for Analysis of Algorithms : Markov decision processes Lecturer: Thomas Dueholm Hansen June 6, 013 Abstract We give an introduction to infinite-horizon Markov decision processes (MDPs) with
More informationReinforcement Learning
Reinforcement Learning Ron Parr CompSci 7 Department of Computer Science Duke University With thanks to Kris Hauser for some content RL Highlights Everybody likes to learn from experience Use ML techniques
More informationThe convergence limit of the temporal difference learning
The convergence limit of the temporal difference learning Ryosuke Nomura the University of Tokyo September 3, 2013 1 Outline Reinforcement Learning Convergence limit Construction of the feature vector
More informationCS 598 Statistical Reinforcement Learning. Nan Jiang
CS 598 Statistical Reinforcement Learning Nan Jiang Overview What s this course about? A grad-level seminar course on theory of RL 3 What s this course about? A grad-level seminar course on theory of RL
More informationBayesian reinforcement learning and partially observable Markov decision processes November 6, / 24
and partially observable Markov decision processes Christos Dimitrakakis EPFL November 6, 2013 Bayesian reinforcement learning and partially observable Markov decision processes November 6, 2013 1 / 24
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 informationLecture 17: Reinforcement Learning, Finite Markov Decision Processes
CSE599i: Online and Adaptive Machine Learning Winter 2018 Lecture 17: Reinforcement Learning, Finite Markov Decision Processes Lecturer: Kevin Jamieson Scribes: Aida Amini, Kousuke Ariga, James Ferguson,
More informationApproximation Methods in Reinforcement Learning
2018 CS420, Machine Learning, Lecture 12 Approximation Methods in Reinforcement Learning Weinan Zhang Shanghai Jiao Tong University http://wnzhang.net http://wnzhang.net/teaching/cs420/index.html Reinforcement
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 informationOptimal Control. McGill COMP 765 Oct 3 rd, 2017
Optimal Control McGill COMP 765 Oct 3 rd, 2017 Classical Control Quiz Question 1: Can a PID controller be used to balance an inverted pendulum: A) That starts upright? B) That must be swung-up (perhaps
More informationMultiagent Value Iteration in Markov Games
Multiagent Value Iteration in Markov Games Amy Greenwald Brown University with Michael Littman and Martin Zinkevich Stony Brook Game Theory Festival July 21, 2005 Agenda Theorem Value iteration converges
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 informationReinforcement Learning as Classification Leveraging Modern Classifiers
Reinforcement Learning as Classification Leveraging Modern Classifiers Michail G. Lagoudakis and Ronald Parr Department of Computer Science Duke University Durham, NC 27708 Machine Learning Reductions
More informationarxiv: v1 [cs.lg] 20 Sep 2018
Predicting Periodicity with Temporal Difference Learning Kristopher De Asis, Brendan Bennett, Richard S. Sutton Reinforcement Learning and Artificial Intelligence Laboratory, University of Alberta {kldeasis,
More informationPOMDPs and Policy Gradients
POMDPs and Policy Gradients MLSS 2006, Canberra Douglas Aberdeen Canberra Node, RSISE Building Australian National University 15th February 2006 Outline 1 Introduction What is Reinforcement Learning? Types
More informationLecture 23: Reinforcement Learning
Lecture 23: Reinforcement Learning MDPs revisited Model-based learning Monte Carlo value function estimation Temporal-difference (TD) learning Exploration November 23, 2006 1 COMP-424 Lecture 23 Recall:
More informationPlanning Under Uncertainty II
Planning Under Uncertainty II Intelligent Robotics 2014/15 Bruno Lacerda Announcement No class next Monday - 17/11/2014 2 Previous Lecture Approach to cope with uncertainty on outcome of actions Markov
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 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 informationOpen Theoretical Questions in Reinforcement Learning
Open Theoretical Questions in Reinforcement Learning Richard S. Sutton AT&T Labs, Florham Park, NJ 07932, USA, sutton@research.att.com, www.cs.umass.edu/~rich Reinforcement learning (RL) concerns the problem
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 informationAdministration. CSCI567 Machine Learning (Fall 2018) Outline. Outline. HW5 is available, due on 11/18. Practice final will also be available soon.
Administration CSCI567 Machine Learning Fall 2018 Prof. Haipeng Luo U of Southern California Nov 7, 2018 HW5 is available, due on 11/18. Practice final will also be available soon. Remaining weeks: 11/14,
More informationAn Introduction to Markov Decision Processes. MDP Tutorial - 1
An Introduction to Markov Decision Processes Bob Givan Purdue University Ron Parr Duke University MDP Tutorial - 1 Outline Markov Decision Processes defined (Bob) Objective functions Policies Finding Optimal
More informationMachine Learning and Bayesian Inference. Unsupervised learning. Can we find regularity in data without the aid of labels?
Machine Learning and Bayesian Inference Dr Sean Holden Computer Laboratory, Room FC6 Telephone extension 6372 Email: sbh11@cl.cam.ac.uk www.cl.cam.ac.uk/ sbh11/ Unsupervised learning Can we find regularity
More informationComparison of Information Theory Based and Standard Methods for Exploration in Reinforcement Learning
Freie Universität Berlin Fachbereich Mathematik und Informatik Master Thesis Comparison of Information Theory Based and Standard Methods for Exploration in Reinforcement Learning Michael Borst Advisor:
More informationElements of Reinforcement Learning
Elements of Reinforcement Learning Policy: way learning algorithm behaves (mapping from state to action) Reward function: Mapping of state action pair to reward or cost Value function: long term reward,
More informationReinforcement Learning
Reinforcement Learning Lecture 6: RL algorithms 2.0 Alexandre Proutiere, Sadegh Talebi, Jungseul Ok KTH, The Royal Institute of Technology Objectives of this lecture Present and analyse two online algorithms
More informationOpen Problem: Approximate Planning of POMDPs in the class of Memoryless Policies
Open Problem: Approximate Planning of POMDPs in the class of Memoryless Policies Kamyar Azizzadenesheli U.C. Irvine Joint work with Prof. Anima Anandkumar and Dr. Alessandro Lazaric. Motivation +1 Agent-Environment
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 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 information