liveBook · Manning

Mode collapse

As explained in Evolutionary Deep Learning: Genetic algorithms and neural networks

Mode collapse is a generative-adversarial-network failure in which the generator produces only one or a small range of output variations despite the diversity of the training data.

Mode collapse is a GAN failure in which the generator produces the same output, or only a small range of variations, despite diverse training data. The generator discovers outputs that fool the critic, then becomes stuck as the critic improves. section 9.2.1 section 9.2.3

Inspect mode collapse through these practical signals and interventions:

  • Look for generated images that repeat continually or show very little variation. section 9.2.1
  • Retune the optimizer first; changing the loss function or unrolling the GAN can also reduce the problem. section 9.2.3
  • Add noise to adversarial ground truths as a simple intervention, while recognizing that optimizer discrepancies can still limit the improvement. section 9.2.3

Notebook experiment

Run the GAN optimization notebook for 25 epochs with the mode-collapse optimizer settings and inspect the generated images. Then enable ADD_NOISE and rerun the cells; the output should show increased variation, although results may vary. section 9.2.3

How Evolutionary Deep Learning: Genetic algorithms and neural networks covers it

How deep it goes
Explains the generator-critic mechanism and demonstrates optimizer and noise interventions, while deferring complex unrolling implementation.
Examples
Uses a Colab GAN notebook, 25-epoch generated-image runs, optimizer settings, and noisy adversarial ground truths.
What it assumes
Assumes familiarity with GAN generators, discriminators, real and fake samples, and adversarial feedback.
What you can do after
Apply via Python and Keras by identifying repeated outputs and testing optimizer or noise changes in a GAN notebook.
How it connects
Connects mode collapse to GANs, generators, discriminators, critics, optimizers, loss functions, and unrolled GANs.

Also explained in

Compare how 4 books explain mode collapse →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Evolutionary Deep Learning: Genetic algorithms and neural networks. The section links point to the parts of the book it draws on.