generative adversarial networks
play

Generative Adversarial Networks Sahin Olut Department of Computer - PowerPoint PPT Presentation

Generative Adversarial Networks Sahin Olut Department of Computer Engineering Istanbul Technical University November 4, 2017 Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 1 / 23 Outline Motivation 1 Why


  1. Generative Adversarial Networks Sahin Olut Department of Computer Engineering Istanbul Technical University November 4, 2017 Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 1 / 23

  2. Outline Motivation 1 Why should we study generative models? Some results from recent GAN works How does GAN work? 2 GAN Architecture Formutalation of GAN Training procedure of GANs Applications of GANs 3 Computer Vision Reinforcement Learning Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 2 / 23

  3. Motivation Why should we study generative models? Outline Motivation 1 Why should we study generative models? Some results from recent GAN works How does GAN work? 2 GAN Architecture Formutalation of GAN Training procedure of GANs Applications of GANs 3 Computer Vision Reinforcement Learning Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 3 / 23

  4. Motivation Why should we study generative models? Motivation We can restore the missing data by generative models. (Image inpaiting, super-resolution) Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 4 / 23

  5. Motivation Why should we study generative models? Motivation We can restore the missing data by generative models. (Image inpaiting, super-resolution) We can generate new examples to enhance our classifier networks. (Data augmentation strategy) Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 4 / 23

  6. Motivation Why should we study generative models? Motivation We can restore the missing data by generative models. (Image inpaiting, super-resolution) We can generate new examples to enhance our classifier networks. (Data augmentation strategy) If we want our computers to understand, we have to teach them to create. (I do not understand what I cannot create. – Richard Feynman) Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 4 / 23

  7. Motivation Some results from recent GAN works Outline Motivation 1 Why should we study generative models? Some results from recent GAN works How does GAN work? 2 GAN Architecture Formutalation of GAN Training procedure of GANs Applications of GANs 3 Computer Vision Reinforcement Learning Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 5 / 23

  8. Motivation Some results from recent GAN works Recent works Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network [Ledig et al., 2016] Figure: Work by Ledig et al., 2016 Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 6 / 23

  9. Motivation Some results from recent GAN works Recent works Plug & Play Generative Networks: Conditional Iterative Generation of Images in Latent Space [Nguyen et al., 2017] Figure: Synthetic images generated from ImageNet classes. Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 7 / 23

  10. How does GAN work? GAN Architecture Outline Motivation 1 Why should we study generative models? Some results from recent GAN works How does GAN work? 2 GAN Architecture Formutalation of GAN Training procedure of GANs Applications of GANs 3 Computer Vision Reinforcement Learning Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 8 / 23

  11. How does GAN work? GAN Architecture Discriminator and Generator Networks What is a generative model? Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 9 / 23

  12. How does GAN work? GAN Architecture Discriminator and Generator Networks What is a generative model? Discriminator’s role in GAN is to predict whether the input is generated or sampled from training data. The aim of generator is to capture the distribution of the training data. According to Goodfellow et al., it is a minimax game between generator and discriminator where generator tries to fool discriminator.(There are some debates about it.) Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 9 / 23

  13. How does GAN work? Formutalation of GAN Outline Motivation 1 Why should we study generative models? Some results from recent GAN works How does GAN work? 2 GAN Architecture Formutalation of GAN Training procedure of GANs Applications of GANs 3 Computer Vision Reinforcement Learning Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 10 / 23

  14. How does GAN work? Formutalation of GAN The description of GANs leads us to formulation for loss: min G max D V ( D , G ) = E x ∼ p data ( x ) [log D ( x )]+ E z ∼ p z ( z ) [log(1 − D ( G ( z )))] (1) Where both networks rely on gradients flowing through discriminator. Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 11 / 23

  15. How does GAN work? Training procedure of GANs Outline Motivation 1 Why should we study generative models? Some results from recent GAN works How does GAN work? 2 GAN Architecture Formutalation of GAN Training procedure of GANs Applications of GANs 3 Computer Vision Reinforcement Learning Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 12 / 23

  16. How does GAN work? Training procedure of GANs Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 13 / 23

  17. How does GAN work? Training procedure of GANs GAN Framework From now and on, we have a basic grasp of GAN, therefore we can code our own GAN! The starter code can be found in my GitHub Repository: github.com/norveclibalikci/InzvaGanStarter Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 14 / 23

  18. Applications of GANs Computer Vision Outline Motivation 1 Why should we study generative models? Some results from recent GAN works How does GAN work? 2 GAN Architecture Formutalation of GAN Training procedure of GANs Applications of GANs 3 Computer Vision Reinforcement Learning Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 15 / 23

  19. Applications of GANs Computer Vision Computer Vision Applications Image generation(Plug and Play GAN) Style transfer(CycleGAN) Image inpainting, super-resolution(SRGAN) Image to text (Image captioning - Generative Adversarial Text to Image Synthesis) Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 16 / 23

  20. Applications of GANs Computer Vision Computer Vision Applications Image generation(Plug and Play GAN) Style transfer(CycleGAN) Image inpainting, super-resolution(SRGAN) Image to text (Image captioning - Generative Adversarial Text to Image Synthesis) There are many applications which are not covered above. Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 16 / 23

  21. Applications of GANs Reinforcement Learning Outline Motivation 1 Why should we study generative models? Some results from recent GAN works How does GAN work? 2 GAN Architecture Formutalation of GAN Training procedure of GANs Applications of GANs 3 Computer Vision Reinforcement Learning Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 17 / 23

  22. Applications of GANs Reinforcement Learning Applications to real life Discriminator can be rewarded for labeling correctly and a new loss can be defined by that way. (Still on research) Generating environment and test for reinforcement learning applications. Simulating particle experiments like they do in CERN. Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 18 / 23

  23. Limitations of GAN Many things can be done with GANs however, GANs have limitations as well. Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 19 / 23

  24. Limitations of GAN There is no training procedure that has been proven to be successful. Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 20 / 23

  25. Limitations of GAN There is no training procedure that has been proven to be successful. Sometimes discriminator learns faster than generator(predicts everything correctly), which leads a gradient problem to generator. In some cases, it is vice-versa as well. Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 20 / 23

  26. Limitations of GAN There is no training procedure that has been proven to be successful. Sometimes discriminator learns faster than generator(predicts everything correctly), which leads a gradient problem to generator. In some cases, it is vice-versa as well. After from some point, generator keeps generating similar examples. Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 20 / 23

  27. Limitations of GAN There is no training procedure that has been proven to be successful. Sometimes discriminator learns faster than generator(predicts everything correctly), which leads a gradient problem to generator. In some cases, it is vice-versa as well. After from some point, generator keeps generating similar examples. Losses of models are not meaningful as classifier’s. It just keep oscillating back and forth. Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 20 / 23

  28. Limitations of GAN Loss graphic of a GAN Figure: Taken from http://www.rricard.me Sahin Olut (ITU Vision Lab) Generative Adversarial Networks November 4, 2017 21 / 23

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend