deep recurrent q learning for partially observable mdps
play

Deep Recurrent Q-Learning for Partially Observable MDPs Matthew - PowerPoint PPT Presentation

Deep Recurrent Q-Learning for Partially Observable MDPs Matthew Hausknecht and Peter Stone University of Texas at Austin November 13, 2015 1 Motivation Intelligent decision making is the heart of AI 2 Motivation Intelligent decision making


  1. Deep Recurrent Q-Learning for Partially Observable MDPs Matthew Hausknecht and Peter Stone University of Texas at Austin November 13, 2015 1

  2. Motivation Intelligent decision making is the heart of AI 2

  3. Motivation Intelligent decision making is the heart of AI Desire agents capable of learning to act intelligently in diverse environments 2

  4. Motivation Intelligent decision making is the heart of AI Desire agents capable of learning to act intelligently in diverse environments Reinforcement Learning provides a general learning framework 2

  5. Motivation Intelligent decision making is the heart of AI Desire agents capable of learning to act intelligently in diverse environments Reinforcement Learning provides a general learning framework RL + deep neural networks yields robust controllers that learn from pixels (DQN) 2

  6. Motivation Intelligent decision making is the heart of AI Desire agents capable of learning to act intelligently in diverse environments Reinforcement Learning provides a general learning framework RL + deep neural networks yields robust controllers that learn from pixels (DQN) DQN lacks mechanisms for handling partial observability 2

  7. Motivation Intelligent decision making is the heart of AI Desire agents capable of learning to act intelligently in diverse environments Reinforcement Learning provides a general learning framework RL + deep neural networks yields robust controllers that learn from pixels (DQN) DQN lacks mechanisms for handling partial observability Extend DQN to handle Partially Observable Markov Decision Processes (POMDPs) 2

  8. Outline Motivation Background MDP POMDP Atari Domain Deep Q-Network Deep Recurrent Q-Network Results Related Work Appendix 3

  9. Markov Decision Process (MDP) At each timestep Agent performs actions a t and receives reward r t and state s t +1 from the environment State Action Reward s t a t r t 4

  10. Markov Decision Process (MDP) At each timestep Agent performs actions a t and receives reward r t and state s t +1 from the environment State Action Reward s t a t r t Markov property ensures that s t +1 depends only on s t , a t 4

  11. Markov Decision Process (MDP) At each timestep Agent performs actions a t and receives reward r t and state s t +1 from the environment State Action Reward s t a t r t Markov property ensures that s t +1 depends only on s t , a t Learning an optimal policy π ∗ requires no memory of past states 4

  12. Partially Observable Markov Decision Process (POMDP) True state of environment is hidden. Observations o t provide only partial information. Action Observation Reward o t r t a t 5

  13. Partially Observable Markov Decision Process (POMDP) True state of environment is hidden. Observations o t provide only partial information. Action Observation Reward o t r t a t Memory of past observations may help understand true system state, improve the policy 5

  14. Atari Domain 160 × 210 state space → 84 × 84 grayscale 18 discrete actions Rewards clipped ∈ {− 1 , 0 , 1 } Observation Score Action Source: www. arcadelearningenvironment.org 6

  15. Atari Domain: MDP or POMDP? Observation Score Action 7

  16. Atari Domain: MDP or POMDP? Depends on the state representation! Observation Score Action 7

  17. Atari Domain: MDP or POMDP? Depends on the state representation! • Single Frame ⇒ POMDP • Four Frames ⇒ MDP Observation Score Action • Console RAM ⇒ MDP 7

  18. Deep Q-Network (DQN) Q-Values 18 512 IP1 Model-free Reinforcement Learning method using deep neural network as Q-Value function approximator Mnih Conv3 et al. (2015) Takes the last four game screens as input: enough to make most Conv2 Atari games Markov Conv1 4 84 84 8

  19. Deep Q-Network (DQN) Q-Values 18 512 IP1 Model-free Reinforcement Learning method using deep neural network as Q-Value function approximator Mnih Conv3 et al. (2015) Takes the last four game screens as input: enough to make most Conv2 Atari games Markov How well does DQN perform in Conv1 partially observed domains? 4 84 84 8

  20. Flickering Atari Induce partial observability by stochastically obscuring the game screen Observation Action Reward o t a t r t 9

  21. Flickering Atari Induce partial observability by stochastically obscuring the game screen Observation Action Reward � s t with p = 1 o t a t r t 2 o t = < 0 , . . . , 0 > otherwise 9

  22. Flickering Atari Induce partial observability by stochastically obscuring the game screen Observation Action Reward � s t with p = 1 o t a t r t 2 o t = < 0 , . . . , 0 > otherwise Game state must now be inferred from past observations 9

  23. DQN Pong True Game Screen Perceived Game Screen 10

  24. DQN Flickering Pong True Game Screen Perceived Game Screen 11

  25. Outline Motivation Background MDP POMDP Atari Domain Deep Q-Network Deep Recurrent Q-Network Results Related Work Appendix 12

  26. Deep Recurrent Q-Network Long Short Term Memory t − 1 t Hochreiter (1997) 18 . . . 512 LSTM 1 84 84 13

  27. Deep Recurrent Q-Network Long Short Term Memory t − 1 t Hochreiter (1997) 18 . . . 512 LSTM Identical to DQN Except: • Replaces DQN’s IP1 with recurrent LSTM layer of same dimension • Each timestep takes a single frame as input 1 84 84 13

  28. Deep Recurrent Q-Network Long Short Term Memory t − 1 t Hochreiter (1997) 18 . . . 512 LSTM Identical to DQN Except: • Replaces DQN’s IP1 with recurrent LSTM layer of same dimension • Each timestep takes a single frame as input LSTM provides a selective memory of past game states 1 84 84 13

  29. Deep Recurrent Q-Network Long Short Term Memory t − 1 t Hochreiter (1997) 18 . . . 512 LSTM Identical to DQN Except: • Replaces DQN’s IP1 with recurrent LSTM layer of same dimension • Each timestep takes a single frame as input LSTM provides a selective memory of past game states 1 84 Trained end-to-end using 84 BPTT: unrolled for last 10 timesteps 13

  30. DRQN Maximal Activations Unit detects the agent missing the ball 14

  31. DRQN Maximal Activations Unit detects the agent missing the ball Unit detects ball reflection on paddle 14

  32. DRQN Maximal Activations Unit detects the agent missing the ball Unit detects ball reflection on paddle Unit detects ball reflection on wall 14

  33. Outline Motivation Background MDP POMDP Atari Domain Deep Q-Network Deep Recurrent Q-Network Results Related Work Appendix 15

  34. DRQN Flickering Pong True Game Screen Perceived Game Screen 16

  35. Flickering Pong 17

  36. Pong Generalization: POMDP ⇒ MDP How does DRQN generalize when trained on Flickering Pong and evaluated on standard Pong? 18

  37. Pong Generalization: POMDP ⇒ MDP 20 DRQN 1-frame 15 DQN 10-frame DQN 4-frame 10 5 0 5 10 15 20 0.0 0.2 0.4 0.6 0.8 1.0 Observation Probability 18

  38. Performance on Flickering Atari Games Game 10-frame DRQN ± std 10-frame DQN ± std Pong 12.1 ( ± 2 . 2) -9.9 ( ± 3 . 3) 19

  39. Performance on Flickering Atari Games Game 10-frame DRQN ± std 10-frame DQN ± std Pong 12.1 ( ± 2 . 2) -9.9 ( ± 3 . 3) Beam Rider 618 ( ± 115) 1685.6 ( ± 875) 19

  40. Performance on Flickering Atari Games Game 10-frame DRQN ± std 10-frame DQN ± std Pong 12.1 ( ± 2 . 2) -9.9 ( ± 3 . 3) Beam Rider 618 ( ± 115) 1685.6 ( ± 875) Asteroids 1032 ( ± 410) 1010 ( ± 535) Bowling 65.5 ( ± 13) 57.3 ( ± 8) Centipede 4319.2 ( ± 4378) 5268.1 ( ± 2052) Chopper Cmd 1330 ( ± 294) 1450 ( ± 787 . 8) Double Dunk -14 ( ± 2 . 5) -16.2 ( ± 2 . 6) Frostbite 414 ( ± 494) 436 ( ± 462 . 5) Ice Hockey -5.4 ( ± 2 . 7) -4.2 ( ± 1 . 5) Ms. Pacman 1739 ( ± 942) 1824 ( ± 490) 19

  41. Performance on Standard Atari Games Game 10-frame DRQN ± std 10-frame DQN ± std Double Dunk -2 ( ± 7 . 8) -10 ( ± 3 . 5) Frostbite 2875 ( ± 535) 519 ( ± 363) 20

  42. Performance on Standard Atari Games Game 10-frame DRQN ± std 10-frame DQN ± std Double Dunk -2 ( ± 7 . 8) -10 ( ± 3 . 5) Frostbite 2875 ( ± 535) 519 ( ± 363) Beam Rider 3269 ( ± 1167) 6923 ( ± 1027) 20

  43. Performance on Standard Atari Games Game 10-frame DRQN ± std 10-frame DQN ± std Double Dunk -2 ( ± 7 . 8) -10 ( ± 3 . 5) Frostbite 2875 ( ± 535) 519 ( ± 363) Beam Rider 3269 ( ± 1167) 6923 ( ± 1027) Asteroids 1020 ( ± 312) 1070 ( ± 345) Bowling 62 ( ± 5 . 9) 72 ( ± 11) Centipede 3534 ( ± 1601) 3653 ( ± 1903) Chopper Cmd 2070 ( ± 875) 1460 ( ± 976) Ice Hockey -4.4 ( ± 1 . 6) -3.5 ( ± 3 . 5) Ms. Pacman 2048 ( ± 653) 2363 ( ± 735) 20

  44. Performance on Standard Atari Games 21

  45. DRQN Frostbite True Game Screen Perceived Game Screen 22

  46. Generalization: MDP ⇒ POMDP How does DRQN generalize when trained on standard Atari and evaluated on flickering Atari? 23

  47. Generalization: MDP ⇒ POMDP DRQN 0.7 DQN Percentage Original Score 0.6 0.5 0.4 0.3 0.2 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 Observation Probability 23

  48. Outline Motivation Background MDP POMDP Atari Domain Deep Q-Network Deep Recurrent Q-Network Results Related Work Appendix 24

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend