Abstract
Generative Adversarial Networks (GANs) are powerful but notoriously difficult to train, often plagued by mode collapse and the need for sensitive hyperparameter tuning. This paper presents CKGAN, a novel GAN framework that utilizes Characteristic Kernel Integral Probability Metrics (CKIPM) to stabilize training. CKGAN introduces a "soft selection" mechanism that automatically learns the optimal mathematical kernel for a given dataset and an integrated encoder-discriminator architecture to prevent mode collapse. Our evaluations on synthetic and real-world benchmarks show that CKGAN achieves superior image quality and diversity while maintaining high computational efficiency compared to existing Maximum Mean Discrepancy (MMD) based models.
Introduction
The primary challenges in GAN training are mode collapse—where the generator produces a limited variety of outputs—and the difficulty of kernel selection in distance-based metrics. Many modern GANs employ Maximum Mean Discrepancy (MMD) to measure the divergence between real and generated distributions. However, MMD's performance is highly dependent on the manual selection and tuning of a kernel function (e.g., Gaussian or Laplacian). Furthermore, existing methods to mitigate mode collapse, such as VEEGAN, often require complex auxiliary networks that increase training time and memory usage.
Methodology
CKGAN addresses these issues through three core innovations:
- Characteristic Kernel Integral Probability Metrics (CKIPM): The authors define a new distance metric that serves as a theoretical lower bound to the standard MMD. Optimizing this lower bound ensures stable training without the heavy computational burden associated with full MMD calculations.
- Encoder-Discriminator Mapping: To combat mode collapse, the discriminator is designed to also function as an encoder. It maps generated images back into the latent "noise" space. If the generator collapses multiple noise vectors into a single output, the mapping back to noise fails, resulting in a high loss. Unlike methods using simple Euclidean distance, CKGAN employs kernel-based similarity for this mapping, allowing for more flexible feature learning.
- Soft Kernel Selection: To eliminate manual kernel tuning, CKGAN includes a "soft selection" layer. The model maintains a library of various kernels (Gaussian, Laplacian, Matern, etc.) and learns a weighted combination of them during training. This allows the GAN to automatically discover the most effective similarity measure for any specific dataset.
Experimental Results
The researchers evaluated CKGAN against several state-of-the-art models using both synthetic and real-world datasets.
Synthetic Benchmarks
On synthetic datasets like the 2D Ring, 2D Grid, and "2D SmileFace," CKGAN demonstrated exceptional mode capture capabilities. For instance, in the 25-mode 2D Grid test, CKGAN captured all modes perfectly, whereas competitors like Unrolled GAN only captured 22.
Real-World Performance
On real-world datasets including MNIST, CIFAR-10, CelebA, and LSUN, CKGAN consistently outperformed other MMD-based GANs in terms of image quality and diversity, as measured by Inception Score (IS) and Fréchet Inception Distance (FID).
Notably, on the CelebA dataset, CKGAN achieved an FID of 6.62, a significant improvement over the original MMD GAN (15.83) and VEEGAN (15.07). Lower FID scores indicate higher realism and diversity. Furthermore, CKGAN proved more efficient than the MMD GAN family by avoiding expensive Jacobian matrix calculations.
Discussion and Conclusion
The success of CKGAN highlights several key insights. First, optimizing a well-defined lower bound (CKIPM) is a computationally efficient alternative to exact MMD optimization. Second, the "Soft Selection" method effectively automates the "black magic" of kernel selection, proving that different datasets benefit from different kernel types. Finally, the dual-purpose discriminator reduces the need for auxiliary networks, saving significant compute resources.
One limitation noted was that Spectral Normalization (SN), while generally helpful for GANs, hindered CKGAN's performance on some datasets like MNIST, suggesting a potential conflict with the CKIPM framework. Future work will explore applying this framework to higher-resolution synthesis and investigating more complex implicit kernels.
Summary updated