SlideShare a Scribd company logo
GAN Introduction
Hyungjoo Cho
Generative Model
CAT
Generative Model
OWL
Generative Model
CAT
OWL
Generative Model
Let’s Think
A CAT ? 😺
A CAT ? 😺
A CAT ! 😺
Ideal Generative Model
Model
CAT
Short
Hair
Big
Ear
Ideal Generative Model
Model
CAT
Short
Hair
Big
Ear
Ideal Generative Model
Model
CAT
Short
Hair
Big
Ear
Tabby
Ideal Generative Model
Model
CAT
Short
Hair
Big
Ear
Tabby Savannah Cat
Why Generative
• Use high-dimensional, complicated probability distributions

• Combining with Reinforcement learning

• Missing data

• Semi-supervised learning

• Multi-modal outputs

• Code

• Can make data with realistic generation
–Richard Feynman
“What I cannot create, I do not understand.”
Deep Generative Models
What is Generative Model
https://blog.openai.com/generative-models/
Toy Example
Generative model
Generator (TF-code)
Result … 😢
Maybe we need more conditions…
Deep Generative Models
• Auto-Regressive Models

• Variational Auto-Encoder

• Generative Adversarial Networks
Auto-Regressive Models
Auto-Regressive Models
http://slazebni.cs.illinois.edu/spring17/lec13_advanced.pdf
Multi-Dimensional RNNs
<Graves et al, Multi-Dimensional Recurrent Neural Networks, 2013>
2D RNN Forward and Backward passes
Sequence ordering (not fixed) Multi-directional MDRNNs
Spatial LSTM
<Theis et al, Generative Image Modeling Using Spatial LSTMs, 2015>
Pixel RNN
<Aaron et al, Pixel Recurrent Neural Networks, 2016>
Sampling
• Feed the 2D vector of zeros( I ) to the generator

➔ The output vector : O

• O is softmax activations for each pixel

➔ Probability of first pixel value : p(0, 0)
• Random sampling from p(0, 0)

➔ Set the very first pixel of I with sampled value

• Feed I to the generator 

• Iteration…
Results
<Aaron et al, Pixel Recurrent Neural Networks, 2016>
Features
• Simple and stable training process

• Best log likelihoods so far

• Inefficient during sampling

• Don’t easily provide simple low-dimensional codes for images
Variational Auto-Encoder
Variational Inference
Variational Inference
Latent variables
Model
CAT
Short
Hair
Big
Ear
Tabby Savannah Cat
Latent variables
Model
CAT
Short
Hair
Big
Ear
Tabby Savannah Cat
Latent Space Data Space
Latent variables
Model
Latent Space Data Space
Low Dimension High Dimension
Mapping Function
Variational Inference
Well Known Distribution
: Multivariate Gaussian
Variational Inference
Well Known Distribution
: Multivariate Gaussian
Sampling
Variational Inference
Well Known Distribution
: Multivariate Gaussian
Sampling
Make Distribution
: Pairs of
Mean, Variance
Kullback Leibler Divergence
Kullback Leibler Divergence
Kullback Leibler Divergence
Variational Inference
Well Known Distribution
: Multivariate Gaussian
Sampling
Make Distribution
: Pairs of
Mean, Variance
Optimize
Variational Auto-Encoder
Objective (Evidence Lower BOund)
Objective (Evidence Lower BOund)
Maximize Log-likelihood Minimize the distance of p and q
Auto-Encoder
Reparameterization Trick
Results
Features
• Simple and stable training process

• Can check log likelihood
• Latent variable
• Low quality
Generative Adversarial Nets
GANs
GANs
Vanilla GANs
Vanilla GANs
Vanilla GANs
<Goodfellow et al, Generative Adversarial Networks, 2014>
Results
<Goodfellow et al, Generative Adversarial Networks, 2014>
Features
• Advanced quality

• Unstable training

• Mode collapsing

• Cannot check log likelihood
Vanilla GANs
Model
Loss
Hyper
Parameters
Code
DCGAN
Deep Convolutional GAN
<Radford et al, Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks, 2015>
Tips !!
Issues during Training
• Mode Collapsing / Oscillating

• Intractable Training Loss

• Balance btw Generator & Discriminator 

• Manipulation

• Not Enough Quality
Mode Collapsing / Oscillating
The generator rotates through the modes of the data distribution.
<Metz et al, Unrolled Generative Adversarial Networks, 2016>
Mode Collapsing / Oscillating
< https://www.slideshare.net/HyungjooCho2/deep-generative-modelpdf >
Mode Collapsing / Oscillating
GAN uses Jenen-Shannon Divergence
Mode Collapsing / Oscillating
Target MLE JS R-KL
Mode Collapsing / Oscillating
Target MLE JS R-KL
JS and Reverse KL Divergence tend to favor under-generalization.

It never converges to a fixed distribution, and only ever assigns significant probability mass
to a single data mode at once.
Intractable Loss
Intractable Loss
< https://www.slideshare.net/ssuser77ee21/generative-adversarial-networks-70896091 >
Intractable Loss
Intractable Loss
Intractable Loss
GAN
LSGAN WGAN
Intractable Loss
The Wasserstein distance(left plot) is continuous and provides a usable gradient everywhere.

The JS plot(right) is not continuous and does not provide a usable gradient.
<Arjovsky et al, Wasserstein Generative Adversarial Networks, 2017>
Intractable Loss
The WGAN’s loss decreases consistently as training progresses 

and sample quality increases.
Balance
Boundary Equilibrium GAN
<Berthelot et al, BEGAN, 2017>
Manipulation
Conditional GAN
<Mirza et al, Conditional Generative Adversarial Networks, 2014>
Quality
Progressive Growing of GAN
<Karras et al, Progressive Growing of GANs For Improved Quality, Stability, and Variation, 2017>
Quality
Significant Variants
Info GAN
InfoGAN successfully disentangles writing styles
<Chen et al, InfoGAN, 2017>
Info GAN
Real fake
Classifying time series data through unsupervised way
Clustering
< https://github.com/buriburisuri/timeseries_gan >
Pix2Pix
Most successful GAN architecture !!
<Isola et al, Image-to-image translation with conditional GAN, 2016>
Stain Style Transfer
Stain Style Transfer
SST achieves the highest performance on
original images on tumor classification
Domain Cross GAN
Unsupervised version of Pix2Pix
<Taigman et al, Unsupervised Cross-Domain Image Generation, 2016>
DiscoGAN / CycleGAN
<Kim et al, Learning to Discover Cross Domain Relations with Generative Adversarial Networks, 2017>
DiscoGAN / CycleGAN
<Zhu et al, Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networks, 2017>
Simulated + Unsupervised Learning
<Shrivastava et al, Learning from Simulated and Unsupervised Images through Adversarial Training, 2016>
AnoGAN
<Schlegl et al,Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker discovery, 2017>
AmbientGAN
Generative Replay
<Shin et al,Continual Learning with Deep Generative Replay, 2017>
Thanks ☺

More Related Content

PDF
Generative adversarial networks
PDF
Deep Convolutional GANs - meaning of latent space
PDF
GANs and Applications
PDF
Introduction to Generative Adversarial Networks (GANs)
PDF
지적 대화를 위한 깊고 넓은 딥러닝 PyCon APAC 2016
PPTX
Generative Adversarial Networks (GAN)
PPTX
Generative Adversarial Networks (GANs)
PDF
오토인코더의 모든 것
Generative adversarial networks
Deep Convolutional GANs - meaning of latent space
GANs and Applications
Introduction to Generative Adversarial Networks (GANs)
지적 대화를 위한 깊고 넓은 딥러닝 PyCon APAC 2016
Generative Adversarial Networks (GAN)
Generative Adversarial Networks (GANs)
오토인코더의 모든 것

What's hot (20)

PDF
Image-to-Image Translation
PDF
Introduction to Generative Adversarial Networks
PDF
Generative Adversarial Network (+Laplacian Pyramid GAN)
PDF
Basic Generative Adversarial Networks
PPTX
GANs Presentation.pptx
PPTX
Generative Adversarial Networks and Their Applications in Medical Imaging
PPTX
Feature selection concepts and methods
PPTX
Optimization/Gradient Descent
PDF
Generative models (Geek hub 2021 lecture)
PPTX
Variational inference intro. (korean ver.)
PPTX
K Nearest Neighbor Algorithm
PDF
Generative Adversarial Networks
PPTX
Gradient descent method
PDF
PR-409: Denoising Diffusion Probabilistic Models
PDF
Autoencoders
PDF
bag-of-words models
PPTX
Optimization in Deep Learning
PPTX
Resnet.pptx
PDF
Generative adversarial networks
PDF
Variational Autoencoders For Image Generation
Image-to-Image Translation
Introduction to Generative Adversarial Networks
Generative Adversarial Network (+Laplacian Pyramid GAN)
Basic Generative Adversarial Networks
GANs Presentation.pptx
Generative Adversarial Networks and Their Applications in Medical Imaging
Feature selection concepts and methods
Optimization/Gradient Descent
Generative models (Geek hub 2021 lecture)
Variational inference intro. (korean ver.)
K Nearest Neighbor Algorithm
Generative Adversarial Networks
Gradient descent method
PR-409: Denoising Diffusion Probabilistic Models
Autoencoders
bag-of-words models
Optimization in Deep Learning
Resnet.pptx
Generative adversarial networks
Variational Autoencoders For Image Generation
Ad

Similar to Gan intro (20)

PDF
Generative Adversarial Networks and Their Medical Imaging Applications
PPTX
Reading group gan - 20170417
PDF
(20180715) ksiim gan in medical imaging - vuno - kyuhwan jung
PPTX
GAN_SANTHOSH KUMAR_Architecture_in_network
PPTX
WIX3001 Lecture 6 Principles of GA.pptx
PDF
Icml2018 naver review
PDF
Generative Adversarial Networks 2
PPTX
2014 toronto-torbug
PPTX
brief Introduction to Different Kinds of GANs
PDF
PDF
Robustness Metrics for ML Models based on Deep Learning Methods
PDF
High-dimensional dynamics of generalization error in neural networks (Explained)
PDF
Meetup_Consumer_Credit_Default_Vers_2_All
PDF
NLP and Deep Learning for non_experts
PDF
Recent Trends in Deep Learning
KEY
Machine Learning with Apache Mahout
PDF
Variants of GANs - Jaejun Yoo
PDF
Deep Generative Models
PDF
Olivier Blais. Model Validation Tips and Tricks to Ensure AI System Quality
PDF
Introduction to GAN
Generative Adversarial Networks and Their Medical Imaging Applications
Reading group gan - 20170417
(20180715) ksiim gan in medical imaging - vuno - kyuhwan jung
GAN_SANTHOSH KUMAR_Architecture_in_network
WIX3001 Lecture 6 Principles of GA.pptx
Icml2018 naver review
Generative Adversarial Networks 2
2014 toronto-torbug
brief Introduction to Different Kinds of GANs
Robustness Metrics for ML Models based on Deep Learning Methods
High-dimensional dynamics of generalization error in neural networks (Explained)
Meetup_Consumer_Credit_Default_Vers_2_All
NLP and Deep Learning for non_experts
Recent Trends in Deep Learning
Machine Learning with Apache Mahout
Variants of GANs - Jaejun Yoo
Deep Generative Models
Olivier Blais. Model Validation Tips and Tricks to Ensure AI System Quality
Introduction to GAN
Ad

Recently uploaded (20)

PPTX
"Secure File Sharing Solutions on AWS".pptx
DOCX
Greta — No-Code AI for Building Full-Stack Web & Mobile Apps
PDF
Autodesk AutoCAD Crack Free Download 2025
PPTX
Weekly report ppt - harsh dattuprasad patel.pptx
PPTX
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
STL Containers in C++ : Sequence Container : Vector
PPTX
Custom Software Development Services.pptx.pptx
PPTX
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
PDF
Website Design Services for Small Businesses.pdf
PDF
Digital Systems & Binary Numbers (comprehensive )
PPTX
assetexplorer- product-overview - presentation
PPTX
Introduction to Windows Operating System
DOCX
How to Use SharePoint as an ISO-Compliant Document Management System
PDF
DNT Brochure 2025 – ISV Solutions @ D365
PDF
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
PDF
Salesforce Agentforce AI Implementation.pdf
PPTX
Patient Appointment Booking in Odoo with online payment
PDF
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
PDF
Wondershare Recoverit Full Crack New Version (Latest 2025)
"Secure File Sharing Solutions on AWS".pptx
Greta — No-Code AI for Building Full-Stack Web & Mobile Apps
Autodesk AutoCAD Crack Free Download 2025
Weekly report ppt - harsh dattuprasad patel.pptx
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
STL Containers in C++ : Sequence Container : Vector
Custom Software Development Services.pptx.pptx
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
Website Design Services for Small Businesses.pdf
Digital Systems & Binary Numbers (comprehensive )
assetexplorer- product-overview - presentation
Introduction to Windows Operating System
How to Use SharePoint as an ISO-Compliant Document Management System
DNT Brochure 2025 – ISV Solutions @ D365
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
Salesforce Agentforce AI Implementation.pdf
Patient Appointment Booking in Odoo with online payment
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
Wondershare Recoverit Full Crack New Version (Latest 2025)

Gan intro