[Paper Review] On gradient regularizers for MMD GANs
This paper proposes a novel gradient regularization for Maximum Mean Discrepancy (MMD) GANs that enforces exact, analytical gradient constraints on the critic's gradient norm over the real data distribution, improving training stability and convergence. The method yields state-of-the-art results on $160\times160$ CelebA and $64\times64$ ImageNet, outperforming existing MMD and WGAN-based models with faster, more stable training.
We propose a principled method for gradient-based regularization of the critic of GAN-like models trained by adversarially optimizing the kernel of a Maximum Mean Discrepancy (MMD). We show that controlling the gradient of the critic is vital to having a sensible loss function, and devise a method to enforce exact, analytical gradient constraints at no additional cost compared to existing approximate techniques based on additive regularizers. The new loss function is provably continuous, and experiments show that it stabilizes and accelerates training, giving image generation models that outperform state-of-the art methods on $160 imes 160$ CelebA and $64 imes 64$ unconditional ImageNet.
Motivation & Objective
- To address the instability and poor optimization signal in MMD GANs caused by uncontrolled critic gradients.
- To develop a principled, analytically enforceable gradient constraint that avoids approximate or additive regularization techniques.
- To improve generator performance by ensuring the critic remains well-behaved on the real data distribution without dependence on the generator's current batch.
- To demonstrate that the proposed regularization leads to faster, more stable training and superior image generation quality.
- To show that the method outperforms existing MMD and WGAN-based GANs on high-resolution image generation benchmarks.
Proposed method
- Proposes a new MMD-based loss that incorporates a gradient penalty constrained only on the real data distribution $\mathbb{P}$, not on the generator samples $\mathbb{Q}_{\theta}$.
- Derives a regularizer inspired by semi-supervised learning, penalizing high gradient norm where $\mathbb{P}$ has high density, ensuring the critic is flat on real data.
- Enforces the gradient constraint exactly and analytically using a Lagrangian formulation, avoiding approximation errors from gradient penalty terms.
- Applies the constraint via a modified critic loss that includes a density-weighted gradient norm term over $\mathbb{P}$, with no additional computational cost.
- Uses spectral normalization alongside the new regularizer to further stabilize training, especially in deep networks.
- Employs a scaled MMD (SMMD) variant that combines the new gradient constraint with a learned kernel to improve representational capacity.
Experimental results
Research questions
- RQ1Can enforcing exact gradient constraints on the critic over the real data distribution improve training stability and performance in MMD GANs?
- RQ2Does a gradient regularizer that excludes dependence on the generator's current batch avoid distributional shift and improve optimization dynamics?
- RQ3How does the proposed method compare to existing gradient penalties (e.g., WGAN-GP) and spectral normalization in terms of convergence speed and sample quality?
- RQ4Can the new regularizer achieve state-of-the-art results on high-resolution image generation benchmarks like $160\times160$ CelebA and $64\times64$ ImageNet?
- RQ5Does the method maintain a continuous loss function and avoid mode collapse, even in high-dimensional settings?
Key findings
- The proposed SMMD GAN with gradient regularization achieved an Inception Score of 7.3 ± 0.1 and FID of 25.0 ± 0.3 on CIFAR-10 with spectral normalization, outperforming all baselines including SN-MMDGAN and Sobolev-GAN.
- On $160\times160$ CelebA, the method achieved state-of-the-art FID and KID scores, with stable training and no mode collapse observed.
- On $64\times64$ ImageNet, the model outperformed existing MMD and WGAN-based methods, demonstrating superior sample quality and training stability.
- The method achieved faster convergence than standard MMDGAN and gradient-constrained MMDGAN, with KID scores decreasing steadily without the sharp peaks seen in baseline models.
- Spectral normalization combined with the new regularizer (SN-SMMDGAN) reduced FID to 25.0 ± 0.3 on CIFAR-10, significantly outperforming SN-MMDGAN (FID 31.5 ± 0.2) and SN-WGAN-GP (FID 154.3 ± 0.2).
- The loss function was provably continuous, and the method avoided the instability and rank collapse seen in models without the gradient constraint, even after 32,000 generator iterations on MNIST.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.