Online Kernel based Generative Adversarial Networks

Yeojoon Youn, Neil Thistlethwaite, Sang Keun Choe, Jacob D. AbernethyarXiv 2020

Introduction

Generative Adversarial Networks (GANs) have revolutionized data synthesis, yet they remain notoriously difficult to train. Two primary failure modes plague researchers: mode collapse, where the generator produces a limited subset of the target distribution, and cycling, where the model's parameters oscillate without reaching convergence.

A recent study, "Online Kernel based Generative Adversarial Networks" by Yeojoon Youn et al., proposes a novel solution by rethinking the discriminator's architecture. Instead of a fixed-capacity neural network, the authors introduce a non-parametric, kernel-based classifier that adapts its complexity to the data distribution in real-time.

The Problem: Fixed Capacity and the "Whack-a-Mole" Dynamic

Traditional GAN discriminators utilize a fixed number of parameters. As the generator ($G$) evolves to fool the discriminator ($D$), $D$ must shift its limited representational capacity toward the generator's current output regions. In doing so, it often "forgets" previously learned boundaries in other parts of the data space. This creates a "whack-a-mole" effect where $G$ cycles back to forgotten regions, preventing the model from ever capturing the full diversity of the true distribution.

Methods: Online Kernel-based GAN (OKGAN)

The proposed OKGAN architecture addresses these issues through several key innovations:

  1. Non-Parametric Discriminator: OKGAN replaces the standard neural network discriminator with a classifier based on Reproducing Kernel Hilbert Space (RKHS). The discriminator's "parameters" are a set of support vectors and coefficients that can grow as needed, allowing for infinite capacity in theory.
  2. Online Learning: The discriminator is updated via an online gradient descent rule. The convex nature of the kernel formulation avoids the local minima and instability common in deep neural networks.
  3. Budgeting Strategy: To maintain computational efficiency, a "Remove-Oldest" (FIFO) budget is implemented. This keeps a fixed number of recent examples to define the decision boundary.
  4. Encoder Bridge: For high-dimensional tasks like image generation, a parametric encoder ($E$) maps inputs into a feature space where the kernel-based discriminator operates.

Key Insights: Visualizing Training Dynamics

The authors analyzed the training trajectories of OKGAN compared to standard GANs using PCA projections. While vanilla GANs often exhibit circular patterns indicative of persistent cycling, OKGAN demonstrates a more direct path toward equilibrium.

Comparison of training trajectories: standard GANs often exhibit cycling (left), whereas OKGAN's non-parametric discriminator facilitates more stable convergence (right).

By framing the discriminator's task as a convex problem in an RKHS, the authors provide a framework with stronger theoretical convergence guarantees. The non-parametric nature allows the discriminator to adapt its decision boundary aggressively, forcing the generator to learn the true distribution rather than exploiting temporary weaknesses in a fixed-capacity network.

Experimental Results

OKGAN was evaluated on synthetic 2D datasets and standard vision benchmarks.

Synthetic Benchmarks

On a 2D-grid with 25 Gaussian modes, OKGAN successfully captured all 25.0 modes on average, significantly outperforming competitors like PacGAN and BourGAN. Quantitatively, OKGAN achieved a Reverse KL-divergence of 0.006 on the 2D-grid, nearly an order of magnitude better than BourGAN (0.036).

Reverse KL-divergence over training epochs for the 2D-grid dataset, comparing OKGAN's rapid and stable convergence against BourGAN.

Image Synthesis

On datasets like CelebA and MNIST, OKGAN produced high-quality images comparable to DCGAN. This demonstrates that the kernel-based approach, when paired with a parametric encoder, effectively scales to complex, high-dimensional data while maintaining the stability benefits of the RKHS formulation.

Conclusion and Future Work

OKGAN offers a robust alternative to traditional GAN training by leveraging the stability of online kernel methods. While the introduction of a budget size ($B$) adds a new hyperparameter, the gains in training stability and mode capture are substantial. Future research may explore learnable kernels or more integrated deep-kernel architectures to further reduce reliance on parametric components.

Summary updated

BibTeX
@misc{youn2020online,
  author = {Yeojoon Youn and Neil Thistlethwaite and Sang Keun Choe and Jacob D. Abernethy},
  title = {{Online Kernel based Generative Adversarial Networks}},
  year = {2020},
  eprint = {2006.11432},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.11432},
}
Figure