Machine Learning at Google Scale ML APIs and TensorFlow Michel - - PowerPoint PPT Presentation

machine learning at google scale
SMART_READER_LITE
LIVE PREVIEW

Machine Learning at Google Scale ML APIs and TensorFlow Michel - - PowerPoint PPT Presentation

Machine Learning at Google Scale ML APIs and TensorFlow Michel Pereira Google Cloud Customer Engineer @michelpereira@ What is Neural Network and Deep Learning Neural Network is a function that can learn How about this? More hidden layers =


slide-1
SLIDE 1

Machine Learning at Google Scale

ML APIs and TensorFlow

slide-2
SLIDE 2

Michel Pereira

Google Cloud Customer Engineer @michelpereira@

slide-3
SLIDE 3

What is Neural Network and Deep Learning

slide-4
SLIDE 4

Neural Network is a function that can learn

slide-5
SLIDE 5
slide-6
SLIDE 6

How about this?

slide-7
SLIDE 7

More hidden layers = More hierarchies of features

slide-8
SLIDE 8

How about this?

slide-9
SLIDE 9
slide-10
SLIDE 10

We need to go deeper neural network

From: Convolutional Deep Belief Networks for Scalable Unsupervised Learning of Hierarchical Representations, Honglak Lee et al.

slide-11
SLIDE 11

Machine Learning use cases at Google services

slide-12
SLIDE 12

12

signal

for Search ranking,

  • ut of hundreds

improvement

to ranking quality in 2+ years

#3 #1

Search

machine learning for search engines

RankBrain: a deep neural network for search ranking

slide-13
SLIDE 13

13

[glacier]

Google Photos

13

slide-14
SLIDE 14

14

Smart reply in Inbox by Gmail

10%

  • f all responses

sent on mobile

slide-15
SLIDE 15

Google Translate with Neural Machine Translation

slide-16
SLIDE 16

16

Android Apps Gmail Maps Photos Speech Search Translation YouTube and many others ...

Used across products:

2012 2013 2014 2015

Deep Learning usage at Google

slide-17
SLIDE 17

Externalizing the power with ML APIs

slide-18
SLIDE 18

TensorFlow Cloud Machine Learning ML API

Easy-to-Use, for non-ML engineers Customizable, for Data Scientists

Machine Learning products from Google

slide-19
SLIDE 19

Image analysis with pre-trained models No Machine Learning skill required REST API: receives an image and returns a JSON $1.50 per 1,000 units GA - cloud.google.com/vision

Cloud Vision API

slide-20
SLIDE 20 Confidential & Proprietary Google Cloud Platform 20

Faces Faces, facial landmarks, emotions OCR Read and extract text, with support for > 10 languages Label Detect entities from furniture to transportation Logos Identify product logos Landmarks & Image Properties Detect landmarks & dominant color of image Safe Search Detect explicit content - adult, violent, medical and spoof

slide-21
SLIDE 21

21 21

Demo

slide-22
SLIDE 22

Pre-trained models. No ML skill required REST API: receives audio and returns texts Supports 80+ languages Streaming or non-streaming Public Beta - cloud.google.com/speech

Cloud Speech API

slide-23
SLIDE 23 Confidential & Proprietary Google Cloud Platform 23

Features

Automatic Speech Recognition (ASR) powered by deep learning neural networking to power your applications like voice search or speech transcription. Recognizes over 80 languages and variants with an extensive vocabulary. Returns partial recognition results immediately, as they become available. Filter inappropriate content in text results. Audio input can be captured by an application’s microphone or sent from a pre-recorded audio

  • file. Multiple audio file formats are supported,

including FLAC, AMR, PCMU and linear-16. Handles noisy audio from many environments without requiring additional noise cancellation. Audio files can be uploaded in the request and, in future releases, integrated with Google Cloud Storage.

Automatic Speech Recognition Global Vocabulary Inappropriate Content Filtering Streaming Recognition Real-time or Buffered Audio Support Noisy Audio Handling Integrated API

slide-24
SLIDE 24

24 24

Demo

slide-25
SLIDE 25

Pre-trained models. No ML skill required REST API: receives text and returns analysis results Supports English, Spanish and Japanese GA - cloud.google.com/natural-language

Cloud Natural Language API

slide-26
SLIDE 26 Confidential & Proprietary Google Cloud Platform 26

Features

Extract sentence, identify parts of speech and create dependency parse trees for each sentence. Identify entities and label by types such as person, organization, location, events, products and media. Understand the overall sentiment of a block of text.

Syntax Analysis Entity Recognition Sentiment Analysis

slide-27
SLIDE 27

27 27

Demo

slide-28
SLIDE 28

Pre-trained models. No ML skill required REST API: receives text and returns translated text 8 languages: English to Chinese, French, German, Japanese, Korean, Portuguese, Spanish, Turkish Public Beta - cloud.google.com/translate

Cloud Translation API Premium

slide-29
SLIDE 29

29 29

Demo

slide-30
SLIDE 30

Video analysis with pre-trained models No Machine Learning skill required REST API: receives a video and returns a JSON Private Beta - cloud.google.com/video-intelligence

Cloud Video Intelligence API

slide-31
SLIDE 31

31 31

Demo

slide-32
SLIDE 32

TensorFlow: An open source library for Machine Intelligence

slide-33
SLIDE 33

Google's open source library for machine intelligence tensorflow.org launched in Nov 2015 Used by many production ML projects

What is TensorFlow?

slide-34
SLIDE 34

# define the network import tensorflow as tf x = tf.placeholder(tf.float32, [None, 784]) W = tf.Variable(tf.zeros([784, 10])) b = tf.Variable(tf.zeros([10])) y = tf.nn.softmax(tf.matmul(x, W) + b) # define a training step y_ = tf.placeholder(tf.float32, [None, 10]) xent = -tf.reduce_sum(y_*tf.log(y)) step = tf.train.GradientDescentOptimizer(0.01).minimize(xent)

slide-35
SLIDE 35

TensorBoard: visualization tool

slide-36
SLIDE 36

Portable and Scalable

Training on: Mac/Windows GPU server GPU cluster / Cloud Prediction on: Android and iOS RasPi and TPU

slide-37
SLIDE 37

Sharing our tools with researchers and developers around the world

repository

for “machine learning” category on GitHub

#1

Released in Nov. 2015

From: http://deliprao.com/archives/168

slide-38
SLIDE 38

TensorFlow community and ecosystem

slide-39
SLIDE 39

From: https://www.qualcomm.com/news/snapdragon/2017/01/09/tensorflow-machine-learning-now-optimized-snapdragon-835-and-hexagon-682

slide-40
SLIDE 40
slide-41
SLIDE 41

Enterprise

Google Cloud is

The Datacenter as a Computer

slide-42
SLIDE 42

<OnBoard> //Participe do treinamento sobre os fundamentos de Cloud e conheça as novas tecnologias da nuvem do Google. //Google Cloud OnBoard é para desenvolvedores, programadores e especialistas em TI. Aprimore-se com os melhores instrutores do Google. //Entre em goo.gl/cWXaaE e cadastre-se para receber mais informações. Agenda(2_de_junho) Local(Google_Campus_SP)+6_cidades_BR </OnBoard>

slide-43
SLIDE 43

goo.gl/cWXaaE

slide-44
SLIDE 44

Thank you!