Skip to main content
QUICK REVIEW

[Paper Review] Learning Energy-based Model with Flow-based Backbone by Neural Transport MCMC

Erik Nijkamp, Ruiqi Gao|arXiv (Cornell University)|Jun 12, 2020
Neural Networks and ApplicationsComputer Science42 references12 citations
TL;DR

This paper proposes a flow-based backbone for energy-based models (EBMs), enabling efficient MCMC sampling in the latent space where mixing is improved. By modeling the EBM as an exponential tilt over a normalizing flow, the method achieves well-mixing sampling and stable training, overcoming the mode-collapse issues common in direct data-space EBM learning.

ABSTRACT

Learning energy-based model (EBM) requires MCMC sampling of the learned model as the inner loop of the learning algorithm. However, MCMC sampling of EBM in data space is generally not mixing, because the energy function, which is usually parametrized by deep network, is highly multi-modal in the data space. This is a serious handicap for both the theory and practice of EBM. In this paper, we propose to learn EBM with a flow-based model serving as a backbone, so that the EBM is a correction or an exponential tilting of the flow-based model. We show that the model has a particularly simple form in the space of the latent variables of the flow-based model, and MCMC sampling of the EBM in the latent space, which is a simple special case of neural transport MCMC, mixes well and traverses modes in the data space. This enables proper sampling and learning of EBM.

Motivation & Objective

  • To address the poor mixing of MCMC sampling in data space for energy-based models (EBMs), which hinders both training and sampling.
  • To improve the practicality and theoretical soundness of EBM learning by leveraging a normalizing flow as a prior.
  • To enable effective sampling and learning of multi-modal data distributions through latent-space MCMC.
  • To formalize the EBM as an exponential tilting of a flow-based model, simplifying the learning objective in latent space.

Proposed method

  • Use a normalizing flow as a base distribution to serve as a backbone for the EBM, providing a well-structured latent space.
  • Define the EBM as an exponential tilt over the flow model, so that the energy function is learned in the latent space.
  • Perform MCMC sampling in the latent space of the flow model, where the geometry is simpler and mixing is faster.
  • Apply neural transport MCMC to further improve mixing by learning transport maps that adaptively guide the MCMC proposal.
  • Train the EBM by optimizing the likelihood of data under the tilted flow model, using the latent-space MCMC for gradient estimation.
  • Leverage the invertibility and tractable Jacobian of the flow to compute exact likelihoods and efficient sampling.

Experimental results

Research questions

  • RQ1Can a flow-based model serve as a stable backbone for EBM learning to improve MCMC mixing?
  • RQ2Does sampling in the latent space of a normalizing flow lead to better mode coverage in multi-modal data distributions?
  • RQ3Can neural transport MCMC be effectively applied to EBM training in latent space to enhance sampling efficiency?
  • RQ4How does the exponential tilting formulation of EBM over a flow model simplify training and improve convergence?

Key findings

  • MCMC sampling in the latent space of the flow-based model mixes significantly better than in data space, enabling effective traversal of multi-modal distributions.
  • The proposed method achieves stable training of EBM by leveraging the well-behaved geometry of the latent space.
  • The exponential tilting formulation allows the EBM to be trained efficiently using MCMC gradients computed in the latent space.
  • Neural transport MCMC further improves mixing in the latent space, leading to faster convergence and better sample quality.

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.