NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Implicit Generative Models by Matching Perceptual Features

Cícero Nogueira dos Santos, Youssef Mroueh, Inkit Padhi, Pierre L. DogninICCV 2019

Abstract

Perceptual features (PFs) have been used with great success in tasks such as transfer learning, style transfer, and super-resolution. However, the efficacy of PFs as key source of information for learning generative models is not well studied. We investigate here the use of PFs in the context of learning implicit generative models through moment matching (MM). More specifically, we propose a new effective MM approach that learns implicit generative models by performing mean and covariance matching of features extracted from pretrained ConvNets. Our proposed approach improves upon existing MM methods by: (1) breaking away from the problematic min/max game of adversarial learning; (2) avoiding online learning of kernel functions; and (3) being efficient with respect to both number of used moments and required minibatch size. Our experimental results demonstrate that, due to the expressiveness of PFs from pretrained deep ConvNets, our method achieves state-of-the-art results for challenging benchmarks.

Introduction

Generative modeling has seen significant advances, primarily driven by Generative Adversarial Networks (GANs). However, GANs are plagued by training instabilities and the difficult "min-max" optimization game. This paper introduces Generative Feature Matching Networks (GFMN), a stable and efficient alternative that leverages the power of perceptual features from fixed, pretrained deep networks to guide image generation through moment matching.

The Challenge: Adversarial Games vs. Moment Matching

Traditional generative models face a trade-off. GANs produce high-quality images but suffer from mode collapse and non-convergence due to their adversarial nature. Conversely, Moment Matching (MM) or Maximum Mean Discrepancy (MMD) methods offer theoretical stability but often result in blurry images or require prohibitively large minibatches to estimate statistics accurately. GFMN bridges this gap by combining the high-quality representational power of deep features with the training stability of moment matching.

Methodology

The core of GFMN is the use of a fixed, pretrained Deep Convolutional Neural Network (DCNN), such as VGG19 or ResNet18, as a "universal feature map."

  • Feature Matching: Instead of a discriminator, GFMN matches the mean and covariance of features extracted from multiple layers of the fixed DCNN. The generator is trained to produce images whose features match the statistics of real data.
  • ADAM Moving Average (AMA): To overcome the need for large minibatches, the authors introduce AMA. This technique maintains a running estimate of the difference between real and generated feature statistics, allowing for effective training with standard minibatch sizes (e.g., 64).
  • Loss Function: The objective is the $L_2$ distance between precomputed real-data statistics and the moving-average estimates of generated data.

Stability and Interpretability

A significant advantage of GFMN is its training stability. Unlike GANs, where loss curves are often uninformative or oscillatory, the GFMN loss function is directly correlated with image quality.

Training stability of GFMN: the loss function directly correlates with the visual quality of generated samples over iterations.

As the loss decreases, the visual fidelity of generated samples improves predictably, making the training process much more interpretable and easier to monitor than adversarial alternatives.

Key Results

GFMN achieves state-of-the-art results for non-adversarial methods and remains competitive with popular unsupervised GAN variants.

Quantitative results on CIFAR10 showing the impact of different feature extractors and generator architectures on Inception Score (IS) and Frechet Inception Distance (FID).

On the CIFAR10 benchmark, GFMN reached an Inception Score (IS) of 8.27 and a Frechet Inception Distance (FID) of 13.5, substantially outperforming previous moment-matching approaches. Furthermore, GFMN is highly efficient, requiring roughly 50x fewer moments than other state-of-the-art MM methods like MoLM.

Conclusion

GFMN provides a robust framework for generative modeling that avoids the pitfalls of adversarial training. By matching perceptual features with a novel moving average estimator, it achieves high-quality results with improved stability and efficiency. The method's success across domains (faces, bedrooms, and natural objects) suggests that deep perceptual features serve as a powerful, universal signal for learning complex data distributions.

Summary updated

BibTeX
@misc{santos2019learning,
  author = {Cícero Nogueira dos Santos and Youssef Mroueh and Inkit Padhi and Pierre L. Dognin},
  title = {{Learning Implicit Generative Models by Matching Perceptual Features}},
  year = {2019},
  eprint = {1904.02762},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1904.02762},
}
Figure