Generative Adversarial Network (GAN)

One of the most amazing things that have been developed is Generative Adversarial Network (short for GAN). A French computer scientist, Yann LeCun described GANs as “the most interesting idea that has ever been developed in the field of Machine learning”.

As We Grow In The Field Of Artificial Intelligence We Develop Amazing Algorithms And Methods To Make Artificial Intelligence More And More Better.

Well GANs are the most amazing development in Deep Learning. Generative Adversarial Networks (short for GANs) were developed by Ian J. Goodfellow in 2014. So what are these GANs and why everybody is talking about them?

What special they have that other previously discovered models have failed to achieve? Well in this blog we are going to learn everything about Generative Adversarial Networks (short for GANs).

Image Credits – www.Thispersondoesnotexist.com

Above you can see Images of some people. Can you verify that these are real people that exist in real life by only looking at the picture? Well you cannot verify them as fake because they look so real that often people get confused by these pictures. The truth is these are not real persons. All pictures have been generated by GANs.

These pictures are taken from a website called www.thispersondoesnotexist.com.

Generative Adversarial Network | Introduction

As Generative Adversarial Networks name suggest, it means that they are able to produce and generate new content. In Deep learning, GANs are the generative approach by using Deep learning methods like Convolution neural networks.

Lets understand with a simple example, Let’s imagine a criminal and an inspector. Criminal will show the inspector a picture that he has created and then the inspector will inspect the created image and give an answer as real or fake. Criminal will improve the image and tries to fool the inspector until the inspector thinks the image is real. That’s how a GANs works.

Generative Adversarial Network are a class of the Machine learning frameworks. In GANs the idea is, two neural networks contest with each other . In GANs we use two neural models for the generation of new content. The generator model is the one which we use to generate new content and the other model is the discriminator model which we use to identify whether the generated content is real or fake. If we compare the models with the above example we can say that here generator model is a criminal who is trying to fool the discriminator model which we can say is N inspector. GANs are collections of supervised learning models and unsupervised learning models. Discriminator model is a supervised learning model and the generator model is an unsupervised learning model. A simple GAN model typically looks like following:

Models of Generative Adversarial Network: –

1. The Discriminator:

A simple supervised learning model or a simple classifier which tries to classify the generated content as real or fake content. It tries to distinguish real data from the data created by the generator. Discriminators could use any network architecture for the data classification. Discriminator training data comes from two sources one is Real data, such as real pictures of people. The model uses these data as the positive content during training of the model. Another one – fake data which is generated by the generator model. Discriminator uses these data as the negative content during training. So, The discriminator connects to two loss functions which are discriminator loss function and generative loss function. During training the model forgets generative loss function and uses discriminative loss function.

2. The Generator:

The generator a part of a GAN learns to make faux knowledge by incorporating feedback from the soul. It learns to create the soul and classifies its output as real. Generator coaching needs tighter integration between the generator and therefore the soul than soul coaching needs. Also, The portion of the GAN that trains the generator includes:

  • random input.
  • generator network, which transforms the random input into a data instance.
  • discriminator network, which classifies the generated data.
  • discriminator output.
  • generator loss, which penalizes the generator for failing to fool the discriminator.

CONCLUSION

Why are GANs getting so popular? Why is generating new content important as we can collect original data for training of models? However, in CNNs there is something called Data Argumentation where we use previous data to create more data by rotating and editing. Also, GANs are perfect for data argumentation in CNNs. GANs produce very high quality images which are why they are so popular.

GANs – used in Image Super Resolution, creating artwork, Image-to-Image translations. Perhaps the most compelling reason that supports them – widely studied, developed, and used because of their success. GANs have been able to generate photos so realistic that humans are unable to tell that they are objects, scenes, and people that do not exist in real life.

Astonishing is not a sufficient adjective for their capability and success.

Article By: ANKUR OMER

If you are Interested In Machine Learning You Can Check Machine Learning Internship Program
Also Check Other Technical And Non Technical Internship Programs

Leave a Comment

Your email address will not be published. Required fields are marked *