Skip to main content
QUICK REVIEW

[Paper Review] Learning Deep Energy Models: Contrastive Divergence vs. Amortized MLE

Qiang Liu, Dilin Wang|arXiv (Cornell University)|Jul 4, 2017
Generative Adversarial Networks and Image SynthesisComputer Science27 references15 citations
TL;DR

This paper proposes SteinCD and SteinGAN, two novel algorithms for training deep energy models by combining contrastive divergence with Stein variational gradient descent (SVGD). SteinCD improves test likelihood through SVGD-enhanced contrastive learning, while SteinGAN generates high-quality images by amortizing negative samples via a generator network; jointly, they achieve both high likelihood and realistic sample generation.

ABSTRACT

We propose a number of new algorithms for learning deep energy models and demonstrate their properties. We show that our SteinCD performs well in term of test likelihood, while SteinGAN performs well in terms of generating realistic looking images. Our results suggest promising directions for learning better models by combining GAN-style methods with traditional energy-based learning.

Motivation & Objective

  • Address the limitations of traditional contrastive divergence (CD) in generating high-quality samples despite good test likelihood.
  • Overcome the shortcomings of GANs in lacking explicit energy scores and generalization by integrating energy-based learning with GAN-style generation.
  • Leverage the theoretical connections between Stein variational gradient descent (SVGD) and CD to design new training algorithms for energy-based models.
  • Demonstrate that combining SteinCD and SteinGAN yields models that inherit the strengths of both: high test likelihood and realistic image generation.

Proposed method

  • Propose SteinCD, a contrastive divergence variant that integrates SVGD to improve the approximation of the model distribution during training.
  • Introduce SteinGAN, which uses a neural generator to amortize negative samples in maximum likelihood estimation, replacing traditional MCMC sampling.
  • Use SVGD to derive a deterministic, particle-based optimization for approximating the true posterior, improving sample quality and likelihood estimation.
  • Modify the MLE objective by incorporating a discount factor to stabilize training and regularize the log-partition function.
  • Train joint energy models on image-label pairs by conditioning the generator on class labels, enabling controlled image generation.
  • Apply the same generator architecture as DCGAN for fair comparison, while using fewer parameters in the energy model (discriminator) than in DCGAN.

Experimental results

Research questions

  • RQ1Can the theoretical connection between SVGD and CD be leveraged to improve contrastive divergence in deep energy model training?
  • RQ2Can a generator network effectively amortize negative samples in maximum likelihood estimation for energy-based models, enabling high-quality image generation?
  • RQ3Do SteinCD and SteinGAN exhibit complementary strengths—high test likelihood versus high-quality sample generation—enabling improved performance when combined?
  • RQ4Can energy-based models trained with SteinGAN achieve image quality comparable to GANs while retaining the benefits of energy scoring and generalization?
  • RQ5How does the inclusion of a generator-based negative sampling strategy affect training stability and model capacity compared to standard MLE or CD?

Key findings

  • SteinCD achieves high test likelihood, demonstrating strong generalization performance comparable to state-of-the-art MLE-based methods.
  • SteinGAN generates realistic-looking images that are competitive with GAN-style methods, particularly in visual quality and diversity.
  • The inception score of SteinGAN is comparable to DCGAN, indicating high perceptual quality of generated images.
  • SteinGAN achieves higher classification accuracy when using generated images as training data for ResNet, suggesting it preserves more semantic information than baseline methods.
  • Combining SteinCD and SteinGAN updates leads to models that simultaneously achieve high test likelihood and high-quality sample generation.
  • The use of a discount factor in the update rule stabilizes training and improves performance by regularizing the log-partition function.

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.