Abstract
Mode collapse remains a significant challenge in training Generative Adversarial Networks (GANs), often occurring abruptly despite the use of stabilization techniques like Spectral Normalization (SN). This paper identifies a critical precursor to this failure: spectral collapse, a phenomenon where the singular values of the discriminator's weight matrices suddenly plummet toward zero. We propose Spectral Regularization (SR), a method that actively compensates for these vanishing singular values to maintain the rank of the discriminator. Our results demonstrate that SR-GANs significantly outperform SN-GANs in stability and image diversity across benchmarks including CIFAR-10, STL-10, and ImageNet.
Introduction
Generative Adversarial Networks (GANs) have revolutionized image synthesis, yet they remain notoriously difficult to train. The most persistent challenge is mode collapse, a state where the generator loses diversity and repeatedly produces a limited set of patterns. While Spectral Normalization (SN) has become a standard for stabilizing training by constraining the Lipschitz constant of the discriminator, it is not a panacea. In scenarios involving large batch sizes or constrained model capacities, SN-GANs still frequently succumb to sudden performance degradation.
The Phenomenon of Spectral Collapse
This research identifies a critical precursor to mode collapse: spectral collapse. By analyzing the singular value decomposition (SVD) of the discriminator's weight matrices, the authors observed that while SN controls the largest singular value ($\sigma_1$), the remaining singular values ($\sigma_2, \sigma_3, \dots$) often plummet toward zero during training. This collapse effectively reduces the rank of the weight matrices, turning the discriminator into a "one-trick pony" that can only distinguish real from fake data along a single dimension.
As shown in the figure above, the drop in singular values (spectral collapse) directly precedes the sharp decline in the Inception Score (IS) and the spike in the Fréchet Inception Distance (FID), signaling the onset of mode collapse.
Spectral Regularization (SR)
To address this, the authors propose Spectral Regularization (SR). Unlike SN, which only caps the top singular value, SR actively prevents the other singular values from vanishing. The method involves adding a compensation term to the weight matrix to maintain a healthy "spectral shape." Two variants are proposed:
- Static Compensation: A fixed subset of singular values is boosted to match the magnitude of the primary singular value.
- Dynamic Compensation: The model adaptively adjusts singular values based on the observed maximum ratio during training.
By forcing the discriminator to maintain high-rank weight matrices, SR ensures it continues to provide complex, multi-dimensional feedback to the generator, thereby preventing the generator from fixating on a single mode.
Experimental Results and Key Insights
The efficacy of SR was validated across CIFAR-10, STL-10, and ImageNet benchmarks. The results demonstrate that SR-GANs are significantly more robust than their SN-GAN counterparts:
- Stability: In stress tests where SN-GANs consistently collapsed, SR-GANs remained stable throughout training.
- Performance: On ImageNet (128x128), SR-GAN achieved a 19.4% to 44.9% improvement in Inception Score compared to SN-GAN. Overall, SR-GANs showed an average IS improvement of 13.9% and a 21.8% reduction in FID.
- Capacity Efficiency: SR is particularly effective for smaller models with fewer channels, which are traditionally more prone to collapse.
Qualitative analysis confirms that SR-GANs produce a much wider variety of textures and objects, effectively avoiding the repetitive patterns characteristic of mode collapse.
Conclusion
Spectral Regularization provides a powerful new tool for GAN training. By shifting the focus from merely bounding the largest singular value to preserving the entire spectral distribution of the discriminator, SR offers a more principled approach to stability. Future work may explore the application of spectral regularization to other deep learning architectures prone to rank collapse or training instabilities.
Summary updated