Machine Learning Chapter 13 Reinforcement Learning Tom M

  • Slides: 19
Download presentation
Machine Learning Chapter 13. Reinforcement Learning Tom M. Mitchell

Machine Learning Chapter 13. Reinforcement Learning Tom M. Mitchell

Control Learning Consider learning to choose actions, e. g. , § Robot learning to

Control Learning Consider learning to choose actions, e. g. , § Robot learning to dock on battery charger § Learning to choose actions to optimize factory output § Learning to play Backgammon Note several problem characteristics: § § Delayed reward Opportunity for active exploration Possibility that state only partially observable Possible need to learn multiple tasks with same sensors/effectors 2

One Example: TD-Gammon Learn to play Backgammon Immediate reward § +100 if win §

One Example: TD-Gammon Learn to play Backgammon Immediate reward § +100 if win § -100 if lose § 0 for all other states Trained by playing 1. 5 million games against itself Now approximately equal to best human player 3

Reinforcement Learning Problem 4

Reinforcement Learning Problem 4

Markov Decision Processes Assume § finite set of states S § set of actions

Markov Decision Processes Assume § finite set of states S § set of actions A § at each discrete time agent observes state st S and chooses action at A § then receives immediate reward rt § and state changes to st+1 § Markov assumption : st+1 = (st, at ) and rt = r(st, at ) – i. e. , rt and st+1 depend only on current state and action – functions and r may be nondeterministic – functions and r not necessarily known to agent 5

Agent's Learning Task 6

Agent's Learning Task 6

Value Function 7

Value Function 7

8

8

What to Learn 9

What to Learn 9

Q Function 10

Q Function 10

Training Rule to Learn Q 11

Training Rule to Learn Q 11

Q Learning for Deterministic Worlds 12

Q Learning for Deterministic Worlds 12

13

13

14

14

Nondeterministic Case 15

Nondeterministic Case 15

Nondeterministic Case(Cont’) 16

Nondeterministic Case(Cont’) 16

Temporal Difference Learning 17

Temporal Difference Learning 17

Temporal Difference Learning(Cont’) 18

Temporal Difference Learning(Cont’) 18

Subtleties and Ongoing Research 19

Subtleties and Ongoing Research 19