Skip to main content
QUICK REVIEW

[Paper Review] To Relieve Your Headache of Training an MRF, Take AdVIL

Chongxuan Li, Chao Du|arXiv (Cornell University)|Jan 24, 2019
Gaussian Processes and Bayesian InferenceComputer Science47 references5 citations
TL;DR

AdVIL proposes a black-box variational inference and learning method for Markov random fields (MRFs) using a minimax optimization framework with two variational distributions: a variational encoder for latent variable inference and a variational decoder for estimating the log partition function. It achieves tighter log-partition estimates and superior likelihood performance compared to NVIL and contrastive divergence methods, especially in complex models like deep Boltzmann machines.

ABSTRACT

We propose a black-box algorithm called {\it Adversarial Variational Inference and Learning} (AdVIL) to perform inference and learning on a general Markov random field (MRF). AdVIL employs two variational distributions to approximately infer the latent variables and estimate the partition function of an MRF, respectively. The two variational distributions provide an estimate of the negative log-likelihood of the MRF as a minimax optimization problem, which is solved by stochastic gradient descent. AdVIL is proven convergent under certain conditions. On one hand, compared with contrastive divergence, AdVIL requires a minimal assumption about the model structure and can deal with a broader family of MRFs. On the other hand, compared with existing black-box methods, AdVIL provides a tighter estimate of the log partition function and achieves much better empirical results.

Motivation & Objective

  • To develop a black-box inference and learning method for general Markov random fields (MRFs) that avoids model-specific analysis.
  • To address the limitations of existing methods, including poor partition function estimation and reliance on model structure.
  • To improve upon NVIL by providing a tighter lower bound on the log partition function and solving the MRF inference problem.
  • To enable end-to-end training of undirected models with latent variables using stochastic gradient descent.
  • To achieve better empirical performance than contrastive divergence and NVIL on complex MRFs like deep Boltzmann machines.

Proposed method

  • AdVIL uses two variational distributions: a variational encoder to approximate the posterior over latent variables and a variational decoder to estimate the partition function.
  • The method formulates the negative log-likelihood as a minimax optimization problem, combining upper and lower bounds on the free energy.
  • The variational decoder introduces an auxiliary variable to enhance flexibility, with entropy approximated via a third variational trick.
  • Training proceeds via alternating stochastic gradient descent on the encoder and decoder, emulating a GAN-like objective.
  • The framework supports efficient ancestral sampling for generation and enables black-box training without model-specific derivations.
  • Theoretical convergence is proven under the condition that the variational decoder well-approximates the true model.

Experimental results

Research questions

  • RQ1Can a black-box method be developed for MRFs that avoids model-specific analysis and enables end-to-end training?
  • RQ2Can a tighter lower bound on the log partition function be achieved compared to NVIL, which suffers from underestimation?
  • RQ3Does the minimax variational framework improve log-likelihood performance on complex MRFs like deep Boltzmann machines?
  • RQ4How does the inclusion of entropy terms in the variational distributions affect model convergence and generation quality?
  • RQ5Can adversarial training principles be effectively adapted to undirected models with intractable partition functions?

Key findings

  • AdVIL achieves significantly better log-likelihood results than NVIL on all datasets, including a mean improvement of 1.02 nats on the Digits dataset.
  • On the Digits dataset, AdVIL with a hierarchical decoder achieves a test NLL of -27.89, outperforming VCD's -28.49 and matching the best-performing baseline.
  • In RBMs, AdVIL achieves a mean AIS result of -26.34 nats on the Digits dataset, compared to NVIL’s -27.36 nats, demonstrating a tighter log-partition estimate.
  • AdVIL with a NADE decoder shows slightly worse and unstable performance than the hierarchical decoder, indicating the importance of the auxiliary variable structure.
  • The ablation study confirms that removing the entropy terms in the variational distributions leads to mode collapse and failure to generate meaningful samples.
  • AdVIL’s minimax optimization leads to less stable learning curves than VCD but achieves superior final performance, especially in deep models like DBMs.

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.