Introduction to GAN (Generative Adversarial Networks)


GAN is an algorithm(Deep Learning Approach) behind

 1. DeepFake

 2. FaceApp

 3. Conversion of MRI into CT scan

 4. Increasing resolution of an image significantly

 5. Denoising Images

 6. Coloring sketches smartly

 7. Medical Imaging Segmentation

 8. Conversion of Black and White Movie into Colored Movie

 9. Converting 2D images into 3D scene


No alt text provided for this image



Welcome!!! It is always a great idea to get a story from a picture. Here is a story where a forger is quite smart. He sells the fake milk and milk shop-owner can tell that it is fake. The forger is smart as he starts learning from feedback given by shop-owner. Every next time, he produces a bit less fake milk and learns from feedback. Eventually, the forger would be able to over smart the shop owner. The forger, finally, generates the milk as close as real milk.

 Congratulations!!! You have understood GAN. Here the forger is the generator, and the show owner is the discriminator. GAN consists of two deep learning models, one generator model and one discriminator model. In short, we can summarize GAN as follows

1.    Generator (forger) generates/creates/manufactures milk and

2.    Discriminator (milk shop-owner/ expert person who knows real milk and fake milk)

3.    In the first go, generator (forger) generates milk and discriminator (milk shop-owner) can tell that this is fake. Learning from feedback/loss function, the forger (generator) improves next time, again discriminator tells that this is fake, but this fake would be less fake than the first one. In this way, feedback helps the forger improve the milk quality until the time discriminator says that the milk is real.

a.     Let us come to the formal look

 

1.8 GAN architecture and explanation

No alt text provided for this image


Figure 1.14

GANs or Generative Adversarial Networks is a framework for estimating generative models. Two models are trained simultaneously by an adversarial process: a generator, which is responsible for generating data , and a discriminator, which is responsible for estimating the probability that an image was drawn from the training data (the image is real), or was produced by the generator (the image is fake). During training, the generator becomes progressively better at generating images, until the discriminator is no longer able to distinguish real images from fake.

GAN is inspired by the zero-sum non-cooperative game. It means that if one wins, the other loses. A zero-sum game is also known as minimax. Player A wants to maximize its actions, but player B want to minimize them. In-game theory, the GAN model converges when the discriminator (player A) and the generator (player B) reach Nash equilibrium. This is the optimal point for the minimax equation.

Above article is taken from the book : GAN with Industrial Use cases

GAN with Indutrial Use cases (US market)

No alt text provided for this image

?

 


 

Prabhat MOHANTY

Founder at ALT2TECH

5 年

Learning deep fake ( GAN ) in the early stage of AI learning and during a world crisis is like learning the power of encription through the use-case in the porn industry. The collateral damages are same.

Manish Todi (Goyal)

Product Marketing Manager & Lifelong Mentor

5 年

Already ordered your book sir. Thanks for your great contribution in the domain of AI.

要查看或添加评论,请登录

Navin Manaswi的更多文章

社区洞察

其他会员也浏览了