Abstract
Traditional Latent-Variable Energy-Based Models (LV-EBMs) often suffer from the "amortization gap" caused by restrictive neural network encoders. We introduce a purely energy-driven framework that replaces these encoders with flexible "particle dynamics." By recasting maximum likelihood training as a saddle-point problem and utilizing coupled Wasserstein gradient flows, our method achieves tighter evidence bounds and better captures complex, multi-modal data structures without requiring discriminators or auxiliary networks.
Introduction
Energy-Based Models (EBMs) define probability densities through flexible energy functions, allowing them to capture intricate data distributions. However, incorporating latent variables to model hidden structures—such as style or physical laws—introduces significant training challenges. Standard approaches like Variational Autoencoders (VAEs) rely on simple parametric distributions (e.g., Gaussians) for latent inference, leading to an amortization gap where the encoder fails to capture the true, complex posterior. Alternatively, GAN-based methods require unstable discriminator networks. This work proposes a "purely energy-driven" approach, allowing data and latents to find optimal configurations via particle dynamics.
Methodology: Particle-Based Training
The proposed method leverages Optimal Transport and Wasserstein Gradient Flows to train LV-EBMs without auxiliary networks.
Saddle-Point Formulation
Maximum Likelihood Estimation (MLE) is recast as a min-max problem. The "positive phase" identifies latent distributions fitting observed data, while the "negative phase" generates joint samples $(x, z)$ to normalize the energy function.
Coupled Langevin Dynamics
Instead of a neural encoder, we maintain pools of particles that evolve along the energy landscape using overdamped Langevin updates. For each data point, latent particles evolve to represent the conditional posterior $p(z|x)$, while a separate pool of joint particles tracks the model's overall distribution.
This approach eliminates amortization bias, as particles can represent arbitrary, multi-modal posterior shapes. The use of persistent particles ensures computational efficiency during training.
Experimental Results
The framework was evaluated on synthetic geometric families—2D Concentric Rings (LCR-2D), 3D Concentric Spheres (LCS-3D), and 2D Harmonic-Modulated Rings (HMR-2D)—as well as real-world tabular datasets (UCI POWER and MINIBOONE).
Quantitative Performance
The particle dynamics approach consistently outperformed VAEs and other non-amortized baselines. As shown in the table below, our method achieved significantly better ELBO, lower RMSE for reconstruction, and improved distribution alignment (MMD and $W_2^2$).
Key Insights
- Tighter Bounds: The objective provides an Evidence Lower Bound (ELBO) that is mathematically proven to be tighter than that of standard VAEs.
- Geometric Fidelity: In geometric tasks, the model captured sharp boundaries and multi-modal structures that VAEs typically blur. For instance, on the LCR-2D task, our method achieved an RMSE of 0.1612 compared to 0.7585 for the VAE.
Discussion and Conclusion
By removing the constraints of fixed-form encoders, particle dynamics allow LV-EBMs to reach their full potential in modeling complex latent structures. While the method excels in low-to-medium dimensional spaces and tabular data, scaling to high-resolution images remains a challenge due to the iterative nature of Langevin sampling. Future work involves integrating this framework with Diffusion Models to combine energy-based flexibility with modern generative scaling.
Summary updated