104
Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial Intelligence Institute

Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

  • Upload
    others

  • View
    35

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Artificial Intelligence, Machine Learning, and

Deep Learning

Laurent Charlin HEC Montréal

Mila, Quebec Artificial Intelligence Institute

Page 2: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Progressive Growing of GANs for Improved Quality, Stability, and Variation Karras et al., ICLR’18

Page 3: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Progressive Growing of GANs for Improved Quality, Stability, and Variation Karras et al., ICLR’18

All computer generated

Page 4: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Deep Visual-Semantic Alignments for Generating Image Descriptions A. Karpathy, L. Fei-Fei, CVPR’15

Page 5: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Deep Visual-Semantic Alignments for Generating Image Descriptions A. Karpathy, L. Fei-Fei, CVPR’15

Page 6: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Deep Visual-Semantic Alignments for Generating Image Descriptions A. Karpathy, L. Fei-Fei, CVPR’15

Page 7: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial
Page 8: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Automatic Translation

https://ai.googleblog.com/2016/11/zero-shot-translation-with-googles.html

Page 9: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Automatic Translation

https://ai.googleblog.com/2016/11/zero-shot-translation-with-googles.html

Page 10: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Mnih et al. Nature  Volume 518,  pages 529–533  (26 February 2015)

AI for video games

Page 11: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Esteva et al. Nature  volume 542,  pages 115–118 (02 February 2017)

AI for automatic skin cancer detection

Page 12: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial
Page 13: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

9

Academia

Corporations

Governments

Page 14: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Introduction to Artificial intelligence

1. The technology

• Machine learning, deep learning, neural networks

2. Why now?

• Data, hardware, software

10

Page 15: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Artificial intelligence Make intelligent machines

Idea: Hugo Larochelle

Page 16: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Artificial intelligence Make intelligent machines

Machine learning Make machines that can learn

Idea: Hugo Larochelle

Page 17: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Artificial intelligence Make intelligent machines

Machine learning Make machines that can learn

Deep learning A set of machine learning techniques

based on neural networks

Idea: Hugo Larochelle

Page 18: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

12

Machine learning Make machines that can learn

Page 19: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

• Why is learning useful?

12

Machine learning Make machines that can learn

Page 20: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

• Why is learning useful?

• Program computers to be intelligent

12

Machine learning Make machines that can learn

Page 21: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

• Why is learning useful?

• Program computers to be intelligent

• Imagine you want a computer to recognize digits:

• Describe what a “1” should look like

• Describe what a “2” should look like

• …

12

Machine learning Make machines that can learn

Page 22: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

• Why is learning useful?

• Program computers to be intelligent

• Imagine you want a computer to recognize digits:

• Describe what a “1” should look like

• Describe what a “2” should look like

• …

12

Machine learning Make machines that can learn

• High variability

Page 23: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

• Why is learning useful?

• Program computers to be intelligent

• Imagine you want a computer to recognize digits:

• Describe what a “1” should look like

• Describe what a “2” should look like

• …

12

Machine learning Make machines that can learn

• High variability

Page 24: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

• Why is learning useful?

• Program computers to be intelligent

• Imagine you want a computer to recognize digits:

• Describe what a “1” should look like

• Describe what a “2” should look like

• …

12

Machine learning Make machines that can learn

• High variability

Page 25: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

• Why is learning useful?

• Program computers to be intelligent

• Imagine you want a computer to recognize digits:

• Describe what a “1” should look like

• Describe what a “2” should look like

• …

12

Machine learning Make machines that can learn

• High variability

Page 26: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

• Why is learning useful?

• Program computers to be intelligent

• Imagine you want a computer to recognize digits:

• Describe what a “1” should look like

• Describe what a “2” should look like

• …

12

Machine learning Make machines that can learn

• High variability

• Time consuming

• Lack of robustness

Page 27: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

• Why is learning useful?

• Program computers to be intelligent

• Imagine you want a computer to recognize digits:

• Describe what a “1” should look like

• Describe what a “2” should look like

• …

12

Machine learning Make machines that can learn

• High variability

• Time consuming

• Lack of robustness

• Think of recognizing more complicated object (e.g., animals)

Page 28: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

13

Machine learning Make machines that can learn

Page 29: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

• How do children learn?

• Using “examples”

13

Machine learning Make machines that can learn

Page 30: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

• How do children learn?

• Using “examples”

• Machine learning

• Present examples and labels to the computer

13

Machine learning Make machines that can learn

Page 31: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

two

Example Label

sevenfour

Page 32: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

two

Example Label

seven

Page 33: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

two

Example Label

Page 34: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

two

Example Label

Training: Process of learning using examples

Page 35: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

two

Example Label

Training: Process of learning using examples

Page 36: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

two

Example Label

Training: Process of learning using examples

?

Testing: Evaluate the performance of the computer

Page 37: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial
Page 38: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

(Statistical) model of the data

Page 39: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Linear regression model

y = β0 + β1x1 + β2x2 + . . .+ ϵ<latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit>

Page 40: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Non-Linear regression model

y = f(β0 + β1x1 + β2x2 + . . .) + ϵ<latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit>

Page 41: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Non-Linear regression model

y = f(β0 + β1x1 + β2x2 + . . .) + ϵ<latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit>

β1<latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit>

β2<latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit>

x1<latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit>

x2<latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit>

f(·)<latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit>

β0<latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit>

...<latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit>

Page 42: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Neural Network model (a type of non-linear regression)

Biologically inspired models

Page 43: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Neural network model of the data Deep

Page 44: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Caption generation

Page 45: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

The cat eats grass Le chat mange de l’herbe

Translation

Page 46: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

The cat eats grass

Image generation

Page 47: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

The cat eats grass

Speech recognition

Page 48: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Recommendation

Page 49: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Sales

How good is my advertisement?

Page 50: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Will my team make the playoffs?

Page 51: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Financial predictions

Buy / Sell / Hold

Page 52: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Financial predictions

Buy / Sell / Hold

Page 53: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Should bail be given?

Page 54: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Machine Learning and Statistics (in 1 slide)

29

Page 55: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Machine Learning and Statistics (in 1 slide)

• Machine learning is most often about predictions

• Performance on out-of-sample data

• Hypothesis testing & confidence intervals rarely considered

29

Page 56: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Machine Learning and Statistics (in 1 slide)

• Machine learning is most often about predictions

• Performance on out-of-sample data

• Hypothesis testing & confidence intervals rarely considered

• Bayesian machine learning approaches sometimes provide the best of both worlds

29

Page 57: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Why now?

Page 58: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

• Availability of large datasets

31

Page 59: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Idea: Alain Tapp

Page 60: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Idea: Alain Tapp

Page 61: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Idea: Alain Tapp

Page 62: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Idea: Alain Tapp

Page 63: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Idea: Alain Tapp

Page 64: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Idea: Alain Tapp

Page 65: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

• The number of examples required relates to the complexity of the task

• Recognizing digits 10K examples

• Recognizing objects in images 10M examples

• Chatbots ?

38

�<latexit sha1_base64="9l0x2S3Ii8e38JcFqYPUHeHrXMw=">AAADM3icfVLdahNBFJ6uP63xr1XwxpvFUKgQwq4I9rJgq72wWsE0hWwoZycn6bCzM8PM2Ziw5CG81efwYcQ78dZ3cDaJ0k3EA7t8fN/5n5MaKRxF0beN4Nr1Gzc3t241bt+5e+/+9s6DM6cLy7HDtdT2PAWHUijskCCJ58Yi5KnEbpq9rPTuGK0TWn2gqcF+DiMlhoIDeaqbgDFWTy62m1E7mlu4DuIlaLKlnV7sBI+SgeZFjoq4BOd6cWSoX4IlwSXOGknh0ADPYIQ9DxXk6PrlvN9ZuOuZQTjU1n+Kwjl7NaKE3LlpnnrPHOjSrWoV+S+tV9Bwv18KZQpCxReFhoUMSYfV8OFAWOQkpx4At8L3GvJLsMDJr6hWJdU6I0hdC6yFaSsvJAmrP9YGK+cNGOR1dlIowfUAV1hJE7JQ38xgLIxb7mayWE5jN3FIOQhV7aY8RjlG3yeEb7HAv6qvW8l7h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OGknh0ADPYIQ9DxXk6PrlvN9ZuOuZQTjU1n+Kwjl7NaKE3LlpnnrPHOjSrWoV+S+tV9Bwv18KZQpCxReFhoUMSYfV8OFAWOQkpx4At8L3GvJLsMDJr6hWJdU6I0hdC6yFaSsvJAmrP9YGK+cNGOR1dlIowfUAV1hJE7JQ38xgLIxb7mayWE5jN3FIOQhV7aY8RjlG3yeEb7HAv6qvW8l7h2IkyLXe+NdUrdcWMXu6FlLLd+J/Dv1M9Ef4X6qr3o3kEP1TWzzxIe8MelLbMjmalUmVJE3Lo9ms4S8pXr2bdXD2rB1H7fj98+bBq+VNbbHH7AnbYzF7wQ7YMTtlHcZZxj6xz+xL8DX4HvwIfi5cg41lzENWs+DXb+lqDww=</latexit>

Page 66: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

four

• “Marketplace for work that requires human intelligence”. (http://mturk.com)

39

Example Label

Page 67: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

four

• “Marketplace for work that requires human intelligence”. (http://mturk.com)

• Requesters propose tasks (HITs) to workers

39

Example Label

Page 68: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

four

• “Marketplace for work that requires human intelligence”. (http://mturk.com)

• Requesters propose tasks (HITs) to workers

• Each task is worth a certain amount of money

39

Example Label

Page 69: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

four

• “Marketplace for work that requires human intelligence”. (http://mturk.com)

• Requesters propose tasks (HITs) to workers

• Each task is worth a certain amount of money

• Mechanisms to ensure the quality of the results

39

Example Label

Page 70: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Hardware resources

40

Page 71: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Hardware resources

• Before 2010: Use a faster computer

40

Page 72: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Hardware resources

• Before 2010: Use a faster computer

• Now: specialized hardware

40

Page 73: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Hardware resources

• Before 2010: Use a faster computer

• Now: specialized hardware

• Graphical processing units (GPU)

• Specialized hardware for linear algebra operations

40

Page 74: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Hardware resources

• Before 2010: Use a faster computer

• Now: specialized hardware

• Graphical processing units (GPU)

• Specialized hardware for linear algebra operations

• Tensorflow processing unit (TPU) or other even more-tailored hardware

40

Page 75: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

https://cloud.google.com/blog/big-data/2017/05/an-in-depth-look-at-googles-first-tensor-processing-unit-tpu

Performance in terms of number of predictions per seconds

Fast Computer

GPU

TPU

Page 76: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

https://cloud.google.com/blog/big-data/2017/05/an-in-depth-look-at-googles-first-tensor-processing-unit-tpu

Performance in terms of number of predictions per seconds

Fast Computer

GPU

TPU

Page 77: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Software

42

python, lua, C++

CPU, GPU, clusters

Neural Networks

Theano, Torch, Tensorflow

Libraries

Programing Languages

Computer

Models

Page 78: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Software

42

python, lua, C++

CPU, GPU, clusters

Neural Networks

Theano, Torch, Tensorflow

Libraries

Programing Languages

Computer

Models

Page 79: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Software

42

python, lua, C++

CPU, GPU, clusters

Neural Networks

Theano, Torch, Tensorflow

Libraries

Programing Languages

Computer

Models

Page 80: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Software

42

python, lua, C++

CPU, GPU, clusters

Neural Networks

Theano, Torch, Tensorflow

Libraries

Programing Languages

Computer

Models

Page 81: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

• These libraries have had a transformative effect

• We can explore models much faster than we before

43

Page 82: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Knowledge dissemination

• Data:

• Publishing dataset is becoming the new norm

• Most important datasets are publicly available

• Software:

• Libraries are open source

• Researchers are encouraged to share their code

• Ideas: interesting results are shared with the community in a matter of months (e.g., using arXiv.org)

44

Page 83: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Takeaways

45

Page 84: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Takeaways• Machine learning is a subfield of artificial intelligence

45

Page 85: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Takeaways• Machine learning is a subfield of artificial intelligence

• Neural networks are machine learning models

• They learn from examples

45

Page 86: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Takeaways• Machine learning is a subfield of artificial intelligence

• Neural networks are machine learning models

• They learn from examples

• Essential ingredients for neural nets

1. Large amounts of data

2. Specialized hardware

3. Software Stack

• Current neural nets are close to human performance in some domains

45

Page 87: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Learning Visual Reasoning Without Strong Priors, Perez et al., 2017

Page 88: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Learning Visual Reasoning Without Strong Priors, Perez et al., 2017

How many yellow things are there?

Page 89: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Learning Visual Reasoning Without Strong Priors, Perez et al., 2017

How many yellow things are there? 2

Page 90: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Learning Visual Reasoning Without Strong Priors, Perez et al., 2017

How many yellow things are there?

2How many cyan things are there?

2

Page 91: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Learning Visual Reasoning Without Strong Priors, Perez et al., 2017

How many yellow things are there?

2How many cyan things are there?

2

Are there as many yellow things as cyan things?

Page 92: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Learning Visual Reasoning Without Strong Priors, Perez et al., 2017

How many yellow things are there?

2How many cyan things are there?

2

Are there as many yellow things as cyan things? No

Page 93: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Some Challenges for deep learning

47

Page 94: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Some Challenges for deep learning

47

Page 95: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Some Challenges for deep learning

1. How do we learn higher-level reasoning?

47

Page 96: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Some Challenges for deep learning

1. How do we learn higher-level reasoning?

2. How much data do we need to solve more complicated tasks? E.g., chatbots

47

Page 97: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Some Challenges for deep learning

1. How do we learn higher-level reasoning?

2. How much data do we need to solve more complicated tasks? E.g., chatbots

• Will we ever collect enough data?

47

Page 98: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Some Challenges for deep learning

1. How do we learn higher-level reasoning?

2. How much data do we need to solve more complicated tasks? E.g., chatbots

• Will we ever collect enough data?

3. How de we build systems we can trust (ethical, minimize bias)?

47

Page 99: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Some Challenges for deep learning

1. How do we learn higher-level reasoning?

2. How much data do we need to solve more complicated tasks? E.g., chatbots

• Will we ever collect enough data?

3. How de we build systems we can trust (ethical, minimize bias)?

4. …

47

Page 100: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

How will AI impact the world?

48

Page 101: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

How will AI impact the world?

• Science fiction scenarios are unlikely

48

Page 102: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

How will AI impact the world?

• Science fiction scenarios are unlikely

• “Yes they [neural nets] can do great things, yes we can build companies around them, and yes they’ll change the economy but we are not there yet”

— Micheal I. Jordan (UC Berkeley)

48

Page 103: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

How will AI impact the world?

• Science fiction scenarios are unlikely

• “Yes they [neural nets] can do great things, yes we can build companies around them, and yes they’ll change the economy but we are not there yet”

— Micheal I. Jordan (UC Berkeley)

• Major economic disruptions?

48

Page 104: Artificial Intelligence, Machine Learning, and Deep Learning...Artificial Intelligence, Machine Learning, and Deep Learning Laurent Charlin HEC Montréal Mila, Quebec Artificial

Thanks!