Abstract
Generative Moment Matching Networks (GMMNs) provide a theoretically grounded framework for generative modeling using Maximum Mean Discrepancy (MMD). However, they often struggle with complex, high-dimensional data like natural images because MMD requires prohibitively large batch sizes to accurately estimate global distribution statistics. This paper introduces Distribution Partition (DP), a strategy that decomposes a complex target distribution into simpler sub-distributions using a pre-trained encoder. By matching these conditional sub-distributions, the proposed GMMN-DP model achieves superior performance on benchmarks such as CelebA and CIFAR-10 using standard mini-batch sizes.
Introduction
Generative models such as GANs and VAEs have become staples of deep learning, yet they often face training instabilities or restrictive mathematical assumptions. GMMNs offer an alternative by minimizing the MMD between generated and real data distributions. MMD effectively compares statistical moments in a high-dimensional feature space.
The primary challenge for vanilla GMMNs is sample complexity. MMD is a global statistic; representing a diverse dataset like human faces requires a vast number of samples to provide a reliable gradient. In practice, training is limited to small mini-batches (e.g., 64-128 samples), which are often insufficient to capture the full variance of complex distributions. This mismatch typically results in high training variance and poor visual quality, often manifesting as blurry or "ghostly" image outputs.
The Distribution Partitioning Framework
To overcome the sample complexity bottleneck, the authors propose a "divide and conquer" approach. Instead of matching the entire marginal distribution $P(X)$, the model matches conditional distributions $P(X|Y)$, where $Y$ is an auxiliary partition variable.
Methodology
- Partitioning via Pre-training: An auxiliary variable $Y$ is introduced to partition the sample space $X$. This is achieved using a pre-trained model (such as a VAE encoder) that maps images to a latent space. Even a simple, non-optimized encoder provides enough structural information to group similar images together.
- Conditional MMD (CMMD): The objective function is reformulated as Conditional MMD. By matching $P(X|Y)$, the generator $g_\theta(y, z)$ only needs to account for the "weak randomness" or low diversity within a specific partition $y$. This significantly reduces the number of samples required for an accurate moment estimate.
- Inference: Post-training, new data is generated by sampling $y$ from a Kernel Density Estimator (KDE) fit to the training latent codes, which is then passed through the generator with noise $z$.
Experimental Evaluation
The authors evaluated GMMN-DP on MNIST, CelebA, and CIFAR-10. The core insight is that by reducing the entropy of the target distribution through partitioning, small mini-batches become "sufficient" samples for moment estimation.
Key Results
- Qualitative Superiority: On the CelebA dataset, GMMN-DP produces sharp, high-fidelity faces. In contrast, vanilla GMMNs fail to capture fine details, producing only vague outlines.
- Quantitative Performance: On the challenging CIFAR-10 dataset, GMMN-DP achieved an Inception Score (IS) of 7.49, outperforming established baselines like MMD-GAN (6.17) and WGAN (5.88).
- Latent Space Continuity: Linear interpolation between partition codes $y$ shows smooth transitions in image features (e.g., pose or expression), indicating that the model learns a continuous manifold rather than memorizing samples.
Discussion and Conclusion
GMMN-DP demonstrates that the limitations of moment matching are not inherent to the MMD objective itself, but rather to the complexity of the distribution being measured. By using a fixed kernel and simplifying the target distribution through partitioning, the model avoids the instabilities associated with learned discriminators in GANs.
While the method requires a two-stage process (pre-training and KDE sampling), it offers a robust and efficient path for training GMMNs on complex data. Future work may focus on end-to-end partitioning or more scalable density estimation for the inference stage.
Summary updated