Abstract
Training Generative Adversarial Networks (GANs) is notoriously unstable due to the sharp gradient space of the discriminator. This paper introduces Gradient Normalization (GN), a novel technique that stabilizes training by strictly bounding the discriminator's gradient norm. Unlike popular methods like Spectral Normalization, GN preserves the discriminator's capacity by applying a model-wide constraint rather than restricting individual layers, leading to significantly higher quality image generation.
Introduction
To prevent GAN mode collapse and training instability, researchers often force the discriminator to be "smooth" by applying a Lipschitz continuity constraint. This prevents the discriminator from creating steep, sharp decision boundaries that cause gradient explosions for the generator.
Existing methods to enforce this constraint have significant drawbacks. Module-wise constraints, such as Spectral Normalization (SN), restrict the Lipschitz constant of every single layer to 1. Because neural networks are multiplicative, stacking many layers causes the overall network's Lipschitz constant to decay drastically, limiting the discriminator's capacity. Sampling-based soft constraints, like Gradient Penalty (GP), only apply to sampled points and do not guarantee stability on unseen data.
Methodology: Gradient Normalization
To achieve an ideal constraint that is model-wise, non-sampling-based, and hard, the authors propose Gradient Normalization (GN). Instead of tweaking individual layer weights, GN directly modifies the final output of the discriminator function $f(x)$. The normalized discriminator output $\hat{f}(x)$ is defined as:
$$ \hat{f}(x) = \frac{f(x)}{||\nabla_x f(x)|| + |f(x)|} $$
- The Gradient Term ($||\nabla_x f(x)||$): By dividing the output by its own gradient norm, the authors mathematically prove that the new function $\hat{f}(x)$ has a strictly bounded gradient norm of $\le 1$.
- The Absolute Value Term ($|f(x)|$): This acts as a "self-control" mechanism. If the discriminator overfits and its output value explodes, this term naturally squashes the normalized gradient to zero, preventing the generator from receiving explosive, destabilizing gradients.
Depth Invariance and Stability
A key insight of this work is the "Decaying Lipschitz" problem inherent in Spectral Normalization. As shown in Figure 5, as the number of layers increases in an SN-based discriminator, the actual gradient norm plummets. In contrast, GN remains depth-invariant because it normalizes the final output, allowing internal layers to scale as needed.
Experimental Results
GN consistently outperformed existing state-of-the-art techniques across multiple architectures and datasets, including CIFAR-10, CelebA-HQ, and LSUN. Notably, on CIFAR-10 using a ResNet architecture, GN-GAN achieved a Frechet Inception Distance (FID) of 11.13, surpassing SN-GAN (12.35).
The method's robustness is further demonstrated across different activation functions. As seen in Figure 6, GN-GAN (purple) consistently achieves the lowest FID scores compared to standard GANs, SN-GAN, and WGAN-GP, regardless of whether ELU, ReLU, or Softplus activations are used.
Conclusion
Gradient Normalization provides a mathematically grounded and empirically superior method for stabilizing GAN training. By shifting the constraint from individual layers to the entire model, GN preserves the discriminator's expressive power while ensuring smooth gradients. While it introduces some computational overhead due to the required double-backward pass, the significant gains in image quality and training stability make it a powerful tool for high-resolution generative modeling.
Summary updated