Generative adversarial network
Generative Adversarial Networks (GANs) are a class of artificial intelligence algorithms used in unsupervised learning, introduced by Ian Goodfellow and his colleagues in 2014. GANs are composed of two models: a generative model (G) that captures the data distribution, and a discriminative model (D) that estimates the probability that a sample came from the training data rather than G. The training procedure for G is to maximize the probability of D making a mistake. This framework corresponds to a minimax two-player game. In the space of artificial neural networks, GANs are used to generate new data instances that resemble the training data.
Overview[edit | edit source]
The core idea behind GANs is to have two networks contest with each other in a game. Given a training set, this technique learns to generate new data with the same statistics as the training set. For example, a GAN trained on photographs can generate new photographs that look at least superficially authentic to human observers, having many realistic characteristics. Though originally proposed as a form of generative model for unsupervised learning, GANs have also proven useful for semi-supervised learning, fully supervised learning, and reinforcement learning.
The generative network generates candidates while the discriminative network evaluates them. The generative network’s training objective is to increase the error rate of the discriminative network (i.e., "fool" the discriminator network by producing novel synthesized instances that appear to have come from the true data distribution).
Architecture[edit | edit source]
The architecture of a GAN involves two neural networks: the generator (G) and the discriminator (D). The generator creates samples intended to come from the same distribution as the training set. The discriminator examines samples to determine whether they are real or fake. The training involves adjusting the parameters of both networks until the discriminator cannot distinguish real data from fake data, meaning it guesses at random.
Generator[edit | edit source]
The generator model takes a random noise as input and generates samples as output. The generator's goal is to produce data that will be recognized by the discriminator as real.
Discriminator[edit | edit source]
The discriminator model takes samples from both the real data and the generated data and predicts whether these samples are real or fake. The goal of the discriminator is to correctly classify the samples as real or fake.
Training[edit | edit source]
Training a GAN involves presenting it with samples from the dataset until the generator produces a plausible imitation. Initially, the discriminator easily distinguishes between real and generated samples. However, as training progresses, the generator improves at producing realistic samples, and the discriminator's accuracy decreases. The process reaches equilibrium when the discriminator guesses at chance level, indicating the generator produces indistinguishable from real data.
Applications[edit | edit source]
GANs have a wide range of applications, including but not limited to:
- Image generation
- Photo realistic image synthesis
- Style transfer
- Image-to-image translation
- Super-resolution
- Drug discovery
- Data augmentation
- Voice generation
- Video generation
Challenges[edit | edit source]
Despite their potential, GANs face several challenges:
- Mode collapse: When the generator starts producing a limited variety of outputs.
- Training instability: GANs are notoriously difficult to train. This instability is due to the minimax nature of the training process.
- Evaluation of generated samples: It is challenging to evaluate the quality of the generated samples objectively.
Future Directions[edit | edit source]
Research in GANs continues to evolve, with efforts focused on making them more stable, efficient, and capable of generating high-quality outputs. Improvements in training methods, architecture designs, and loss functions are among the areas of active research.
Search WikiMD
Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD
WikiMD's Wellness Encyclopedia |
Let Food Be Thy Medicine Medicine Thy Food - Hippocrates |
Translate this page: - East Asian
中文,
日本,
한국어,
South Asian
हिन्दी,
தமிழ்,
తెలుగు,
Urdu,
ಕನ್ನಡ,
Southeast Asian
Indonesian,
Vietnamese,
Thai,
မြန်မာဘာသာ,
বাংলা
European
español,
Deutsch,
français,
Greek,
português do Brasil,
polski,
română,
русский,
Nederlands,
norsk,
svenska,
suomi,
Italian
Middle Eastern & African
عربى,
Turkish,
Persian,
Hebrew,
Afrikaans,
isiZulu,
Kiswahili,
Other
Bulgarian,
Hungarian,
Czech,
Swedish,
മലയാളം,
मराठी,
ਪੰਜਾਬੀ,
ગુજરાતી,
Portuguese,
Ukrainian
Medical Disclaimer: WikiMD is not a substitute for professional medical advice. The information on WikiMD is provided as an information resource only, may be incorrect, outdated or misleading, and is not to be used or relied on for any diagnostic or treatment purposes. Please consult your health care provider before making any healthcare decisions or for guidance about a specific medical condition. WikiMD expressly disclaims responsibility, and shall have no liability, for any damages, loss, injury, or liability whatsoever suffered as a result of your reliance on the information contained in this site. By visiting this site you agree to the foregoing terms and conditions, which may from time to time be changed or supplemented by WikiMD. If you do not agree to the foregoing terms and conditions, you should not enter or use this site. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.
Contributors: Prab R. Tumpati, MD