1/38
CS7015 (Deep Learning) : Lecture 23
Generative Adversarial Networks (GANs) Mitesh M. Khapra
Department of Computer Science and Engineering Indian Institute of Technology Madras
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
CS7015 (Deep Learning) : Lecture 23 Generative Adversarial Networks - - PowerPoint PPT Presentation
CS7015 (Deep Learning) : Lecture 23 Generative Adversarial Networks (GANs) Mitesh M. Khapra Department of Computer Science and Engineering Indian Institute of Technology Madras 1/38 Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23 Module
1/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
2/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
3/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
3/38
v1 v2 · · · vm V ∈ {0, 1}m b1 b2 bm h1 h2 · · · hn H ∈ {0, 1}n c1 c2 cn
W ∈ Rm×n
w1,1 wm,n
∗
+ ǫ z X Qθ(z|X) Σ µ Pφ(X|z) ˆ X
x1 x2 x3 x4 p(x1) p(x2|x1) p(x3|x1, x2) p(x4|x1, x2, x3) h1 h2 h3 h4
V W
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
3/38
v1 v2 · · · vm V ∈ {0, 1}m b1 b2 bm h1 h2 · · · hn H ∈ {0, 1}n c1 c2 cn
W ∈ Rm×n
w1,1 wm,n
∗
+ ǫ z X Qθ(z|X) Σ µ Pφ(X|z) ˆ X
x1 x2 x3 x4 p(x1) p(x2|x1) p(x3|x1, x2) p(x4|x1, x2, x3) h1 h2 h3 h4
V W
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
3/38
v1 v2 · · · vm V ∈ {0, 1}m b1 b2 bm h1 h2 · · · hn H ∈ {0, 1}n c1 c2 cn
W ∈ Rm×n
w1,1 wm,n
∗
+ ǫ z X Qθ(z|X) Σ µ Pφ(X|z) ˆ X
x1 x2 x3 x4 p(x1) p(x2|x1) p(x3|x1, x2) p(x4|x1, x2, x3) h1 h2 h3 h4
V W
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
3/38
v1 v2 · · · vm V ∈ {0, 1}m b1 b2 bm h1 h2 · · · hn H ∈ {0, 1}n c1 c2 cn
W ∈ Rm×n
w1,1 wm,n
∗
+ ǫ z X Qθ(z|X) Σ µ Pφ(X|z) ˆ X
x1 x2 x3 x4 p(x1) p(x2|x1) p(x3|x1, x2) p(x4|x1, x2, x3) h1 h2 h3 h4
V W
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
4/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
4/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
4/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
5/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
5/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
6/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
6/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
6/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
6/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
6/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
6/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
6/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
6/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
6/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
7/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
7/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
7/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
7/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
8/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
8/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
8/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
8/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
8/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
9/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
9/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
9/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
10/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
10/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
10/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
10/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
11/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
11/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
11/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
11/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
12/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
12/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
12/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
12/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
12/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
13/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
13/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
13/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
13/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
14/38
1: procedure GAN Training 11: end procedure
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
14/38
1: procedure GAN Training 2:
10:
11: end procedure
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
14/38
1: procedure GAN Training 2:
3:
7:
10:
11: end procedure
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
14/38
1: procedure GAN Training 2:
3:
4:
7:
10:
11: end procedure
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
14/38
1: procedure GAN Training 2:
3:
4:
5:
7:
10:
11: end procedure
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
14/38
1: procedure GAN Training 2:
3:
4:
5:
6:
m
7:
10:
11: end procedure
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
14/38
1: procedure GAN Training 2:
3:
4:
5:
6:
m
7:
8:
10:
11: end procedure
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
14/38
1: procedure GAN Training 2:
3:
4:
5:
6:
m
7:
8:
9:
m
10:
11: end procedure
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
15/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
16/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
16/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
16/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
17/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
17/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
17/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
17/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
17/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
18/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
19/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
19/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
19/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
19/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
19/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
19/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
20/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
20/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
20/38
1 If pG = pdata then the global minimum of the virtual training criterion
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
20/38
1 If pG = pdata then the global minimum of the virtual training criterion
2 The global minimum of the virtual training criterion C(G) = max
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
21/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
21/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
21/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
21/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
21/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
21/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
22/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
22/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
22/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
22/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
23/38
φ
θ
x
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
23/38
φ
θ
x
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
23/38
φ
θ
x
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
23/38
φ
θ
x
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
23/38
φ
θ
x
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
23/38
φ
θ
x
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
23/38
φ
θ
x
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
23/38
φ
θ
x
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
23/38
φ
θ
x
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
24/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
24/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
24/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
24/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
24/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
24/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
24/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
24/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
25/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
25/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
26/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
26/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
26/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
26/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
27/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
27/38
x
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
27/38
x
x
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
27/38
x
x
x
x
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
27/38
x
x
x
x
x
pG(x)+pdata(x) 2
pG(x)+pdata(x) 2
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
27/38
x
x
x
x
x
pG(x)+pdata(x) 2
pG(x)+pdata(x) 2
CS7015 (Deep Learning) : Lecture 23
28/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
28/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
29/38
CS7015 (Deep Learning) : Lecture 23
29/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
29/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
29/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
29/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
30/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
30/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
31/38
D
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
31/38
D
CS7015 (Deep Learning) : Lecture 23
31/38
D
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
31/38
D
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
31/38
D
2
2
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
31/38
D
2
2
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
32/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
33/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
33/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
33/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
34/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
34/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
34/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
34/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
34/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
35/38 Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
36/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
37/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
37/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
37/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
37/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
37/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
37/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
37/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
37/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
37/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23
38/38
Mitesh M. Khapra CS7015 (Deep Learning) : Lecture 23