What is Generative adversarial network (GAN)?
A generative adversarial network (GAN) consists of two neural networks trained against each other: the generator creates artificial data such as images, and the discriminator tries to tell them apart from real ones. Through this contest the results become increasingly realistic. GANs were introduced in 2014 and shaped image generation before diffusion models became more widespread; they are used, for example, for synthetic training data or image enhancement.