Introduction
Generative Adversarial Networks (GANs) have revolutionized generative modeling but remain susceptible to mode collapse, a failure mode where the generator captures only a fraction of the target distribution's diversity. While ensemble-based approaches have been proposed to address this, many rely on heuristics that do not guarantee distinct mode coverage. The k-GANs framework introduces a mathematically grounded method to train an ensemble of generators by partitioning the data space using semi-discrete optimal transport.
Methodology: GANs as Generative Clustering
The k-GANs approach conceptualizes generative modeling as a clustering problem. By utilizing optimal transport (OT) theory, the authors partition the data space into $k$ Voronoi cells, each governed by a specific prototype. Each generator in the ensemble is then tasked with modeling the data distribution within its assigned cell.
The training follows an iterative, EM-like algorithm:
- Local Generator Training: With fixed prototypes, each generator/discriminator pair is trained on the subset of data falling within its Voronoi cell.
- Prototype Refinement: With fixed generators, the prototypes are updated to be the medoids of the distributions produced by the generators.
This "divide and conquer" strategy simplifies the optimization landscape for individual networks, ensuring that the ensemble collectively covers the entire data distribution without redundant overlap.
Experimental Results
The authors evaluated k-GANs across synthetic 2D datasets and standard benchmarks like MNIST and Fashion-MNIST.
Quantitative Performance on Toy Datasets
On synthetic 2D datasets featuring multiple clusters, k-GANs significantly outperformed baseline Wasserstein GANs (wGANs). As illustrated in Figure 1, the k-GANs framework successfully adapts its Voronoi partitions to the data geometry, resulting in near-perfect coverage and higher precision compared to the $k=1$ baseline, which frequently suffers from mode collapse.
Qualitative Diversity on Image Data
The benefits of the ensemble approach are equally evident in image generation. In experiments on MNIST, a single generator ($k=1$) often produces generic or blurry samples. In contrast, a k-GANs ensemble with $k=4$ partitions the digit space effectively. As shown in Figure 2, each prototype represents a distinct mode (e.g., different digit classes), and the associated generators produce sharp, diverse samples corresponding to those modes.
Similar results were observed on Fashion-MNIST, where the ensemble successfully distributed complex categories—such as footwear versus upper-body clothing—across different generators, preventing the collapse into a single dominant category.
Conclusion and Future Directions
k-GANs provide a principled bridge between classical clustering and deep generative modeling. By leveraging semi-discrete optimal transport, the framework ensures diverse mode coverage and improved sample precision. While the current implementation uses Euclidean distance for partitioning, future work may explore feature-based cost functions to better handle high-dimensional natural images and scale the approach to larger ensembles.
Summary updated