Abstract
LDAGAN integrates the structured topic modeling of Latent Dirichlet Allocation (LDA) into the Generative Adversarial Network (GAN) framework. By utilizing a Dirichlet prior to manage a mixture of generators, the model effectively captures the multimodal nature of complex datasets. This approach significantly mitigates "mode collapse" and enhances the diversity and interpretability of generated images.
Introduction
Generative Adversarial Networks (GANs) have revolutionized image synthesis but continue to struggle with multimodality. Real-world datasets, such as ImageNet, are composed of numerous distinct modes (e.g., different animal species or vehicle types). Standard GANs, which typically employ a single generator to map noise to these complex distributions, often suffer from mode collapse—where the generator produces only a limited subset of data—or mode dropping, where entire categories are ignored.
LDAGAN addresses these issues by treating image generation as a hierarchical process inspired by LDA, a classic technique for discovering latent topics in text. By introducing a principled mixture-of-generators approach, LDAGAN provides a mathematically sound framework for modeling diverse data distributions.
Methodology
The core of LDAGAN is a three-level hierarchical generative process, as illustrated in the plate notation below.
The process follows these steps:
- Sample a Mode Distribution: For each sample, a distribution $\pi$ is drawn from a Dirichlet prior $\alpha$. This $\pi$ defines the mixture of modes for that specific instance.
- Select a Mode: A specific generative mode $z$ is sampled from the distribution $\pi$.
- Generate the Image: The final image $x$ is produced by a specific generator $G_k$ (corresponding to mode $z$) using input noise $z'$.
To ensure efficiency and stability, the authors implemented several key innovations:
- Variational EM (VEM) Algorithm: A derived VEM algorithm allows for parameter estimation within the adversarial framework, bypassing the lack of an explicit likelihood function in GANs.
- Shared Discriminator: A single shared discriminator maintains balance across all generators during training.
- Parameter Sharing: To minimize overhead, the $K$ generators share most parameters, differing only in their initial layers. This encourages specialization while maintaining a manageable parameter count.
Experimental Results
LDAGAN was evaluated on standard benchmarks including CIFAR-10, CIFAR-100, and ImageNet (rescaled to $32 \times 32$). The model demonstrated state-of-the-art performance across both quantitative and qualitative metrics.
Quantitative Performance: On the ImageNet dataset, LDAGAN achieved a Fréchet Inception Distance (FID) of 28.9, a leading result for standard CNN architectures at the time of publication. In terms of Inception Score (IS), LDAGAN consistently outperformed baselines like MGAN and Graphical GAN (GMGAN). For instance, on CIFAR-10, it reached an IS of 8.77 using a ResNet architecture.
Qualitative Insights: As shown in Figure 3, LDAGAN successfully discovers underlying data structures without explicit supervision. Images generated by the same mode (rows in the grid) exhibit high semantic similarity—for example, one generator might specialize in "ships" while another focuses on "dogs." This confirms that the model effectively partitions the data modes.
Discussion and Conclusion
By applying the principles of LDA to the GAN framework, LDAGAN provides a robust solution to the problem of mode collapse. The use of a Dirichlet prior offers a mathematically grounded way to handle multimodality, leading to more diverse and interpretable generative models.
While the hierarchical nature and VEM algorithm increase training complexity, the benefits in stability and output quality are significant. Future work may involve scaling this approach to higher resolutions ($1024 \times 1024$) and exploring its application in other structured latent space tasks beyond image generation.
Summary updated