Implicit Maximum Likelihood Estimation

Ke Li, Jitendra MalikarXiv 2018

Abstract

Implicit Maximum Likelihood Estimation (IMLE) is a novel framework for training generative models that avoids the notorious "mode collapse" and instability of Generative Adversarial Networks (GANs). By ensuring that every real data point has a nearby model sample, IMLE provides a stable, likelihood-equivalent training objective for models where the density function is intractable. Experiments on MNIST, TFD, and CIFAR-10 demonstrate that IMLE achieves superior distribution coverage and higher log-likelihood scores compared to adversarial baselines.

Introduction

In generative modeling, researchers typically choose between prescribed models, which possess an explicit density function (e.g., Variational Autoencoders), and implicit models, defined solely by a sampling procedure (e.g., GANs). While implicit models can learn highly complex transformations, they are notoriously difficult to train. The standard adversarial approach uses a discriminator to distinguish real data from synthetic samples. However, this often leads to mode collapse, where the generator ignores large portions of the data distribution to focus on a few high-quality types. Furthermore, GAN training is a minimax game prone to vanishing gradients and extreme hyperparameter sensitivity.

This paper introduces IMLE, a method to train implicit models that retains the theoretical guarantees of Maximum Likelihood Estimation (MLE)—specifically high recall and full distribution coverage—without requiring an explicit density function.

Methodology

The core innovation of IMLE is a reversal of the typical generative objective. Rather than employing a discriminator to judge samples, IMLE asks: "For every real data point, is there a model sample nearby?"

The IMLE Algorithm

The training process follows three primary steps:

  1. Sampling: Generate a large set of $m$ samples from the current model $T_\theta(z)$.
  2. Matching: For each real data point $x_i$ in a training batch, identify its nearest neighbor among the generated samples.
  3. Optimization: Adjust the model parameters $\theta$ to minimize the distance between the real data points and their respective nearest samples.

By ensuring every data point is "covered" by at least one sample, the model is mathematically prevented from dropping modes. The authors prove that under specific conditions, minimizing this nearest-neighbor distance is equivalent to maximizing likelihood.

Experimental Evaluation

The authors evaluated IMLE on three standard benchmarks: MNIST (handwritten digits), the Toronto Faces Dataset (TFD), and CIFAR-10 (natural images).

Samples generated by IMLE on MNIST, TFD, and CIFAR-10 datasets, demonstrating high visual diversity and distribution coverage.

Key Results

  • Higher Log-Likelihood: On MNIST and TFD, IMLE achieved significantly higher log-likelihood scores (estimated via Parzen windows) than GANs and Generative Moment Matching Networks (GMMNs). On MNIST, IMLE reached a score of 257, compared to 225 for GANs.
  • Visual Diversity: Qualitative analysis shows that IMLE produces a wide variety of samples across all datasets. Latent space interpolations are smooth, suggesting the model learns a continuous manifold rather than simply memorizing training data.
  • Training Stability: Unlike the oscillations common in adversarial training, IMLE is a straightforward minimization problem. Sample quality improves consistently over time without the risk of vanishing gradients or sudden model collapse.

Discussion and Limitations

IMLE prioritizes recall (representing every real point) over precision (ensuring every sample is perfect). While this prevents mode collapse, it can result in samples that appear slightly blurrier than the sharpest GAN outputs—a common trade-off in likelihood-based methods.

To scale the algorithm to high-dimensional data, the authors leverage fast approximate nearest neighbor search techniques like Dynamic Continuous Indexing. Future work involves utilizing "perceptual" distance metrics (e.g., features from pre-trained deep networks) to improve visual crispness. Additionally, while efficient search helps, the computational cost of generating large sample pools remains higher than a single GAN step, presenting an opportunity for further optimization of the sampling process.

Summary updated

BibTeX
@misc{li2018implicit,
  author = {Ke Li and Jitendra Malik},
  title = {{Implicit Maximum Likelihood Estimation}},
  year = {2018},
  eprint = {1809.09087},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1809.09087},
}
Figure