using algorithmia to leverage ai and machine learning apis

21
Using Algorithmia to leverage AI and Machine Learning APIs Rakuten Technology Conference 2016 October 19, 2016 Kenny Daniel CTO @ Algorithmia

Upload: rakuten-inc

Post on 11-Apr-2017

40 views

Category:

Software


1 download

TRANSCRIPT

Page 1: Using Algorithmia to leverage AI and Machine Learning APIs

Using Algorithmia to leverage AI and Machine Learning APIs

Rakuten Technology Conference 2016October 19, 2016

Kenny DanielCTO @ Algorithmia

Page 2: Using Algorithmia to leverage AI and Machine Learning APIs

Who Am I?

Kenny Daniel - CTO, Algorithmia• Graduate research in Artificial Intelligence and Mechanism Design• Multiple published algorithms and papers in Machine Learning• Received $1 million from DOT “Engineering Tomorrow’s Transportation Market”• B.S. Carnegie Mellon University, M.S., Ph.D. (on leave) USC• Data Scientist and Computer Vision specialist for Delectable• Co-founder and architect of Algorithmia Platform

Page 3: Using Algorithmia to leverage AI and Machine Learning APIs

Algorithmia is a fundamentally new approach to AI:

• First we are making AI available to any developer on earth, no longer limited to tech giants and research labs.

• Our unique approach to acquiring algorithms allows us to provide the broadest selection of live, next-generation intelligence micro-services, shareable across applications and teams.

• The collection of these “AI modules” under one roof makes it the ideal breeding ground for developers dedicated to creating the next generation of AI.

Page 4: Using Algorithmia to leverage AI and Machine Learning APIs

Proprietary and Confidential

“There’s an algorithm for that!”27K DEVELOPERS 2.3K ALGORITHMS

Page 5: Using Algorithmia to leverage AI and Machine Learning APIs

The future of machine learning

Analogy: just a few years ago, most computing was done on-premise. Now has migrated to the cloud.

Machine learning and AI are following the same trend:• Shortage of talent in ML/AI• Commoditization of algorithms• Desire for more rapid iteration

Page 6: Using Algorithmia to leverage AI and Machine Learning APIs

GIFEEGoogle Infrastructure For Everyone Else

• Usually refers to container orchestration (kubernetes)• BUT, there is also a lot to learn from how they do ML/AI• Lots of AI services, available as APIs

Page 7: Using Algorithmia to leverage AI and Machine Learning APIs

AdvantagesData Scientists➔ Speed: go from experiment to production with a single click

➔ Results: improve results by leveraging vast intelligent libraries, both internal and external

Application Developers➔ Complexity: break complex problems to maintainable, single-purpose microservices

➔ Time-to-Market: increase productivity with cross-organization reusable code

System Administrators➔ Security: gain full-picture view with deep system metrics and audit trail

➔ Scalability: easily scale systems to meet demand bursts and downtimes

Page 8: Using Algorithmia to leverage AI and Machine Learning APIs

Rise of unstructured data“Unstructured data: data value that has little or no structured metadata and therefore difficult to analyze.”

Internal External

Where is it coming from?

TransactionsAnalyticsLog Data

Emails

Social MediaMobile photos

Transcribed audioWeb ScrapingChat Rooms

Product Reviews

Page 9: Using Algorithmia to leverage AI and Machine Learning APIs

Classifying unstructured data

Cognition: “the mental action or process of acquiring knowledge and understanding through thought, experience, and the senses.

Humans are the gold standard for interpreting unstructured data…we just don’t scale.

Business that succeed will be the ones that are able to interpret their unstructured data with near human efficiency at super human scale.

Page 10: Using Algorithmia to leverage AI and Machine Learning APIs

Commercial Applications• Computer Vision

• Image classification• Visual search• Face recognition

• Natural Language• Speech to text• Chatbots• Q&A systems (siri, alexa, google now)• Machine translation

• Optimization• Anomaly Detection• Recommender systems

Page 11: Using Algorithmia to leverage AI and Machine Learning APIs

What is Deep Learning?• Deep Learning uses artificial neurons similar to the brain to

represent high-dimensional data• The mammal brain is organized in a deep architecture, e.g. visual system has 5 to 10

levels. [1]

• Deep learning excels in tasks where the basic unit (a single pixel, frequency, or word) has very little meaning in and of itself, but contains high level structure. Deep nets have been effective at learning this structure without human intervention.

[1] Serre, Kreiman, Kouh, Cadieu, Knoblich, & Poggio, 2007

Page 12: Using Algorithmia to leverage AI and Machine Learning APIs

Why Now?… and why is Deep Learning suddenly everywhere?

Advances in research• LeCun, Gradient-Based Learning Applied to Document

Recognition, 1998• Hinton, A Fast Learning Algorithm for Deep Belief Nets, 2006• Bengio, Learning Deep Architectures for AI, 2009

Advances in hardware• GPUs: 10x performance, 5x energy efficiency

http://www.nvidia.com/content/events/geoInt2015/LBrown_DL_Image_ClassificationGEOINT.pdf

Page 13: Using Algorithmia to leverage AI and Machine Learning APIs

Recently launched support for Deep Learning on Algorithmia

http://blog.algorithmia.com/2016/07/cloud-hosted-deep-learning-models

Page 14: Using Algorithmia to leverage AI and Machine Learning APIs

Style Transfer

Page 15: Using Algorithmia to leverage AI and Machine Learning APIs

Video Search

Page 16: Using Algorithmia to leverage AI and Machine Learning APIs

Training vs InferenceDeep Learning generally consists of two phases: training and running

Training deep learning models is challenging, with many solutions available today

Running deep learning models is the next step, and has its own challenges

Page 17: Using Algorithmia to leverage AI and Machine Learning APIs

Hosting Deep Learning

Making deep learning models available as an API presents a unique set of challenges that are rarely, if ever, addressed in the tutorials.

Page 18: Using Algorithmia to leverage AI and Machine Learning APIs

Why ML in the Cloud?• Need to react to live user data• Don’t want to manage own

servers• Need enough servers to sustain

max load. Can save money using cloud services.

• Limited compute capacity on mobile

Page 19: Using Algorithmia to leverage AI and Machine Learning APIs

Service Oriented ArchitectureGoing to want dedicated infrastructure for handling computationally intensive tasks like deep learning

LOA

D B

ALA

NC

ER

S

CLIENTS

AP

I SE

RV

ER

SA

PI S

ER

VE

RS GPU WORKER #1

GPU WORKER #N

Docker(deep-algo#1)Docker(deep-algo#2)...Docker(deep-algo#n)

DB

Page 20: Using Algorithmia to leverage AI and Machine Learning APIs

Conclusion

• Machine learning and AI will be increasingly critical for business going forward

• Today it can be difficult to get access to state-of-the-art algorithms and research

• APIs and services promise to solve a lot of these issues, and make algorithmic intelligence more widely available

Page 21: Using Algorithmia to leverage AI and Machine Learning APIs

Kenny DanielCTO

Thank you!algorithmia.com/signup?invite=Rakuten2016

[email protected]

@platypii