SlideShare a Scribd company logo
1 of 50
Download to read offline
Amazon AI – Strategy and Current
Offering
Guy Ernest, Amazon AI
gernest@amazon.com
Why we talk about AI & ML?
How to be successful in Business
E*
BI
RT
ML
EC2
ECS
Elastic Beanstalk
Redshift
EMR
Athena
Kinesis*
ElasticSearch
ElastiCache Amazon ML
Amazon AI
Spark ML
Deep Learning AMI
Why we talk about AI & ML?
Why we talk about AI & ML?
The circle of ML
Front-End team
Data Engineering team
Analysts / DS team
DevOps team
Business Problem
Data
ML Model
ML Application
The circle of ML
Front-End team
Data Engineering team
Analysts / DS team
DevOps team
Business Problem
Data
ML Model
ML Application
S3
EMR
Kinesis *
Redshift
Athena
Glue
ECS
Lambda
API-GW
Code *
DMS
EB
P2
Spot
Batch IoT
GreenGrass
FPGA
The circle of ML
Front-End team
Data Engineering team
Analysts / DS team
DevOps team
Business Problem
Data
ML Data
ML Application
Heavy Lifting by AWS
Dive Deep as much as you need
Hardware - Distributed computing, GPU, FPGA, Green Grass
DL - MXNet, TensorFlow, Caffe, Torch, Theano
Platform – Data Science Environment (Spark on EMR, R …)
Simple API Services
Usage&Simplicity
Control
What do you need to know to
use Machine Learning?
ML Model is a function to split Space
Historical Data Model Building Prediction
What is my color?
And what is mine?
MNIST dataset in t-SNE
Why more data is better?
Less Data More Data Even More Data
Why more attributes are better?
Less Attributes More Attributes Even More Attributes
Where to Split?
Data
Engineering
Why Clean Data is better?
Messy Data Cleaner Data Fantasy Data
Gray Area
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Please watch the re:invent session - https://youtu.be/mACZ9EPUhe8
Amazon Polly
A service that turns text into lifelike speech
What is Amazon Polly
• A service that converts text into lifelike speech
• Offers 47 lifelike voices across 24 languages
• Low latency responses enable developers to build
real-time systems
• Developers can store, replay and distribute generated
speech
Amazon Polly: Quality
Natural sounding speech
A subjective measure of how close TTS output is to human speech.
Accurate text processing
Ability of the system to interpret common text formats such as abbreviations, numerical
sequences, homographs etc.
Today in Las Vegas, NV it's 54°F.
"We live for the music", live from the Madison Square Garden.
Highly intelligibile
A measure of how comprehensible speech is.
”Peter Piper picked a peck of pickled peppers.”
Amazon Polly: Language Portfolio
Americas:
• Brazilian Portuguese
• Canadian French
• English (US)
• Spanish (US)
A-PAC:
• Australian English
• Indian English
• Japanese
EMEA:
• British English
• Danish
• Dutch
• French
• German
• Icelandic
• Italian
• Norwegian
• Polish
• Portuguese
• Romanian
• Russian
• Spanish
• Swedish
• Turkish
• Welsh
• Welsh English
Recording Data for TTS
Tons of text
Recording script:
Few weeks of
recordings
Automatic
selection of
texts
Recording script:
• Covers all combinations of diphones
and significant features in a language
an error occurred while searching for your route
because snaps weren't all so obedient anymore,
now we say apple again. and we say apple,
general electric soars today. information on general electric
quick breads, zucchini, holiday, crock pot, cake,
so are you still keeping tabs on your old team,
that weighs more than four tons, disrupts the herring's
swim
…
An apple a day, keeps …
Amazon Polly is cost-effective
• Pay-as-You-go
• $4 for 1M characters
• Free Tier of 5M characters/month - first year
• You can store and reuse generated speech
Why voice matters
• Spoken language crucial for
language learning
• Accurate pronunciation matters
• Faster iteration thanks to TTS
• As good as natural human speech
GoAnimate is a cloud-based, animated video creation
plarform.
Amazon Polly gives
GoAnimate users the ability
to immediately give voice to
the characters they animate
using our platform.
Alvin Hung
CEO, GoAnimate
”
“ • Multi-language communication
• Training or HR professionals who
have to create content in many
languages
• Video preproduction
• Video makers who need to iterate
and fine-tune before the text-to-
speech is eventually replaced by a
professional voiceover
• K–12 education
• Students who make videos and
don’t have access to professional
voices or time for or knowledge of
voiceover
With Polly, GoAnimate gives voice to the characters in their animations
Royal National Institute of Blind People creates and
distributes accessible information in the form of
synthesized content
Amazon Polly delivers
incredibly lifelike voices which
captivate and engage our
readers.
John Worsfold
Solutions Implementation Manager, RNIB
”
“ • RNIB delivers largest library of
audiobooks in the UK for nearly 2
million people with sight loss
• Naturalness of generated speech is
critical to captivate and engage readers
• No restrictions on speech
redistributions enables RNIB to create
and distribute accessible information in
a form of synthesized content
RNIB provides the largest library in the UK for people with sight loss
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Please watch the re:invent session: https://youtu.be/I5OlTMLinio
Introducing Amazon Lex
Service for Building Voice or Text Chatbots
Advent of Conversational Interactions
1st Gen:
Punch Cards & Memory Registers
2nd Gen:
Pointers & Sliders
3nd Gen:
Conversational Interfaces
Developer Challenges
Speech
Recognition Language
Understanding
Business Logic
Disparate
Systems
Authentication
Messaging
platforms
Scale Testing
Security
Availability
Mobile
Conversational interfaces need to combine a large number of
sophisticated algorithms and technologies
Amazon Lex - Features
Text and Speech language understanding: Powered by the same technology as
Alexa
Enterprise SaaS Connectors: Connect to enterprise systems
Deployment to chat services
Designed for Builders: Efficient and intuitive tools to build
conversations; scales automatically
Versioning and alias support
AWS Mobile Hub Integration
Authenticate users
Analyze user behavior
Store and share media
Synchronize data
More ….
Track retention
Conversational Bots
LexAWS Mobile SDKs
AWS Mobile Hub
Enterprise Connectors with Mobile Hub
Amazon Lex
Mobile App
Mobile Hub
SaaS Connector
Amazon API
Gateway
AWS
Lambda
1: Understand
user intent
Amazon API
Gateway
AWS
Lambda
3: Translate REST
response into
natural language
Mobile Hub
Custom Connector
2: Invoke a SaaS
application or an existing
business application
Business
Application
Firewall
User Input
Amazon Lex – Use Cases
Informational Bots
Chatbots for everyday consumer requests
Application Bots
Build powerful interfaces to mobile applications
• News updates
• Weather information
• Game scores ….
• Book tickets
• Order food
• Manage bank accounts ….
Enterprise Productivity Bots
Streamline enterprise work activities and improve efficiencies
• Check sales numbers
• Marketing performance
• Inventory status ….
Internet of Things (IoT) Bots
Enable conversational interfaces for device interactions
• Wearables
• Appliances
• Auto ….
Lex Bot Structure
Utterances
Spoken or typed phrases that invoke
your intent
BookHotel
Intents
An Intent performs an action in
response to natural language user
input
Slots
Slots are input data required to fulfill
the intent
Fulfillment
Fulfillment mechanism for your intent
Fulfillment
AWS Lambda Integration Return to Client
User input parsed to derive
intents and slot values. Output
returned to client for further
processing.
Intents and slots passed to
AWS Lambda function for
business logic
implementation.
Customer Testimonials: Capital One
“A highly scalable solution, it also offers potential to speed time to market for a new generation of voice
and text interactions such as our recently launched Capital One skill for Alexa.”
“As a heavy user of AWS, Amazon Lex’s seamless integration with
other AWS services like AWS Lambda and AWS DynamoDB is really
appealing.”
Customer Testimonials: HubSpot
“Through Amazon's Lex, we're adding sophisticated natural language processing capabilities that helps
GrowthBot provide a more intuitive UI for our users. Amazon Lex lets us take advantage of advanced A.I.
and machine learning without having to code the algorithms ourselves.”
“HubSpot's GrowthBot is an all-in-one chatbot which helps marketers and sales people
be more productive by providing access to relevant data and services using a
conversational interface. With GrowthBot, marketers can get help creating content,
researching competitors, and monitoring their analytics.”
Amazon Lex Pricing
Text Speech
Price per 1000 requests $0.75 $4.00
Free Tier*
(requests per month) 10,000 5,000
*Available for the first year upon sign-up to new Amazon Lex customers
Amazon Lex - Technology
Amazon Lex
Automatic Speech
Recognition (ASR)
Natural Language
Understanding (NLU)
Same technology that powers Alexa
Cognito CloudTrail CloudWatch
AWS Services
Action
AWS Lambda
Authentication
& Visibility
Speech
API
Language
API
Fulfillment
End-Users
Developers
Console
SDK
Intents,
Slots,
Prompts,
Utterances
Input:
Speech
or Text
Multi-Platform Clients:
Mobile, IoT, Web,
Chat
API
Response:
Speech (via Polly TTS)
or Text
Alexa or Lex
• Alexa is coming with the eco-system (devices, install
base, 1st party and 3rd party skills)
• Lex is for single tenant chatbot to integrate with own
users
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Please watch the re:invent session: https://www.youtube.com/watch?v=fk-TxySUAzw
Introducing Amazon Rekognitin
Deep Learning image and facial recognition service
Significantly improve many applications on multiple domains
“deep learning” trend in the past 10 years
image understanding speech recognition natural language
processing
…
Deep Learning
autonomy
0.2
-0.1
...
0.7
Input Output
1 1 1
1 0 1
0 0 0
3
mx.sym.Pooling(data, pool_type="max", kernel=(2,2), stride=(2,2)
lstm.lstm_unroll(num_lstm_layer, seq_len, len, num_hidden, num_embed)
4 2
2 0
4=Max
1
3
...
4
0.2
-0.1
...
0.7
mx.sym.FullyConnected(data, num_hidden=128)
2
mx.symbol.Embedding(data, input_dim, output_dim = k)
Queen
4 2
2 0
2=Avg
Input Weights
cos(w, queen) = cos(w, king) - cos(w, man) + cos(w, woman)
mx.sym.Activation(data, act_type="xxxx")
"relu"
"tanh"
"sigmoid"
"softrelu"
Neural Art
Face Search
Image Segmentation
Image Caption
“People Riding Bikes”
Bicycle, People,
Road, Sport
Image Labels
Image
Video
Speech
Text
“People Riding Bikes”
Machine Translation
“Οι άνθρωποι
ιππασίας ποδήλατα”
Events
mx.model.FeedForward model.fit
mx.sym.SoftmaxOutput
Anatomy of a Deep Learning Model
mx.sym.Convolution(data, kernel=(5,5), num_filter=20)
Anatomy of a Deep Learning Model
TX1 on Flying Drone
TX1 with customized board
Drone
Realtime detection and tracking on TX1
~10 frame/sec with 640x480 resolution
Deploy Everywhere
Beyond
BlindTool by Joseph Paul Cohen, demo on Nexus 4
✦ Fit the core library with all
dependencies into a single
C++ source file
✦ Easy to compile on
…
Amalgamation
Runs in browser
with Javascript
The first image for
search “dog” at
images.google.com
Outputs “beagle”
with prob = 73%
within 1 sec
New P2 Instance | Up to 16 GPUs
 This new instance type incorporates up to 8 NVIDIA Tesla K80 Accelerators,
each running a pair of NVIDIA GK210 GPUs.
 Each GPU provides 12 GiB of memory (accessible via 240 GB/second of
memory bandwidth), and 2,496 parallel processing cores.
 Available in PDX, IAD and DUB Regions
Instance Name GPU Count vCPU Count Memory
Parallel Processing
Cores
GPU Memory
Network
Performance
p2.xlarge 1 4 61 GiB 2,496 12 GiB High
p2.8xlarge 8 32 488 GiB 19,968 96 GiB 10 Gigabit
p2.16xlarge 16 64 732 GiB 39,936 192 GiB 20 Gigabit
Distributed Experiments
Google Inception v3
Increasing machines
from 1 to 47
2x faster than
TensorFlow if using
more than 10 machines
[from Carlos Gustrin DSS’16 keynote]

More Related Content

What's hot

Aws for Startups Building Cloud Enabled Apps
Aws for Startups Building Cloud Enabled AppsAws for Startups Building Cloud Enabled Apps
Aws for Startups Building Cloud Enabled Apps
Amazon Web Services
 

What's hot (20)

Seamlessly Extend Your Datacenter to the Cloud with Commvault on AWS
Seamlessly Extend Your Datacenter to the Cloud with Commvault on AWSSeamlessly Extend Your Datacenter to the Cloud with Commvault on AWS
Seamlessly Extend Your Datacenter to the Cloud with Commvault on AWS
 
Welcome Keynote - AWS Summit Stockholm
Welcome Keynote - AWS Summit Stockholm Welcome Keynote - AWS Summit Stockholm
Welcome Keynote - AWS Summit Stockholm
 
Aws for Startups Building Cloud Enabled Apps
Aws for Startups Building Cloud Enabled AppsAws for Startups Building Cloud Enabled Apps
Aws for Startups Building Cloud Enabled Apps
 
AWS re:Invent 2016: What’s New with Amazon Redshift (BDA304)
AWS re:Invent 2016: What’s New with Amazon Redshift (BDA304)AWS re:Invent 2016: What’s New with Amazon Redshift (BDA304)
AWS re:Invent 2016: What’s New with Amazon Redshift (BDA304)
 
Getting Started with AWS Internet of Things - AWS Summit Cape Town 2017
Getting Started with AWS Internet of Things - AWS Summit Cape Town 2017Getting Started with AWS Internet of Things - AWS Summit Cape Town 2017
Getting Started with AWS Internet of Things - AWS Summit Cape Town 2017
 
Casi reali di Mass Migration nel Cloud: benefici tangibili ed intangibili
Casi reali di Mass Migration nel Cloud: benefici tangibili ed intangibiliCasi reali di Mass Migration nel Cloud: benefici tangibili ed intangibili
Casi reali di Mass Migration nel Cloud: benefici tangibili ed intangibili
 
Scaling the Platform for Your Startup
Scaling the Platform for Your StartupScaling the Platform for Your Startup
Scaling the Platform for Your Startup
 
Building your Datalake on AWS
Building your Datalake on AWSBuilding your Datalake on AWS
Building your Datalake on AWS
 
Opening Keynote - AWS Summit SG 2017
Opening Keynote - AWS Summit SG 2017Opening Keynote - AWS Summit SG 2017
Opening Keynote - AWS Summit SG 2017
 
AWS Welcome to re:Invent recap - 20161214
AWS Welcome to re:Invent recap - 20161214AWS Welcome to re:Invent recap - 20161214
AWS Welcome to re:Invent recap - 20161214
 
Build a Website on AWS for Your First 10 Million Users
Build a Website on AWS for Your First 10 Million UsersBuild a Website on AWS for Your First 10 Million Users
Build a Website on AWS for Your First 10 Million Users
 
Startups at AWS
Startups at AWSStartups at AWS
Startups at AWS
 
Deep Dive on Microservices and Docker - AWS Summit Cape Town 2017
Deep Dive on Microservices and Docker - AWS Summit Cape Town 2017Deep Dive on Microservices and Docker - AWS Summit Cape Town 2017
Deep Dive on Microservices and Docker - AWS Summit Cape Town 2017
 
Building and Managing Scalable Applications on AWS: 1 to 500K users
Building and Managing Scalable Applications on AWS: 1 to 500K usersBuilding and Managing Scalable Applications on AWS: 1 to 500K users
Building and Managing Scalable Applications on AWS: 1 to 500K users
 
Introduction to Cloud Computing with Amazon Web Services
Introduction to Cloud Computing with Amazon Web ServicesIntroduction to Cloud Computing with Amazon Web Services
Introduction to Cloud Computing with Amazon Web Services
 
Artificial Intelligence on the AWS Cloud - AWS Innovate Ottawa
Artificial Intelligence on the AWS Cloud - AWS Innovate OttawaArtificial Intelligence on the AWS Cloud - AWS Innovate Ottawa
Artificial Intelligence on the AWS Cloud - AWS Innovate Ottawa
 
AWS in Media: Cloud and Serverless Architectures
AWS in Media: Cloud and Serverless ArchitecturesAWS in Media: Cloud and Serverless Architectures
AWS in Media: Cloud and Serverless Architectures
 
WKS402B Well-Architected Workshop
WKS402B Well-Architected WorkshopWKS402B Well-Architected Workshop
WKS402B Well-Architected Workshop
 
Amazon RDS_Deep Dive - SRV310
Amazon RDS_Deep Dive - SRV310 Amazon RDS_Deep Dive - SRV310
Amazon RDS_Deep Dive - SRV310
 
AWS Summit - Brisbane 2014 - Keynote
AWS Summit - Brisbane 2014 - KeynoteAWS Summit - Brisbane 2014 - Keynote
AWS Summit - Brisbane 2014 - Keynote
 

Similar to AWS Artificial Intelligence Day - Toronto

Building speech enabled products with Amazon Polly & Amazon Lex
Building speech enabled products with Amazon Polly & Amazon LexBuilding speech enabled products with Amazon Polly & Amazon Lex
Building speech enabled products with Amazon Polly & Amazon Lex
Amazon Web Services
 
An Overview of AI at AWS - Amazon Lex, Amazon Polly, Amazon Rekognition - Dev...
An Overview of AI at AWS - Amazon Lex, Amazon Polly, Amazon Rekognition - Dev...An Overview of AI at AWS - Amazon Lex, Amazon Polly, Amazon Rekognition - Dev...
An Overview of AI at AWS - Amazon Lex, Amazon Polly, Amazon Rekognition - Dev...
Amazon Web Services
 
Building Speech Enabled Products with Amazon Polly & Amazon Lex
Building Speech Enabled Products with Amazon Polly & Amazon LexBuilding Speech Enabled Products with Amazon Polly & Amazon Lex
Building Speech Enabled Products with Amazon Polly & Amazon Lex
Amazon Web Services
 

Similar to AWS Artificial Intelligence Day - Toronto (20)

Artificial Intelligence on AWS
Artificial Intelligence on AWS Artificial Intelligence on AWS
Artificial Intelligence on AWS
 
New Artificial Intelligence and IoT Services (Lex, Polly, Rekognition, Greeng...
New Artificial Intelligence and IoT Services (Lex, Polly, Rekognition, Greeng...New Artificial Intelligence and IoT Services (Lex, Polly, Rekognition, Greeng...
New Artificial Intelligence and IoT Services (Lex, Polly, Rekognition, Greeng...
 
Amazon AI (February 2017)
Amazon AI (February 2017)Amazon AI (February 2017)
Amazon AI (February 2017)
 
AWS Summit Singapore - Machine Learning in Practice
AWS Summit Singapore - Machine Learning in PracticeAWS Summit Singapore - Machine Learning in Practice
AWS Summit Singapore - Machine Learning in Practice
 
Building speech enabled products with Amazon Polly & Amazon Lex
Building speech enabled products with Amazon Polly & Amazon LexBuilding speech enabled products with Amazon Polly & Amazon Lex
Building speech enabled products with Amazon Polly & Amazon Lex
 
Better Accessibility with Lex, Polly, and Alexa | AWS Public Sector Summit 2017
Better Accessibility with Lex, Polly, and Alexa | AWS Public Sector Summit 2017Better Accessibility with Lex, Polly, and Alexa | AWS Public Sector Summit 2017
Better Accessibility with Lex, Polly, and Alexa | AWS Public Sector Summit 2017
 
An Overview of AI at AWS - Amazon Lex, Amazon Polly, Amazon Rekognition - Dev...
An Overview of AI at AWS - Amazon Lex, Amazon Polly, Amazon Rekognition - Dev...An Overview of AI at AWS - Amazon Lex, Amazon Polly, Amazon Rekognition - Dev...
An Overview of AI at AWS - Amazon Lex, Amazon Polly, Amazon Rekognition - Dev...
 
Overview of Artificial Intelligence at AWS - DevDay Los Angeles 2017
Overview of Artificial Intelligence at AWS - DevDay Los Angeles 2017Overview of Artificial Intelligence at AWS - DevDay Los Angeles 2017
Overview of Artificial Intelligence at AWS - DevDay Los Angeles 2017
 
Building Speech Enabled Products with Amazon Polly & Amazon Lex
Building Speech Enabled Products with Amazon Polly & Amazon LexBuilding Speech Enabled Products with Amazon Polly & Amazon Lex
Building Speech Enabled Products with Amazon Polly & Amazon Lex
 
Getting Started with Amazon Lex - AWS Summit Cape Town 2017
Getting Started with Amazon Lex  - AWS Summit Cape Town 2017 Getting Started with Amazon Lex  - AWS Summit Cape Town 2017
Getting Started with Amazon Lex - AWS Summit Cape Town 2017
 
Introduction to Artificial Intelligence (AI)
Introduction to Artificial Intelligence (AI)Introduction to Artificial Intelligence (AI)
Introduction to Artificial Intelligence (AI)
 
How Amazon AI Can Help You Transform Your Education Business | AWS Webinar
How Amazon AI Can Help You Transform Your Education Business | AWS WebinarHow Amazon AI Can Help You Transform Your Education Business | AWS Webinar
How Amazon AI Can Help You Transform Your Education Business | AWS Webinar
 
Building Speech Enabled Products with Amazon Polly & Amazon Lex
Building Speech Enabled Products with Amazon Polly & Amazon LexBuilding Speech Enabled Products with Amazon Polly & Amazon Lex
Building Speech Enabled Products with Amazon Polly & Amazon Lex
 
Building Speech Enabled Products with Amazon Polly & Amazon Lex
Building Speech Enabled Products with Amazon Polly & Amazon LexBuilding Speech Enabled Products with Amazon Polly & Amazon Lex
Building Speech Enabled Products with Amazon Polly & Amazon Lex
 
Build Text Analytics Solutions with AWS ML Services: Machine Learning Worksho...
Build Text Analytics Solutions with AWS ML Services: Machine Learning Worksho...Build Text Analytics Solutions with AWS ML Services: Machine Learning Worksho...
Build Text Analytics Solutions with AWS ML Services: Machine Learning Worksho...
 
BDA306 NEW LAUNCH! An Introduction to Amazon Lex, your service for building v...
BDA306 NEW LAUNCH! An Introduction to Amazon Lex, your service for building v...BDA306 NEW LAUNCH! An Introduction to Amazon Lex, your service for building v...
BDA306 NEW LAUNCH! An Introduction to Amazon Lex, your service for building v...
 
re:Invent Recap keynote - An introduction to the latest AWS services
re:Invent Recap keynote  - An introduction to the latest AWS servicesre:Invent Recap keynote  - An introduction to the latest AWS services
re:Invent Recap keynote - An introduction to the latest AWS services
 
使用 Amazon Lex 在應用程式中建立對話式機器人
使用 Amazon Lex 在應用程式中建立對話式機器人 使用 Amazon Lex 在應用程式中建立對話式機器人
使用 Amazon Lex 在應用程式中建立對話式機器人
 
BDA310 An Introduction to the AI services at AWS
BDA310 An Introduction to the AI services at AWSBDA310 An Introduction to the AI services at AWS
BDA310 An Introduction to the AI services at AWS
 
MCL308_Using a Digital Assistant in the Enterprise for Business Productivity
MCL308_Using a Digital Assistant in the Enterprise for Business ProductivityMCL308_Using a Digital Assistant in the Enterprise for Business Productivity
MCL308_Using a Digital Assistant in the Enterprise for Business Productivity
 

More from Amazon 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 AWS
Amazon 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 Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon 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
 

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

AWS Artificial Intelligence Day - Toronto

  • 1. Amazon AI – Strategy and Current Offering Guy Ernest, Amazon AI gernest@amazon.com
  • 2. Why we talk about AI & ML?
  • 3. How to be successful in Business E* BI RT ML EC2 ECS Elastic Beanstalk Redshift EMR Athena Kinesis* ElasticSearch ElastiCache Amazon ML Amazon AI Spark ML Deep Learning AMI
  • 4. Why we talk about AI & ML?
  • 5.
  • 6.
  • 7. Why we talk about AI & ML?
  • 8. The circle of ML Front-End team Data Engineering team Analysts / DS team DevOps team Business Problem Data ML Model ML Application
  • 9. The circle of ML Front-End team Data Engineering team Analysts / DS team DevOps team Business Problem Data ML Model ML Application S3 EMR Kinesis * Redshift Athena Glue ECS Lambda API-GW Code * DMS EB P2 Spot Batch IoT GreenGrass FPGA
  • 10. The circle of ML Front-End team Data Engineering team Analysts / DS team DevOps team Business Problem Data ML Data ML Application Heavy Lifting by AWS
  • 11. Dive Deep as much as you need Hardware - Distributed computing, GPU, FPGA, Green Grass DL - MXNet, TensorFlow, Caffe, Torch, Theano Platform – Data Science Environment (Spark on EMR, R …) Simple API Services Usage&Simplicity Control
  • 12. What do you need to know to use Machine Learning?
  • 13. ML Model is a function to split Space Historical Data Model Building Prediction What is my color? And what is mine?
  • 15. Why more data is better? Less Data More Data Even More Data
  • 16. Why more attributes are better? Less Attributes More Attributes Even More Attributes Where to Split?
  • 18. Why Clean Data is better? Messy Data Cleaner Data Fantasy Data Gray Area
  • 19. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Please watch the re:invent session - https://youtu.be/mACZ9EPUhe8 Amazon Polly A service that turns text into lifelike speech
  • 20. What is Amazon Polly • A service that converts text into lifelike speech • Offers 47 lifelike voices across 24 languages • Low latency responses enable developers to build real-time systems • Developers can store, replay and distribute generated speech
  • 21. Amazon Polly: Quality Natural sounding speech A subjective measure of how close TTS output is to human speech. Accurate text processing Ability of the system to interpret common text formats such as abbreviations, numerical sequences, homographs etc. Today in Las Vegas, NV it's 54°F. "We live for the music", live from the Madison Square Garden. Highly intelligibile A measure of how comprehensible speech is. ”Peter Piper picked a peck of pickled peppers.”
  • 22. Amazon Polly: Language Portfolio Americas: • Brazilian Portuguese • Canadian French • English (US) • Spanish (US) A-PAC: • Australian English • Indian English • Japanese EMEA: • British English • Danish • Dutch • French • German • Icelandic • Italian • Norwegian • Polish • Portuguese • Romanian • Russian • Spanish • Swedish • Turkish • Welsh • Welsh English
  • 23. Recording Data for TTS Tons of text Recording script: Few weeks of recordings Automatic selection of texts Recording script: • Covers all combinations of diphones and significant features in a language
  • 24. an error occurred while searching for your route because snaps weren't all so obedient anymore, now we say apple again. and we say apple, general electric soars today. information on general electric quick breads, zucchini, holiday, crock pot, cake, so are you still keeping tabs on your old team, that weighs more than four tons, disrupts the herring's swim … An apple a day, keeps …
  • 25. Amazon Polly is cost-effective • Pay-as-You-go • $4 for 1M characters • Free Tier of 5M characters/month - first year • You can store and reuse generated speech
  • 26.
  • 27. Why voice matters • Spoken language crucial for language learning • Accurate pronunciation matters • Faster iteration thanks to TTS • As good as natural human speech
  • 28. GoAnimate is a cloud-based, animated video creation plarform. Amazon Polly gives GoAnimate users the ability to immediately give voice to the characters they animate using our platform. Alvin Hung CEO, GoAnimate ” “ • Multi-language communication • Training or HR professionals who have to create content in many languages • Video preproduction • Video makers who need to iterate and fine-tune before the text-to- speech is eventually replaced by a professional voiceover • K–12 education • Students who make videos and don’t have access to professional voices or time for or knowledge of voiceover With Polly, GoAnimate gives voice to the characters in their animations
  • 29. Royal National Institute of Blind People creates and distributes accessible information in the form of synthesized content Amazon Polly delivers incredibly lifelike voices which captivate and engage our readers. John Worsfold Solutions Implementation Manager, RNIB ” “ • RNIB delivers largest library of audiobooks in the UK for nearly 2 million people with sight loss • Naturalness of generated speech is critical to captivate and engage readers • No restrictions on speech redistributions enables RNIB to create and distribute accessible information in a form of synthesized content RNIB provides the largest library in the UK for people with sight loss
  • 30. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Please watch the re:invent session: https://youtu.be/I5OlTMLinio Introducing Amazon Lex Service for Building Voice or Text Chatbots
  • 31. Advent of Conversational Interactions 1st Gen: Punch Cards & Memory Registers 2nd Gen: Pointers & Sliders 3nd Gen: Conversational Interfaces
  • 32. Developer Challenges Speech Recognition Language Understanding Business Logic Disparate Systems Authentication Messaging platforms Scale Testing Security Availability Mobile Conversational interfaces need to combine a large number of sophisticated algorithms and technologies
  • 33. Amazon Lex - Features Text and Speech language understanding: Powered by the same technology as Alexa Enterprise SaaS Connectors: Connect to enterprise systems Deployment to chat services Designed for Builders: Efficient and intuitive tools to build conversations; scales automatically Versioning and alias support
  • 34. AWS Mobile Hub Integration Authenticate users Analyze user behavior Store and share media Synchronize data More …. Track retention Conversational Bots LexAWS Mobile SDKs AWS Mobile Hub
  • 35. Enterprise Connectors with Mobile Hub Amazon Lex Mobile App Mobile Hub SaaS Connector Amazon API Gateway AWS Lambda 1: Understand user intent Amazon API Gateway AWS Lambda 3: Translate REST response into natural language Mobile Hub Custom Connector 2: Invoke a SaaS application or an existing business application Business Application Firewall User Input
  • 36. Amazon Lex – Use Cases Informational Bots Chatbots for everyday consumer requests Application Bots Build powerful interfaces to mobile applications • News updates • Weather information • Game scores …. • Book tickets • Order food • Manage bank accounts …. Enterprise Productivity Bots Streamline enterprise work activities and improve efficiencies • Check sales numbers • Marketing performance • Inventory status …. Internet of Things (IoT) Bots Enable conversational interfaces for device interactions • Wearables • Appliances • Auto ….
  • 37. Lex Bot Structure Utterances Spoken or typed phrases that invoke your intent BookHotel Intents An Intent performs an action in response to natural language user input Slots Slots are input data required to fulfill the intent Fulfillment Fulfillment mechanism for your intent
  • 38. Fulfillment AWS Lambda Integration Return to Client User input parsed to derive intents and slot values. Output returned to client for further processing. Intents and slots passed to AWS Lambda function for business logic implementation.
  • 39. Customer Testimonials: Capital One “A highly scalable solution, it also offers potential to speed time to market for a new generation of voice and text interactions such as our recently launched Capital One skill for Alexa.” “As a heavy user of AWS, Amazon Lex’s seamless integration with other AWS services like AWS Lambda and AWS DynamoDB is really appealing.”
  • 40. Customer Testimonials: HubSpot “Through Amazon's Lex, we're adding sophisticated natural language processing capabilities that helps GrowthBot provide a more intuitive UI for our users. Amazon Lex lets us take advantage of advanced A.I. and machine learning without having to code the algorithms ourselves.” “HubSpot's GrowthBot is an all-in-one chatbot which helps marketers and sales people be more productive by providing access to relevant data and services using a conversational interface. With GrowthBot, marketers can get help creating content, researching competitors, and monitoring their analytics.”
  • 41. Amazon Lex Pricing Text Speech Price per 1000 requests $0.75 $4.00 Free Tier* (requests per month) 10,000 5,000 *Available for the first year upon sign-up to new Amazon Lex customers
  • 42. Amazon Lex - Technology Amazon Lex Automatic Speech Recognition (ASR) Natural Language Understanding (NLU) Same technology that powers Alexa Cognito CloudTrail CloudWatch AWS Services Action AWS Lambda Authentication & Visibility Speech API Language API Fulfillment End-Users Developers Console SDK Intents, Slots, Prompts, Utterances Input: Speech or Text Multi-Platform Clients: Mobile, IoT, Web, Chat API Response: Speech (via Polly TTS) or Text
  • 43. Alexa or Lex • Alexa is coming with the eco-system (devices, install base, 1st party and 3rd party skills) • Lex is for single tenant chatbot to integrate with own users
  • 44. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Please watch the re:invent session: https://www.youtube.com/watch?v=fk-TxySUAzw Introducing Amazon Rekognitin Deep Learning image and facial recognition service
  • 45. Significantly improve many applications on multiple domains “deep learning” trend in the past 10 years image understanding speech recognition natural language processing … Deep Learning autonomy
  • 46. 0.2 -0.1 ... 0.7 Input Output 1 1 1 1 0 1 0 0 0 3 mx.sym.Pooling(data, pool_type="max", kernel=(2,2), stride=(2,2) lstm.lstm_unroll(num_lstm_layer, seq_len, len, num_hidden, num_embed) 4 2 2 0 4=Max 1 3 ... 4 0.2 -0.1 ... 0.7 mx.sym.FullyConnected(data, num_hidden=128) 2 mx.symbol.Embedding(data, input_dim, output_dim = k) Queen 4 2 2 0 2=Avg Input Weights cos(w, queen) = cos(w, king) - cos(w, man) + cos(w, woman) mx.sym.Activation(data, act_type="xxxx") "relu" "tanh" "sigmoid" "softrelu" Neural Art Face Search Image Segmentation Image Caption “People Riding Bikes” Bicycle, People, Road, Sport Image Labels Image Video Speech Text “People Riding Bikes” Machine Translation “Οι άνθρωποι ιππασίας ποδήλατα” Events mx.model.FeedForward model.fit mx.sym.SoftmaxOutput Anatomy of a Deep Learning Model mx.sym.Convolution(data, kernel=(5,5), num_filter=20) Anatomy of a Deep Learning Model
  • 47. TX1 on Flying Drone TX1 with customized board Drone Realtime detection and tracking on TX1 ~10 frame/sec with 640x480 resolution
  • 48. Deploy Everywhere Beyond BlindTool by Joseph Paul Cohen, demo on Nexus 4 ✦ Fit the core library with all dependencies into a single C++ source file ✦ Easy to compile on … Amalgamation Runs in browser with Javascript The first image for search “dog” at images.google.com Outputs “beagle” with prob = 73% within 1 sec
  • 49. New P2 Instance | Up to 16 GPUs  This new instance type incorporates up to 8 NVIDIA Tesla K80 Accelerators, each running a pair of NVIDIA GK210 GPUs.  Each GPU provides 12 GiB of memory (accessible via 240 GB/second of memory bandwidth), and 2,496 parallel processing cores.  Available in PDX, IAD and DUB Regions Instance Name GPU Count vCPU Count Memory Parallel Processing Cores GPU Memory Network Performance p2.xlarge 1 4 61 GiB 2,496 12 GiB High p2.8xlarge 8 32 488 GiB 19,968 96 GiB 10 Gigabit p2.16xlarge 16 64 732 GiB 39,936 192 GiB 20 Gigabit
  • 50. Distributed Experiments Google Inception v3 Increasing machines from 1 to 47 2x faster than TensorFlow if using more than 10 machines [from Carlos Gustrin DSS’16 keynote]