Approximation Methods in Reinforcement Learning

Size: px
Start display at page:

Download "Approximation Methods in Reinforcement Learning"

Transcription

1 2018 CS420, Machine Learning, Lecture 12 Approximation Methods in Reinforcement Learning Weinan Zhang Shanghai Jiao Tong University

2 Reinforcement Learning Materials Our course on RL is mainly based on the materials from these masters. Prof. Richard Sutton University of Alberta, Canada Reinforcement Learning: An Introduction (2 nd edition) Dr. David Silver Google DeepMind and UCL, UK UCL Reinforcement Learning Course Prof. Andrew Ng Stanford University, US Machine Learning (CS229) Lecture Notes 12: RL

3 Last Lecture Model-based dynamic programming Value iteration Policy iteration V (s) =R(s)+max X P sa (s 0 )V (s 0 ) a2a X s 0 2S ¼(s) =argmax P sa (s 0 )V (s 0 ) a2a s 0 2S Model-free reinforcement learning On-policy MC V (s t ) Ã V (s t )+ (G t V (s t )) On-policy TD V (s t ) Ã V (s t )+ (r t+1 + V (s t+1 ) V (s t )) On-policy TD SARSA Q(s t ;a t ) Ã Q(s t ;a t )+ (r t+1 + Q(s t+1 ;a t+1 ) Q(s t ;a t )) Off-policy TD Q-learning Q(s t ;a t ) Ã Q(s t ;a t )+ (r t+1 + max Q(s t+1 ;a t+1 ) Q(s t ;a t )) a 0

4 Key Problem to Solve in This Lecture In all previous models, we have created a lookup table to maintain a variable V(s) for each state or Q(s,a) for each state-action What if we have a large MDP, i.e. the state or state-action space is too large or the state or action space is continuous to maintain V(s) for each state or Q(s,a) for each state-action? For example Game of Go ( states) Helicopter, autonomous car (continuous state space)

5 Content Solutions for large MDPs Discretize or bucketize states/actions Build parametric value function approximation Policy gradient Deep reinforcement learning and multi-agent RL

6 Content Solutions for large MDPs Discretize or bucketize states/actions Build parametric value function approximation Policy gradient Deep reinforcement learning and multi-agent RL

7 Discretization Continuous MDP For a continuous-state MDP, we can discretize the state space For example, if we have 2D states (s 1, s 2 ), we can use a grid to discretize the state space The discrete state ¹s¹s The discretized MDP: ( S;A;fP ¹ ¹sa g; ;R) S 2 ¹s¹s Then solve this MDP with any previous solutions S 1

8 Bucketize Large Discrete MDP For a large discrete-state MDP, we can bucketize the states to down sample the states To use domain knowledge to merge similar discrete states For example, clustering using state features extracted from domain knowledge

9 Discretization/Bucketization Pros Straightforward and off-theshelf Efficient Can work well for many problems Cons A fairly naïve representation for V Assumes a constant value over each discretized cell Curse of dimensionality S = R n ) S ¹ = f1;:::;kg n S 2 ¹s¹s S 1

10 Parametric Value Function Approximation Create parametric (thus learnable) functions to approximate the value function V μ (s) ' V ¼ (s) Q μ (s; a) ' Q ¼ (s; a) θ is the parameters of the approximation function, which can be updated by reinforcement learning Generalize from seen states to unseen states

11 Main Types of Value Function Approx. V μ (s) Q μ (s; a) Many function approximations (Generalized) linear model Neural network Decision tree Nearest neighbor Fourier / wavelet bases μ μ Differentiable functions (Generalized) linear model Neural network s s a We assume the model is suitable to be trained for nonstationary, non-iid data

12 Value Function Approx. by SGD Goal: find parameter vector θ minimizing mean-squared error between approximate value function V θ (s) and true value V π (s) J(μ) =E ¼ h 1 2 (V ¼ (s) V μ (s)) 2i J(μ) =E ¼ h 1 2 (V ¼ (s) V μ (s)) 2i Gradient to minimize the h = E ¼ (V ¼ (s) V μ i μ(s) Stochastic gradient descent on one sample μ Ã = μ + (V ¼ (s) V μ μ(s)

13 Featurize the State Represent state by a feature vector x(s) = 2 3 x 1 (s) x k (s) For example of a helicopter 3D location 3D speed (differentiation of location) 3D acceleration (differentiation of speed)

14 Linear Value Function Approximation Represent value function by a linear combination of features V μ (s) =μ > x(s) Objective function is quadratic in parameters θ h 1 J(μ) =E ¼ 2 (V ¼ (s) μ > x(s)) 2i Thus stochastic gradient descent converges on global optimum μ Ã = μ + (V ¼ (s) V μ (s))x(s) Step size Prediction error Feature value

15 Monte-Carlo with Value Function Approx. μ Ã μ + (V ¼ (s) V μ (s))x(s) Now we specify the target value function V π (s) We can apply supervised learning to training data hs 1 ;G 1 i; hs 2 ;G 2 i;:::;hs T ;G T i For each data instance <s t, G t > μ Ã μ + (G t V μ (s))x(s t ) MC evaluation at least converges to a local optimum In linear case it converges to a global optimum

16 TD Learning with Value Function Approx. μ Ã μ + (V ¼ (s) V μ (s))x(s) TD target r t+1 + V μ (s t+1 ) is a biased sample of true target value V ¼ (s t ) Supervised learning from training data hs 1 ;r 2 + V μ (s 2 )i; hs 2 ;r 3 + V μ (s 3 )i;:::;hs T ;r T i For each data instance hs t ;r t+1 + V μ (s t+1 )i μ Ã μ + (r t+1 + V μ (s t+1 ) V μ (s))x(s t ) Linear TD converges (close) to global optimum

17 Action-Value Function Approximation Approximate the action-value function Minimize mean squared error Q μ (s; a) ' Q ¼ (s; a) h 1 J(μ) =E ¼ 2 (Q¼ (s; a) Q μ (s; a)) 2i Stochastic gradient descent on one sample μ Ã = μ + (Q ¼ (s; a) Q μ (s; μ(s; a)

18 Linear Action-Value Function Approx. Represent state-action pair by a feature vector x(s; a) = 2 3 x 1 (s; a) x k (s; a) Parametric Q function, e.g., the linear case Q μ (s; a) =μ > x(s; a) Stochastic gradient descent update μ Ã = μ + (Q ¼ (s; a) μ > x(s; a))x(s; a)

19 TD Learning with Value Function Approx. μ Ã μ + (Q ¼ (s; a) Q μ (s; μ(s; a) For MC, the target is the return G t μ Ã μ + (G t Q μ (s; μ(s; a) For TD, the target is r t+1 + Q μ (s t+1 ;a t+1 ) μ Ã μ + (r t+1 + Q μ (s t+1 ;a t+1 ) Q μ (s; μ(s; a)

20 Control with Value Function Approx. Q μ = Q ¼ μ Q μ ' Q ¼ Q ;¼ ¼ = ²-greedy(Q μ ) Policy evaluation: approximately policy evaluation Policy improvement: ɛ-greedy policy improvement Q μ ' Q ¼

21 NOTE of TD Update For TD(0), the TD target is State value Action value μ Ã μ + (V ¼ (s t ) V μ (s t μ(s t ) = μ + (r t+1 + V μ (s t+1 ) V μ μ(s t ) μ Ã μ + (Q ¼ (s; a) Q μ (s; μ(s; a) = μ + (r t+1 + Q μ (s t+1 ;a t+1 ) Q μ (s; μ(s; a) Although θ is in the TD target, we don t calculate gradient from the target. Think about why.

22 Case Study: Mountain Car The gravity is stronger than the car s engine Cost-to-go function

23 Case Study: Mountain Car

24 Deep Q-Network (DQN) Volodymyr Mnih, Koray Kavukcuoglu, David Silver et al. Playing Atari with Deep Reinforcement Learning. NIPS 2013 workshop. Volodymyr Mnih, Koray Kavukcuoglu, David Silver et al. Human-level control through deep reinforcement learning. Nature 2015.

25 Deep Q-Network (DQN) Implement Q function with deep neural network Volodymyr Mnih, Koray Kavukcuoglu, David Silver et al. Playing Atari with Deep Reinforcement Learning. NIPS 2013 workshop. Volodymyr Mnih, Koray Kavukcuoglu, David Silver et al. Human-level control through deep reinforcement learning. Nature 2015.

26 Deep Q-Network (DQN) The loss function of Q-learning update at iteration i r L i (μ i )=E (s;a;r;s )»U(D)h 0 + max Q(s 0 ;a 0 ; μ i ) Q(s; a; μ i) i 2 a 0 target Q value estimated Q value θ i are the network parameters to be updated at iteration i Updated with standard back-propagation algorithms θ i- are the target network parameters Only updated with θ i for every C steps (s,a,r,s )~U(D): the samples are uniformly drawn from the experience pool D Thus to avoid the overfitting to the recent experiences Volodymyr Mnih, Koray Kavukcuoglu, David Silver et al. Playing Atari with Deep Reinforcement Learning. NIPS 2013 workshop. Volodymyr Mnih, Koray Kavukcuoglu, David Silver et al. Human-level control through deep reinforcement learning. Nature 2015.

27 Content Solutions for large MDPs Discretize or bucketize states/actions Build parametric value function approximation Policy gradient Deep reinforcement learning and multi-agent RL

28 Parametric Policy We can parametrize the policy ¼ μ (ajs) which could be deterministic a = ¼ μ (s) or stochastic ¼ μ (ajs) =P (ajs; μ) θ is the parameters of the policy Generalize from seen states to unseen states We focus on model-free reinforcement learning

29 Policy-based RL Advantages Better convergence properties Effective in high-dimensional or continuous action spaces No.1 reason: for value function, you have to take a max operation Can learn stochastic polices Disadvantages Typically converge to a local rather than global optimum Evaluating a policy is typically inefficient and of high variance

30 Policy Gradient For stochastic policy ¼ μ (ajs) =P (ajs; μ) Intuition lower the probability of the action that leads to low value/reward higher the probability of the action that leads to high value/reward A 5-action example 1. Initialize θ 3. Update θ by policy gradient 5. Update θ by policy gradient Action Probability Action Probability Action Probability A1 A2 A3 A4 A A1 A2 A3 A4 A A1 A2 A3 A4 A5 2. Take action A2 Observe positive reward 4. Take action A3 Observe negative reward

31 Policy Gradient in One-Step MDPs Consider a simple class of one-step MDPs Starting in state s» d(s) Terminating after one time-step with reward r sa Policy expected value J(μ) =E ¼μ [r] = X s2s d(s) X ¼ μ (ajs)r sa = X s2s d(s) X μ (ajs) r sa

32 Likelihood Ratio Likelihood ratios exploit the following μ (ajs) μ (ajs) = ¼ μ (ajs) ¼ μ (ajs) = ¼ μ log ¼ μ(ajs) Thus the policy s expected value J(μ) =E ¼μ [r] = X s2s d(s) X ¼ μ (ajs)r sa = X s2s d(s) X μ (ajs) r sa = X d(s) X ¼ μ log ¼ μ(ajs) s2s a2a log ¼μ (ajs) i = E ¼μ r sa r sa This can be approximated by sampling state s from d(s) and action a from π θ

33 Policy Gradient Theorem The policy gradient theorem generalizes the likelihood ratio approach to multi-step MDPs Replaces instantaneous reward r sa with long-term value Policy gradient theorem applies to start state objective J 1, average reward objective J avr, and average value objective J avv Theorem Q ¼ μ (s; a) For any differentiable policy ¼ μ (ajs), for any of policy objective function J = J 1, J avr, J avv, the policy gradient log ¼μ (ajs) i = E ¼μ Q ¼ μ (s; a) Please refer to appendix of the slides for detailed proofs

34 Monte-Carlo Policy Gradient (REINFORCE) Update parameters by stochastic gradient ascent Using policy gradient theorem Using return G t as an unbiased sample of Q ¼ μ (s; a) μ t log ¼ μ(a t js t ) G t REINFORCE Algorithm Initialize θ arbitrarily for each episode fs 1 ;a 1 ;r 2 ;:::;s T 1 ;a T 1 ;r T g»¼ μ do for t=1 to T-1 do end for return θ μ Ã μ log ¼ μ(a t js t )G t end for

35 Puck World Example Continuous actions exert small force on puck Puck is rewarded for getting close to target Target location is reset every 30 seconds Policy is trained using variant of MC policy gradient

36 Softmax Stochastic Policy Softmax policy is a very commonly used stochastic policy ¼ μ (ajs) = P ef μ(s;a) a 0 e f μ(s;a 0 ) where f θ (s,a) is the score function of a state-action pair parametrized by θ, which can be defined with domain knowledge The gradient of its log ¼ μ (ajs) μ(s; a) μ(s; a) 1 X P a 0 e f e μ(s; a00 ) μ(s;a 0 ) a 00 (s; a 0 ) i E a 0»¼ μ (a 0 js)

37 Softmax Stochastic Policy Softmax policy is a very commonly used stochastic policy ¼ μ (ajs) = P ef μ(s;a) a 0 e f μ(s;a 0 ) where f θ (s,a) is the score function of a state-action pair parametrized by θ, which can be defined with domain knowledge For example, we define the linear score function f μ (s; a) =μ > x(s; log ¼ μ (ajs) μ(s; a) (s; a 0 ) i E a 0»¼ μ (a 0 js) = x(s; a) E a 0»¼ μ (a 0 js)[x(s; a 0 )]

38 Sequence Generation Example Generator is a reinforcement learning policy G μ (y t jy 1:t 1 ) of generating a sequence Decide the next word (discrete action) to generate given the previous ones, implemented by softmax policy Discriminator provides the reward (i.e. the probability of being true data) for the whole sequence G is trained by MC policy gradient (REINFORCE) [Lantao Yu, Weinan Zhang, Jun Wang, Yong Yu. SeqGAN: Sequence Generative Adversarial Nets with Policy Gradient. AAAI 2017.]

39 Experiments on Synthetic Data Evaluation measure with Oracle h X T i NLL oracle = E Y1:T»G μ log G oracle (y t jy 1:t 1 ) t=1 [Lantao Yu, Weinan Zhang, Jun Wang, Yong Yu. SeqGAN: Sequence Generative Adversarial Nets with Policy Gradient. AAAI 2017.]

40 Content Solutions for large MDPs Discretize or bucketize states/actions Build parametric value function approximation Policy gradient Deep reinforcement learning and multi-agent RL By our invited speakers Yuhuai Wu, Shixiang Gu and Ying Wen

41 APPENDIX Policy Gradient Theorem: Average Reward Setting Average reward objective 1 h i J(¼) = lim n!1 n E r 1 + r r n j¼ = X s 1X h i Q ¼ (s; a) = E r t J(¼)js 0 = s; a 0 = a; ¼ (s) t=1 def X = X a = X a = X a = X a a ¼(s; a)q ¼ (s; a); 8s a) a) Q ¼ (s; a)+¼(s; a) a) Q ¼ (s; a)+¼(s; i Q¼ (s; a) ³ Q ¼ (s; a)+¼(s; d ¼ (s) X a Q ¼ (s; a)+¼(s; a) X s 0 P a ss ¼ (s 0 ) ¼(s; a)r(s; a) ³ r(s; a) J(¼)+ X i Pss a 0V ¼ (s 0 ) s 0 X i Pss a 0V ¼ (s 0 ) s i ¼ (s) Please refer to Chapter 13 of Rich Sutton s Reinforcement Learning: An Introduction (2 nd Edition)

42 APPENDIX Policy Gradient Theorem: Average Reward Setting Average reward = X a) Q ¼ (s; a)+¼(s; a) X P ¼ (s 0 ) i ¼ (s) 0 a s X 0 d ¼ = X d ¼ (s) a) Q ¼ (s; a)+ X d ¼ (s) X ¼(s; a) X P ¼ (s 0 ) ss X 0 s s a s a s 0 s X d ¼ (s) X ¼(s; a) X P ¼ (s 0 ) ss = X X X d ¼ (s)¼(s; a)p ¼ (s0 ) 0 ss 0 s a s 0 s a s 0 = X X ³ X d ¼ (s) ¼(s; a)p a ¼ (s 0 ) ss = X X d ¼ (s 0 ) (s)p ss 0 s s 0 a s s 0 = X ³ d ¼ ¼ (s 0 ) (s)p ss 0 = X d ¼ (s 0 ¼ (s 0 ) s 0 s s 0 ) X d ¼ = X d ¼ (s) a) Q ¼ (s; a)+ X d ¼ (s 0 ¼ (s 0 ) X s s a s 0 s = X d ¼ (s) a) Q ¼ (s; a) s a d ¼ ¼ (s) d ¼ ¼ (s) Please refer to Chapter 13 of Rich Sutton s Reinforcement Learning: An Introduction (2 nd Edition)

43 APPENDIX Policy gradient theorem: Start Value Setting Start state value objective h X 1 i J(¼) =E t 1 r t s0 ;¼ t=1 h X 1 Q ¼ (s; a) ¼ (s) def = X a = X a = X a k=1 i k 1 r t+k st = s; a t = a; ¼ X ¼(s; a)q ¼ (s; a); a 8s Q ¼ (s; a)+¼(s; i Q¼ (s; a) a) a) Q ¼ (s; a) Q ¼ (s; a)+ X a ³ r(s; a)+ X i Pss a 0V ¼ (s 0 ) s 0 ¼(s; a) X s 0 P a ss ¼ (s 0 ) Please refer to Chapter 13 of Rich Sutton s Reinforcement Learning: An Introduction (2 nd Edition)

44 APPENDIX Policy gradient theorem: Start Value Setting Start state value objective X ¼ (s) = X a X a) Q ¼ (s; a)+ X a) Q ¼ (s; a) = 0 Pr(s! s; 0;¼) X a ¼(s; a) X s 1 P a ss ¼ (s 1 ¼ (s 1 ) = X a = X s 1 X a = X s 1 P ¼ (s 1 ) ¼(s; a) X P ¼ (s 1 ) ss 1 s a) Q ¼ (s; a) ¼(s; a) P a ss ¼ (s 1 ) = 1 X s 1 Pr(s! s 1 ; ¼ (s 1 a) Q ¼ (s; a)+ X 1 Pr(s 1! s 2 ; ¼ (s 2 ) s 2 Please refer to Chapter 13 of Rich Sutton s Reinforcement Learning: An Introduction (2 nd Edition)

45 APPENDIX Policy gradient theorem: Start Value Setting Start state value ¼ (s) = 0 Pr(s! s; 0;¼) X a) Q ¼ (s; a)+ X 1 s 1 Pr(s! s 1 ; 1;¼) X a + 2 X s 1 Pr(s! s 1 ; 1;¼) X s 2 Pr(s 1! s 2 ; ¼ (s 2 ) = 0 Pr(s! s; 0;¼) a) Q ¼ (s; a)+ X 1 a s 1 + X 2 Pr(s! s 2 ; ¼ (s 2 ) s 2 1X X = k Pr(s! x; k; ¼) X k=0 x a ¼ (s 0 ) = X 1X k Pr(s 0! s; k; ¼) X s k=0 a) Q ¼ (x; a) = X x Pr(s! s 1 ; 1;¼) X 1 ;a) Q ¼ (s 1 1 ;a) Q ¼ (s 1 ;a) 1X k Pr(s! x; k; ¼) X a a) Q ¼ (s; a) = X s d ¼ (s) X a) Q ¼ (x; a) Q ¼ (s; a) Please refer to Chapter 13 of Rich Sutton s Reinforcement Learning: An Introduction (2 nd Edition)

Lecture 8: Policy Gradient

Lecture 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 information

Reinforcement Learning

Reinforcement Learning Reinforcement Learning Function approximation Daniel Hennes 19.06.2017 University Stuttgart - IPVS - Machine Learning & Robotics 1 Today Eligibility traces n-step TD returns Forward and backward view Function

More information

Q-Learning in Continuous State Action Spaces

Q-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 information

(Deep) Reinforcement Learning

(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 information

Lecture 7: Value Function Approximation

Lecture 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 information

Reinforcement Learning Part 2

Reinforcement 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 information

15-889e Policy Search: Gradient Methods Emma Brunskill. All slides from David Silver (with EB adding minor modificafons), unless otherwise noted

15-889e Policy Search: Gradient Methods Emma Brunskill. All slides from David Silver (with EB adding minor modificafons), unless otherwise noted 15-889e Policy Search: Gradient Methods Emma Brunskill All slides from David Silver (with EB adding minor modificafons), unless otherwise noted Outline 1 Introduction 2 Finite Difference Policy Gradient

More information

Reinforcement Learning

Reinforcement Learning Reinforcement Learning Function approximation Mario Martin CS-UPC May 18, 2018 Mario Martin (CS-UPC) Reinforcement Learning May 18, 2018 / 65 Recap Algorithms: MonteCarlo methods for Policy Evaluation

More information

INF 5860 Machine learning for image classification. Lecture 14: Reinforcement learning May 9, 2018

INF 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

Reinforcement Learning for NLP

Reinforcement Learning for NLP Reinforcement Learning for NLP Advanced Machine Learning for NLP Jordan Boyd-Graber REINFORCEMENT OVERVIEW, POLICY GRADIENT Adapted from slides by David Silver, Pieter Abbeel, and John Schulman Advanced

More information

CSE 190: Reinforcement Learning: An Introduction. Chapter 8: Generalization and Function Approximation. Pop Quiz: What Function Are We Approximating?

CSE 190: Reinforcement Learning: An Introduction. Chapter 8: Generalization and Function Approximation. Pop Quiz: What Function Are We Approximating? CSE 190: Reinforcement Learning: An Introduction Chapter 8: Generalization and Function Approximation Objectives of this chapter: Look at how experience with a limited part of the state set be used to

More information

Deep Reinforcement Learning

Deep Reinforcement Learning Martin Matyášek Artificial Intelligence Center Czech Technical University in Prague October 27, 2016 Martin Matyášek VPD, 2016 1 / 50 Reinforcement Learning in a picture R. S. Sutton and A. G. Barto 2015

More information

Lecture 9: Policy Gradient II 1

Lecture 9: Policy Gradient II 1 Lecture 9: Policy Gradient II 1 Emma Brunskill CS234 Reinforcement Learning. Winter 2019 Additional reading: Sutton and Barto 2018 Chp. 13 1 With many slides from or derived from David Silver and John

More information

CS230: Lecture 9 Deep Reinforcement Learning

CS230: Lecture 9 Deep Reinforcement Learning CS230: Lecture 9 Deep Reinforcement Learning Kian Katanforoosh Menti code: 21 90 15 Today s outline I. Motivation II. Recycling is good: an introduction to RL III. Deep Q-Learning IV. Application of Deep

More information

CSE 190: Reinforcement Learning: An Introduction. Chapter 8: Generalization and Function Approximation. Pop Quiz: What Function Are We Approximating?

CSE 190: Reinforcement Learning: An Introduction. Chapter 8: Generalization and Function Approximation. Pop Quiz: What Function Are We Approximating? CSE 190: Reinforcement Learning: An Introduction Chapter 8: Generalization and Function Approximation Objectives of this chapter: Look at how experience with a limited part of the state set be used to

More information

Lecture 9: Policy Gradient II (Post lecture) 2

Lecture 9: Policy Gradient II (Post lecture) 2 Lecture 9: Policy Gradient II (Post lecture) 2 Emma Brunskill CS234 Reinforcement Learning. Winter 2018 Additional reading: Sutton and Barto 2018 Chp. 13 2 With many slides from or derived from David Silver

More information

Lecture 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 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

Approximate Q-Learning. Dan Weld / University of Washington

Approximate Q-Learning. Dan Weld / University of Washington Approximate Q-Learning Dan Weld / University of Washington [Many slides taken from Dan Klein and Pieter Abbeel / CS188 Intro to AI at UC Berkeley materials available at http://ai.berkeley.edu.] Q Learning

More information

Reinforcement Learning. Machine Learning, Fall 2010

Reinforcement 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 information

Deep Reinforcement Learning. Scratching the surface

Deep Reinforcement Learning. Scratching the surface Deep Reinforcement Learning Scratching the surface Deep Reinforcement Learning Scenario of Reinforcement Learning Observation State Agent Action Change the environment Don t do that Reward Environment

More information

REINFORCEMENT LEARNING

REINFORCEMENT 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 information

Off-Policy Actor-Critic

Off-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 information

Introduction of Reinforcement Learning

Introduction of Reinforcement Learning Introduction of Reinforcement Learning Deep Reinforcement Learning Reference Textbook: Reinforcement Learning: An Introduction http://incompleteideas.net/sutton/book/the-book.html Lectures of David Silver

More information

Grundlagen der Künstlichen Intelligenz

Grundlagen der Künstlichen Intelligenz Grundlagen der Künstlichen Intelligenz Reinforcement learning II Daniel Hennes 11.12.2017 (WS 2017/18) University Stuttgart - IPVS - Machine Learning & Robotics 1 Today Eligibility traces n-step TD returns

More information

Reinforcement Learning

Reinforcement Learning Reinforcement Learning RL in continuous MDPs March April, 2015 Large/Continuous MDPs Large/Continuous state space Tabular representation cannot be used Large/Continuous action space Maximization over action

More information

Introduction to Reinforcement Learning

Introduction 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 information

Reinforcement Learning. George Konidaris

Reinforcement 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 information

Reinforcement Learning

Reinforcement 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 information

Reinforcement Learning and NLP

Reinforcement 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

Reinforcement Learning. Yishay Mansour Tel-Aviv University

Reinforcement 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 information

Reinforcement Learning

Reinforcement 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 information

Reinforcement Learning

Reinforcement Learning Reinforcement Learning Policy gradients Daniel Hennes 26.06.2017 University Stuttgart - IPVS - Machine Learning & Robotics 1 Policy based reinforcement learning So far we approximated the action value

More information

Reinforcement. Function Approximation. Learning with KATJA HOFMANN. Researcher, MSR Cambridge

Reinforcement. Function Approximation. Learning with KATJA HOFMANN. Researcher, MSR Cambridge Reinforcement Learning with Function Approximation KATJA HOFMANN Researcher, MSR Cambridge Representation and Generalization in RL Focus on training stability Learning generalizable value functions Navigating

More information

Q-learning. Tambet Matiisen

Q-learning. Tambet Matiisen Q-learning Tambet Matiisen (based on chapter 11.3 of online book Artificial Intelligence, foundations of computational agents by David Poole and Alan Mackworth) Stochastic gradient descent Experience

More information

Lecture 8: Policy Gradient I 2

Lecture 8: Policy Gradient I 2 Lecture 8: Policy Gradient I 2 Emma Brunskill CS234 Reinforcement Learning. Winter 2018 Additional reading: Sutton and Barto 2018 Chp. 13 2 With many slides from or derived from David Silver and John Schulman

More information

CMU Lecture 12: Reinforcement Learning. Teacher: Gianni A. Di Caro

CMU 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 information

Temporal Difference. Learning KENNETH TRAN. Principal Research Engineer, MSR AI

Temporal 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 information

6 Reinforcement Learning

6 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 information

CSC321 Lecture 22: Q-Learning

CSC321 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 information

Policy Gradient Methods. February 13, 2017

Policy Gradient Methods. February 13, 2017 Policy Gradient Methods February 13, 2017 Policy Optimization Problems maximize E π [expression] π Fixed-horizon episodic: T 1 Average-cost: lim T 1 T r t T 1 r t Infinite-horizon discounted: γt r t Variable-length

More information

Deep Reinforcement Learning: Policy Gradients and Q-Learning

Deep Reinforcement Learning: Policy Gradients and Q-Learning Deep Reinforcement Learning: Policy Gradients and Q-Learning John Schulman Bay Area Deep Learning School September 24, 2016 Introduction and Overview Aim of This Talk What is deep RL, and should I use

More information

15-780: ReinforcementLearning

15-780: ReinforcementLearning 15-780: ReinforcementLearning J. Zico Kolter March 2, 2016 1 Outline Challenge of RL Model-based methods Model-free methods Exploration and exploitation 2 Outline Challenge of RL Model-based methods Model-free

More information

Deep Reinforcement Learning SISL. Jeremy Morton (jmorton2) November 7, Stanford Intelligent Systems Laboratory

Deep Reinforcement Learning SISL. Jeremy Morton (jmorton2) November 7, Stanford Intelligent Systems Laboratory Deep Reinforcement Learning Jeremy Morton (jmorton2) November 7, 2016 SISL Stanford Intelligent Systems Laboratory Overview 2 1 Motivation 2 Neural Networks 3 Deep Reinforcement Learning 4 Deep Learning

More information

REINFORCE Framework for Stochastic Policy Optimization and its use in Deep Learning

REINFORCE 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 information

Lecture 3: Markov Decision Processes

Lecture 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 information

Deep reinforcement learning. Dialogue Systems Group, Cambridge University Engineering Department

Deep reinforcement learning. Dialogue Systems Group, Cambridge University Engineering Department Deep reinforcement learning Milica Gašić Dialogue Systems Group, Cambridge University Engineering Department 1 / 25 In this lecture... Introduction to deep reinforcement learning Value-based Deep RL Deep

More information

Introduction to Reinforcement Learning. CMPT 882 Mar. 18

Introduction 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 information

Reinforcement Learning: An Introduction

Reinforcement 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 information

Chapter 8: Generalization and Function Approximation

Chapter 8: Generalization and Function Approximation Chapter 8: Generalization and Function Approximation Objectives of this chapter: Look at how experience with a limited part of the state set be used to produce good behavior over a much larger part. Overview

More information

Learning Control for Air Hockey Striking using Deep Reinforcement Learning

Learning Control for Air Hockey Striking using Deep Reinforcement Learning Learning Control for Air Hockey Striking using Deep Reinforcement Learning Ayal Taitler, Nahum Shimkin Faculty of Electrical Engineering Technion - Israel Institute of Technology May 8, 2017 A. Taitler,

More information

Lecture 1: March 7, 2018

Lecture 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 information

Lecture 18: Reinforcement Learning Sanjeev Arora Elad Hazan

Lecture 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 information

Summary of A Few Recent Papers about Discrete Generative models

Summary of A Few Recent Papers about Discrete Generative models Summary of A Few Recent Papers about Discrete Generative models Presenter: Ji Gao Department of Computer Science, University of Virginia https://qdata.github.io/deep2read/ Outline SeqGAN BGAN: Boundary

More information

Reinforcement Learning

Reinforcement Learning Reinforcement Learning Policy Search: Actor-Critic and Gradient Policy search Mario Martin CS-UPC May 28, 2018 Mario Martin (CS-UPC) Reinforcement Learning May 28, 2018 / 63 Goal of this lecture So far

More information

Grundlagen der Künstlichen Intelligenz

Grundlagen 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 information

David Silver, Google DeepMind

David Silver, Google DeepMind Tutorial: Deep Reinforcement Learning David Silver, Google DeepMind Outline Introduction to Deep Learning Introduction to Reinforcement Learning Value-Based Deep RL Policy-Based Deep RL Model-Based Deep

More information

Deep Reinforcement Learning. STAT946 Deep Learning Guest Lecture by Pascal Poupart University of Waterloo October 19, 2017

Deep Reinforcement Learning. STAT946 Deep Learning Guest Lecture by Pascal Poupart University of Waterloo October 19, 2017 Deep Reinforcement Learning STAT946 Deep Learning Guest Lecture by Pascal Poupart University of Waterloo October 19, 2017 Outline Introduction to Reinforcement Learning AlphaGo (Deep RL for Computer Go)

More information

Lecture 23: Reinforcement Learning

Lecture 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 information

This 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. 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 information

MARKOV DECISION PROCESSES (MDP) AND REINFORCEMENT LEARNING (RL) Versione originale delle slide fornita dal Prof. Francesco Lo Presti

MARKOV 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 information

Deep Q-Learning with Recurrent Neural Networks

Deep Q-Learning with Recurrent Neural Networks Deep Q-Learning with Recurrent Neural Networks Clare Chen cchen9@stanford.edu Vincent Ying vincenthying@stanford.edu Dillon Laird dalaird@cs.stanford.edu Abstract Deep reinforcement learning models have

More information

CS599 Lecture 1 Introduction To RL

CS599 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 information

Temporal difference learning

Temporal 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 information

Lecture 10 - Planning under Uncertainty (III)

Lecture 10 - Planning under Uncertainty (III) Lecture 10 - Planning under Uncertainty (III) Jesse Hoey School of Computer Science University of Waterloo March 27, 2018 Readings: Poole & Mackworth (2nd ed.)chapter 12.1,12.3-12.9 1/ 34 Reinforcement

More information

Generalization and Function Approximation

Generalization and Function Approximation Generalization and Function Approximation 0 Generalization and Function Approximation Suggested reading: Chapter 8 in R. S. Sutton, A. G. Barto: Reinforcement Learning: An Introduction MIT Press, 1998.

More information

CS599 Lecture 2 Function Approximation in RL

CS599 Lecture 2 Function Approximation in RL CS599 Lecture 2 Function Approximation in RL Look at how experience with a limited part of the state set be used to produce good behavior over a much larger part. Overview of function approximation (FA)

More information

Machine Learning and Bayesian Inference. Unsupervised learning. Can we find regularity in data without the aid of labels?

Machine 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 information

Machine Learning. Reinforcement learning. Hamid Beigy. Sharif University of Technology. Fall 1396

Machine 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 information

Christopher Watkins and Peter Dayan. Noga Zaslavsky. The Hebrew University of Jerusalem Advanced Seminar in Deep Learning (67679) November 1, 2015

Christopher 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 information

Notes on Reinforcement Learning

Notes 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 information

Machine Learning I Continuous Reinforcement Learning

Machine Learning I Continuous Reinforcement Learning Machine Learning I Continuous Reinforcement Learning Thomas Rückstieß Technische Universität München January 7/8, 2010 RL Problem Statement (reminder) state s t+1 ENVIRONMENT reward r t+1 new step r t

More information

Balancing 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 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 information

Reinforcement Learning

Reinforcement 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 information

Basics of reinforcement learning

Basics 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 information

Artificial Intelligence

Artificial 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 information

Multiagent (Deep) Reinforcement Learning

Multiagent (Deep) Reinforcement Learning Multiagent (Deep) Reinforcement Learning MARTIN PILÁT (MARTIN.PILAT@MFF.CUNI.CZ) Reinforcement learning The agent needs to learn to perform tasks in environment No prior knowledge about the effects of

More information

Machine Learning I Reinforcement Learning

Machine 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 information

Reinforcement Learning

Reinforcement Learning Reinforcement Learning Cyber Rodent Project Some slides from: David Silver, Radford Neal CSC411: Machine Learning and Data Mining, Winter 2017 Michael Guerzhoy 1 Reinforcement Learning Supervised learning:

More information

Reinforcement Learning

Reinforcement Learning Reinforcement Learning Temporal Difference Learning Temporal difference learning, TD prediction, Q-learning, elibigility traces. (many slides from Marc Toussaint) Vien Ngo Marc Toussaint University of

More information

ECE276B: Planning & Learning in Robotics Lecture 16: Model-free Control

ECE276B: Planning & Learning in Robotics Lecture 16: Model-free Control ECE276B: Planning & Learning in Robotics Lecture 16: Model-free Control Lecturer: Nikolay Atanasov: natanasov@ucsd.edu Teaching Assistants: Tianyu Wang: tiw161@eng.ucsd.edu Yongxi Lu: yol070@eng.ucsd.edu

More information

CS885 Reinforcement Learning Lecture 7a: May 23, 2018

CS885 Reinforcement Learning Lecture 7a: May 23, 2018 CS885 Reinforcement Learning Lecture 7a: May 23, 2018 Policy Gradient Methods [SutBar] Sec. 13.1-13.3, 13.7 [SigBuf] Sec. 5.1-5.2, [RusNor] Sec. 21.5 CS885 Spring 2018 Pascal Poupart 1 Outline Stochastic

More information

Markov Decision Processes Chapter 17. Mausam

Markov 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 information

Reinforcement Learning. Spring 2018 Defining MDPs, Planning

Reinforcement 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 information

arxiv: v1 [cs.lg] 30 Dec 2016

arxiv: v1 [cs.lg] 30 Dec 2016 Adaptive Least-Squares Temporal Difference Learning Timothy A. Mann and Hugo Penedones and Todd Hester Google DeepMind London, United Kingdom {kingtim, hugopen, toddhester}@google.com Shie Mannor Electrical

More information

Today s s Lecture. Applicability of Neural Networks. Back-propagation. Review of Neural Networks. Lecture 20: Learning -4. Markov-Decision Processes

Today 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 information

CS 570: Machine Learning Seminar. Fall 2016

CS 570: Machine Learning Seminar. Fall 2016 CS 570: Machine Learning Seminar Fall 2016 Class Information Class web page: http://web.cecs.pdx.edu/~mm/mlseminar2016-2017/fall2016/ Class mailing list: cs570@cs.pdx.edu My office hours: T,Th, 2-3pm or

More information

Dueling Network Architectures for Deep Reinforcement Learning (ICML 2016)

Dueling Network Architectures for Deep Reinforcement Learning (ICML 2016) Dueling Network Architectures for Deep Reinforcement Learning (ICML 2016) Yoonho Lee Department of Computer Science and Engineering Pohang University of Science and Technology October 11, 2016 Outline

More information

Lecture 4: Approximate dynamic programming

Lecture 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 information

Reinforcement Learning as Classification Leveraging Modern Classifiers

Reinforcement 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 information

Administration. 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) 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 information

I D I A P. Online Policy Adaptation for Ensemble Classifiers R E S E A R C H R E P O R T. Samy Bengio b. Christos Dimitrakakis a IDIAP RR 03-69

I D I A P. Online Policy Adaptation for Ensemble Classifiers R E S E A R C H R E P O R T. Samy Bengio b. Christos Dimitrakakis a IDIAP RR 03-69 R E S E A R C H R E P O R T Online Policy Adaptation for Ensemble Classifiers Christos Dimitrakakis a IDIAP RR 03-69 Samy Bengio b I D I A P December 2003 D a l l e M o l l e I n s t i t u t e for Perceptual

More information

Chapter 7: Eligibility Traces. R. S. Sutton and A. G. Barto: Reinforcement Learning: An Introduction 1

Chapter 7: Eligibility Traces. R. S. Sutton and A. G. Barto: Reinforcement Learning: An Introduction 1 Chapter 7: Eligibility Traces R. S. Sutton and A. G. Barto: Reinforcement Learning: An Introduction 1 Midterm Mean = 77.33 Median = 82 R. S. Sutton and A. G. Barto: Reinforcement Learning: An Introduction

More information

arxiv: v1 [cs.ne] 4 Dec 2015

arxiv: v1 [cs.ne] 4 Dec 2015 Q-Networks for Binary Vector Actions arxiv:1512.01332v1 [cs.ne] 4 Dec 2015 Naoto Yoshida Tohoku University Aramaki Aza Aoba 6-6-01 Sendai 980-8579, Miyagi, Japan naotoyoshida@pfsl.mech.tohoku.ac.jp Abstract

More information

Reinforcement Learning. Summer 2017 Defining MDPs, Planning

Reinforcement 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 information

Monte 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: 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 information

Today s Outline. Recap: MDPs. Bellman Equations. Q-Value Iteration. Bellman Backup 5/7/2012. CSE 473: Artificial Intelligence Reinforcement Learning

Today 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 information

Actor-critic methods. Dialogue Systems Group, Cambridge University Engineering Department. February 21, 2017

Actor-critic methods. Dialogue Systems Group, Cambridge University Engineering Department. February 21, 2017 Actor-critic methods Milica Gašić Dialogue Systems Group, Cambridge University Engineering Department February 21, 2017 1 / 21 In this lecture... The actor-critic architecture Least-Squares Policy Iteration

More information

The Book: Where we are and where we re going. CSE 190: Reinforcement Learning: An Introduction. Chapter 7: Eligibility Traces. Simple Monte Carlo

The Book: Where we are and where we re going. CSE 190: Reinforcement Learning: An Introduction. Chapter 7: Eligibility Traces. Simple Monte Carlo CSE 190: Reinforcement Learning: An Introduction Chapter 7: Eligibility races Acknowledgment: A good number of these slides are cribbed from Rich Sutton he Book: Where we are and where we re going Part

More information

ilstd: Eligibility Traces and Convergence Analysis

ilstd: Eligibility Traces and Convergence Analysis ilstd: Eligibility Traces and Convergence Analysis Alborz Geramifard Michael Bowling Martin Zinkevich Richard S. Sutton Department of Computing Science University of Alberta Edmonton, Alberta {alborz,bowling,maz,sutton}@cs.ualberta.ca

More information

Optimization of a Sequential Decision Making Problem for a Rare Disease Diagnostic Application.

Optimization of a Sequential Decision Making Problem for a Rare Disease Diagnostic Application. Optimization of a Sequential Decision Making Problem for a Rare Disease Diagnostic Application. Rémi Besson with Erwan Le Pennec and Stéphanie Allassonnière École Polytechnique - 09/07/2018 Prenatal Ultrasound

More information