What is mode collapse?

Mode collapse is when the generator of a generative adversarial network (GAN) maps different inputs to the same or very similar outputs and produces only a few of the modes, the distinct kinds of example, in its data. The paper that introduced GANs called it the Helvetica scenario.

Unlike overfitting, which memorises training data, mode collapse leaves the generator covering only a narrow part of the distribution; samples may look realistic yet lack diversity.

Topic
Machine learning, models and training
Also known as
Helvetica scenario, mode dropping
Origin
2014, the paper that introduced GANs (Helvetica scenario)

How mode collapse works

  1. The generator produces samples and the discriminator judges whether each is real or generated.
  2. Trained too much without updating the discriminator, the generator can collapse many inputs to the same output.
  3. It often produces one mode at a time, moving on as the discriminator learns to reject each one.
  4. Complete collapse is rare; partial collapse, such as images sharing the same colour or texture themes, is common.

In more detail

Why mode collapse happens

GAN training ideally seeks the solution of a min max problem, in which the generator draws samples from the data distribution. Simultaneous gradient descent, however, often behaves like max min: the generator tends to map every input to the single point the discriminator finds most likely to be real. The common claim that the Jensen-Shannon divergence is the cause does not seem to hold.

Commonly confused terms

TermHow it differs
Model collapseModel collapse is a degenerative process across generations of generative models trained on data produced by earlier models, erasing the tails of the distribution; it spans several training cycles and concerns the data source. Mode collapse arises within a single GAN training run from the imbalance between generator and discriminator and can occur even when training on real data only.

Why mode collapse matters for on-premises AI

Mode collapse often limits GANs to tasks where a few distinct outputs are acceptable; the NIPS 2016 GAN tutorial calls it probably the most important GAN issue. Minibatch features and unrolled GANs reduce it. In synthetic data generation it means rare cases go missing, so generated data is checked for diversity too.

ON-PREMISES EXAMPLE

A manufacturer trains a GAN to multiply images of rare surface defects and notices that most outputs show the same scratch. It adds a check that counts samples by defect type and uses only images with confirmed diversity for data augmentation.

Common questions

How is mode collapse spotted?

By tracking the diversity of generated samples: if the same colour, texture or object view keeps repeating or some classes never appear, mode collapse is likely. A classifier that counts generated samples by class or a distribution comparison with real data can help.

How is mode collapse reduced?

Minibatch features, unrolled GANs and keeping discriminator updates in step with the generator are the main routes. Minibatch GANs reduced the problem enough that other defects, such as difficulties with counting and perspective, became the most obvious.

Sources

In the glossary: Glossary, M to Q

What does this term mean for your infrastructure?

We can work out together in a technical assessment how it maps onto your data, hardware and security requirements.

Request a technical assessment →

This site sets no cookies. Visitor numbers are counted in aggregate using a cookieless method that does not identify anyone. See the Privacy Policy for details.