Artificial Intelligence (AI) services on the AWS cloud bring deep learning (DL) technologies like natural language understanding (NLU), automatic speech recognition (ASR), image recognition and computer vision (CV), text-to-speech (TTS), and machine learning (ML) within reach of every developer. In this session, you will be introduced to several new AI services: Amazon Lex, to build sophisticated text and voice chatbots; Amazon Rekognition, for deep learning-based image recognition; and Amazon Polly, for turning text into lifelike speech. The opportunities to apply one or more of these DL services are nearly boundless and this session will provide a number of examples and use cases to help you get started.
Application of GIS in Landslide Disaster Response.pptx
Ā
Introduction to Artificial Intelligence on AWS
1. AWS AI Overview
Dmitri Tchikatilov
Digital Advertising Business Development
dmitrit@amazon.com
2. More Users
More Data
A Flywheel For Data
Click stream
User activity
Generated content
Purchases
Clicks
Likes
Sensor data
3. A Flywheel For Data
Object Storage
Databases
Data warehouse
Streaming analytics
BI
Hadoop
Spark/Presto
Elasticsearch
More Users
More Data Better Analytics
Click stream
User activity
Generated content
Purchases
Clicks
Likes
Sensor data
4. A Flywheel For Data
Machine Learning
Deep Learning
AI
More Users Better Products
More Data Better Analytics
Object Storage
Databases
Data warehouse
Streaming analytics
BI
Hadoop
Spark/Presto
Elasticsearch
Click stream
User activity
Generated content
Purchases
Clicks
Likes
Sensor data
5. Machine Learning &
Artificial Intelligence
Big Data Analytics
More Users Better Products
More Data Better Analytics
A Flywheel For Data
12. One-Click GPU
Deep Learning
AWS Deep Learning AMI
Up to~40k CUDA cores
MXNet
TensorFlow
Theano
Caffe
Torch
Pre-configured CUDA drivers
Anaconda, Python3
+ CloudFormation template
+ Container Image
15. Hot Homes
There's an 80% chance this home will sell in the next 11 days ā go tour it soon.
16. Ingest/
Collect
Consume/
visualize
Store
Process/
analyze
Data
1 4
0 9
5
Amazon S3
Data lake
Amazon EMR
Amazon
Kinesis
Amazon RedShift
Answers &
Insights
Hot HomesUsers
Properties
Agents
User Profile
Recommendation
Hot Homes
Similar Homes
Agent Follow-up
Agent Scorecard
Marketing
A/B Testing
Real Time Data
ā¦
Amazon
DynamoDB
BI / Reporting
19. Converts text
to life-like speech
47 voices 24 languages Low latency,
real time
Fully managed
Polly: Life-like Speech Service
Voice Quality & Pronunciation
1. Automatic, Accurate Text Processing
2. Intelligible and Easy to Understand
3. Add Semantic Meaning to Text
4. Customized Pronunciation
Articles and Blogs
Training Material
Chatbots (Lex)
Public Announcements
20. Amazon Polly: Quality
Natural sounding speech
A subjective measure of how close TTS output is to human speech.
Accurate text processing
Aability 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.ā
21. 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. 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
ā¢ news article - $0.03
ā¢ Charles Dickens āA Christmas Carolā ā $0.66
ā¢ Tolkien āLord of the Ringsā 3 books - $1.89
24. Duolingo voices its language learning service Using Polly
Duolingo is a free language learning service where
users help translate the web and rate translations.
With Amazon Polly our users
benefit from the most lifelike
Text-to-Speech voices
available on the market.
Severin Hacker
CTO, Duolingo
ā
ā ā¢ Spoken language crucial for
language learning
ā¢ Accurate pronunciation matters
ā¢ Faster iteration thanks to TTS
ā¢ As good as natural human speech
26. Images ā explosive growth trends
Source: InfoTrends Worldwide Consumer Photos Captured and Stored.
2013 -2017 prepared for Mylio.
27. Amazon Rekognition
Deep learning-based image recognition service
Search, verify, and organize millions of images
Object and Scene
Detection
Facial
Analysis
Face
Comparison
Facial
Recognition
Integrated with S3, Lambda, Polly, Lex
28. Object and Scene Detection
Generate labels for thousands of objects, scenes, and
concepts, each with a confidence score
ā¢ Search, filter, and
curate image
libraries
ā¢ Smart searches for
user generated
content
ā¢ Photo, travel, real
estate, vacation
rental applications
Maple
Plant
Villa
Garden
Water
Swimming Pool
Tree
Potted Plant
Backyard
29. Facial Analysis
Locate faces within images and analyze face attributes to
detect emotion, pose, facial landmarks, and features
ā¢ Avoid faces when cropping
images and overlaying ads
ā¢ Capture user demographics
and sentiment
ā¢ Recommend the best photos
ā¢ Improve online dating match
recommendations
ā¢ Dynamic, personalized ads
30. Face Comparison
Measure the likelihood that faces in two images are of the
same person
ā¢ Add face verification to
applications and devices
ā¢ Extend physical security
controls
ā¢ Provide guest access to VIP-
only facilities
ā¢ Verify users for online
exams and polls
31. Facial Recognition
Identify people in images by finding the closest match for an
input face image against a collection of stored face vectors
ā¢ Add friend tagging to social
and messaging apps
ā¢ Assist public safety officers
find missing persons
ā¢ Identify employees as they
access sensitive locations
ā¢ Identify celebrities in
historical image archives
32. Amazon Rekognition Summary
ā¢ Fully managed
ā¢ Low Cost
ā¢ Scale
ā¢ Integration with AWS services
ā¢ Pay-as-you Go
ā¢ Free Tier ā 5000 images per month for first 12
months
33. Amazon Rekognition ā Pricing Details
Image Analysis Tiers Price per 1000
images processed
First 1 million images processed* per month $1.00
Next 9 million images processed* per month $0.80
Next 9 million images processed* per month $0.80
Next 90 million images processed* per month $0.60
Over 100 million images processed* per month $0.40
*Images processed: For APIs with image as input, itās the number of images analyzed. For APIs with no image input 1 API call = 1 image processed.
34. Early Feedback
āRekognition simplifies the process of tagging and organizing end
usersā photos to help them quickly find relevant imagesā
āit is all very exciting and it was shocking how easy it was to set upā
āSince Rekognition accepts Amazon S3 URLs, it is a huge time-saver to
detect objects, scenes, and faces without having to move images aroundā
38. 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
39. 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
40. 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
41. 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 ā¦.
42. 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.ā
43. 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
44. Alexa VS 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
45. Summary of AWS Analytics, Database & AI
Tools Amazon Redshift
Enterprise Data Warehouse
Amazon EMR
Hadoop/Spark
Amazon Athena
Clusterless SQL
Amazon Glue
Clusterless ETL
Amazon Aurora
Managed Relational Database
Amazon Machine Learning
Predictive Analytics
Amazon Quicksight
Business Intelligence/Visualization
Amazon ElasticSearch Service
ElasticSearch
Amazon ElastiCache
Redis In-memory Datastore
Amazon DynamoDB
Managed NoSQL Database
Amazon Rekognition
Deep Learning-based Image Recognition
Amazon Lex
Voice or Text Chatbots
Amazon Kinesis
Real-Time streaming Analytics
GPU for deep learning
workloads
46. Reference
ā¢ AWS AI Blog
ā¢ Getting Started with Amazon Polly
ā¢ Getting Started with Amazon Lex
ā¢ Getting Started with Amazon Rekognition
ā¢ Getting Started with Deep Learning
ā¢ Getting Started with Amazon Kinesis Analytics
ā¢ AWS Big Data Blog