Skip to main content
QUICK REVIEW

[Paper Review] McGan: Mean and Covariance Feature Matching GAN

Youssef Mroueh, Tom Sercu|arXiv (Cornell University)|Feb 27, 2017
Generative Adversarial Networks and Image SynthesisComputer Science24 references26 citations
TL;DR

This paper proposes McGan, a novel GAN framework that trains generators by matching both the mean and covariance of real and generated data distributions in a finite-dimensional feature space using Integral Probability Metrics (IPMs). The method achieves stable training, reduced mode collapse, and improved sample quality, with theoretical grounding in IPM duality and empirical validation across multiple datasets including LSUN, CelebA, and CIFAR-10.

ABSTRACT

We introduce new families of Integral Probability Metrics (IPM) for training Generative Adversarial Networks (GAN). Our IPMs are based on matching statistics of distributions embedded in a finite dimensional feature space. Mean and covariance feature matching IPMs allow for stable training of GANs, which we will call McGan. McGan minimizes a meaningful loss between distributions.

Motivation & Objective

  • To address the instability and mode collapse issues in standard GANs by introducing a new family of Integral Probability Metrics (IPMs) based on matching first- and second-order statistics of data distributions.
  • To develop a theoretically grounded and empirically stable alternative to existing GAN objectives such as the original GAN, WGAN, and MMD-based GANs.
  • To demonstrate that matching both mean and covariance in a feature space leads to improved sample diversity and quality, particularly in complex data distributions.
  • To provide dual and primal formulations of the proposed IPMs that are compatible with standard GAN training pipelines and enable stable optimization.

Proposed method

  • The method uses a feature map to embed real and generated data distributions into a finite-dimensional space, where the generator is trained to match the mean and covariance of the real data distribution.
  • The mean matching IPM is defined using an ℓq norm over the difference in expected feature values between real and generated data, with ℓ1 and ℓ2 variants explored.
  • The covariance matching IPM is based on the Ky-Fan norm of the difference between the covariance matrices of real and generated data, computed efficiently without explicit matrix construction.
  • Two formulations—primal and dual—are derived for both mean and covariance matching IPMs, enabling flexible optimization in GAN training.
  • The critic network is trained to estimate the IPM loss, with the generator updated to minimize the IPM between real and generated data distributions.
  • For conditional generation, the method combines the IPM loss with a cross-entropy loss on class labels, enabling conditional GAN training with improved disentanglement and sample quality.

Experimental results

Research questions

  • RQ1Can matching both the mean and covariance of data distributions in a feature space lead to more stable and effective GAN training compared to mean-only matching or other IPM-based objectives?
  • RQ2Does the proposed IPM formulation based on mean and covariance matching provide a theoretically sound and practically effective alternative to the WGAN objective?
  • RQ3How does the inclusion of covariance matching affect mode coverage and sample diversity in generated data, especially in high-variability datasets like LSUN and CIFAR-10?
  • RQ4Can the dual and primal formulations of the IPM be effectively used in practice without requiring explicit computation of full covariance matrices?
  • RQ5To what extent does the proposed method reduce mode dropping and improve the correlation between the IPM loss and generated sample quality?

Key findings

  • McGan with mean and covariance matching achieves inception scores of 7.29 ± 0.06 on CIFAR-10 (unconditional), outperforming WGAN (3.24 ± 0.02) and other baselines.
  • The method achieves stable training across multiple datasets, including LSUN and CelebA, with consistent sample quality and minimal mode collapse.
  • Covariance matching alone (without mean matching) achieves an inception score of 6.73 ± 0.04 on CIFAR-10 (unconditional), indicating that covariance matching alone improves sample diversity.
  • The addition of covariance matching to mean matching (L1+Sigma or L2+Sigma) further improves inception scores, with L2+Sigma achieving 7.27 ± 0.04 on CIFAR-10.
  • Training with the dual formulation required a larger minibatch size (3×64) for the real data to ensure accurate gradient estimation, indicating a trade-off between computational cost and training stability.
  • Samples generated with the same noise vector across iterations preserved identity and style, indicating stable training dynamics and consistent feature learning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.