SlideShare ist ein Scribd-Unternehmen logo
1 von 62
Jay Yagnik
Vice President, Engineering Fellow
Google AI
A History Lesson on AI
Today we’ll talk about...
●Long term perspectives on AI
●Potential technology inflection points
○Predicted variables
○Quantum computing
●Potential use case inflection points
○Tackling societal challenges
AI vs. ML Artificial Intelligence
The science of making
things smart
Machine Learning
Making machines that learn
to be smarter
Spam the old way:
Write a computer program
with explicit rules to follow
if email contains sale
then mark is-spam;
if email contains …
if email contains …
Spam the new way:
Write a computer program
to learn from examples
try to classify some emails;
change self to reduce errors;
repeat;
Training
Machine Learning
Arxiv papers
per year
~50 new ML papers everyday
NIPS Registration Growth
A history lesson from photography
1826
First photograph
1826 1835
First (unintended)
photo of a human being
1826 1835 1839
The first selfie
1826 1835 1839 1847
First news picture
1826 1835 1839 1847 1860
First aerial photograph
1826 18611835 1839 1847 1860
First color
photograph
1826 1861 18781835 1839 1847 1860
First moving picture
1826 1861 1878 19571835 1839 1847 1860
First digital photograph
1826 1861 1878 19571835 1839 1847 1860
Fast forward
Today
1826
Where ML
is TODAY
1835 1839 1847 1860 1861 1878 1957 Today
Potential of ML across industries and use cases
Personalize
advertising
Identify and
navigate
roads
Personalize
financial
products
Optimizing
pricing
and scheduling
in real time
Volume(Breadthandfrequencyofdata)
Impact score
Finance
Trave
l
Automotiv
e
Teleco
m
Media
Consumer
Healthcare
Potential Inflection points
●Interface Innovation
○e.g. PVars
●Compute Substrate
○e.g. Quantum computing
●Optimization Framework
○e.g. Discrete Optimization
Potential technology inflection point:
Predicted Variables
Growing adoption of ML
● Adoption of ML in applications has rapidly increased over the last 4 years
● Headroom is still very large
● ML systems are written from a ML engineer’s point of view
● Systems are built from the full stack SWE point of view leading to implicit
mismatch → slow adoption
● Need a solution from full stack SWE perspective
Machine Learning today
Goal: Predict a value - based on observations (from the past, maybe distant
past)
1. Capture the observations in a feature vector
2. With a good feature vector, building good ML models is possible
Feature Vector
Multiple SWE
Quarters
✔️
Prediction
Experiments
and Tuning
System
Today’s World
Chasm of Suffering
Products ML
C++
Java
Python
Javascript
Model
Tensorflow
Hyperparameters
Logging
Feature Store
Feature Computation
Model Serving
Operational Concerns
Privacy
Policy and Compliance
Mission
ML as easy as if statements
Characteristics of a solution
● Feel native to programming and system building.
● Inversion of control, software developer holds control.
● Simplicity without sacrificing expressiveness, particularly with regard to
types of problems it can solve.
Places to look
● Programs and systems are a mix of:
○ Variables / Data
○ Computation
○ Control Flow
● We can imagine overloading any of these for a new abstraction.
Which one to overload
● Programs and systems are a mix of:
○ Variables / Data → Object oriented view of prediction
○ Computation → Functional view of prediction
○ Control Flow → Decision view of prediction
● All are valid and can generate meaningful abstractions; we choose
variables for the Object oriented abstraction and its flexibility in data
visibility.
Predicted Variables
● Overload the notion of variables to give them “self assignment” ability.
● Allow them to observe state of the program.
● Blame after effects on them.
● They learn to evaluate themselves every time they are used.
Predicted Variables
PVars is an end-to-end solution: go straight from code to predictions.
Teams focus on data and product goals, not pipelines and infrastructure for ML.
✔️
Start using PVars Prediction
PVars
Predicted Variables in Programming
Example: Hello World
pvar = PVar(dtype=bool) // create the variable
v = pvar.value // read from the variable
while not v:
pvar.feedback(BAD) // provide feedback to the variable
v = pvar.value // read from the variable
pvar.feedback(GOOD) // provide feedback to the variable
print("Hello World")
Caches using Predicted Variables
Before PVars
class LRUCache(object):
def __init__(self, size):
self.storage = CacheStorage(size)
def get(self, key):
if key not in self.storage:
return None
self._update_timestamp(key, now())
return self.storage[key]
def store(self, key, value):
if self.storage.full():
evict_key = self._get_key_to_evict()
self.storage.evict(evict_key)
self.storage.insert(key, value, now())
class PredictedCache(object):
def __init__(self, size):
self.storage = CacheStorage(size)
self.pvar = PVar(dtype=float,
observations = {'access': key_type, 'store': key_type},
initial_policy_fn=now)
def get(self, key):
if key not in self.storage:
self.pvar.feedback(BAD)
return None
self.pvar.feedback(GOOD)
self.pvar.observe('access', key)
predicted_timestamp = pvar.value
self._update_timestamp(key, predicted_timestamp)
return self.storage[key]
def store(self, key, value):
self.pvar.observe('store', key)
if self.storage.full():
evict_key = self._get_key_to_evict()
self.storage.evict(evict_key)
predicted_timestamp = pvar.value
self.storage.insert(key, value, predicted_timestamp)
Caches using Predicted Variables
After PVars
Caches
●Predicting which slot to evict (1-out-C)
○Improvements over LRU policy on small cache sizes range
○Power law synthetic access pattern (5000 keys)
PVars can express a wide range of uses
● Constant value → Predicted Constants
● Single Invocation, ground truth feedback → Supervised ML
● Single Invocation, cost feedback → Bandits
● Multi Invocation, cost feedback → RL / blackbox / dynamical systems
methods.
● All of above with stochastic or deterministic variables.
● Which evaluations should i get feedback on ? → Active learning
● Multi-level Data visibility → Privacy sensitive ML
● Device locality for variables → Federated computation
● …...and more
Binary Search
Binary Search
Predict: p * interpolation + (1-p) * binary
Reward: |old| / |new| / 2 - (2 if not found)
Predict: position
Reward: |old| / |new| / 2 - (2 if not found)
Simplify
prediction
Simplify
reward
+discount 0.75
(bandits RL)
Predict: p * interpolation + (1-p) * binary
Reward: -1 if not found, 10 when found
Similar results on chi2, gamma, pareto, power distributions
Simplify
reward
Simplify
prediction
Predict: position
Reward: -1 if not found, 10 if found
Works only on
uniform and
triangular
distributions
for now
Binary Search (normal distribution)
We aspire to change programming
Make it a natural thing to use ML for all developers in all programming
languages
● Whenever you add a heuristic (or a constant or a flag)
● There's no reason not to use it whenever you put an "arbitrary" constant
right now.
Stretch Goals:
● C++ 202X, Python 4, and Java 10 will have predicted variables as a
standard type
Potential technology inflection point:
Quantum Computing
Space-time volume of a quantum computation
Task
Produce samples {x1, ..., xm} from distribution pU(x).
Recent result from complexity theory (Bouland,
Fefferman, Nirkhe, Vazirani):
It is #P-hard to compute pU(xi).
Random circuits, the “hello world” program for
quantum processors
Formulate quantum circuit by randomly picking 1-qubit or 2-qubit gates
from a universal gate set acting on the global superposition state.
Understanding the probability distribution involved in
supremacy experiments
“Speckles” in 2n = N dimensional Hilbert Space Porter Thomas Distribution P(p)=Ne-Np
Sort bit strings
by probability
{x1, . . . , xm}
{x’1, . . . , x’m}
Use cross entropy to measure
quality of samples
Formulate quantum circuit by randomly picking 1-qubit or 2-qubit gates
from a universal gate set acting on the global superposition state.
Experiment to demonstrate quantum
supremacy
Google Quantum AI timeline
2018? 2028?
72 qubits 105 qubits
Quantum supremacy
Beyond classical computing
capability demonstrated for a
select computational problem
NISQ processors
Algorithms developed for
● Certifiable random numbers
● Simulation of quantum systems
● Quantum optimization
● Quantum neural networks
Error corrected quantum computer
Growing list of quantum algorithms for wide
variety of applications with proven speedups
● Unstructured search
● Factoring
● Semidefinite programming
● Solving linear systems
Potential use case inflection point:
Tackling Societal Challenges
Number
of papers
on Arxiv
Healthcare and Life Sciences
featuring Machine Learning
2010 2012 20132011 20152014 2016 2017
Predicting Medical Events
Encounters
Lab
Medications
Vital Signs
Procedures
Notes
Diagnoses
PatientTimeline
Predicting Medical Events
Encounters
Lab
Medications
Vital signs
Procedures
Notes
Diagnoses
PatientTimeline
Primary care visit Urgent care visit Hospitalization
Glucose 170 ml/dlCreatinine 4 mg/dlHemoglobin A!C: 9.0%
Vancomycin 1.5 gmInsulin Glargine 10 units nightly
Non-invasive blood pressure 90/65 mmHg
Bone biopsy
“49 year old man with difficult-to-control diabetes”
Acute kidney injurySkin and soft tissue infectionType II Diabetes
76% chance of readmission
415M
people with
diabetes
153.2M
29.6
M
14.2M
44.3M
78.3
M
44.3M
35.4M
Over the last year we’ve
done research
demonstrating how AI can
help doctors screen for
preventable blindness.
500M+
people rely on cassava
plants as their main source
of nutrition
Flood warning system
1. Be socially beneficial
2. Avoid creating or reinforcing
unfair bias
3. Be built and tested for safety
4. Be accountable to people
5. Incorporate privacy design
principles
6. Uphold high standards of
scientific excellence
7. Be made available for uses that
accord with these principles
Google’s AI Principles
Jay Yagnik at AI Frontiers : A History Lesson on AI

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Introduction to ai
Introduction to aiIntroduction to ai
Introduction to ai
 
Large Language Models Bootcamp
Large Language Models BootcampLarge Language Models Bootcamp
Large Language Models Bootcamp
 
Implementing Ethics in AI
Implementing Ethics in AIImplementing Ethics in AI
Implementing Ethics in AI
 
Uses of AI text bot.pdf
Uses of AI text bot.pdfUses of AI text bot.pdf
Uses of AI text bot.pdf
 
How AI is going to change the world _M.Mujeeb Riaz.pdf
How AI is going to change the world _M.Mujeeb Riaz.pdfHow AI is going to change the world _M.Mujeeb Riaz.pdf
How AI is going to change the world _M.Mujeeb Riaz.pdf
 
The Rise of the LLMs - How I Learned to Stop Worrying & Love the GPT!
The Rise of the LLMs - How I Learned to Stop Worrying & Love the GPT!The Rise of the LLMs - How I Learned to Stop Worrying & Love the GPT!
The Rise of the LLMs - How I Learned to Stop Worrying & Love the GPT!
 
Implications of GPT-3
Implications of GPT-3Implications of GPT-3
Implications of GPT-3
 
OpenAI’s GPT 3 Language Model - guest Steve Omohundro
OpenAI’s GPT 3 Language Model - guest Steve OmohundroOpenAI’s GPT 3 Language Model - guest Steve Omohundro
OpenAI’s GPT 3 Language Model - guest Steve Omohundro
 
Intro to LLMs
Intro to LLMsIntro to LLMs
Intro to LLMs
 
Using Generative AI in the Classroom .pptx
Using Generative AI in the Classroom .pptxUsing Generative AI in the Classroom .pptx
Using Generative AI in the Classroom .pptx
 
Using Generative AI
Using Generative AIUsing Generative AI
Using Generative AI
 
OpenAI Chatgpt.pptx
OpenAI Chatgpt.pptxOpenAI Chatgpt.pptx
OpenAI Chatgpt.pptx
 
The Creative Ai storm
The Creative Ai stormThe Creative Ai storm
The Creative Ai storm
 
Ethics in the use of Data & AI
Ethics in the use of Data & AI Ethics in the use of Data & AI
Ethics in the use of Data & AI
 
Creative AI & multimodality: looking ahead
Creative AI & multimodality: looking aheadCreative AI & multimodality: looking ahead
Creative AI & multimodality: looking ahead
 
Leveraging Generative AI & Best practices
Leveraging Generative AI & Best practicesLeveraging Generative AI & Best practices
Leveraging Generative AI & Best practices
 
Artificial intelligence : what it is
Artificial intelligence : what it isArtificial intelligence : what it is
Artificial intelligence : what it is
 
Webinar on ChatGPT.pptx
Webinar on ChatGPT.pptxWebinar on ChatGPT.pptx
Webinar on ChatGPT.pptx
 
ChatGPT Evaluation for NLP
ChatGPT Evaluation for NLPChatGPT Evaluation for NLP
ChatGPT Evaluation for NLP
 
Unlocking the Power of Generative AI An Executive's Guide.pdf
Unlocking the Power of Generative AI An Executive's Guide.pdfUnlocking the Power of Generative AI An Executive's Guide.pdf
Unlocking the Power of Generative AI An Executive's Guide.pdf
 

Ähnlich wie Jay Yagnik at AI Frontiers : A History Lesson on AI

DN18 | Demystifying the Buzz in Machine Learning! (This Time for Real) | Dat ...
DN18 | Demystifying the Buzz in Machine Learning! (This Time for Real) | Dat ...DN18 | Demystifying the Buzz in Machine Learning! (This Time for Real) | Dat ...
DN18 | Demystifying the Buzz in Machine Learning! (This Time for Real) | Dat ...
Dataconomy Media
 
Machine Learning for (DF)IR with Velociraptor: From Setting Expectations to a...
Machine Learning for (DF)IR with Velociraptor: From Setting Expectations to a...Machine Learning for (DF)IR with Velociraptor: From Setting Expectations to a...
Machine Learning for (DF)IR with Velociraptor: From Setting Expectations to a...
Chris Hammerschmidt
 

Ähnlich wie Jay Yagnik at AI Frontiers : A History Lesson on AI (20)

Introduction to Machine Learning with Spark
Introduction to Machine Learning with SparkIntroduction to Machine Learning with Spark
Introduction to Machine Learning with Spark
 
Pycon 2012 Scikit-Learn
Pycon 2012 Scikit-LearnPycon 2012 Scikit-Learn
Pycon 2012 Scikit-Learn
 
supervised.pptx
supervised.pptxsupervised.pptx
supervised.pptx
 
Introduction to Machine Learning for Java Developers
Introduction to Machine Learning for Java DevelopersIntroduction to Machine Learning for Java Developers
Introduction to Machine Learning for Java Developers
 
presentationIDC - 14MAY2015
presentationIDC - 14MAY2015presentationIDC - 14MAY2015
presentationIDC - 14MAY2015
 
Keynote at IWLS 2017
Keynote at IWLS 2017Keynote at IWLS 2017
Keynote at IWLS 2017
 
XGBoost @ Fyber
XGBoost @ FyberXGBoost @ Fyber
XGBoost @ Fyber
 
Xavier Amatriain, VP of Engineering, Quora at MLconf SF - 11/13/15
Xavier Amatriain, VP of Engineering, Quora at MLconf SF - 11/13/15Xavier Amatriain, VP of Engineering, Quora at MLconf SF - 11/13/15
Xavier Amatriain, VP of Engineering, Quora at MLconf SF - 11/13/15
 
10 more lessons learned from building Machine Learning systems - MLConf
10 more lessons learned from building Machine Learning systems - MLConf10 more lessons learned from building Machine Learning systems - MLConf
10 more lessons learned from building Machine Learning systems - MLConf
 
10 more lessons learned from building Machine Learning systems
10 more lessons learned from building Machine Learning systems10 more lessons learned from building Machine Learning systems
10 more lessons learned from building Machine Learning systems
 
AI hype or reality
AI  hype or realityAI  hype or reality
AI hype or reality
 
Machine Learning, Deep Learning and Data Analysis Introduction
Machine Learning, Deep Learning and Data Analysis IntroductionMachine Learning, Deep Learning and Data Analysis Introduction
Machine Learning, Deep Learning and Data Analysis Introduction
 
Deep learning from scratch
Deep learning from scratch Deep learning from scratch
Deep learning from scratch
 
Online advertising and large scale model fitting
Online advertising and large scale model fittingOnline advertising and large scale model fitting
Online advertising and large scale model fitting
 
DN18 | Demystifying the Buzz in Machine Learning! (This Time for Real) | Dat ...
DN18 | Demystifying the Buzz in Machine Learning! (This Time for Real) | Dat ...DN18 | Demystifying the Buzz in Machine Learning! (This Time for Real) | Dat ...
DN18 | Demystifying the Buzz in Machine Learning! (This Time for Real) | Dat ...
 
The ABC of Implementing Supervised Machine Learning with Python.pptx
The ABC of Implementing Supervised Machine Learning with Python.pptxThe ABC of Implementing Supervised Machine Learning with Python.pptx
The ABC of Implementing Supervised Machine Learning with Python.pptx
 
Deep Learning with Apache Spark: an Introduction
Deep Learning with Apache Spark: an IntroductionDeep Learning with Apache Spark: an Introduction
Deep Learning with Apache Spark: an Introduction
 
A Hands-on Intro to Data Science and R Presentation.ppt
A Hands-on Intro to Data Science and R Presentation.pptA Hands-on Intro to Data Science and R Presentation.ppt
A Hands-on Intro to Data Science and R Presentation.ppt
 
Machine Learning for (DF)IR with Velociraptor: From Setting Expectations to a...
Machine Learning for (DF)IR with Velociraptor: From Setting Expectations to a...Machine Learning for (DF)IR with Velociraptor: From Setting Expectations to a...
Machine Learning for (DF)IR with Velociraptor: From Setting Expectations to a...
 
AI and Deep Learning
AI and Deep Learning AI and Deep Learning
AI and Deep Learning
 

Mehr von AI Frontiers

Arnaud Thiercelin at AI Frontiers : AI in the Sky
Arnaud Thiercelin at AI Frontiers : AI in the SkyArnaud Thiercelin at AI Frontiers : AI in the Sky
Arnaud Thiercelin at AI Frontiers : AI in the Sky
AI Frontiers
 

Mehr von AI Frontiers (20)

Divya Jain at AI Frontiers : Video Summarization
Divya Jain at AI Frontiers : Video SummarizationDivya Jain at AI Frontiers : Video Summarization
Divya Jain at AI Frontiers : Video Summarization
 
Training at AI Frontiers 2018 - LaiOffer Data Session: How Spark Speedup AI
Training at AI Frontiers 2018 - LaiOffer Data Session: How Spark Speedup AI Training at AI Frontiers 2018 - LaiOffer Data Session: How Spark Speedup AI
Training at AI Frontiers 2018 - LaiOffer Data Session: How Spark Speedup AI
 
Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-Lecture 1: Heuristi...
Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-Lecture 1: Heuristi...Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-Lecture 1: Heuristi...
Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-Lecture 1: Heuristi...
 
Training at AI Frontiers 2018 - Ni Lao: Weakly Supervised Natural Language Un...
Training at AI Frontiers 2018 - Ni Lao: Weakly Supervised Natural Language Un...Training at AI Frontiers 2018 - Ni Lao: Weakly Supervised Natural Language Un...
Training at AI Frontiers 2018 - Ni Lao: Weakly Supervised Natural Language Un...
 
Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-lecture 2: Incremen...
Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-lecture 2: Incremen...Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-lecture 2: Incremen...
Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-lecture 2: Incremen...
 
Training at AI Frontiers 2018 - Udacity: Enhancing NLP with Deep Neural Networks
Training at AI Frontiers 2018 - Udacity: Enhancing NLP with Deep Neural NetworksTraining at AI Frontiers 2018 - Udacity: Enhancing NLP with Deep Neural Networks
Training at AI Frontiers 2018 - Udacity: Enhancing NLP with Deep Neural Networks
 
Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-Lecture 3: Any-Angl...
Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-Lecture 3: Any-Angl...Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-Lecture 3: Any-Angl...
Training at AI Frontiers 2018 - LaiOffer Self-Driving-Car-Lecture 3: Any-Angl...
 
Training at AI Frontiers 2018 - Lukasz Kaiser: Sequence to Sequence Learning ...
Training at AI Frontiers 2018 - Lukasz Kaiser: Sequence to Sequence Learning ...Training at AI Frontiers 2018 - Lukasz Kaiser: Sequence to Sequence Learning ...
Training at AI Frontiers 2018 - Lukasz Kaiser: Sequence to Sequence Learning ...
 
Percy Liang at AI Frontiers : Pushing the Limits of Machine Learning
Percy Liang at AI Frontiers : Pushing the Limits of Machine LearningPercy Liang at AI Frontiers : Pushing the Limits of Machine Learning
Percy Liang at AI Frontiers : Pushing the Limits of Machine Learning
 
Ilya Sutskever at AI Frontiers : Progress towards the OpenAI mission
Ilya Sutskever at AI Frontiers : Progress towards the OpenAI missionIlya Sutskever at AI Frontiers : Progress towards the OpenAI mission
Ilya Sutskever at AI Frontiers : Progress towards the OpenAI mission
 
Mark Moore at AI Frontiers : Uber Elevate
Mark Moore at AI Frontiers : Uber ElevateMark Moore at AI Frontiers : Uber Elevate
Mark Moore at AI Frontiers : Uber Elevate
 
Mario Munich at AI Frontiers : Consumer robotics: embedding affordable AI in ...
Mario Munich at AI Frontiers : Consumer robotics: embedding affordable AI in ...Mario Munich at AI Frontiers : Consumer robotics: embedding affordable AI in ...
Mario Munich at AI Frontiers : Consumer robotics: embedding affordable AI in ...
 
Arnaud Thiercelin at AI Frontiers : AI in the Sky
Arnaud Thiercelin at AI Frontiers : AI in the SkyArnaud Thiercelin at AI Frontiers : AI in the Sky
Arnaud Thiercelin at AI Frontiers : AI in the Sky
 
Anima Anandkumar at AI Frontiers : Modern ML : Deep, distributed, Multi-dimen...
Anima Anandkumar at AI Frontiers : Modern ML : Deep, distributed, Multi-dimen...Anima Anandkumar at AI Frontiers : Modern ML : Deep, distributed, Multi-dimen...
Anima Anandkumar at AI Frontiers : Modern ML : Deep, distributed, Multi-dimen...
 
Wei Xu at AI Frontiers : Language Learning in an Interactive and Embodied Set...
Wei Xu at AI Frontiers : Language Learning in an Interactive and Embodied Set...Wei Xu at AI Frontiers : Language Learning in an Interactive and Embodied Set...
Wei Xu at AI Frontiers : Language Learning in an Interactive and Embodied Set...
 
Sumit Gupta at AI Frontiers : AI for Enterprise
Sumit Gupta at AI Frontiers : AI for EnterpriseSumit Gupta at AI Frontiers : AI for Enterprise
Sumit Gupta at AI Frontiers : AI for Enterprise
 
Yuandong Tian at AI Frontiers : Planning in Reinforcement Learning
Yuandong Tian at AI Frontiers : Planning in Reinforcement LearningYuandong Tian at AI Frontiers : Planning in Reinforcement Learning
Yuandong Tian at AI Frontiers : Planning in Reinforcement Learning
 
Alex Ermolaev at AI Frontiers : Major Applications of AI in Healthcare
Alex Ermolaev at AI Frontiers : Major Applications of AI in HealthcareAlex Ermolaev at AI Frontiers : Major Applications of AI in Healthcare
Alex Ermolaev at AI Frontiers : Major Applications of AI in Healthcare
 
Long Lin at AI Frontiers : AI in Gaming
Long Lin at AI Frontiers : AI in GamingLong Lin at AI Frontiers : AI in Gaming
Long Lin at AI Frontiers : AI in Gaming
 
Melissa Goldman at AI Frontiers : AI & Finance
Melissa Goldman at AI Frontiers : AI & FinanceMelissa Goldman at AI Frontiers : AI & Finance
Melissa Goldman at AI Frontiers : AI & Finance
 

Kürzlich hochgeladen

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Kürzlich hochgeladen (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 

Jay Yagnik at AI Frontiers : A History Lesson on AI

  • 1. Jay Yagnik Vice President, Engineering Fellow Google AI A History Lesson on AI
  • 2. Today we’ll talk about... ●Long term perspectives on AI ●Potential technology inflection points ○Predicted variables ○Quantum computing ●Potential use case inflection points ○Tackling societal challenges
  • 3. AI vs. ML Artificial Intelligence The science of making things smart Machine Learning Making machines that learn to be smarter
  • 4. Spam the old way: Write a computer program with explicit rules to follow if email contains sale then mark is-spam; if email contains … if email contains …
  • 5.
  • 6. Spam the new way: Write a computer program to learn from examples try to classify some emails; change self to reduce errors; repeat;
  • 8. Machine Learning Arxiv papers per year ~50 new ML papers everyday
  • 10. A history lesson from photography
  • 13. 1826 1835 1839 The first selfie
  • 14. 1826 1835 1839 1847 First news picture
  • 15. 1826 1835 1839 1847 1860 First aerial photograph
  • 16. 1826 18611835 1839 1847 1860 First color photograph
  • 17. 1826 1861 18781835 1839 1847 1860 First moving picture
  • 18. 1826 1861 1878 19571835 1839 1847 1860 First digital photograph
  • 19. 1826 1861 1878 19571835 1839 1847 1860 Fast forward Today
  • 20. 1826 Where ML is TODAY 1835 1839 1847 1860 1861 1878 1957 Today
  • 21.
  • 22. Potential of ML across industries and use cases Personalize advertising Identify and navigate roads Personalize financial products Optimizing pricing and scheduling in real time Volume(Breadthandfrequencyofdata) Impact score Finance Trave l Automotiv e Teleco m Media Consumer Healthcare
  • 23. Potential Inflection points ●Interface Innovation ○e.g. PVars ●Compute Substrate ○e.g. Quantum computing ●Optimization Framework ○e.g. Discrete Optimization
  • 24. Potential technology inflection point: Predicted Variables
  • 25. Growing adoption of ML ● Adoption of ML in applications has rapidly increased over the last 4 years ● Headroom is still very large ● ML systems are written from a ML engineer’s point of view ● Systems are built from the full stack SWE point of view leading to implicit mismatch → slow adoption ● Need a solution from full stack SWE perspective
  • 26. Machine Learning today Goal: Predict a value - based on observations (from the past, maybe distant past) 1. Capture the observations in a feature vector 2. With a good feature vector, building good ML models is possible Feature Vector Multiple SWE Quarters ✔️ Prediction Experiments and Tuning System
  • 27. Today’s World Chasm of Suffering Products ML C++ Java Python Javascript Model Tensorflow Hyperparameters Logging Feature Store Feature Computation Model Serving Operational Concerns Privacy Policy and Compliance
  • 28. Mission ML as easy as if statements
  • 29. Characteristics of a solution ● Feel native to programming and system building. ● Inversion of control, software developer holds control. ● Simplicity without sacrificing expressiveness, particularly with regard to types of problems it can solve.
  • 30. Places to look ● Programs and systems are a mix of: ○ Variables / Data ○ Computation ○ Control Flow ● We can imagine overloading any of these for a new abstraction.
  • 31. Which one to overload ● Programs and systems are a mix of: ○ Variables / Data → Object oriented view of prediction ○ Computation → Functional view of prediction ○ Control Flow → Decision view of prediction ● All are valid and can generate meaningful abstractions; we choose variables for the Object oriented abstraction and its flexibility in data visibility.
  • 32. Predicted Variables ● Overload the notion of variables to give them “self assignment” ability. ● Allow them to observe state of the program. ● Blame after effects on them. ● They learn to evaluate themselves every time they are used.
  • 33. Predicted Variables PVars is an end-to-end solution: go straight from code to predictions. Teams focus on data and product goals, not pipelines and infrastructure for ML. ✔️ Start using PVars Prediction PVars Predicted Variables in Programming
  • 34. Example: Hello World pvar = PVar(dtype=bool) // create the variable v = pvar.value // read from the variable while not v: pvar.feedback(BAD) // provide feedback to the variable v = pvar.value // read from the variable pvar.feedback(GOOD) // provide feedback to the variable print("Hello World")
  • 35. Caches using Predicted Variables Before PVars class LRUCache(object): def __init__(self, size): self.storage = CacheStorage(size) def get(self, key): if key not in self.storage: return None self._update_timestamp(key, now()) return self.storage[key] def store(self, key, value): if self.storage.full(): evict_key = self._get_key_to_evict() self.storage.evict(evict_key) self.storage.insert(key, value, now())
  • 36. class PredictedCache(object): def __init__(self, size): self.storage = CacheStorage(size) self.pvar = PVar(dtype=float, observations = {'access': key_type, 'store': key_type}, initial_policy_fn=now) def get(self, key): if key not in self.storage: self.pvar.feedback(BAD) return None self.pvar.feedback(GOOD) self.pvar.observe('access', key) predicted_timestamp = pvar.value self._update_timestamp(key, predicted_timestamp) return self.storage[key] def store(self, key, value): self.pvar.observe('store', key) if self.storage.full(): evict_key = self._get_key_to_evict() self.storage.evict(evict_key) predicted_timestamp = pvar.value self.storage.insert(key, value, predicted_timestamp) Caches using Predicted Variables After PVars
  • 37. Caches ●Predicting which slot to evict (1-out-C) ○Improvements over LRU policy on small cache sizes range ○Power law synthetic access pattern (5000 keys)
  • 38. PVars can express a wide range of uses ● Constant value → Predicted Constants ● Single Invocation, ground truth feedback → Supervised ML ● Single Invocation, cost feedback → Bandits ● Multi Invocation, cost feedback → RL / blackbox / dynamical systems methods. ● All of above with stochastic or deterministic variables. ● Which evaluations should i get feedback on ? → Active learning ● Multi-level Data visibility → Privacy sensitive ML ● Device locality for variables → Federated computation ● …...and more
  • 41. Predict: p * interpolation + (1-p) * binary Reward: |old| / |new| / 2 - (2 if not found) Predict: position Reward: |old| / |new| / 2 - (2 if not found) Simplify prediction Simplify reward +discount 0.75 (bandits RL) Predict: p * interpolation + (1-p) * binary Reward: -1 if not found, 10 when found Similar results on chi2, gamma, pareto, power distributions Simplify reward Simplify prediction Predict: position Reward: -1 if not found, 10 if found Works only on uniform and triangular distributions for now Binary Search (normal distribution)
  • 42. We aspire to change programming Make it a natural thing to use ML for all developers in all programming languages ● Whenever you add a heuristic (or a constant or a flag) ● There's no reason not to use it whenever you put an "arbitrary" constant right now. Stretch Goals: ● C++ 202X, Python 4, and Java 10 will have predicted variables as a standard type
  • 43. Potential technology inflection point: Quantum Computing
  • 44.
  • 45. Space-time volume of a quantum computation
  • 46. Task Produce samples {x1, ..., xm} from distribution pU(x). Recent result from complexity theory (Bouland, Fefferman, Nirkhe, Vazirani): It is #P-hard to compute pU(xi). Random circuits, the “hello world” program for quantum processors Formulate quantum circuit by randomly picking 1-qubit or 2-qubit gates from a universal gate set acting on the global superposition state.
  • 47. Understanding the probability distribution involved in supremacy experiments “Speckles” in 2n = N dimensional Hilbert Space Porter Thomas Distribution P(p)=Ne-Np Sort bit strings by probability
  • 48. {x1, . . . , xm} {x’1, . . . , x’m} Use cross entropy to measure quality of samples Formulate quantum circuit by randomly picking 1-qubit or 2-qubit gates from a universal gate set acting on the global superposition state. Experiment to demonstrate quantum supremacy
  • 49. Google Quantum AI timeline 2018? 2028? 72 qubits 105 qubits Quantum supremacy Beyond classical computing capability demonstrated for a select computational problem NISQ processors Algorithms developed for ● Certifiable random numbers ● Simulation of quantum systems ● Quantum optimization ● Quantum neural networks Error corrected quantum computer Growing list of quantum algorithms for wide variety of applications with proven speedups ● Unstructured search ● Factoring ● Semidefinite programming ● Solving linear systems
  • 50. Potential use case inflection point: Tackling Societal Challenges
  • 51. Number of papers on Arxiv Healthcare and Life Sciences featuring Machine Learning 2010 2012 20132011 20152014 2016 2017
  • 52. Predicting Medical Events Encounters Lab Medications Vital Signs Procedures Notes Diagnoses PatientTimeline
  • 53. Predicting Medical Events Encounters Lab Medications Vital signs Procedures Notes Diagnoses PatientTimeline Primary care visit Urgent care visit Hospitalization Glucose 170 ml/dlCreatinine 4 mg/dlHemoglobin A!C: 9.0% Vancomycin 1.5 gmInsulin Glargine 10 units nightly Non-invasive blood pressure 90/65 mmHg Bone biopsy “49 year old man with difficult-to-control diabetes” Acute kidney injurySkin and soft tissue infectionType II Diabetes 76% chance of readmission
  • 55. Over the last year we’ve done research demonstrating how AI can help doctors screen for preventable blindness.
  • 56. 500M+ people rely on cassava plants as their main source of nutrition
  • 57.
  • 58.
  • 59.
  • 61. 1. Be socially beneficial 2. Avoid creating or reinforcing unfair bias 3. Be built and tested for safety 4. Be accountable to people 5. Incorporate privacy design principles 6. Uphold high standards of scientific excellence 7. Be made available for uses that accord with these principles Google’s AI Principles