An Introduction to Reinforcement Learning

Size: px
Start display at page:

Download "An Introduction to Reinforcement Learning"

Transcription

1 1 / 58 An Introduction to Reinforcement Learning Lecture 01: Introduction Dr. Johannes A. Stork School of Computer Science and Communication KTH Royal Institute of Technology January 19, 2017

2 2 / 58

3 ../fig/reward-00.jpg 3 / 58

4 ../fig/reward-01.jpg 3 / 58

5 ../fig/reward-03.jpg 3 / 58

6 ../fig/reward-04.jpg 3 / 58

7 ../fig/marshmellow-01.jpg 4 / 58

8 Play video 5 / 58

9 6 / 58 Marshmallow Experiment and Delayed Gratification SAT scores Mischel, Walter; Shoda, Yuichi; Rodriguzez, Monica L. (1989). Delay of gratification in children.. Science. 244: Educational attainment Ayduk, Ozlem N.; Mendoa-Denton, Rodolfo; Mischel, Walter; Downey, Geraldine; Peake, Philip K.; Rodriguez, Monica L. (2000). Regulating the interpersonal self: Strategic self-regulation for coping with rejection sensitivity. Journal of Personality and Social Psychology. 79 (5): Body mass index Schlam, Tanya R.; Wilson, Nicole L.; Shoda, Yuichi; Mischel, Walter; Ayduk, Ozlem (2013). Preschoolers delay of gratification predicts their body mass 30 years later. The Journal of Pediatrics. 162: Other life measures Shoda, Yuichi; Mischel, Walter; Peake, Philip K. (1990). Predicting Adolescent Cognitive and Self-Regulatory Competencies from Preschool Delay of Gratification: Identifying Diagnostic Conditions. Developmental Psychology. 26 (6):

10 7 / 58 Table of Contents Today s Goal Reinforcement Learning Problems & Agents Intuition Terminology History and Structure of the Field Formalization Informal Examples Dynamic Programming Monte Carlo Symmary Material

11 8 / 58 Today s Goal Intuition RL problems RL agents Terminology History Formalization Examples

12 9 / 58 Table of Contents Today s Goal Reinforcement Learning Problems & Agents Intuition Terminology History and Structure of the Field Formalization Informal Examples Dynamic Programming Monte Carlo Symmary Material

13 10 / 58 Table of Contents Today s Goal Reinforcement Learning Problems & Agents Intuition Terminology History and Structure of the Field Formalization Informal Examples Dynamic Programming Monte Carlo Symmary Material

14 11 / 58 What is Reinforcement Learning? Goal-directed learning from interaction with the environment. Learn how to map situations to actions in order to maximize some reward.

15 11 / 58 What is Reinforcement Learning? Goal-directed learning... want something... from interaction with the environment. actions change collect new experience Learn how to map situations to actions... encode & improve behavior... in order to maximize some reward. goal is implicitly given some (external) signal

16 12 / 58 Characteristics of RL Problems 1. Actions influence later inputs (i.e. closed-loop) 2. No direct instructions (only reward signal) 3. Consequences of actions play out over (long) time (horizon)

17 13 / 58 Winning in Car Racing../fig/f1.jpg 1. Actions influence later inputs (i.e. closed-loop) 2. No direct instructions (only reward signal) 3. Consequences of actions play out over (long) time (horizon)

18 13 / 58 Winning in Car Racing../fig/f1.jpg 1. Switch gear, break, steer 2. Win! (Don t crash!, Stay on the track!, Respect Safety Car!,... ) 3. Pit stop timing, choice of tire

19 14 / 58 Agents in Reinforcement Learning 1. Sense state of environment 2. Take action that affects state 3. Have a goal relating to the state of the environment../fig/agent.png An agent is anything that can be viewed as perceiving its environment through sensors and acting upon that environment through effectors. Russell and Norvig [RN03, pp. 32, 33]

20 15 / 58 Comparing to Supervised and Unsupervised Learning Supervised Learning Unsupervised Learning../fig/slvsul.jpg

21 Comparing to Supervised and Unsupervised Learning Supervised Learning (e.g. classification, regression, ranking) Labeled examples from supervisor E.g. {(situation, action) i } i Learning task: generalize & extrapolate Unsupervised Learning (e.g. clustering, segmentation, dimensionality reduction) Unlabeled examples Learning task: find hidden structure 15 / 58

22 Comparing to Supervised and Unsupervised Learning Supervised Learning (e.g. classification, regression, ranking) Labeled examples from supervisor E.g. {(situation, action) i } i Learning task: generalize & extrapolate Not learning from interaction (In RL we cannot sample) Unsupervised Learning (e.g. clustering, segmentation, dimensionality reduction) Unlabeled examples Learning task: find hidden structure RL tries to maximize reward 15 / 58

23 16 / 58 Exploration and Exploitation../fig/cow_small.jpg Maximize reward exploit knowledge about rewarding actions Discover reward maximizing actions explore new actions

24 16 / 58 Exploration and Exploitation../fig/cow_small.jpg Maximize reward exploit knowledge about rewarding actions Discover reward maximizing actions explore new actions Need for tradeoff (Not in Supervised or Unsupervised Learning)

25 17 / 58 Exploration and Exploitation in Car Racing../fig/f1.jpg Exploitation:? Exploration:?

26 17 / 58 Exploration and Exploitation in Car Racing../fig/f1_crash.jpg Exploitation:? Exploration:? Both exploration and exploitation can fail

27 17 / 58 Exploration and Exploitation in Car Racing../fig/f1_crash.jpg Exploitation:? Exploration:? Both exploration and exploitation can fail but we can learn from failing too

28 18 / 58 Challenges in Reinforcement Learning../fig/f1.jpg Interaction with environment Uncertainty of situation (perception & state estimation) Delayed consequences (requires foresight & planning) Effects of actions cannot fully be predicted (stochastic environment) Measuring goal for (immediate) reward signal

29 18 / 58 Challenges in Reinforcement Learning Neurogammon, TD-Gammon: World champion level [TS89; Tes95] Interaction with environment Uncertainty of situation (perception & state estimation) Delayed consequences (requires foresight & planning) Effects of actions cannot fully be predicted (stochastic environment) Measuring goal for (immediate) reward signal

30 18 / 58 Challenges in Reinforcement Learning Neural Controller: Within a small number of trails [Rie05; MLR12] Interaction with environment Uncertainty of situation (perception & state estimation) Delayed consequences (requires foresight & planning) Effects of actions cannot fully be predicted (stochastic environment) Measuring goal for (immediate) reward signal

31 18 / 58 Challenges in Reinforcement Learning Cooperative RL Agents [Rie+00; LR04] Interaction with environment Uncertainty of situation (perception & state estimation) Delayed consequences (requires foresight & planning) Effects of actions cannot fully be predicted (stochastic environment) Measuring goal for (immediate) reward signal

32 18 / 58 Challenges in Reinforcement Learning../fig/robotchess.jpg../fig/robotsoccer.jpg Interaction with environment Uncertainty of situation (perception & state estimation) Delayed consequences (requires foresight & planning) Effects of actions cannot fully be predicted (stochastic environment) Measuring goal for (immediate) reward signal

33 19 / 58 Elements of Reinforcement Learning Policy Reward signal Value function Model 1 Reward and value don t have to agree

34 19 / 58 Elements of Reinforcement Learning Policy Defines behavior at a given time Similar to stimulus-response rule Reward signal Value function Model 1 Reward and value don t have to agree

35 19 / 58 Elements of Reinforcement Learning Policy Defines behavior at a given time Similar to stimulus-response rule Reward signal Defines goal/ what is to be achieved (indirectly) Agent wants to maximize total reward over running time Immediate feedback for situation Value function Model 1 Reward and value don t have to agree

36 19 / 58 Elements of Reinforcement Learning Policy Defines behavior at a given time Similar to stimulus-response rule Reward signal Defines goal/ what is to be achieved (indirectly) Agent wants to maximize total reward over running time Immediate feedback for situation Value function What is good in the long run E.g. total reward until end of interaction More foresighted evaluation of situation Model 1 Reward and value don t have to agree

37 19 / 58 Elements of Reinforcement Learning Policy Defines behavior at a given time Similar to stimulus-response rule Reward signal Defines goal/ what is to be achieved (indirectly) Agent wants to maximize total reward over running time Immediate feedback for situation Value function What is good in the long run E.g. total reward until end of interaction More foresighted evaluation of situation Main problem: efficiently estimating values Model 1 Reward and value don t have to agree

38 19 / 58 Elements of Reinforcement Learning Policy Defines behavior at a given time Similar to stimulus-response rule Reward signal Defines goal/ what is to be achieved (indirectly) Agent wants to maximize total reward over running time Immediate feedback for situation Value function What is good in the long run E.g. total reward until end of interaction More foresighted evaluation of situation Main problem: efficiently estimating values Model Mimics behavior of environment Allows inference Model-based vs. model-free 1 Reward and value don t have to agree

39 20 / 58 Examples../fig/f1.jpg../fig/robotchess.jpg../fig/robotsoccer.jp What is are good policy, reward signal, value function, model?

40 21 / 58 Optimization and Optimality Agent tries to maximize reward (i.e. optimization)

41 21 / 58 Optimization and Optimality Agent tries to maximize reward (i.e. optimization) Optimality might be impossible (theoretically or practically)

42 22 / 58 Table of Contents Today s Goal Reinforcement Learning Problems & Agents Intuition Terminology History and Structure of the Field Formalization Informal Examples Dynamic Programming Monte Carlo Symmary Material

43 23 / 58 Three Different Threads 1. Learning by trail and error 2. Optimal control 3. Temporal-difference methods Joined in 1980 s to from modern Reinforcement Learning.

44 24 / 58 Learning by Trail and Error Concepts of animal behavior (since 1850 s) Law of effect The greater satisfaction or discomfort, the greater strengthening or weakening of bond (between situation and feedback) (Thorndike) Reinforcement Strengthening of a pattern of behavior as a result of stimulus (Pavlov 1927) In Computational Intelligence Pleasure-pain system (Turing 1948) Record connections between configurations based on feedback Electro-mechanical machines Find path in mazes

45 25 / 58 Optimal Control Designing a controller to minimize a measure of a dynamical system over time (since 1950 s) Use Bellman equation and dynamic programming Formalization Markovian decision process Dynamic programming Efficient tabulation algorithms Regarded as only feasible way to solve general stochastic optimal control problems Curse of dimensionality (computation grows exponentially in number of variables)

46 25 / 58 Optimal Control Designing a controller to minimize a measure of a dynamical system over time (since 1950 s) Use Bellman equation and dynamic programming Formalization Markovian decision process Dynamic programming Efficient tabulation algorithms Regarded as only feasible way to solve general stochastic optimal control problems Curse of dimensionality (computation grows exponentially in number of variables)

47 26 / 58 Temporal-difference Methods Driven by difference between temporally successive estimates of same quantity Probability of winning a game Value of a state Unique to Reinforcement Learning TD Q learning SARSA Eligibility traces, TD(λ), Q(λ), SARSA(λ)

48 27 / 58 Structure of the Field of Reinforcement Learning 1 Small problem Large problem Tabular method Approximation method Finite MDP Bandit problem Value function Policy Bellman equations Policy gradient Dynamic Programming Monte Carlo Temporaldifference On-policy Off-policy (Only half the truth.) Eligibility traces 1 As in S&B, 2017

49 Classification of Problems and Environments Property Tabular method Approximative method DP. MC. TD.... Problem Stationary [yes/ no] State space [cont./ dis.] dis. dis. dis. Action space [cont./ dis.] dis. dis. dis. State aliasing [yes/ no] no no no Observable [yes/ no] yes yes yes Feedback [instr./ eval.] eval. eval. eval. eval. Associative [yes/ no] yes yes yes yes Return [epis./ cont./ dis.] Value at [action, state, after]. (More on p. 405 in S&B, 2017) 28 / 58

50 29 / 58 Classification of Methods Property Tabular method Approximative method DP. MC. TD.... Method Solution [approx./ exact] exact Incremental Analysis Model-based yes no no Learning [off/ on policy] Action selection/ exploration On-policy Off-policy Bootstraping Uses actual experience Backup type all actual Value function exact exact exact approx. Policy exact exact exact approx. or exact. (More on p. 405 in S&B, 2017)

51 29 / 58 Classification of Methods Property Tabular method Approximative method DP. MC. TD.... Method Solution [approx./ exact] exact Incremental Analysis Model-based yes no no Learning [off/ on policy] Action selection/ exploration On-policy Off-policy Bootstraping Uses actual experience Backup type all actual Value function exact exact exact approx. Policy exact exact exact approx. or exact. (More on p. 405 in S&B, 2017)

52 30 / 58 Backup Diagrams 2 2 From S&B, 2017

53 31 / 58 Table of Contents Today s Goal Reinforcement Learning Problems & Agents Intuition Terminology History and Structure of the Field Formalization Informal Examples Dynamic Programming Monte Carlo Symmary Material

54 32 / 58 Path Finding in Grid-based Maze G A Four deterministic motions (up, down, left, right) Free space, walls, position observable Goal position (G)

55 33 / 58 Interaction Between Agent and Environment G S&B, 2017 p. 48 Time steps t = 0, 1, 2,... Sense state S t S Execute action A t A(S t ) Reward R t+1 R R A Transition to state S t+1

56 34 / 58 Goals and Reward: Reward Hypothesis [... ] goals and purposes [... ] can be [... ] thought of as the maximization of the expected [... ] sum of a received scalar signal (S&B 2017, p. 51) Rewards come from outside Reward must model task A G

57 35 / 58 Collecting Reward Over Time: Returns sum of a received scalar signal Reward signals: R t+1, R t+2,... R Return G t = T k=0 R t+1+k Episodical T N Continuing T = Discounted return G t = k=0 γk R t+1+k Maximize E[G t ] A G

58 36 / 58 Environment and States whatever information is available to the agent State representation S Markov property G p(s t+1, R t+1 S 0, A 0, R 1,..., R t, S t, A t) = p(s t+1, R t+1 S t, A t) State signal retains all relevant information One-step dynamics can predict S t+1 and R t+1 A

59 37 / 58 Formal Framework: Markovian Decision Process Environment: S, state set A, action set p(s, r s, a), one-step dynamics Interaction: Agent: π t (a s) = p(a t = a S t = s), probabilistic policy Learning: Change π t to collect reward over time S&B, 2017, p. 48

60 38 / 58 Modelling the Task as a MDP S = free cells A { up, down, left, right } p(s, r s, a) move (deterministically) Rt+1 = 1 for goal state R t+1 = 0 for all other states π t deterministic A G

61 38 / 58 Modelling the Task as a MDP S = free cells A { up, down, left, right } p(s, r s, a) move (deterministically) Rt+1 = 1 for goal state R t+1 = 0 for all other states π t deterministic A G

62 39 / 58 Characterizing States and Actions by Value State-value function for policy π v π (s) = E π [G t S t = s] = E π [ γ k R t+1+k S t = s] k=0 Action-value function for policy π q π (s, a) = E π [G t S t = s, A t = a] = E π [ γ k R t+1+k S t = s, A t = a] E π [.] follows π k=0

63 40 / 58 Learning with Value Functions Exact computation: Dynamic Programming Estimation: Monte Carlo Approximation: v π and q π parameterized

64 41 / 58 Recursive Relationship and Bellman Equation Consistency between v π (s) and v π (s ) for all s S with successor s S v π (s) = E π [G t S t = s] = E π [ γ k R t+1+k S t = s] k=0 = E π [R t+1 + γ γ k R t+1+1+k S t = s] k=0 = a,r,s p(s, r s, a)π(a s)(r + γe π [G t+1 S t+1 = s ]) = a,r,s p(s, r s, a)π(a s)(r + γv π (s ))

65 41 / 58 Recursive Relationship and Bellman Equation Consistency between v π (s) and v π (s ) for all s S with successor s S v π (s) = E π [G t S t = s] = E π [ γ k R t+1+k S t = s] k=0 = E π [R t+1 + γ γ k R t+1+1+k S t = s] k=0 = a,r,s p(s, r s, a)π(a s)(r + γe π [G t+1 S t+1 = s ]) = a,r,s p(s, r s, a)π(a s)(r + γv π (s ))

66 42 / 58 Information Backup Bellman equation for v π s S : v π (s) = a,r,s p(s, r s, a)π(a s)(r + γv π (s )) Reinforcement Learning is based on backup operations (mostly) Backup diagram (for v π and q π ) (S&B, 2017, p. 64)

67 43 / 58 Optimal Value Functions Partial order on policies π π s S : v π (s) v π (s) Optimal policies π Optimal state-value function v s S : v (s) = max v π(s) π Optimal action-value function q s S, a A(s): q (s, a) = max π q π(s, a)

68 Bellman Optimality Equation For v For q v (s) = max q π (s, a) a A(s) = max p(s, r s, a)(r + γv (s )) a A(s) s,r q (s, a) = p(s, r s, a)(r + γ max q (s, a )) s a,r A(s ) Backup diagram (for v and q ) S&B, 2017, p. 69) 44 / 58

69 45 / 58 Learning with Optimal Value Functions System of equations One equation per state Explicitly solve Greedy policy is optimal π (s) = arg max p(s, r s, a)(r + γv (s )) a A(s) s,r π (s) = arg max a A(s) q (s, a) Only one-step-ahead search Based on v or q Without knowledge of dynamics

70 46 / 58 Table of Contents Today s Goal Reinforcement Learning Problems & Agents Intuition Terminology History and Structure of the Field Formalization Informal Examples Dynamic Programming Monte Carlo Symmary Material

71 47 / 58 Modelling the Task as a MDP Simplification: deterministic S = free cells A { up, down, left, right } p(s, r s, a) move (deterministically) r = 1 reaching goal state r = 1 for all other states π t deterministically A G

72 48 / 58 Dynamic Programming Model-based p(s s, a) known r(s, a, s ) known Iteratively approximate v Get π from v Table representation for v One-step backup for each state Value Iteration algorithm a : for k = 1, 2,... do foreach s S do V k (s) max a A {r(s, a, s ) + γv k 1 (s )}; end end a For proof see later session.

73 49 / 58 Map 3 3 From S&B, 2017

74 Value Backup 50 / 58

75 Value Backup 50 / 58

76 Value Backup 50 / 58

77 Value Backup 50 / 58

78 Reward Signal Design 51 / 58

79 52 / 58 Monte Carlo Model-free p(s s, a) not known r(s, a, s ) not known Approximate q... From actual episodes e.g. (s, a, r, s ) Table representation for q One-step backup for each trace Q Learning algorithm a : for until convergence do Execute some episode ; Q(s, a) r + γ max a A(s ) Q(s, a ); end a For proof see later session. Do several episodes Exploration and exploitation

80 53 / 58 Map 4 4 From S&B, 2017

81 54 / 58 Table of Contents Today s Goal Reinforcement Learning Problems & Agents Intuition Terminology History and Structure of the Field Formalization Informal Examples Dynamic Programming Monte Carlo Symmary Material

82 55 / 58 Symmary Reinforcement learning Learning type, not a method Exploration and exploitation Important characteristics Interaction, reward describes goal Challenges Delayed consequences, credit assignment Formalization MDP Value functions Bellman (optimality) equations

83 56 / 58 Table of Contents Today s Goal Reinforcement Learning Problems & Agents Intuition Terminology History and Structure of the Field Formalization Informal Examples Dynamic Programming Monte Carlo Symmary Material

84 57 / 58 Material I Martin Lauer and Martin Riedmiller. Reinforcement learning for stochastic cooperative multi-agent systems. In: Proceedings of the Third International Joint Conference on Autonomous Agents and Multiagent Systems-Volume 3. IEEE Computer Society. 2004, pp Jan Mattner, Sascha Lange, and Martin Riedmiller. Learn to swing up and balance a real pole based on raw visual input data. In: International Conference on Neural Information Processing. Springer. 2012, pp Martin Riedmiller et al. Karlsruhe brainstormers-a reinforcement learning approach to robotic soccer. In: Robot Soccer World Cup. Springer. 2000, pp

85 58 / 58 Material II Martin Riedmiller. Neural reinforcement learning to swing-up and balance a real pole. In: 2005 IEEE International Conference on Systems, Man and Cybernetics. Vol. 4. IEEE. 2005, pp Russell and Norvig. Artificial intelligence: a modern approach. Vol. 2. Prentice Hall, Gerald Tesauro. Temporal Difference Learning and TD-Gammon. In: Commun. ACM 38.3 (Mar. 1995), pp ISSN: DOI: / URL: Gerald Tesauro and Terrence J. Sejnowski. A parallel network that learns to play backgammon. In: Artificial Intelligence 39.3 (1989), pp

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

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

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

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

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

Prof. Dr. Ann Nowé. Artificial Intelligence Lab ai.vub.ac.be

Prof. 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

Course 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 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 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 an introduction

Reinforcement learning an introduction Reinforcement learning an introduction Prof. Dr. Ann Nowé Computational Modeling Group AIlab ai.vub.ac.be November 2013 Reinforcement Learning What is it? Learning from interaction Learning about, from,

More 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

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

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

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

Reinforcement Learning with Function Approximation. Joseph Christian G. Noel

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

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

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

Reinforcement Learning II

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

Marks. bonus points. } Assignment 1: Should be out this weekend. } Mid-term: Before the last lecture. } Mid-term deferred exam:

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

Reinforcement Learning and Deep Reinforcement Learning

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

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

Reinforcement Learning: the basics

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

CS 287: Advanced Robotics Fall Lecture 14: Reinforcement Learning with Function Approximation and TD Gammon case study

CS 287: Advanced Robotics Fall Lecture 14: Reinforcement Learning with Function Approximation and TD Gammon case study CS 287: Advanced Robotics Fall 2009 Lecture 14: Reinforcement Learning with Function Approximation and TD Gammon case study Pieter Abbeel UC Berkeley EECS Assignment #1 Roll-out: nice example paper: X.

More information

Open Theoretical Questions in Reinforcement Learning

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

Decision Theory: Markov Decision Processes

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

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

Lecture 25: Learning 4. Victor R. Lesser. CMPSCI 683 Fall 2010

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

Reinforcement Learning. Donglin Zeng, Department of Biostatistics, University of North Carolina

Reinforcement Learning. Donglin Zeng, Department of Biostatistics, University of North Carolina Reinforcement Learning Introduction Introduction Unsupervised learning has no outcome (no feedback). Supervised learning has outcome so we know what to predict. Reinforcement learning is in between it

More 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

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

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

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

Internet Monetization

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

Artificial Intelligence & Sequential Decision Problems

Artificial Intelligence & Sequential Decision Problems Artificial Intelligence & Sequential Decision Problems (CIV6540 - Machine Learning for Civil Engineers) Professor: James-A. Goulet Département des génies civil, géologique et des mines Chapter 15 Goulet

More information

Reinforcement Learning

Reinforcement Learning Reinforcement Learning 1 Reinforcement Learning Mainly based on Reinforcement Learning An Introduction by Richard Sutton and Andrew Barto Slides are mainly based on the course material provided by the

More information

Planning in Markov Decision Processes

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

Reinforcement Learning

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

Introduction to Reinforcement Learning

Introduction to Reinforcement Learning Introduction to Reinforcement Learning Rémi Munos SequeL project: Sequential Learning http://researchers.lille.inria.fr/ munos/ INRIA Lille - Nord Europe Machine Learning Summer School, September 2011,

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

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 (1)

Reinforcement Learning (1) Reinforcement Learning 1 Reinforcement Learning (1) Machine Learning 64-360, Part II Norman Hendrich University of Hamburg, Dept. of Informatics Vogt-Kölln-Str. 30, D-22527 Hamburg hendrich@informatik.uni-hamburg.de

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

Lecture 3: The Reinforcement Learning Problem

Lecture 3: The Reinforcement Learning Problem Lecture 3: The Reinforcement Learning Problem Objectives of this lecture: describe the RL problem we will be studying for the remainder of the course present idealized form of the RL problem for which

More information

Chapter 3: The Reinforcement Learning Problem

Chapter 3: The Reinforcement Learning Problem Chapter 3: The Reinforcement Learning Problem Objectives of this chapter: describe the RL problem we will be studying for the remainder of the course present idealized form of the RL problem for which

More 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

Course basics. CSE 190: Reinforcement Learning: An Introduction. Last Time. Course goals. The website for the class is linked off my homepage.

Course basics. CSE 190: Reinforcement Learning: An Introduction. Last Time. Course goals. The website for the class is linked off my homepage. Course basics CSE 190: Reinforcement Learning: An Introduction The website for the class is linked off my homepage. Grades will be based on programming assignments, homeworks, and class participation.

More information

Chapter 3: The Reinforcement Learning Problem

Chapter 3: The Reinforcement Learning Problem Chapter 3: The Reinforcement Learning Problem Objectives of this chapter: describe the RL problem we will be studying for the remainder of the course present idealized form of the RL problem for which

More 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

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

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

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

Reinforcement Learning and Control

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

COMP3702/7702 Artificial Intelligence Lecture 11: Introduction to Machine Learning and Reinforcement Learning. Hanna Kurniawati

COMP3702/7702 Artificial Intelligence Lecture 11: Introduction to Machine Learning and Reinforcement Learning. Hanna Kurniawati COMP3702/7702 Artificial Intelligence Lecture 11: Introduction to Machine Learning and Reinforcement Learning Hanna Kurniawati Today } What is machine learning? } Where is it used? } Types of machine learning

More information

Temporal Difference Learning & Policy Iteration

Temporal Difference Learning & Policy Iteration Temporal Difference Learning & Policy Iteration Advanced Topics in Reinforcement Learning Seminar WS 15/16 ±0 ±0 +1 by Tobias Joppen 03.11.2015 Fachbereich Informatik Knowledge Engineering Group Prof.

More information

Lecture 2: Learning from Evaluative Feedback. or Bandit Problems

Lecture 2: Learning from Evaluative Feedback. or Bandit Problems Lecture 2: Learning from Evaluative Feedback or Bandit Problems 1 Edward L. Thorndike (1874-1949) Puzzle Box 2 Learning by Trial-and-Error Law of Effect: Of several responses to the same situation, those

More information

CS788 Dialogue Management Systems Lecture #2: Markov Decision Processes

CS788 Dialogue Management Systems Lecture #2: Markov Decision Processes CS788 Dialogue Management Systems Lecture #2: Markov Decision Processes Kee-Eung Kim KAIST EECS Department Computer Science Division Markov Decision Processes (MDPs) A popular model for sequential decision

More information

Reinforcement Learning. Value Function Updates

Reinforcement Learning. Value Function Updates Reinforcement Learning Value Function Updates Manfred Huber 2014 1 Value Function Updates Different methods for updating the value function Dynamic programming Simple Monte Carlo Temporal differencing

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

arxiv: v1 [cs.ai] 5 Nov 2017

arxiv: v1 [cs.ai] 5 Nov 2017 arxiv:1711.01569v1 [cs.ai] 5 Nov 2017 Markus Dumke Department of Statistics Ludwig-Maximilians-Universität München markus.dumke@campus.lmu.de Abstract Temporal-difference (TD) learning is an important

More information

Reinforcement learning

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

RL 3: Reinforcement Learning

RL 3: Reinforcement Learning RL 3: Reinforcement Learning Q-Learning Michael Herrmann University of Edinburgh, School of Informatics 20/01/2015 Last time: Multi-Armed Bandits (10 Points to remember) MAB applications do exist (e.g.

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

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

Reinforcement Learning. Introduction

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

Decision Theory: Q-Learning

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

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

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

Reinforcement Learning

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

Grundlagen der Künstlichen Intelligenz

Grundlagen der Künstlichen Intelligenz Grundlagen der Künstlichen Intelligenz Formal models of interaction Daniel Hennes 27.11.2017 (WS 2017/18) University Stuttgart - IPVS - Machine Learning & Robotics 1 Today Taxonomy of domains Models of

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

The Nature of Learning - A study of Reinforcement Learning Methodology

The Nature of Learning - A study of Reinforcement Learning Methodology The Nature of Learning - A study of Reinforcement Learning Methodology Anders Christian Kølle 1 Department of Computer Science University of Copenhagen November 21, 23 1 andersk@diku.dk One needs to explore

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

Markov Decision Processes

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

Sequential decision making under uncertainty. Department of Computer Science, Czech Technical University in Prague

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

CS 598 Statistical Reinforcement Learning. Nan Jiang

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

, and rewards and transition matrices as shown below:

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

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

An online kernel-based clustering approach for value function approximation

An online kernel-based clustering approach for value function approximation An online kernel-based clustering approach for value function approximation N. Tziortziotis and K. Blekas Department of Computer Science, University of Ioannina P.O.Box 1186, Ioannina 45110 - Greece {ntziorzi,kblekas}@cs.uoi.gr

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

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

ARTIFICIAL INTELLIGENCE. Reinforcement learning

ARTIFICIAL INTELLIGENCE. Reinforcement learning INFOB2KI 2018-2019 Utrecht University The Netherlands ARTIFICIAL INTELLIGENCE Reinforcement learning Lecturer: Silja Renooij These slides are part of the INFOB2KI Course Notes available from www.cs.uu.nl/docs/vakken/b2ki/schema.html

More information

Elements of Reinforcement Learning

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

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

A Gentle Introduction to Reinforcement Learning

A Gentle Introduction to Reinforcement Learning A Gentle Introduction to Reinforcement Learning Alexander Jung 2018 1 Introduction and Motivation Consider the cleaning robot Rumba which has to clean the office room B329. In order to keep things simple,

More information

Markov Decision Processes and Solving Finite Problems. February 8, 2017

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

Exponential Moving Average Based Multiagent Reinforcement Learning Algorithms

Exponential Moving Average Based Multiagent Reinforcement Learning Algorithms Artificial Intelligence Review manuscript No. (will be inserted by the editor) Exponential Moving Average Based Multiagent Reinforcement Learning Algorithms Mostafa D. Awheda Howard M. Schwartz Received:

More information

16.4 Multiattribute Utility Functions

16.4 Multiattribute Utility Functions 285 Normalized utilities The scale of utilities reaches from the best possible prize u to the worst possible catastrophe u Normalized utilities use a scale with u = 0 and u = 1 Utilities of intermediate

More information

Reinforcement learning

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

CS 4100 // artificial intelligence. Recap/midterm review!

CS 4100 // artificial intelligence. Recap/midterm review! CS 4100 // artificial intelligence instructor: byron wallace Recap/midterm review! Attribution: many of these slides are modified versions of those distributed with the UC Berkeley CS188 materials Thanks

More information