Introduction
Generative Adversarial Networks (GANs) have revolutionized image synthesis, yet their performance is fundamentally tied to the distance measure used to compare real and generated data distributions. While Maximum Mean Discrepancy (MMD) offers a theoretically robust alternative to the standard GAN objective, early implementations like Generative Moment Matching Networks (GMMNs) struggled with complex, high-dimensional datasets. These models often relied on fixed feature extractors or raw pixels, failing to capture the intricate structures of natural images. Generative Adversarial Mapping Networks (GAMNs) address this by introducing an adversarial "mapper" that dynamically learns a feature space optimized for distribution matching.
The GAMN Framework
GAMN integrates the adversarial training philosophy with the MMD framework. Instead of calculating MMD on static features, the model introduces a mapper network ($F$) that transforms both real and generated data into a lower-dimensional feature space $\mathcal{R}$.
The training follows a minimax game: the mapper $F$ is trained to maximize the MMD between the mapped distributions, effectively searching for features that distinguish "fake" from "real." Simultaneously, the generator $G$ is trained to minimize this MMD. To stabilize training and prevent the mapper from scaling weights indefinitely, the authors employ Gradient Penalty (GP) and normalization layer regularization. This approach allows GAMN to work effectively with standard batch sizes (e.g., 64), overcoming the massive batch requirements of previous GMMN models.
Experimental Evaluation
Toy Datasets
The researchers first validated GAMN on low-dimensional toy datasets, including 8 Gaussians, 25 Gaussians, and the Swiss Roll. These tests demonstrate the model's ability to capture complex, multi-modal distributions without the mode collapse often seen in standard GANs.
Image Synthesis
On complex benchmarks like CIFAR-10 and LSUN-Bedrooms, GAMN shows significant improvements over previous MMD-based methods and standard GAN variants. On CIFAR-10, GAMN achieved an Inception Score of 6.44, notably higher than GMMN+AE (2.78) and Improved WGAN (6.16) using comparable architectures.
Key Insights and Results
- Dynamic Feature Learning: By making the mapper adversarial, the network constantly identifies the specific high-level features where the generator is lacking, forcing continuous improvement.
- MMD as a Monitor: The MMD value during training was found to correlate strongly with the Inception Score, providing a reliable internal metric for monitoring sample quality and training progress.
- Visual Fidelity: On the LSUN-Bedrooms dataset, GAMN produced lifelike images characterized by smooth brush strokes and meticulous textures, appearing visually superior to standard WGAN outputs.
Conclusion
Generative Adversarial Mapping Networks breathe new life into MMD-based generative modeling. By replacing static kernels with an adversarial mapper, GAMN achieves state-of-the-art performance on natural image datasets while maintaining the theoretical elegance of MMD. Future work may explore more advanced backbones like ResNet or extending the framework to conditional generation tasks.
Summary updated