Generative Adversarial Networks (GAN)
Supervised Learning
2
https://www.slideshare.net/NaverEngineering/1-gangenerative-adversarial-network
Unsupervised Learning
3
https://www.slideshare.net/NaverEngineering/1-gangenerative-adversarial-network
= Latent space
Model Distribution vs. Data Distribution
4
Probability Distribution
5
https://www.slideshare.net/NaverEngineering/1-gangenerative-adversarial-network
Probability Distribution
6
https://www.slideshare.net/NaverEngineering/1-gangenerative-adversarial-network
Probability Distribution
7
https://www.slideshare.net/NaverEngineering/1-gangenerative-adversarial-network
Probability Density Estimation Problem
8
https://www.slideshare.net/NaverEngineering/1-gangenerative-adversarial-network
Generative Models from Lower Dimension
9
Latent space =
Source: Prof. Roger Grosse at U of Toronto
Deterministic Transformation (by Network)
10
Source: Prof. Roger Grosse at U of Toronto
Deterministic Transformation (by Network)
11
Source: Prof. Roger Grosse at U of Toronto
Prob. Density Function by Deep Learning
12
Source: Prof. Roger Grosse at U of Toronto
Generative Adversarial Networks (GANs)
13
Turing Test
14
Generative Adversarial Networks (GAN)
15
Autoencoder
16
Generative Adversarial Networks (GAN)
17
Generated
Generator
Data Generator
Generative Adversarial Networks (GAN)
18
Generated
Real
Real
Fake
Generator
Discriminator
Intuition for GAN
19
https://www.slideshare.net/NaverEngineering/1-gangenerative-adversarial-network
Discriminator Perspective (1/2)
20
https://www.slideshare.net/NaverEngineering/1-gangenerative-adversarial-network
Discriminator Perspective (2/2)
21
https://www.slideshare.net/NaverEngineering/1-gangenerative-adversarial-network
Generator Perspective
22
https://www.slideshare.net/NaverEngineering/1-gangenerative-adversarial-network
Loss Function of Discriminator
23
https://www.slideshare.net/NaverEngineering/1-gangenerative-adversarial-network
Loss Function of Generator
24
https://www.slideshare.net/NaverEngineering/1-gangenerative-adversarial-network
Non-Saturating Game
25
https://www.slideshare.net/NaverEngineering/1-gangenerative-adversarial-network
Non-Saturating Game
26
https://www.slideshare.net/NaverEngineering/1-gangenerative-adversarial-network
Solving a MinMax Problem
27
https://www.slideshare.net/NaverEngineering/1-gangenerative-adversarial-network
GAN Implementation in TensorFlow
28
TensorFlow Implementation
29
784
784
256
256
100
1
https://www.slideshare.net/NaverEngineering/1-gangenerative-adversarial-network
Generator
30
784
784
256
256
100
1
https://www.slideshare.net/NaverEngineering/1-gangenerative-adversarial-network
Discriminator
31
784
784
256
256
100
1
https://www.slideshare.net/NaverEngineering/1-gangenerative-adversarial-network
Combined
32
784
784
256
256
100
1
https://www.slideshare.net/NaverEngineering/1-gangenerative-adversarial-network
Training: Discriminator
33
784
784
256
256
100
1
https://www.slideshare.net/NaverEngineering/1-gangenerative-adversarial-network
Training: Generator
34
784
784
256
256
100
1
https://www.slideshare.net/NaverEngineering/1-gangenerative-adversarial-network
After Training
35
https://www.slideshare.net/NaverEngineering/1-gangenerative-adversarial-network
Generated Images
36
DCGAN
37
DCGAN (Deep Convolutional GAN)
38
Alec Radford, et al., "Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks," ICLR 2016
CycleGAN
39
Image-to-Image Translation
40
Paired vs. Unpaired Datasets
41
Paired vs. Unpaired Datasets
42
Change the styles of images
using only unpaired datasets
Cycle-consistent Generative
Adversarial Networks
(CycleGAN)
Start from GAN
43
Horse
Zebra
Adversarial Loss
(real or fake)
Start from GAN
44
Horse
Zebra
Adversarial Loss
(real or fake)
Discriminator
45
CycleGAN
46
Adversarial Loss
(real or fake)
Cycle-consistency loss
CycleGAN
47
Example of CycleGAN
48
Grain Boundary
49
Input
Deep Learning-based Grain Boundary Detection
Output
J. Na+, J. Lee+, et al., Label-free Grain Segmentation for Optical Microscopy Images via Unsupervised Image-to-Image Translation, Materials Characterization
Methodology
50
Virtual microstructure
Real microstructure
Not paired
CycleGAN
51
Real-to-Virtual Microstructure Translation
Real microstructure
Adversarial loss
Reconstruction loss
Virtual microstructure
Results: Low Carbon Steel
52
Input
Ground Truth
CycleGAN
Homework Assignment
53
Conditional GAN
54
Conditional GAN
55
Conditional GAN
56
Conditional GAN
57
Normal Distribution of MNIST
58
Generator at GAN
59
Generator
Generator
Generator at Conditional GAN
60
Generator
Generator
Generator
61
Discriminator
62
Combined
63
CGAN Implementation
64
Fake MNIST Images Generated by CGAN
65
InfoGAN
66
InfoGAN
67
InfoGAN
68
Continuous latent code 1
InfoGAN
69
Continuous latent code 2
InfoGAN
70
Generator at Conditional GAN
71
Generator
Generator
Generator at InfoGAN
72
Generator
Generator
Structure of InfoGAN
73
1024
7×7×128
62+2
(7, 7, 128)
(14, 14, 64)
(28, 28, 1)
(28, 28, 1)
(14, 14, 64)
(7, 7, 128)
1024
128
2
1
Generator
74
Discriminator
75
Discriminator
76
Q Net
77
Combined
78
Combined
79
Fake MNIST Images Generated by InfoGAN
80
Nose 1
Nose 2
Nose 3
Nose 4
Nose 5
Nose 6
Nose 7
Nose 8
Latent code 2
Nose 1
Nose 2
Nose 3
Nose 4
Nose 5
Nose 6
Nose 7
Nose 8
Latent code 1
Example of InfoGAN
81
Generate FFT Spectrum Data
82
Methodology
83
Generator
Low
High
Noise
Low value case
High value case
High information
Low information
Fake Vibration Signals Generated by InfoGAN
84
Normal
Abnormal
Adversarial Autoencoder
85
Limitation of Autoencoder
86
Generate Data from Controlled Latent Space
87
Adversarial Autoencoder
88
Encoder
Adversarial Autoencoder
89
Encoder
Decoder
Adversarial Autoencoder
90
Encoder
Decoder
Generator
Adversarial Autoencoder
91
Encoder
Decoder
Generator
Discriminator
Prior Distribution and Latent Representation
92
Prior Distribution and Latent Representation
93
Prior Distribution and Latent Representation
94
Latent representations of�MNIST dataset
Latent representations of�MNIST dataset
Incorporating Label Information
95
Label Information
Disentangled Latent Representation
96
Disentangled Latent Representation
97
Disentangled Latent Representation
98
Disentangled Latent Representation
99
Disentangled Latent Representation
100
Disentangled Latent Representation
101
Disentangled Latent Representation
102