[Paper Review] No MCMC for me: Amortized sampling for fast and stable training of energy-based models
This paper introduces VERA (Variational Entropy Regularized Approximate maximum likelihood), a method that replaces slow, unstable MCMC sampling in energy-based model (EBM) training with a fast, differentiable generator network trained via entropy regularization. By amortizing MCMC sampling and using a variational approximation for entropy regularization, VERA enables faster, more stable training of EBMs, achieving state-of-the-art likelihoods and enabling effective semi-supervised learning on tabular data.
Energy-Based Models (EBMs) present a flexible and appealing way to represent uncertainty. Despite recent advances, training EBMs on high-dimensional data remains a challenging problem as the state-of-the-art approaches are costly, unstable, and require considerable tuning and domain expertise to apply successfully. In this work, we present a simple method for training EBMs at scale which uses an entropy-regularized generator to amortize the MCMC sampling typically used in EBM training. We improve upon prior MCMC-based entropy regularization methods with a fast variational approximation. We demonstrate the effectiveness of our approach by using it to train tractable likelihood models. Next, we apply our estimator to the recently proposed Joint Energy Model (JEM), where we match the original performance with faster and stable training. This allows us to extend JEM models to semi-supervised classification on tabular data from a variety of continuous domains.
Motivation & Objective
- To address the instability and high computational cost of MCMC-based training in energy-based models (EBMs), especially on high-dimensional data.
- To develop a scalable, stable, and efficient alternative to existing EBM training methods that avoids the limitations of score matching, noise contrastive estimation, and MCMC sampling.
- To enable high-likelihood training of EBMs without requiring auxiliary models or restricting architectural choices.
- To stabilize and accelerate training of Joint Energy Models (JEM), particularly for semi-supervised learning on tabular data.
- To demonstrate that entropy-regularized generative models can produce high-quality likelihood estimates and generalization performance.
Proposed method
- Reinterprets maximum likelihood training of EBMs as a bi-level variational optimization problem, enabling amortization of MCMC sampling.
- Introduces a generator network that learns to sample from the model distribution, replacing iterative MCMC steps with a single forward pass.
- Applies entropy regularization to the generator using a fast variational approximation, improving stability and convergence.
- Uses a differentiable objective that combines energy model loss and entropy regularization, allowing end-to-end training via backpropagation.
- Employs a stochastic gradient estimator that approximates the likelihood objective using samples from the generator, avoiding direct MCMC sampling.
- Treats the generator as a variational approximation to the true model distribution, with entropy regularization ensuring diversity and coverage.
Experimental results
Research questions
- RQ1Can we replace MCMC sampling in EBM training with a learnable, differentiable generator to improve training speed and stability?
- RQ2Does entropy regularization via a variational approximation lead to better likelihood estimation than traditional MCMC-based methods?
- RQ3Can VERA enable effective semi-supervised learning with JEM on high-dimensional tabular data where prior methods fail?
- RQ4How does VERA compare in likelihood and accuracy to state-of-the-art EBM and GAN-based models on image and tabular benchmarks?
- RQ5Can the generator-based sampling in VERA produce high-quality samples while maintaining accurate likelihood estimates?
Key findings
- VERA achieves significantly higher likelihoods than MCMC-based training (PCD) on mixture of Gaussians, with -2.58 vs. -3.82 on the moons dataset under optimal settings.
- On MNIST, VERA with α=1 achieves a Fréchet Inception Distance (FID) of 27.5, outperforming SNGAN (25.50) and NCSN (23.52), and surpassing baseline JEM in FID.
- For semi-supervised learning on tabular data (HEPMASS, CROP, HUMAN), VERA-trained JEM models outperform virtual adversarial training (VAT) when little domain knowledge is available.
- VERA enables stable training of JEM on tabular data, allowing successful semi-supervised classification where previous MCMC-based approaches failed due to instability.
- The method achieves state-of-the-art performance on CIFAR-10 and CIFAR-100 with FID scores of 30.5 and 32.4 respectively, demonstrating strong unconditional and conditional generation.
- The ablation study confirms that entropy regularization (λ) and generator diversity (α) are critical for performance, with α=100 yielding the best FID and IS scores.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.