SlideShare una empresa de Scribd logo
1 de 23
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Let’sTalk about Reinforcement
Learning withAmazonSageMaker RL
Sina Afrooze
A I M 3 9 9
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
Introduction to Reinforcement Learning
SageMaker RL example: Cartpole
Overview of RL-Coach
Introduction to SageMaker RL
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
WhyReinforcement Learning
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Reinforcement learning concepts
Learn by
interacting with
the real world
Model the real
world problem
as a simulation
environment
Trial and error
Observe
results
Optimize
learning
strategy to
maximize long
term reward
Model learns
how to make
complex
decisions
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Theprototypicalexample / keyconcepts
State:
• Position of the cart (x)
• Velocity of the cart (v)
• Position of the pole (θ)
• Velocity of the pole (⍵)
⍵
θ x v
⍵
θ
x
v
L
Agent/policy actions:
• Left (L)
• Right (R)
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Theprototypicalexample / keyconcepts
⍵
θ x v
⍵
θ
x
v
L
⍵’
θ' x' v'
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Howtolearn thepolicy?
• maps states to an action
• maximizes agent’s long term reward
Reward + 0Reward + 1Reward + 1Reward + 1
11+0.91+0.9 + 0.81
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thepolicygradient algorithm
• Stochastic policy to sample actions
• Initialize with random weights
• 100 episodes
• Calculate gradients per decision made by the agent
• Update weights
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Keyconcepts
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Typicalchallengesin running RLworkloads
Difficult to get
started
RL agent
algorithms are
complex to
implement
Hard to integrate
environments for
training
Training is
computationally
expensive and
time consuming
Requires trial and
error & frequent
tuning of
hyperparameters
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AmazonSageMaker RLmakes RLmore accessible
Difficult to get
started
RL agent
algorithms are
complex to
implement
Hard to integrate
environments for
training
Training is
computationally
expensive and
time consuming
Requires trial and
error & frequent
tuning of
hyperparameters
Difficult to get
started
RL agent
algorithms are
complex to
implement
Hard to integrate
environments for
training
Single/ Distributed
training; Local/
Remote
environment
Local mode for
debugging;
Automatic Model
Tuning
Pre-built
environments for
RL; numerous
examples
Support for RL
agent algorithms
Easy to integrate
variety of
simulation
environments
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AmazonSageMaker RL
End-to-end examples for classic RL and real-world RL applications
Robotics
Industrial
Control
HVAC
Autonomous
Vehicles Operations Finance Games NLP
Open AI Gym
SageMaker supported Customer BYO
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Scaletrainingfor production workloads
Single/distributed
Homogenous/
heterogeneous clusters
Local/remote simulation
environment
Logging/metrics/
visualization
High performance CPU/
GPU hardware
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Run parallelsimulations
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RL-Coach offers stateof theartRLagent
algorithmimplementations
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
RL-Coach inAWSDeepRacer
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Sina Afrooze
Twitter: @sinafz
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Más contenido relacionado

La actualidad más candente

Create a Serverless Searchable Media Library (AIM342-R1) - AWS re:Invent 2018
Create a Serverless Searchable Media Library (AIM342-R1) - AWS re:Invent 2018Create a Serverless Searchable Media Library (AIM342-R1) - AWS re:Invent 2018
Create a Serverless Searchable Media Library (AIM342-R1) - AWS re:Invent 2018Amazon Web Services
 
Amazon, awsreinvent2018, Artificial Intelligence & Machine Learning, AIM422, ...
Amazon, awsreinvent2018, Artificial Intelligence & Machine Learning, AIM422, ...Amazon, awsreinvent2018, Artificial Intelligence & Machine Learning, AIM422, ...
Amazon, awsreinvent2018, Artificial Intelligence & Machine Learning, AIM422, ...Amazon Web Services
 
Deep Dive on Amazon Rekognition, ft. Tinder & News UK (AIM307-R) - AWS re:Inv...
Deep Dive on Amazon Rekognition, ft. Tinder & News UK (AIM307-R) - AWS re:Inv...Deep Dive on Amazon Rekognition, ft. Tinder & News UK (AIM307-R) - AWS re:Inv...
Deep Dive on Amazon Rekognition, ft. Tinder & News UK (AIM307-R) - AWS re:Inv...Amazon Web Services
 
Machine Learning at the Edge (AIM302) - AWS re:Invent 2018
Machine Learning at the Edge (AIM302) - AWS re:Invent 2018Machine Learning at the Edge (AIM302) - AWS re:Invent 2018
Machine Learning at the Edge (AIM302) - AWS re:Invent 2018Amazon Web Services
 
RoboMaker로 DeepRacer 자율 주행차 만들기 :: 유정열 - AWS Community Day 2019
RoboMaker로 DeepRacer 자율 주행차 만들기 :: 유정열 - AWS Community Day 2019 RoboMaker로 DeepRacer 자율 주행차 만들기 :: 유정열 - AWS Community Day 2019
RoboMaker로 DeepRacer 자율 주행차 만들기 :: 유정열 - AWS Community Day 2019 AWSKRUG - AWS한국사용자모임
 
Hollywood's Cloud-Based Content Lakes: Modernized Media Archives (MAE203) - A...
Hollywood's Cloud-Based Content Lakes: Modernized Media Archives (MAE203) - A...Hollywood's Cloud-Based Content Lakes: Modernized Media Archives (MAE203) - A...
Hollywood's Cloud-Based Content Lakes: Modernized Media Archives (MAE203) - A...Amazon Web Services
 
Human-in-the-Loop for Machine Learning (AIM358-R1) - AWS re:Invent 2018
Human-in-the-Loop for Machine Learning (AIM358-R1) - AWS re:Invent 2018Human-in-the-Loop for Machine Learning (AIM358-R1) - AWS re:Invent 2018
Human-in-the-Loop for Machine Learning (AIM358-R1) - AWS re:Invent 2018Amazon Web Services
 
Deep Learning Applications Using PyTorch, Featuring Facebook (AIM402-R) - AWS...
Deep Learning Applications Using PyTorch, Featuring Facebook (AIM402-R) - AWS...Deep Learning Applications Using PyTorch, Featuring Facebook (AIM402-R) - AWS...
Deep Learning Applications Using PyTorch, Featuring Facebook (AIM402-R) - AWS...Amazon Web Services
 
Machine Learning for Improving Disaster Management and Response (WPS313) - AW...
Machine Learning for Improving Disaster Management and Response (WPS313) - AW...Machine Learning for Improving Disaster Management and Response (WPS313) - AW...
Machine Learning for Improving Disaster Management and Response (WPS313) - AW...Amazon Web Services
 
Smarter Event-Driven Edge with Amazon SageMaker & Project Flogo (AIM204-S) - ...
Smarter Event-Driven Edge with Amazon SageMaker & Project Flogo (AIM204-S) - ...Smarter Event-Driven Edge with Amazon SageMaker & Project Flogo (AIM204-S) - ...
Smarter Event-Driven Edge with Amazon SageMaker & Project Flogo (AIM204-S) - ...Amazon Web Services
 
Unlock the Full Potential of Your Media Assets, ft. Fox Entertainment Group (...
Unlock the Full Potential of Your Media Assets, ft. Fox Entertainment Group (...Unlock the Full Potential of Your Media Assets, ft. Fox Entertainment Group (...
Unlock the Full Potential of Your Media Assets, ft. Fox Entertainment Group (...Amazon Web Services
 
Detecting Financial Market Manipulation Using Machine Learning (AIM347) - AWS...
Detecting Financial Market Manipulation Using Machine Learning (AIM347) - AWS...Detecting Financial Market Manipulation Using Machine Learning (AIM347) - AWS...
Detecting Financial Market Manipulation Using Machine Learning (AIM347) - AWS...Amazon Web Services
 
Improve Your Customer Experience with Machine Translation (AIM321) - AWS re:I...
Improve Your Customer Experience with Machine Translation (AIM321) - AWS re:I...Improve Your Customer Experience with Machine Translation (AIM321) - AWS re:I...
Improve Your Customer Experience with Machine Translation (AIM321) - AWS re:I...Amazon Web Services
 
Build a Visual Search Engine Using Amazon SageMaker and AWS Fargate (AIM341) ...
Build a Visual Search Engine Using Amazon SageMaker and AWS Fargate (AIM341) ...Build a Visual Search Engine Using Amazon SageMaker and AWS Fargate (AIM341) ...
Build a Visual Search Engine Using Amazon SageMaker and AWS Fargate (AIM341) ...Amazon Web Services
 
Use Amazon Rekognition to Power Video Creative Asset Production (ADT202) - AW...
Use Amazon Rekognition to Power Video Creative Asset Production (ADT202) - AW...Use Amazon Rekognition to Power Video Creative Asset Production (ADT202) - AW...
Use Amazon Rekognition to Power Video Creative Asset Production (ADT202) - AW...Amazon Web Services
 
Sequence-to-Sequence Modeling with Apache MXNet, Sockeye, and Amazon SageMake...
Sequence-to-Sequence Modeling with Apache MXNet, Sockeye, and Amazon SageMake...Sequence-to-Sequence Modeling with Apache MXNet, Sockeye, and Amazon SageMake...
Sequence-to-Sequence Modeling with Apache MXNet, Sockeye, and Amazon SageMake...Amazon Web Services
 
Build an Intelligent Multi-Modal User Agent with Voice and NLU (AIM340) - AWS...
Build an Intelligent Multi-Modal User Agent with Voice and NLU (AIM340) - AWS...Build an Intelligent Multi-Modal User Agent with Voice and NLU (AIM340) - AWS...
Build an Intelligent Multi-Modal User Agent with Voice and NLU (AIM340) - AWS...Amazon Web Services
 
Machine Learning Your Eight-Year-Old Would Be Proud Of (AIM390) - AWS re:Inve...
Machine Learning Your Eight-Year-Old Would Be Proud Of (AIM390) - AWS re:Inve...Machine Learning Your Eight-Year-Old Would Be Proud Of (AIM390) - AWS re:Inve...
Machine Learning Your Eight-Year-Old Would Be Proud Of (AIM390) - AWS re:Inve...Amazon Web Services
 
Build Deep Learning Applications Using PyTorch and Amazon SageMaker (AIM432-R...
Build Deep Learning Applications Using PyTorch and Amazon SageMaker (AIM432-R...Build Deep Learning Applications Using PyTorch and Amazon SageMaker (AIM432-R...
Build Deep Learning Applications Using PyTorch and Amazon SageMaker (AIM432-R...Amazon Web Services
 
Build Deep Learning Applications Using MXNet and Amazon SageMaker (AIM418) - ...
Build Deep Learning Applications Using MXNet and Amazon SageMaker (AIM418) - ...Build Deep Learning Applications Using MXNet and Amazon SageMaker (AIM418) - ...
Build Deep Learning Applications Using MXNet and Amazon SageMaker (AIM418) - ...Amazon Web Services
 

La actualidad más candente (20)

Create a Serverless Searchable Media Library (AIM342-R1) - AWS re:Invent 2018
Create a Serverless Searchable Media Library (AIM342-R1) - AWS re:Invent 2018Create a Serverless Searchable Media Library (AIM342-R1) - AWS re:Invent 2018
Create a Serverless Searchable Media Library (AIM342-R1) - AWS re:Invent 2018
 
Amazon, awsreinvent2018, Artificial Intelligence & Machine Learning, AIM422, ...
Amazon, awsreinvent2018, Artificial Intelligence & Machine Learning, AIM422, ...Amazon, awsreinvent2018, Artificial Intelligence & Machine Learning, AIM422, ...
Amazon, awsreinvent2018, Artificial Intelligence & Machine Learning, AIM422, ...
 
Deep Dive on Amazon Rekognition, ft. Tinder & News UK (AIM307-R) - AWS re:Inv...
Deep Dive on Amazon Rekognition, ft. Tinder & News UK (AIM307-R) - AWS re:Inv...Deep Dive on Amazon Rekognition, ft. Tinder & News UK (AIM307-R) - AWS re:Inv...
Deep Dive on Amazon Rekognition, ft. Tinder & News UK (AIM307-R) - AWS re:Inv...
 
Machine Learning at the Edge (AIM302) - AWS re:Invent 2018
Machine Learning at the Edge (AIM302) - AWS re:Invent 2018Machine Learning at the Edge (AIM302) - AWS re:Invent 2018
Machine Learning at the Edge (AIM302) - AWS re:Invent 2018
 
RoboMaker로 DeepRacer 자율 주행차 만들기 :: 유정열 - AWS Community Day 2019
RoboMaker로 DeepRacer 자율 주행차 만들기 :: 유정열 - AWS Community Day 2019 RoboMaker로 DeepRacer 자율 주행차 만들기 :: 유정열 - AWS Community Day 2019
RoboMaker로 DeepRacer 자율 주행차 만들기 :: 유정열 - AWS Community Day 2019
 
Hollywood's Cloud-Based Content Lakes: Modernized Media Archives (MAE203) - A...
Hollywood's Cloud-Based Content Lakes: Modernized Media Archives (MAE203) - A...Hollywood's Cloud-Based Content Lakes: Modernized Media Archives (MAE203) - A...
Hollywood's Cloud-Based Content Lakes: Modernized Media Archives (MAE203) - A...
 
Human-in-the-Loop for Machine Learning (AIM358-R1) - AWS re:Invent 2018
Human-in-the-Loop for Machine Learning (AIM358-R1) - AWS re:Invent 2018Human-in-the-Loop for Machine Learning (AIM358-R1) - AWS re:Invent 2018
Human-in-the-Loop for Machine Learning (AIM358-R1) - AWS re:Invent 2018
 
Deep Learning Applications Using PyTorch, Featuring Facebook (AIM402-R) - AWS...
Deep Learning Applications Using PyTorch, Featuring Facebook (AIM402-R) - AWS...Deep Learning Applications Using PyTorch, Featuring Facebook (AIM402-R) - AWS...
Deep Learning Applications Using PyTorch, Featuring Facebook (AIM402-R) - AWS...
 
Machine Learning for Improving Disaster Management and Response (WPS313) - AW...
Machine Learning for Improving Disaster Management and Response (WPS313) - AW...Machine Learning for Improving Disaster Management and Response (WPS313) - AW...
Machine Learning for Improving Disaster Management and Response (WPS313) - AW...
 
Smarter Event-Driven Edge with Amazon SageMaker & Project Flogo (AIM204-S) - ...
Smarter Event-Driven Edge with Amazon SageMaker & Project Flogo (AIM204-S) - ...Smarter Event-Driven Edge with Amazon SageMaker & Project Flogo (AIM204-S) - ...
Smarter Event-Driven Edge with Amazon SageMaker & Project Flogo (AIM204-S) - ...
 
Unlock the Full Potential of Your Media Assets, ft. Fox Entertainment Group (...
Unlock the Full Potential of Your Media Assets, ft. Fox Entertainment Group (...Unlock the Full Potential of Your Media Assets, ft. Fox Entertainment Group (...
Unlock the Full Potential of Your Media Assets, ft. Fox Entertainment Group (...
 
Detecting Financial Market Manipulation Using Machine Learning (AIM347) - AWS...
Detecting Financial Market Manipulation Using Machine Learning (AIM347) - AWS...Detecting Financial Market Manipulation Using Machine Learning (AIM347) - AWS...
Detecting Financial Market Manipulation Using Machine Learning (AIM347) - AWS...
 
Improve Your Customer Experience with Machine Translation (AIM321) - AWS re:I...
Improve Your Customer Experience with Machine Translation (AIM321) - AWS re:I...Improve Your Customer Experience with Machine Translation (AIM321) - AWS re:I...
Improve Your Customer Experience with Machine Translation (AIM321) - AWS re:I...
 
Build a Visual Search Engine Using Amazon SageMaker and AWS Fargate (AIM341) ...
Build a Visual Search Engine Using Amazon SageMaker and AWS Fargate (AIM341) ...Build a Visual Search Engine Using Amazon SageMaker and AWS Fargate (AIM341) ...
Build a Visual Search Engine Using Amazon SageMaker and AWS Fargate (AIM341) ...
 
Use Amazon Rekognition to Power Video Creative Asset Production (ADT202) - AW...
Use Amazon Rekognition to Power Video Creative Asset Production (ADT202) - AW...Use Amazon Rekognition to Power Video Creative Asset Production (ADT202) - AW...
Use Amazon Rekognition to Power Video Creative Asset Production (ADT202) - AW...
 
Sequence-to-Sequence Modeling with Apache MXNet, Sockeye, and Amazon SageMake...
Sequence-to-Sequence Modeling with Apache MXNet, Sockeye, and Amazon SageMake...Sequence-to-Sequence Modeling with Apache MXNet, Sockeye, and Amazon SageMake...
Sequence-to-Sequence Modeling with Apache MXNet, Sockeye, and Amazon SageMake...
 
Build an Intelligent Multi-Modal User Agent with Voice and NLU (AIM340) - AWS...
Build an Intelligent Multi-Modal User Agent with Voice and NLU (AIM340) - AWS...Build an Intelligent Multi-Modal User Agent with Voice and NLU (AIM340) - AWS...
Build an Intelligent Multi-Modal User Agent with Voice and NLU (AIM340) - AWS...
 
Machine Learning Your Eight-Year-Old Would Be Proud Of (AIM390) - AWS re:Inve...
Machine Learning Your Eight-Year-Old Would Be Proud Of (AIM390) - AWS re:Inve...Machine Learning Your Eight-Year-Old Would Be Proud Of (AIM390) - AWS re:Inve...
Machine Learning Your Eight-Year-Old Would Be Proud Of (AIM390) - AWS re:Inve...
 
Build Deep Learning Applications Using PyTorch and Amazon SageMaker (AIM432-R...
Build Deep Learning Applications Using PyTorch and Amazon SageMaker (AIM432-R...Build Deep Learning Applications Using PyTorch and Amazon SageMaker (AIM432-R...
Build Deep Learning Applications Using PyTorch and Amazon SageMaker (AIM432-R...
 
Build Deep Learning Applications Using MXNet and Amazon SageMaker (AIM418) - ...
Build Deep Learning Applications Using MXNet and Amazon SageMaker (AIM418) - ...Build Deep Learning Applications Using MXNet and Amazon SageMaker (AIM418) - ...
Build Deep Learning Applications Using MXNet and Amazon SageMaker (AIM418) - ...
 

Similar a Let’s Talk about Reinforcement Learning with Amazon SageMaker RL (AIM399) - AWS re:Invent 2018

[NEW LAUNCH!] Introducing Amazon SageMaker RL - Build and Train Reinforcement...
[NEW LAUNCH!] Introducing Amazon SageMaker RL - Build and Train Reinforcement...[NEW LAUNCH!] Introducing Amazon SageMaker RL - Build and Train Reinforcement...
[NEW LAUNCH!] Introducing Amazon SageMaker RL - Build and Train Reinforcement...Amazon Web Services
 
SageMaker로 강화학습(RL) 마스터링 :: 남궁선 - AWS Community Day 2019
SageMaker로 강화학습(RL) 마스터링 :: 남궁선 - AWS Community Day 2019SageMaker로 강화학습(RL) 마스터링 :: 남궁선 - AWS Community Day 2019
SageMaker로 강화학습(RL) 마스터링 :: 남궁선 - AWS Community Day 2019AWSKRUG - AWS한국사용자모임
 
Supercharge Your ML Model with SageMaker - AWS Summit Sydney 2018
Supercharge Your ML Model with SageMaker - AWS Summit Sydney 2018Supercharge Your ML Model with SageMaker - AWS Summit Sydney 2018
Supercharge Your ML Model with SageMaker - AWS Summit Sydney 2018Amazon Web Services
 
An Introduction to Reinforcement Learning with Amazon SageMaker
An Introduction to Reinforcement Learning with Amazon SageMakerAn Introduction to Reinforcement Learning with Amazon SageMaker
An Introduction to Reinforcement Learning with Amazon SageMakerAmazon Web Services
 
An Introduction to Reinforcement Learning (December 2018)
An Introduction to Reinforcement Learning (December 2018)An Introduction to Reinforcement Learning (December 2018)
An Introduction to Reinforcement Learning (December 2018)Julien SIMON
 
Build Your Recommendation Engine on AWS Today!
Build Your Recommendation Engine on AWS Today!Build Your Recommendation Engine on AWS Today!
Build Your Recommendation Engine on AWS Today!AWS Germany
 
Predicting the Future with Amazon SageMaker - AWS Summit Sydney 2018
Predicting the Future with Amazon SageMaker - AWS Summit Sydney 2018Predicting the Future with Amazon SageMaker - AWS Summit Sydney 2018
Predicting the Future with Amazon SageMaker - AWS Summit Sydney 2018Amazon Web Services
 
re:Invent Deep Dive on Amazon SageMaker, Amazon Forecast and Amazon Personalise
re:Invent Deep Dive on Amazon SageMaker, Amazon Forecast and Amazon Personalisere:Invent Deep Dive on Amazon SageMaker, Amazon Forecast and Amazon Personalise
re:Invent Deep Dive on Amazon SageMaker, Amazon Forecast and Amazon PersonaliseAmazon Web Services
 
AWS re:Invent 2018 - Machine Learning recap (December 2018)
AWS re:Invent 2018 - Machine Learning recap (December 2018)AWS re:Invent 2018 - Machine Learning recap (December 2018)
AWS re:Invent 2018 - Machine Learning recap (December 2018)Julien SIMON
 
Build Text Analytics Solutions with Amazon Comprehend and Amazon Translate
Build Text Analytics Solutions with Amazon Comprehend and Amazon TranslateBuild Text Analytics Solutions with Amazon Comprehend and Amazon Translate
Build Text Analytics Solutions with Amazon Comprehend and Amazon TranslateAmazon Web Services
 
Add Intelligence to Applications with AWS ML Services
Add Intelligence to Applications with AWS ML ServicesAdd Intelligence to Applications with AWS ML Services
Add Intelligence to Applications with AWS ML ServicesAmazon Web Services
 
Build Your Recommendation Engine on AWS Today - AWS Summit Berlin 2018
Build Your Recommendation Engine on AWS Today - AWS Summit Berlin 2018Build Your Recommendation Engine on AWS Today - AWS Summit Berlin 2018
Build Your Recommendation Engine on AWS Today - AWS Summit Berlin 2018Yotam Yarden
 
Optimise Energy Usage Using Amazon SageMaker Reinforcement Learning and Publi...
Optimise Energy Usage Using Amazon SageMaker Reinforcement Learning and Publi...Optimise Energy Usage Using Amazon SageMaker Reinforcement Learning and Publi...
Optimise Energy Usage Using Amazon SageMaker Reinforcement Learning and Publi...Amazon Web Services
 
Supercharge Your Machine Learning Model with Amazon SageMaker
Supercharge Your Machine Learning Model with Amazon SageMakerSupercharge Your Machine Learning Model with Amazon SageMaker
Supercharge Your Machine Learning Model with Amazon SageMakerAmazon Web Services
 
Getting Started with AIML Using Amazon Sagemaker_AWSPSSummit_Singapore
Getting Started with AIML Using Amazon Sagemaker_AWSPSSummit_SingaporeGetting Started with AIML Using Amazon Sagemaker_AWSPSSummit_Singapore
Getting Started with AIML Using Amazon Sagemaker_AWSPSSummit_SingaporeAmazon Web Services
 
AWS re:Invent 2018 - AIM302 - Machine Learning at the Edge
AWS re:Invent 2018 - AIM302  - Machine Learning at the Edge AWS re:Invent 2018 - AIM302  - Machine Learning at the Edge
AWS re:Invent 2018 - AIM302 - Machine Learning at the Edge Julien SIMON
 
Accelerate Machine Learning with Ease using Amazon SageMaker
Accelerate Machine Learning with Ease using Amazon SageMakerAccelerate Machine Learning with Ease using Amazon SageMaker
Accelerate Machine Learning with Ease using Amazon SageMakerAmazon Web Services
 
DataXDay - Machine learning models at scale with Amazon SageMaker
DataXDay - Machine learning models at scale with Amazon SageMaker DataXDay - Machine learning models at scale with Amazon SageMaker
DataXDay - Machine learning models at scale with Amazon SageMaker DataXDay Conference by Xebia
 
AI Services for Developers | AWS Floor28
AI Services for Developers | AWS Floor28AI Services for Developers | AWS Floor28
AI Services for Developers | AWS Floor28Amazon Web Services
 

Similar a Let’s Talk about Reinforcement Learning with Amazon SageMaker RL (AIM399) - AWS re:Invent 2018 (20)

[NEW LAUNCH!] Introducing Amazon SageMaker RL - Build and Train Reinforcement...
[NEW LAUNCH!] Introducing Amazon SageMaker RL - Build and Train Reinforcement...[NEW LAUNCH!] Introducing Amazon SageMaker RL - Build and Train Reinforcement...
[NEW LAUNCH!] Introducing Amazon SageMaker RL - Build and Train Reinforcement...
 
SageMaker로 강화학습(RL) 마스터링 :: 남궁선 - AWS Community Day 2019
SageMaker로 강화학습(RL) 마스터링 :: 남궁선 - AWS Community Day 2019SageMaker로 강화학습(RL) 마스터링 :: 남궁선 - AWS Community Day 2019
SageMaker로 강화학습(RL) 마스터링 :: 남궁선 - AWS Community Day 2019
 
Supercharge Your ML Model with SageMaker - AWS Summit Sydney 2018
Supercharge Your ML Model with SageMaker - AWS Summit Sydney 2018Supercharge Your ML Model with SageMaker - AWS Summit Sydney 2018
Supercharge Your ML Model with SageMaker - AWS Summit Sydney 2018
 
An Introduction to Reinforcement Learning with Amazon SageMaker
An Introduction to Reinforcement Learning with Amazon SageMakerAn Introduction to Reinforcement Learning with Amazon SageMaker
An Introduction to Reinforcement Learning with Amazon SageMaker
 
An Introduction to Reinforcement Learning (December 2018)
An Introduction to Reinforcement Learning (December 2018)An Introduction to Reinforcement Learning (December 2018)
An Introduction to Reinforcement Learning (December 2018)
 
Build Your Recommendation Engine on AWS Today!
Build Your Recommendation Engine on AWS Today!Build Your Recommendation Engine on AWS Today!
Build Your Recommendation Engine on AWS Today!
 
Predicting the Future with Amazon SageMaker - AWS Summit Sydney 2018
Predicting the Future with Amazon SageMaker - AWS Summit Sydney 2018Predicting the Future with Amazon SageMaker - AWS Summit Sydney 2018
Predicting the Future with Amazon SageMaker - AWS Summit Sydney 2018
 
re:Invent Deep Dive on Amazon SageMaker, Amazon Forecast and Amazon Personalise
re:Invent Deep Dive on Amazon SageMaker, Amazon Forecast and Amazon Personalisere:Invent Deep Dive on Amazon SageMaker, Amazon Forecast and Amazon Personalise
re:Invent Deep Dive on Amazon SageMaker, Amazon Forecast and Amazon Personalise
 
AWS re:Invent 2018 - Machine Learning recap (December 2018)
AWS re:Invent 2018 - Machine Learning recap (December 2018)AWS re:Invent 2018 - Machine Learning recap (December 2018)
AWS re:Invent 2018 - Machine Learning recap (December 2018)
 
Build Text Analytics Solutions with Amazon Comprehend and Amazon Translate
Build Text Analytics Solutions with Amazon Comprehend and Amazon TranslateBuild Text Analytics Solutions with Amazon Comprehend and Amazon Translate
Build Text Analytics Solutions with Amazon Comprehend and Amazon Translate
 
Add Intelligence to Applications with AWS ML Services
Add Intelligence to Applications with AWS ML ServicesAdd Intelligence to Applications with AWS ML Services
Add Intelligence to Applications with AWS ML Services
 
Build Your Recommendation Engine on AWS Today - AWS Summit Berlin 2018
Build Your Recommendation Engine on AWS Today - AWS Summit Berlin 2018Build Your Recommendation Engine on AWS Today - AWS Summit Berlin 2018
Build Your Recommendation Engine on AWS Today - AWS Summit Berlin 2018
 
Optimise Energy Usage Using Amazon SageMaker Reinforcement Learning and Publi...
Optimise Energy Usage Using Amazon SageMaker Reinforcement Learning and Publi...Optimise Energy Usage Using Amazon SageMaker Reinforcement Learning and Publi...
Optimise Energy Usage Using Amazon SageMaker Reinforcement Learning and Publi...
 
Supercharge Your Machine Learning Model with Amazon SageMaker
Supercharge Your Machine Learning Model with Amazon SageMakerSupercharge Your Machine Learning Model with Amazon SageMaker
Supercharge Your Machine Learning Model with Amazon SageMaker
 
Getting Started with AIML Using Amazon Sagemaker_AWSPSSummit_Singapore
Getting Started with AIML Using Amazon Sagemaker_AWSPSSummit_SingaporeGetting Started with AIML Using Amazon Sagemaker_AWSPSSummit_Singapore
Getting Started with AIML Using Amazon Sagemaker_AWSPSSummit_Singapore
 
AWS re:Invent 2018 - AIM302 - Machine Learning at the Edge
AWS re:Invent 2018 - AIM302  - Machine Learning at the Edge AWS re:Invent 2018 - AIM302  - Machine Learning at the Edge
AWS re:Invent 2018 - AIM302 - Machine Learning at the Edge
 
Amazon SageMaker In Action
Amazon SageMaker In Action Amazon SageMaker In Action
Amazon SageMaker In Action
 
Accelerate Machine Learning with Ease using Amazon SageMaker
Accelerate Machine Learning with Ease using Amazon SageMakerAccelerate Machine Learning with Ease using Amazon SageMaker
Accelerate Machine Learning with Ease using Amazon SageMaker
 
DataXDay - Machine learning models at scale with Amazon SageMaker
DataXDay - Machine learning models at scale with Amazon SageMaker DataXDay - Machine learning models at scale with Amazon SageMaker
DataXDay - Machine learning models at scale with Amazon SageMaker
 
AI Services for Developers | AWS Floor28
AI Services for Developers | AWS Floor28AI Services for Developers | AWS Floor28
AI Services for Developers | AWS Floor28
 

Más de Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

Más de Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Let’s Talk about Reinforcement Learning with Amazon SageMaker RL (AIM399) - AWS re:Invent 2018

  • 1.
  • 2. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Let’sTalk about Reinforcement Learning withAmazonSageMaker RL Sina Afrooze A I M 3 9 9
  • 3. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Agenda Introduction to Reinforcement Learning SageMaker RL example: Cartpole Overview of RL-Coach Introduction to SageMaker RL
  • 4. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 5. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. WhyReinforcement Learning
  • 6. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Reinforcement learning concepts Learn by interacting with the real world Model the real world problem as a simulation environment Trial and error Observe results Optimize learning strategy to maximize long term reward Model learns how to make complex decisions
  • 7. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Theprototypicalexample / keyconcepts State: • Position of the cart (x) • Velocity of the cart (v) • Position of the pole (θ) • Velocity of the pole (⍵) ⍵ θ x v ⍵ θ x v L Agent/policy actions: • Left (L) • Right (R)
  • 8. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Theprototypicalexample / keyconcepts ⍵ θ x v ⍵ θ x v L ⍵’ θ' x' v'
  • 9. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Howtolearn thepolicy? • maps states to an action • maximizes agent’s long term reward Reward + 0Reward + 1Reward + 1Reward + 1 11+0.91+0.9 + 0.81
  • 10. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Thepolicygradient algorithm • Stochastic policy to sample actions • Initialize with random weights • 100 episodes • Calculate gradients per decision made by the agent • Update weights
  • 11. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Keyconcepts
  • 12. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 13. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Typicalchallengesin running RLworkloads Difficult to get started RL agent algorithms are complex to implement Hard to integrate environments for training Training is computationally expensive and time consuming Requires trial and error & frequent tuning of hyperparameters
  • 14. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AmazonSageMaker RLmakes RLmore accessible Difficult to get started RL agent algorithms are complex to implement Hard to integrate environments for training Training is computationally expensive and time consuming Requires trial and error & frequent tuning of hyperparameters Difficult to get started RL agent algorithms are complex to implement Hard to integrate environments for training Single/ Distributed training; Local/ Remote environment Local mode for debugging; Automatic Model Tuning Pre-built environments for RL; numerous examples Support for RL agent algorithms Easy to integrate variety of simulation environments
  • 15. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AmazonSageMaker RL End-to-end examples for classic RL and real-world RL applications Robotics Industrial Control HVAC Autonomous Vehicles Operations Finance Games NLP Open AI Gym SageMaker supported Customer BYO
  • 16. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Scaletrainingfor production workloads Single/distributed Homogenous/ heterogeneous clusters Local/remote simulation environment Logging/metrics/ visualization High performance CPU/ GPU hardware
  • 17. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Run parallelsimulations
  • 18. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 19. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. RL-Coach offers stateof theartRLagent algorithmimplementations
  • 20. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. RL-Coach inAWSDeepRacer
  • 21. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 22. Thank you! © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Sina Afrooze Twitter: @sinafz
  • 23. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.