Skip to content

The Generative AI Revolution

Abstract

The history of generative AI begins with a doctoral student walking home tipsy after a farewell party and testing an idea his friends considered impossible. One night in 2014, in Montreal, Ian Goodfellow typed the code for the first Generative Adversarial Network, and it worked on the first try. What followed was a decade of steadily more capable machines that invented faces, produced images from text prompts, and finally, in the form of ChatGPT, found the mass application that made artificial intelligence visible to everyone: 100 million users in two months, the fastest adoption of a consumer product in the history of the internet.

A Night in Montreal

One evening in 2014, Ian Goodfellow, a doctoral student at the University of Montreal, sat in the bar Les 3 Brasseurs listening to a problem. Colleagues were working on a system to synthesize images and were stuck. Their plan: elaborate statistical models approximating distributionally correct images. Goodfellow explained why that would not work. Then he described an alternative.

The core idea was game-theoretic: what if you set two neural networks against each other? A generator that produces images from random noise. A discriminator that tries to distinguish real images from generated ones. Both train simultaneously: the generator learns to fool the discriminator; the discriminator learns to expose the generator. In the ideal state, the generator produces images that even a perfect discriminator can no longer tell from real ones.

His friends were skeptical. Goodfellow went home, wrote the code while his girlfriend slept, and started the training. It worked. The first results were crude, but they proved the principle.

The paper “Generative Adversarial Networks” appeared a few weeks later and is today one of the most cited in computer science. Yann LeCun called GANs “the most interesting idea in the last ten years in machine learning.”

The Adversarial Principle

The GAN architecture can be described as a minimax game: generator G and discriminator D play a zero-sum game. G tries to fool D; D tries to expose G. Mathematically, G minimizes the value that D maximizes.

The decisive point: no explicit example of what a good image looks like is needed. The discriminator learns the criteria itself from real data. The generation problem is reduced to a classification problem, which neural networks could already solve well.

In practice, however, the training was notoriously unstable. Two pathologies:

  • Mode collapse: the generator could learn to produce only a single, especially convincing type of image instead of the full diversity of the training data. If the discriminator was weak on cat pictures, the generator produced only cats.
  • Vanishing gradients: if the discriminator became too good, it gave the generator hardly any differentiated feedback, and learning died off.

Despite these instabilities, progress over the following years was breathtakingly fast.

From Blurry Faces to thispersondoesnotexist.com

In 2014, GANs produced pixelated 28Γ—28 images of handwritten digits: convincing for numbers, far from photorealism. Development accelerated year by year:

  • ProgressiveGAN (NVIDIA, 2018): training started at 4Γ—4 pixels and increased the resolution step by step. Result: photorealistic faces at 1024Γ—1024 pixels.
  • StyleGAN (NVIDIA, Tero Karras et al., 2019): separated global style (face shape, hair color) from local detail (pores, hair) through separate control layers. The results were frighteningly convincing.

In February 2019, Philip Wang launched the website thispersondoesnotexist.com: a single freshly generated face on every page load. No person on this page exists. The images were indistinguishable from photos of real people. For the first time, the world broadly registered what generative models could do.

Warning

Deepfakes and the liar’s dividend: The same technology that democratized art and design enabled synthetic deception at scale. Deepfakes (manipulated videos in which real people say or do things that never happened) emerged directly from GAN technology. In 2018, the legal scholars Bobby Chesney and Danielle Citron coined the term liar’s dividend: the existence of deepfakes makes it easier to dismiss genuine incriminating material as fake. The evidentiary value of video and photos has systematically declined since, regardless of how often deepfakes are actually deployed.

CLIP: The Bridge Between Language and Image

In January 2021, OpenAI released CLIP (Contrastive Language-Image Pre-training). The model had been trained on 400 million image-text pairs from the internet, each photo with a caption or alt text.

The training logic was contrastive: the model learned to place images and their associated texts close together in the same vector space, and non-matching pairs far apart. The result was a model that established semantic understanding across modalities: “a dog playing in snow” and a corresponding photo landed in the same mathematical space.

CLIP was the missing link. Previous image generators worked without language; previous language models without images. CLIP created a shared coordinate system. Text-to-image generation became conceptually solvable: search the learned space for an image that matches a text description.

Diffusion Models: A More Stable Road to Perfection

In parallel to GAN development, a conceptually different approach emerged: diffusion models.

The core idea (formalized as Denoising Diffusion Probabilistic Models, DDPM, by Jonathan Ho et al., NeurIPS 2020): take a real image and add random noise step by step until the image is completely noise. The model learns the reverse process: how to reconstruct a coherent image from noise, step by step.

This approach was more stable than GANs: no adversarial training, no mode collapse, no vanishing gradients. Training minimized a well-defined reconstruction loss. Given enough compute, the image quality significantly surpassed GANs.

The decisive products of 2022:

  • DALL-E 2 (OpenAI, April 2022): combined CLIP embeddings with diffusion models. A text prompt was translated into a CLIP vector; a diffusion model generated an image matching that vector. The results transformed visual prompting.
  • Midjourney (beta launch July 12, 2022): a commercial diffusion model known for especially aesthetic, artistically stylized output.
  • Stable Diffusion (August 2022): developed by Robin Rombach, Andreas Blattmann, and colleagues in BjΓΆrn Ommer’s CompVis group at LMU Munich as a latent diffusion model. The noise is applied not in pixel space but in a compressed latent space. Stability AI released the model weights and source code as open source. For the first time, text-to-image generation could run locally on ordinary gaming GPUs. Generative AI was no longer confined to cloud services.

The ChatGPT Moment

On November 30, 2022, OpenAI released ChatGPT as a free public test. The product was based on GPT-3.5, a model additionally fine-tuned with Reinforcement Learning from Human Feedback (RLHF) to behave naturally and helpfully instead of merely completing text.

The growth rate had no precedent in the history of the internet:

Platform Time to 1 million users Time to 100 million users
ChatGPT 5 days 2 months
TikTok 9 months –
Instagram – 2.5 years
Twitter – 5 years

The technical capability was not suddenly new: GPT-3 had already impressed in 2020. What ChatGPT did differently was accessibility: a conversational interface, no API call, no programming knowledge. For many people it was the first time AI could be experienced not as a tool for experts but as a conversation partner.

The industry’s reaction was a shock wave: Google declared an internal “code red”, Microsoft invested 10 billion dollars in OpenAI, Alphabet rushed the release of Bard. Within six months of ChatGPT’s launch, every major technology company in the world had realigned its AI strategy.

Dead End: The Adversarial Paradigm and Its Limits

GANs dominated generative AI from 2014 to about 2021; for seven years they were the standard approach to every image generation problem. With the rise of diffusion models they were largely displaced as the primary paradigm.

The problem was structural. GANs worked through adversarial training, and that training was inherently fragile. The generator’s loss function depended directly on the discriminator: if the discriminator got too good too fast, the learning signal collapsed. If it improved too slowly, the generator collapsed onto a few patterns. Keeping the balance required fine manual hyperparameter tuning; reproducibility was a chronic problem.

Diffusion models bypassed this fragility fundamentally. The training process had a clear, stable objective: reconstruct the noise. No game theory, no equilibrium problem. Given enough compute, diffusion models scale consistently better, a property that became decisive in the era of cheap cloud GPU time.

GANs have not disappeared; for certain applications (real-time video generation, certain transfer tasks) they remain relevant. But the great expectation of the 2010s, that adversarial training was the royal road to general visual synthesis, was not fulfilled. The most elegant idea turned out not to be the most powerful one.

πŸ“š Sources