Efficiently learning and sampling from high dimensional, multimodal unnormalized distributions without target samples remains a challenging problem. Although normalizing flows can generate samples efficiently, training based on the reverse KL divergence using only the unnormalized target density may suffer from mode collapse. We introduce SIMANF, a sample free framework that integrates simulated annealing with normalizing flows. SIMANF progressively transforms the target distribution from a smooth initial form to the original target distribution and trains the flow sequentially across these stages. By transferring the learned representation between stages, the method promotes mode coverage while progressively capturing finer features of the target distribution. Following annealing, a final refinement stage combines the reverse KL divergence with an importance weighted forward KL objective using samples generated by the flow. SIMANF requires no target samples during training and uses only the unnormalized density. We demonstrate its effectiveness on Many-Well distributions and high dimensional Scalar Phi4 lattice field theory distribution.
Figures & tables
Figure 1: Evolution of generated samples for the MOG-8 distribution across successive annealing stages: (A)–(C) show samples generated at successive stages, while (D) shows samples from the target distribution.
MW-8 (d=8)
MW-16 (d=16)
NLL ↓
RNLL( ↓ )
ESS( ↑ )
NLL ↓
RNLL( ↓ )
ESS( ↑ )
BG (FKL)
7.60 ± 0.05
-31.60 ± 0.77
0.34 ± 0.02
17.14 ± 0.07
-48.57 ± 5.77
0.001 ± 0.004
BG (RKL)
76.72 ± 73.84
-35.40 ± 0.01
0.97 ± 0.03
604.83 ± 85.65
-70.80 ± 0.06
0.83 ± 0.06
FAB
7.00 ± 0.02
-33.87 ± 0.10
0.81 ± 0.01
14.28 ± 0.01
-66.53 ± 0.13
0.31 ± 0.02
iDEM
7.64 ± 0.09
-34.86 ± 0.02
0.55 ± 0.03
15.32 ± 0.43
-70.08 ± 0.36
0.25 ± 0.03
FUND (FKL)
6.97 ± 0.01
-34.25 ± 0.04
0.87 ± 0.02
14.04 ± 0.05
-67.95 ± 0.25
0.71 ± 0.04
Table 1: Results for the MW-8 and MW-16 distributions. Reported values represent the average and standard error computed over three random seeds for each method.
8×8
10×10
NLL ↓
RNLL( ↓ )
ESS( ↑ )
NLL ↓
RNLL( ↓ )
ESS( ↑ )
BG (FKL)
13.40 ± 0.07
-9.48 ± 0.59
0.06 ± 0.01
22.01 ± 0.08
-17.60 ± 0.19
0.01 ± 0.00
BG (RKL)
23.18 ± 0.19
-18.75 ± 0.44
0.08 ± 0.05
29.01 ± 1.01
-29.32 ± 0.78
0.70 ± 0.04
FAB
13.19 ± 0.21
-5.14 ± 0.59
0.10 ± 0.05
21.47 ± 0.22
-1.05 ± 0.86
0.0001 ± 0.00
iDEM
23.76 ± 1.05
-23.17 ± 2.70
0.004 ± 0.004
38.13 ± 2.13
-25.64 ± 7.12
0.004 ± 0.004
FUND(FKL)
12.48 ± 0.21
-13.94 ± 1.52
0.14 ± 0.04
19.59 ± 0.03
-17.54 ± 0.83
0.14 ± 0.01
Table 2: Results for the Scalar ϕ4 distributions. Reported values represent the average and standard error computed over three random seeds for each method.
Method
Training Time
Inference Time
RKL
2.35 hrs
1.2 sec
FAB
10.20 hrs
1.2 sec
iDEM
1.33 hrs
34.0 sec
FUND(FKL)
10.32 hrs
1.2 sec
SIMNF
7.02 hrs
1.2 sec
Table 3: Training and inference runtime comparison across various methods for scalar ϕ4 distribution (10×10) .
Stage
NLL ↓
RNLL ↓
ESS ↑
Annealing (Stage I)
19.70
-15.23
0.11
Refinement (Stage II)
19.42
-15.49
0.17
Table 4: Ablation results for the scalar ϕ4 distribution on a 10×10 lattice size ( d=100 ).
Sampling from unnormalized densities is analogous to the generative modeling problem, but the target distribution is defined by a known energy function instead of data samples. Because evaluating the energy function is often costly, a primary challenge is to learn an efficient sampler. We introduce Flow Sampling, a framework built on diffusion models and flow matching for the data-free setting. Our training objective is conditioned on a noise sample and regresses onto a denoising diffusion drift constructed from the energy function. In contrast, diffusion models' objective is conditioned on a data sample and regresses onto a noising diffusion drift. We utilize the interpolant process to minimize the number of energy function evaluations during training, resulting in an efficient and scalable method for sampling unnormalized densities. Furthermore, our formulation naturally extends to Riemannian manifolds, enabling diffusion-based sampling in geometries beyond Euclidean space. We derive a closed-form formula for the conditional drift on constant curvature manifolds, including hyperspheres and hyperbolic spaces. We evaluate Flow Sampling on synthetic energy benchmarks, small peptides, large-scale amortized molecular conformer generation, and distributions supported on the sphere, demonstrating strong empirical performance.
Efficient sampling from Boltzmann distributions is central to modelling complex physical systems. Markov Chain Monte Carlo (MCMC) methods suffer from critical slowing down, high autocorrelation, and poor mode-mixing, limiting their scalability. Recent advances, like Boltzmann Generators, offer a promising alternative but remain constrained by costly MCMC-based training, inefficient sampling, and poor ergodicity. We introduce an algorithm for learning Boltzmann distributions that does not require any true samples for training. Our approach draws inspiration from flow matching but departs fundamentally from sample-trajectory matching to distribution-trajectory matching. The algorithm iteratively reshapes the target distribution, using model generated samples to guide learning and ensure comprehensive mode coverage. We validate our method on standard benchmarks, including a 2D Gaussian mixture, Many-Well distributions, and high-dimensional scalar φ4 theory. The proposed approach not only improves sampling performance and accuracy over traditional MCMC and flow-based baselines but also establishes a new method for sample-free learning of complex physical distributions.
Vikas Kanaujia, Vipul Arora
Department of Electrical Engineering IIT Kanpur · Department of Electrical Engineering KU Leuven
We propose a neural algorithm for sampling from distributions specified by unnormalized Boltzmann densities. Our approach is based on the Jordan--Kinderlehrer--Otto scheme for the Kullback--Leibler divergence in the Wasserstein--Fisher--Rao geometry (WFR JKO scheme). Our contributions are twofold. First, we prove that, for any fixed step size, the exact WFR JKO iterates converge exponentially fast to the target as the number of iterations tends to infinity. Notably, this result requires no structural assumptions on the target, such as log-concavity or a logarithmic Sobolev inequality. Second, we develop a neural implementation of the WFR JKO scheme that parametrizes its transport and reaction components using reweighted normalizing flows. Numerical experiments on challenging multimodal targets demonstrate the promising performance of the proposed method.
Chenguang Duan, Johannes Hertrich, Gabriele Steidl
Institut für Geometrie und Praktische Mathematik, RWTH Aachen University · Institute of Computer Science, University of Göttingen · Institute of Mathematics, TU Berlin