Skip to main content
QUICK REVIEW

[Paper Review] A Neural Network MCMC sampler that maximizes Proposal Entropy

Zengyi Li, Yubei Chen|arXiv (Cornell University)|Oct 7, 2020
Generative Adversarial Networks and Image SynthesisComputer Science37 references4 citations
TL;DR

This paper proposes a neural network-based MCMC sampler that maximizes proposal entropy to enhance exploration in complex, high-dimensional distributions. By using a gradient-based, tractable proposal network trained via entropy maximization, the method achieves significantly higher sampling efficiency—up to 32x better effective sample size per Metropolis-Hastings step—compared to HMC and Langevin dynamics, especially in challenging geometries like funnel distributions.

ABSTRACT

Markov Chain Monte Carlo (MCMC) methods sample from unnormalized probability distributions and offer guarantees of exact sampling. However, in the continuous case, unfavorable geometry of the target distribution can greatly limit the efficiency of MCMC methods. Augmenting samplers with neural networks can potentially improve their efficiency. Previous neural network based samplers were trained with objectives that either did not explicitly encourage exploration, or used a L2 jump objective which could only be applied to well structured distributions. Thus it seems promising to instead maximize the proposal entropy for adapting the proposal to distributions of any shape. To allow direct optimization of the proposal entropy, we propose a neural network MCMC sampler that has a flexible and tractable proposal distribution. Specifically, our network architecture utilizes the gradient of the target distribution for generating proposals. Our model achieves significantly higher efficiency than previous neural network MCMC techniques in a variety of sampling tasks. Further, the sampler is applied on training of a convergent energy-based model of natural images. The adaptive sampler achieves unbiased sampling with significantly higher proposal entropy than Langevin dynamics sampler.

Motivation & Objective

  • To address the inefficiency of MCMC samplers in high-dimensional, geometrically complex distributions.
  • To improve exploration speed in MCMC by explicitly optimizing for proposal entropy rather than relying on indirect objectives.
  • To design a neural network proposal distribution that is both flexible and tractable for direct entropy optimization.
  • To enable scalable, geometry-robust sampling without requiring intractable Hessian computations, as in Riemann manifold HMC.
  • To demonstrate the method's effectiveness in training deep energy-based models with reduced sampling cost.

Proposed method

  • The sampler uses a neural network to parameterize the proposal distribution, conditioned on the current state and the gradient of the target log-density.
  • The proposal distribution is constructed to be flexible and differentiable, enabling direct optimization of the entropy objective.
  • The model is trained using a loss function that maximizes the entropy of the proposal distribution, promoting broad exploration of the state space.
  • The method leverages the gradient of the target distribution to guide proposal generation, similar to HMC, but with learned, adaptive dynamics.
  • A Metropolis-Hastings accept-reject step ensures exact sampling despite approximation in the proposal.
  • The architecture allows asymmetric proposals, enabling efficient mixing between high- and low-energy regions, such as in funnel-shaped distributions.

Experimental results

Research questions

  • RQ1Can maximizing proposal entropy lead to more efficient exploration in MCMC sampling for complex, non-elliptical target distributions?
  • RQ2Can a neural network proposal distribution be designed such that entropy maximization is tractable and directly optimizable?
  • RQ3How does the proposed sampler compare to HMC and Langevin dynamics in terms of effective sample size and mixing in high-dimensional, skewed distributions?
  • RQ4Can the entropy-maximizing sampler reduce the number of sampling steps and gradient evaluations required for training deep energy-based models?
  • RQ5Does the learned sampler maintain high proposal entropy during training, even in high-dimensional, real-world data distributions?

Key findings

  • The proposed sampler achieved 0.256 effective samples per Metropolis-Hastings step on the 20D funnel distribution, compared to only 0.0079 for HMC, representing a 32x improvement in sampling efficiency.
  • On the Bayesian logistic regression task, the method outperformed previous neural network MCMC approaches by a significant margin in terms of effective sample size and convergence speed.
  • The sampler demonstrated stable training of a convergent deep energy-based model on the Oxford Flowers dataset, requiring only 80 gradient evaluations per EBM update—equivalent to roughly 280 Langevin steps—compared to 500 steps in prior work.
  • The learned sampler maintained significantly higher proposal entropy than adaptive MALA throughout training, indicating superior exploration capability.
  • Visualizations showed that the sampler produced large, rare transitions (e.g., between high- and low-energy states) that were absent in baseline methods, confirming improved mixing.
  • The method successfully handled asymmetric and multi-modal distributions, with the ability to generate asymmetric proposals that enabled efficient transitions across energy barriers.

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.