SlideShare a Scribd company logo
1 of 25
Variational AutoEncoder
& Generative Models
By: Shai Harel, structured data vision team
What weโ€™ll see today
โ— Generative vs. Discriminative models [1]
โ— VAE Algorithm Overview [2]
โ— Putting it to work - Semi-supervised [3]
[1] Deep Neural Networks are Easily Fooled
[2] Auto-Encoding Variational Bayes
[3] Semi-Supervised Learning with Deep Generative Models
What weโ€™ll *NOT* see today
Why Gen. Models?
99.99%
ostrich, Struthio camelus
Why Gen. Models?
Why Gen. Models?
Why Gen. Models?
What do we want?
โ— Generative model
โ— โ€œStructure constraintโ€ on latent space
Why?
โ— Semi-Supervised learning
โ— Visualize z-space
โ— Not so easily fooled
โ— More...
AutoEncoder Attempt #1
โ— Encoder
q(z|x): get z given x
โ— Decoder
p(x|z): get x given z
โ— Whatโ€™s the difference?
AutoEncoder Attempt #1
Problems?
Re-Parameterization Trick
[https://arxiv.org/abs/1609.04468]
Net Structure
โ— More problems?
L2 distance in pixel space
GAN - Generative Adversarial Networks
โ€œYou pit a generative (G) machine against a discriminative (D) machine
and make them fight.โ€
ยฉ Soumith Chintala
http://soumith.ch/eyescream/
GAN - learn the loss
If you do it right!
If you do it right!
If you do it right!
If you do it right!
http://www.dpkingma.com/sgvb_mnist_demo/demo.html
Take Aways
โ— Employ Structure, Itโ€™s cool
โ— GAN may be your next loss function
โ—‹ Super Res
โ—‹ Pixel Level Seg.
โ—‹ AutoEncoder (we saw it today)
โ— Re-Parameterization Trick
----Personal takeaways-----
โ— Donโ€™t give up when it doesnโ€™t work the first time (x1000)
References
โ— https://github.com/oduerr/dl_tutorial/blob/master/tensorflow/vae/vae_demo-2D.ipynb
โ— https://home.zhaw.ch/~dueo/bbs/files/vae.pdf
โ— http://kvfrans.com/variational-autoencoders-explained/
โ— http://blog.fastforwardlabs.com/2016/08/12/introducing-variational-autoencoders-in-prose-and.html
โ— http://blog.fastforwardlabs.com/2016/08/22/under-the-hood-of-the-variational-autoencoder-in.html
โ— https://github.com/Newmu/dcgan_code
โ— http://torch.ch/blog/2015/11/13/gan.html
โ— https://github.com/soumith/ganhacks
โ— https://research.fb.com/wp-content/uploads/2016/11/luc16wat.pdf
โ— https://arxiv.org/pdf/1412.1897.pdf
Re-Parameterization Trick
[https://arxiv.org/abs/1609.04468]

More Related Content

Viewers also liked

Project presentation on Replcement
Project presentation on Replcement Project presentation on Replcement
Project presentation on Replcement
alok tiwari
ย 
CVPR2010: Semi-supervised Learning in Vision: Part 3: Algorithms and Applicat...
CVPR2010: Semi-supervised Learning in Vision: Part 3: Algorithms and Applicat...CVPR2010: Semi-supervised Learning in Vision: Part 3: Algorithms and Applicat...
CVPR2010: Semi-supervised Learning in Vision: Part 3: Algorithms and Applicat...
zukun
ย 
Mitchell's Face Recognition
Mitchell's Face RecognitionMitchell's Face Recognition
Mitchell's Face Recognition
butest
ย 

Viewers also liked (20)

Python ใจ Xpath ใง ใ‚ฆใ‚งใƒ–ใ‹ใ‚‰ใƒ‡ใƒผใ‚ฟใ‚’ใ‚ใคใ‚ใ‚‹
Python ใจ Xpath ใง ใ‚ฆใ‚งใƒ–ใ‹ใ‚‰ใƒ‡ใƒผใ‚ฟใ‚’ใ‚ใคใ‚ใ‚‹Python ใจ Xpath ใง ใ‚ฆใ‚งใƒ–ใ‹ใ‚‰ใƒ‡ใƒผใ‚ฟใ‚’ใ‚ใคใ‚ใ‚‹
Python ใจ Xpath ใง ใ‚ฆใ‚งใƒ–ใ‹ใ‚‰ใƒ‡ใƒผใ‚ฟใ‚’ใ‚ใคใ‚ใ‚‹
ย 
็Œซใงใ‚‚ๅˆ†ใ‹ใ‚‹Variational AutoEncoder
็Œซใงใ‚‚ๅˆ†ใ‹ใ‚‹Variational AutoEncoder็Œซใงใ‚‚ๅˆ†ใ‹ใ‚‹Variational AutoEncoder
็Œซใงใ‚‚ๅˆ†ใ‹ใ‚‹Variational AutoEncoder
ย 
Generating sentences from a continuous space
Generating sentences from a continuous spaceGenerating sentences from a continuous space
Generating sentences from a continuous space
ย 
Deep image generating models
Deep image generating modelsDeep image generating models
Deep image generating models
ย 
Project presentation on Replcement
Project presentation on Replcement Project presentation on Replcement
Project presentation on Replcement
ย 
Replacement theory
Replacement theoryReplacement theory
Replacement theory
ย 
Tugas ppt riset operasional
Tugas ppt riset operasionalTugas ppt riset operasional
Tugas ppt riset operasional
ย 
Auto encoding-variational-bayes
Auto encoding-variational-bayesAuto encoding-variational-bayes
Auto encoding-variational-bayes
ย 
CVPR2010: Semi-supervised Learning in Vision: Part 3: Algorithms and Applicat...
CVPR2010: Semi-supervised Learning in Vision: Part 3: Algorithms and Applicat...CVPR2010: Semi-supervised Learning in Vision: Part 3: Algorithms and Applicat...
CVPR2010: Semi-supervised Learning in Vision: Part 3: Algorithms and Applicat...
ย 
What is replacement theory
What is replacement theoryWhat is replacement theory
What is replacement theory
ย 
Replacement Problem - Dr. Bhupender SOM - JIMS Rohini Faculty Presentation
Replacement Problem - Dr. Bhupender SOM - JIMS Rohini Faculty PresentationReplacement Problem - Dr. Bhupender SOM - JIMS Rohini Faculty Presentation
Replacement Problem - Dr. Bhupender SOM - JIMS Rohini Faculty Presentation
ย 
Replacement theory MBA PRODUCTION MANAGEMENT
Replacement theory MBA PRODUCTION MANAGEMENT Replacement theory MBA PRODUCTION MANAGEMENT
Replacement theory MBA PRODUCTION MANAGEMENT
ย 
ECML-2015 Presentation
ECML-2015 PresentationECML-2015 Presentation
ECML-2015 Presentation
ย 
Eddl5131 assignment 1 march2013
Eddl5131 assignment 1 march2013Eddl5131 assignment 1 march2013
Eddl5131 assignment 1 march2013
ย 
Mitchell's Face Recognition
Mitchell's Face RecognitionMitchell's Face Recognition
Mitchell's Face Recognition
ย 
Create a MLP
Create a MLPCreate a MLP
Create a MLP
ย 
Fast Perceptron Decision Tree Learning from Evolving Data Streams
Fast Perceptron Decision Tree Learning from Evolving Data StreamsFast Perceptron Decision Tree Learning from Evolving Data Streams
Fast Perceptron Decision Tree Learning from Evolving Data Streams
ย 
presentation
presentationpresentation
presentation
ย 
REPRESENTATION LEARNING FOR STATE APPROXIMATION IN PLATFORM GAMES
REPRESENTATION LEARNING FOR STATE APPROXIMATION IN PLATFORM GAMESREPRESENTATION LEARNING FOR STATE APPROXIMATION IN PLATFORM GAMES
REPRESENTATION LEARNING FOR STATE APPROXIMATION IN PLATFORM GAMES
ย 
Deep Style: Using Variational Auto-encoders for Image Generation
Deep Style: Using Variational Auto-encoders for Image GenerationDeep Style: Using Variational Auto-encoders for Image Generation
Deep Style: Using Variational Auto-encoders for Image Generation
ย 

Similar to Variational autoencoder talk

Programmable Matter with Modular Robots
Programmable Matter with Modular RobotsProgrammable Matter with Modular Robots
Programmable Matter with Modular Robots
elliando dias
ย 
Effective Scala: Programming Patterns
Effective Scala: Programming PatternsEffective Scala: Programming Patterns
Effective Scala: Programming Patterns
Vasil Remeniuk
ย 
contrastive-learning2.pdf
contrastive-learning2.pdfcontrastive-learning2.pdf
contrastive-learning2.pdf
omogire
ย 

Similar to Variational autoencoder talk (20)

Practical ML
Practical MLPractical ML
Practical ML
ย 
Self-supervised Learning Lecture Note
Self-supervised Learning Lecture NoteSelf-supervised Learning Lecture Note
Self-supervised Learning Lecture Note
ย 
Programmable Matter with Modular Robots
Programmable Matter with Modular RobotsProgrammable Matter with Modular Robots
Programmable Matter with Modular Robots
ย 
Battle of The Mocking Frameworks
Battle of The Mocking FrameworksBattle of The Mocking Frameworks
Battle of The Mocking Frameworks
ย 
DEF CON 24 - Clarence Chio - machine duping 101
DEF CON 24 - Clarence Chio - machine duping 101DEF CON 24 - Clarence Chio - machine duping 101
DEF CON 24 - Clarence Chio - machine duping 101
ย 
Unit testing-patterns
Unit testing-patternsUnit testing-patterns
Unit testing-patterns
ย 
Weaponizing Neural Networks. In your browser!
Weaponizing Neural Networks. In your browser!Weaponizing Neural Networks. In your browser!
Weaponizing Neural Networks. In your browser!
ย 
Rewrite the whole damn thing
Rewrite the whole damn thingRewrite the whole damn thing
Rewrite the whole damn thing
ย 
Effective Scala: Programming Patterns
Effective Scala: Programming PatternsEffective Scala: Programming Patterns
Effective Scala: Programming Patterns
ย 
AI | Now + Next
AI | Now + NextAI | Now + Next
AI | Now + Next
ย 
Behaviour Driven Development and Thinking About Testing
Behaviour Driven Development and Thinking About TestingBehaviour Driven Development and Thinking About Testing
Behaviour Driven Development and Thinking About Testing
ย 
Bdd and-testing
Bdd and-testingBdd and-testing
Bdd and-testing
ย 
How and what to unit test
How and what to unit testHow and what to unit test
How and what to unit test
ย 
ATDD for Web Apps
ATDD for Web AppsATDD for Web Apps
ATDD for Web Apps
ย 
contrastive-learning2.pdf
contrastive-learning2.pdfcontrastive-learning2.pdf
contrastive-learning2.pdf
ย 
Unit testing
Unit testingUnit testing
Unit testing
ย 
Tricking a DNN with adversarial examples
Tricking a DNN with adversarial examplesTricking a DNN with adversarial examples
Tricking a DNN with adversarial examples
ย 
Matlab for a computational PhD
Matlab for a computational PhDMatlab for a computational PhD
Matlab for a computational PhD
ย 
Machine Learning, Deep Learning and Data Analysis Introduction
Machine Learning, Deep Learning and Data Analysis IntroductionMachine Learning, Deep Learning and Data Analysis Introduction
Machine Learning, Deep Learning and Data Analysis Introduction
ย 
A tutorial on EMF-IncQuery
A tutorial on EMF-IncQueryA tutorial on EMF-IncQuery
A tutorial on EMF-IncQuery
ย 

Recently uploaded

UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
sivaprakash250
ย 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
SUHANI PANDEY
ย 
Top Rated Call Girls In chittoor ๐Ÿ“ฑ {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor ๐Ÿ“ฑ {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor ๐Ÿ“ฑ {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor ๐Ÿ“ฑ {7001035870} VIP Escorts chittoor
dharasingh5698
ย 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
ย 
Call Girls In Bangalore โ˜Ž 7737669865 ๐Ÿฅต Book Your One night Stand
Call Girls In Bangalore โ˜Ž 7737669865 ๐Ÿฅต Book Your One night StandCall Girls In Bangalore โ˜Ž 7737669865 ๐Ÿฅต Book Your One night Stand
Call Girls In Bangalore โ˜Ž 7737669865 ๐Ÿฅต Book Your One night Stand
amitlee9823
ย 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
ย 

Recently uploaded (20)

COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
ย 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
ย 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
ย 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
ย 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
ย 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
ย 
Top Rated Call Girls In chittoor ๐Ÿ“ฑ {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor ๐Ÿ“ฑ {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor ๐Ÿ“ฑ {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor ๐Ÿ“ฑ {7001035870} VIP Escorts chittoor
ย 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
ย 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
ย 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
ย 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ย 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
ย 
Call Girls In Bangalore โ˜Ž 7737669865 ๐Ÿฅต Book Your One night Stand
Call Girls In Bangalore โ˜Ž 7737669865 ๐Ÿฅต Book Your One night StandCall Girls In Bangalore โ˜Ž 7737669865 ๐Ÿฅต Book Your One night Stand
Call Girls In Bangalore โ˜Ž 7737669865 ๐Ÿฅต Book Your One night Stand
ย 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
ย 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
ย 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
ย 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
ย 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
ย 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
ย 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
ย 

Variational autoencoder talk

Editor's Notes

  1. aaaaasvsdfsdfasdfsadf