NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

No Trick, No Treat: Pursuits and Challenges Towards Simulation-free Training of Neural Samplers

Jiajun He, Yuanqi Du, Francisco Vargas, Dinghuai Zhang, Shreyas Padhy, Ruikang Ouyang, Carla P. Gomes, José Miguel Hernández-Lobato

Abstract

We consider the sampling problem, where the aim is to draw samples from a distribution whose density is known only up to a normalization constant. Recent breakthroughs in generative modeling to approximate a high-dimensional data distribution have sparked significant interest in developing neural network-based methods for this challenging problem. However, neural samplers typically incur heavy computational overhead due to simulating trajectories during training. This motivates the pursuit of simulation-free training procedures of neural samplers. In this work, we propose an elegant modification to previous methods, which allows simulation-free training with the help of a time-dependent normalizing flow. However, it ultimately suffers from severe mode collapse. On closer inspection, we find that nearly all successful neural samplers rely on Langevin preconditioning to avoid mode collapsing. We systematically analyze several popular methods with various objective functions and demonstrate that, in the absence of Langevin preconditioning, most of them fail to adequately cover even a simple target. Finally, we draw attention to a strong baseline by combining the state-of-the-art MCMC method, Parallel Tempering (PT), with an additional generative model to shed light on future explorations of neural samplers.

The Simulation Bottleneck in Neural Sampling

Sampling from distributions with unnormalized densities is a fundamental challenge in Bayesian inference and scientific computing. While neural samplers—leveraging diffusion models or normalizing flows—promise fast inference, their training remains computationally prohibitive. Standard training regimes require simulating stochastic or ordinary differential equation (SDE/ODE) trajectories at every step, leading to high memory usage and slow convergence. This has led researchers to seek "simulation-free" training objectives, akin to the success of Flow Matching in generative modeling, where objectives can be evaluated at any time step without full integration.

Pursuing Simulation-Free Training

The authors propose a novel framework for simulation-free training by employing time-dependent Normalizing Flows (NFs) to induce SDEs, termed NF-DDS and NF-CMCD. While this approach theoretically bypasses the need for expensive simulations, initial experiments revealed a significant hurdle: severe mode collapse.

On closer inspection, the study identifies that the success of existing neural samplers often hinges on a specific "trick"—Langevin preconditioning. This involves explicitly incorporating the gradient of the target density ($\nabla \log p_{\text{target}}$) into the model's architecture or drift. This acts as a powerful inductive bias, guiding the sampler toward high-density regions from the start of training.

Mode collapse in simulation-free neural samplers on a 3-mode GMM. At t=1.0, the model (orange) fails to capture all target modes (blue).

As shown in the 3-mode Gaussian Mixture Model (GMM) experiment above, simulation-free objectives that lack this preconditioning fail to cover the target distribution adequately. The model typically collapses to a single mode, failing to recognize the broader landscape of the target distribution.

Systematic Failure and the MCMC Baseline

The importance of Langevin preconditioning is even more pronounced in complex benchmarks like GMM-40, a 40-mixture Gaussian target. Without this gradient-based bias, almost all popular objectives—including KL divergence, Log-variance, and Trajectory Balance—suffer from catastrophic mode collapse.

Comparison of sampling performance with (w. LG) and without (w/o LG) Langevin preconditioning on a complex GMM-40 target.

Quantitatively, removing Langevin preconditioning causes the Maximum Mean Discrepancy (MMD) to skyrocket (e.g., from 0.074 to 1.497 for DDS). Furthermore, the authors find an "efficiency gap": neural samplers often require several orders of magnitude more target evaluations than traditional MCMC methods like Parallel Tempering (PT) to achieve comparable sample quality.

Conclusion and Future Directions

The pursuit of simulation-free training for neural samplers faces a "No Trick, No Treat" reality: without the inductive bias of Langevin preconditioning, these models are prone to failure. Currently, the most practical way to obtain a fast neural sampler is not to train one from scratch using data-free objectives, but to use a two-step pipeline:

  1. Run high-quality MCMC (like Parallel Tempering) to locate modes.
  2. Distill those samples into a generative model post-hoc.

Future research should focus on hybrid approaches that combine the exploratory power of MCMC with the efficiency of neural objectives, rather than attempting to avoid target samples entirely.

Summary updated

BibTeX
@inproceedings{he2025no,
  author = {Jiajun He and Yuanqi Du and Francisco Vargas and Dinghuai Zhang and Shreyas Padhy and Ruikang Ouyang and Carla P. Gomes and José Miguel Hernández-Lobato},
  title = {{No Trick, No Treat: Pursuits and Challenges Towards Simulation-free Training of Neural Samplers}},
  booktitle = {FPI @ ICLR},
  year = {2025},
  url = {https://openreview.net/forum?id=9mgPGf5Ktm},
}
Figure