deep learning reveals the essence of matt damon

80
DEEP LEARNING REVEALS THE ESSENCE OF MATT DAMON

Upload: irmak-sirer

Post on 15-Apr-2017

188 views

Category:

Data & Analytics


1 download

TRANSCRIPT

Page 1: Deep Learning Reveals the Essence of Matt Damon

DEEP LEARNING REVEALS THE ESSENCE OF MATT DAMON

Page 2: Deep Learning Reveals the Essence of Matt Damon

OR…

Page 3: Deep Learning Reveals the Essence of Matt Damon

MY FACE IS NOT THAT DIFFERENT FROM A MOVIE STAR’S AND DAMN IT I’M GONNA PROVE IT USING DEEP LEARNING.

Page 4: Deep Learning Reveals the Essence of Matt Damon

DiscrimInatorGENERATOR

GENERATIVE ADVERSARIAL NETWORKS

Page 5: Deep Learning Reveals the Essence of Matt Damon

GENERATOR

[ ]-0.2 0.4 -0.9 0.7

Page 6: Deep Learning Reveals the Essence of Matt Damon

GENERATOR

[ ]0.1 0.1 -0.3 -0.4

Page 7: Deep Learning Reveals the Essence of Matt Damon

GENERATOR

[ ]0.5 -0.4 -0.3 -0.8

Page 8: Deep Learning Reveals the Essence of Matt Damon

FAKE

DiscrimInator

Page 9: Deep Learning Reveals the Essence of Matt Damon

REAL

DiscrimInator

Page 10: Deep Learning Reveals the Essence of Matt Damon

FAKE

DiscrimInator

Page 11: Deep Learning Reveals the Essence of Matt Damon

DiscrimInatorGENERATOR

AN ARMS RACE

Page 12: Deep Learning Reveals the Essence of Matt Damon

DiscrimInatorGENERATOR

Here, try this…

Page 13: Deep Learning Reveals the Essence of Matt Damon

DiscrimInatorGENERATOR

This is fake!

FAKE

Page 14: Deep Learning Reveals the Essence of Matt Damon

DiscrimInatorGENERATOR

Yay I’m right!

FAKE

Page 15: Deep Learning Reveals the Essence of Matt Damon

DiscrimInatorGENERATOR

Damn, how is he figuring it out? Oh, it needs to be roundish and orange. Here, try this!

Page 16: Deep Learning Reveals the Essence of Matt Damon

DiscrimInatorGENERATOR

I think this is real.

REAL

Page 17: Deep Learning Reveals the Essence of Matt Damon

DiscrimInatorGENERATOR

Dang! I’m wrong. How is he fooling me? Aaah, I should check for well defined eyes.

REAL

Page 18: Deep Learning Reveals the Essence of Matt Damon

DiscrimInatorGENERATOR

We are doing well. Try this!

Page 19: Deep Learning Reveals the Essence of Matt Damon

DiscrimInatorGENERATOR

I think this is fake.

FAKE

Page 20: Deep Learning Reveals the Essence of Matt Damon

DiscrimInatorGENERATOR

Yay! I’m right.

FAKE

Page 21: Deep Learning Reveals the Essence of Matt Damon

DiscrimInatorGENERATOR

Damn, how is he figuring it out? Oh, the eyes need to be well defined. Here, try this!

Page 22: Deep Learning Reveals the Essence of Matt Damon

DiscrimInatorGENERATOR

Man, I am getting super awesome.

Page 23: Deep Learning Reveals the Essence of Matt Damon

DiscrimInatorGENERATOR

HOW DO THEIR INNARDS WORK?

Page 24: Deep Learning Reveals the Essence of Matt Damon

DiscrimInatorGENERATOR

HOW DO THEIR INNARDS WORK?

Page 25: Deep Learning Reveals the Essence of Matt Damon

25

THIS CHEEKY BASTARDIS TRYING TO TRICK YOU

Page 26: Deep Learning Reveals the Essence of Matt Damon

26

Page 27: Deep Learning Reveals the Essence of Matt Damon

27

Page 28: Deep Learning Reveals the Essence of Matt Damon

28

FAKE

H

FAKE

Y

FAKE

C

X

O

FAKE

Page 29: Deep Learning Reveals the Essence of Matt Damon

29

FAKE

REAL

FAKE

REAL

FAKE

REAL

REAL

REAL

FAKE

Page 30: Deep Learning Reveals the Essence of Matt Damon

CLASSIFICATION30

DiscrimInator

Page 31: Deep Learning Reveals the Essence of Matt Damon

CLASSIFICATION31

REAL

REAL

REAL

REAL

REAL

FAKE

FAKE FAKE

FAKE

DiscrimInator

TRAIN

Page 32: Deep Learning Reveals the Essence of Matt Damon

CLASSIFICATION32

REAL

REAL

REAL

REAL

REAL

FAKE

FAKE FAKE

FAKE TRAIN

DiscrimInator

Page 33: Deep Learning Reveals the Essence of Matt Damon

CLASSIFICATION

DiscrimInator

Page 34: Deep Learning Reveals the Essence of Matt Damon

CLASSIFICATION

REAL

DiscrimInator

Page 35: Deep Learning Reveals the Essence of Matt Damon

CLASSIFICATION

FAKE

DiscrimInator

Page 36: Deep Learning Reveals the Essence of Matt Damon

LOGISTIC REGRESSION

PROB(REAL)

Feature 1

Feature 2

Feature 3

Feature 4

Feature 5

Feature 6

Feature 7

Feature 8

Feature 9

Page 37: Deep Learning Reveals the Essence of Matt Damon

37

Page 38: Deep Learning Reveals the Essence of Matt Damon

38

0.6 1.0 0.0

0.0 0.2 0.4

0.7 1.0 0.8

0.7 0.8 0.7

0.8 0.0 0.8

0.7 0.8 0.7

0.8 0.0 0.8

0.8 0.7 0.8

0.8 0.0 0.8

0.9 0.0 0.8

0.2 1.0 0.2

0.0 1.0 0.0

0.9 0.9 0.8

1.0 0.1 0.0

0.9 0.9 0.8

0.2 0.2 0.4

0.2 0.3 0.0

0.6 0.2 0.6

0.7 0.0 0.8

0.9 0.8 0.1

0.7 0.0 0.0

0.7 0.4 1.0

0.0 0.1 1.0

0.0 0.3 0.1

0.9 0.1 0.9

0.1 0.7 0.1

0.9 0.1 0.9

Page 39: Deep Learning Reveals the Essence of Matt Damon

0.8

0.8 0.0 0.8

0.8 0.7 0.8

0.8 0.0 0.8

Page 40: Deep Learning Reveals the Essence of Matt Damon

0.7 0.4 1.0

0.0 0.1 1.0

0.0 0.3 0.1 0.3

CAN’T CATCH COMPLEX LOCAL & NONLINEAR RELATIONSHIPS

Page 41: Deep Learning Reveals the Essence of Matt Damon

DEEP LEARNING

0.7 0.0 0.8

0.9 0.8 0.1

0.7 0.0 0.8p(R)

HIDDENFEATURES

(1)

HIDDENFEATURES

(2)

Page 42: Deep Learning Reveals the Essence of Matt Damon

CONVOLUTIONAL NEURAL NETWORK

0.7 0.0 0.8

0.9 0.8 0.1

0.7 0.0 0.8p(R)

Page 43: Deep Learning Reveals the Essence of Matt Damon

CONVOLUTIONAL NEURAL NETWORK

0.7 0.0 0.8

0.9 0.8 0.1

0.7 0.0 0.8p(R)

Page 44: Deep Learning Reveals the Essence of Matt Damon

CONVOLUTIONAL NEURAL NETWORK

0.7 0.0 0.8

0.9 0.8 0.1

0.7 0.0 0.8p(R)

Page 45: Deep Learning Reveals the Essence of Matt Damon

CONVOLUTIONAL NEURAL NETWORK

0.7 0.0 0.8

0.9 0.8 0.1

0.7 0.0 0.8p(R)

Page 46: Deep Learning Reveals the Essence of Matt Damon

CONVOLUTIONAL NEURAL NETWORK

0.7 0.0 0.8

0.9 0.8 0.1

0.7 0.0 0.8p(R)

Page 47: Deep Learning Reveals the Essence of Matt Damon

CONVOLUTIONAL NEURAL NETWORK

0.7 0.0 0.8

0.9 0.8 0.1

0.7 0.0 0.8p(R)

Page 48: Deep Learning Reveals the Essence of Matt Damon

CONVOLUTIONAL NEURAL NETWORK

0.7 0.0 0.8

0.9 0.8 0.1

0.7 0.0 0.8p(R)

Page 49: Deep Learning Reveals the Essence of Matt Damon

CONVOLUTIONAL NEURAL NETWORK

0.7 0.0 0.8

0.9 0.8 0.1

0.7 0.0 0.8p(R)

Page 50: Deep Learning Reveals the Essence of Matt Damon

Rectified Linear Units and Batch Normalization

0.7 0.0 0.8

0.9 0.8 0.1

0.7 0.0 0.8p(R)

Page 51: Deep Learning Reveals the Essence of Matt Damon
Page 52: Deep Learning Reveals the Essence of Matt Damon

p(REAL)

DiscrimInator

Page 53: Deep Learning Reveals the Essence of Matt Damon

GENERATOR

[ ]-0.2 0.7

Page 54: Deep Learning Reveals the Essence of Matt Damon

GENERATOR

[ ]0.9 -0.5

Page 55: Deep Learning Reveals the Essence of Matt Damon

GENERATOR

[ ]0.1 0.3

Page 56: Deep Learning Reveals the Essence of Matt Damon
Page 57: Deep Learning Reveals the Essence of Matt Damon

DiscrimInatorGENERATOR

GENERATIVE ADVERSARIAL NETWORKS

Page 58: Deep Learning Reveals the Essence of Matt Damon

GENERATOR

IN THE END, A GOOD IMAGE GENERATOR

Page 59: Deep Learning Reveals the Essence of Matt Damon
Page 60: Deep Learning Reveals the Essence of Matt Damon
Page 61: Deep Learning Reveals the Essence of Matt Damon
Page 62: Deep Learning Reveals the Essence of Matt Damon

GENERATOR

IN THE END, A GOOD IMAGE GENERATOR

ALSO THE VECTORS CORRESPONDING TO THE IMAGES ARE IN A LINEAR SPACE. FACES WITH CLOSE VECTORS LOOK SIMILAR.

Page 63: Deep Learning Reveals the Essence of Matt Damon
Page 64: Deep Learning Reveals the Essence of Matt Damon

HOW WOULD A GENERATOR THINK OF MY FACE AS A VECTOR OF 100 NUMBERS?

IF I CAN CONVERT REAL FACES TO VECTORS IN LINEAR SPACE, I CAN MEASURE DISTANCES, MORPH THEM, ETC…

Page 65: Deep Learning Reveals the Essence of Matt Damon

GENERATOR

[ ]0.5 -0.4 -0.3 -0.8

Page 66: Deep Learning Reveals the Essence of Matt Damon

GENERATOR

?

Page 67: Deep Learning Reveals the Essence of Matt Damon

GENERATOR

[ ]0.2 -0.3 -0.2 -0.9

START WITH A RANDOM Z, RUN OPTIMIZATION TO FIND THE Z THAT MINIMIZES A LOSS

LOSS = Pixel Differences + λ Prob(fake)

Page 68: Deep Learning Reveals the Essence of Matt Damon
Page 69: Deep Learning Reveals the Essence of Matt Damon
Page 70: Deep Learning Reveals the Essence of Matt Damon
Page 71: Deep Learning Reveals the Essence of Matt Damon
Page 72: Deep Learning Reveals the Essence of Matt Damon
Page 73: Deep Learning Reveals the Essence of Matt Damon
Page 74: Deep Learning Reveals the Essence of Matt Damon

[ ]0.2 -0.3 -0.2 -0.9 [ ]0.3

-0.5 -0.4 -0.8

Page 75: Deep Learning Reveals the Essence of Matt Damon

[ ]0.2 -0.3 -0.2 -0.9 [ ]0.3

-0.5 -0.4 -0.8

Interpolate and show corresponding images to convince everyone that it only takes very few

visual changes for my face to become Matt Damon’s

Page 76: Deep Learning Reveals the Essence of Matt Damon
Page 77: Deep Learning Reveals the Essence of Matt Damon

AND FINALLY

[ ]x x x x [ ]x

x x x [ ]x

x x x [ ]x

x x x [ ]x

x x x [ ]x

x x x [ ]x

x x x [ ]x

x x x

THE ESSENCE OF IRMAK

[ ]x x x x

Page 78: Deep Learning Reveals the Essence of Matt Damon

THE ESSENCE OF IRMAK

Page 79: Deep Learning Reveals the Essence of Matt Damon

THE ESSENCE OF IRMAK

THE PLATONIC MATT DAMON

Page 80: Deep Learning Reveals the Essence of Matt Damon

THE ESSENCE OF IRMAK

THE PLATONIC MATT DAMON

EIGEN-CLOONEY