Flow Perturbation++: Multi-Step Unbiased Jacobian Estimation for High-Dimensional Boltzmann Sampling

xinpeng, Ang GaoNeurIPS 2026

TL;DR

Deep generative models can rapidly propose complex molecular conformations, but turning those guesses into exact physical thermodynamics requires a crushing computational tax: calculating high-dimensional Jacobian determinants. Flow Perturbation++ (FP++) breaks this bottleneck by chopping continuous normalizing flows into discrete steps and applying tiny, independent random nudges at each stage to estimate volume changes without bias. The result is an orders-of-magnitude speedup that keeps variance low enough to accurately sample 1000-dimensional landscapes and fold all-atom proteins.

What Problem Does This Paper Address?

Imagine mapping the 3D shapes a protein prefers at room temperature. In statistical physics, conformations follow the Boltzmann distribution, $p(\mathbf{x}) \propto e^{-u(\mathbf{x})}$, where $u(\mathbf{x})$ is energy. Because rugged energy barriers trap classical simulations like Molecular Dynamics in local valleys for ages, researchers turn to Continuous Normalizing Flows (CNFs)—neural ODEs that warp simple Gaussian noise into complex molecular shapes in one smooth glide.

There’s a catch. Because neural networks aren't perfect physicists, you must reweight their generated samples to get unbiased expectations. This requires knowing how much the flow stretched or squashed probability space—measured by the Jacobian determinant. Computing it exactly in $D$ dimensions takes $D$ backpropagation passes, making a 1000D system prohibitively slow. Shortcut methods face a painful trade-off: the Hutchinson trace estimator is fast, but exponentiating its noisy trace estimates introduces systematic bias; conversely, Flow Perturbation (FP) is unbiased in determinant space, but estimating an entire trajectory in one shot produces wild variance that ruins high-dimensional sampling.

Methods

Think of compounding interest or stretching taffy: the total volume change over an entire ODE trajectory equals the product of the volume changes of each small numerical integration step.

Figure 1: Flow Perturbation vs FP++. (a) Single-step FP estimates the full-flow deter- minant in one shot, which can lead to high variance. (b) FP++ decomposes flow into T steps and applies determinant estimation se- quentially from latent z = xT +1 to x = x1. The product of per-step estimates yields the FP++ determinant estimator.

While standard Flow Perturbation nudges the final output once and pushes it all the way back to the start, Flow Perturbation++ (FP++) exploits the flow's step-by-step structure ($T$ integration steps):

  • Stepwise Independent Probes: At each step $k$, FP++ samples a fresh random direction $\epsilon_k$ uniformly from a unit sphere and estimates that single step's inverse directional derivative. Multiplying these $T$ mini-estimates preserves mathematical unbiasedness while breaking cross-step error correlations.
  • Backprop-Free Finite Differences: Instead of using automatic differentiation, FP++ approximates each inverse step using central finite differences—evaluating the inverse flow at $x_k + \delta\epsilon_k$ and $x_k - \delta\epsilon_k$. Using a single probe ($N=1$) costs just $1 + 2(1) = 3$ ODE-equivalent passes total, regardless of whether $D$ is 10 or 1,000!
  • SMC Integration: To prevent importance weights from collapsing onto a single lucky sample in high dimensions, FP++ plugs directly into Sequential Monte Carlo (SMC), smoothly annealing from the neural flow proposal to the true Boltzmann target.

Datasets

Rather than introducing new datasets or training models from scratch, the authors evaluate pretrained continuous-time flow models on standard benchmarks:

  • Synthetic Gaussian Mixture Models (10D & 1000D): Two-component anisotropic mixtures with asymmetric target weights (0.25 and 0.75) that provide an exact analytical ground truth across separated modes.
  • Chignolin Mutant (CNL025): A 10-residue all-atom protein modeled at 300 K, using reference configurations from replica-exchange MD data released by the Noé group. (Alanine dipeptide is also briefly noted as a supplementary validation).
Figure 2: Representative CNL025 con- figurations at 300 K: (a) partially α- helical; (b) folded β-hairpin.

Key Insights and Ideas

  • Divide and Conquer Tames Variance: In a single-step perturbation, if your random probe happens to align with a direction that stretches across multiple ODE steps, errors compound and variance explodes. Sampling fresh, independent directions at every step zeroes out cross-step covariance in log-space.
  • Forward Passes Beat Backprop on Transformers: On paper, finite differences ($1+2N$ passes) and low-probe Hutchinson estimators ($1+N$ passes) look similarly priced. On real GPUs running Transformer flows, FP++ is nearly 3x faster than 2-probe Hutchinson (11.1 hours vs. 30.4 hours on Chignolin). Why? Hutchinson requires backpropagation through dense self-attention and softmax derivatives, whereas FP++ relies purely on forward evaluations that leverage heavily optimized, fused GPU kernels.

Key Results

Across benchmarks, FP++ hits a sweet spot of speed, low variance, and accuracy:

  • 1000D GMM: Targeting a true modal weight of 0.250, FP++ achieves 0.256 ± 0.027 in 1.1 hours, preserving 312 particle lineages. Single-step FP costs the same time (1.1 h) but suffers high variance (0.209 ± 0.083) and severe particle degeneracy (only 59 lineages preserved), along with noticeably lower Monte Carlo acceptance rates. A 10-probe Gaussian Hutchinson estimator gets close (0.277 ± 0.022) but takes nearly 5x longer (5.1 h). Exact brute-force Jacobians take 31 hours for just 1/10th the particles—matching FP++'s particle budget would make it ~300x slower.
1000D GMM results: Probability density along the reaction coordinate, showing FP++ closely matching the analytical target.
  • All-Atom Chignolin: Brute-force Jacobians are completely infeasible here. Targeting a $\beta$-hairpin folded basin occupancy of 0.385, FP++ lands closest at 0.3658 ± 0.0146 in 11.1 hours. Single-step FP overshoots (0.4450 ± 0.0510), while 10-probe Hutchinson estimators systematically underestimate the folded state (~0.23–0.25) despite burning 100 hours of compute.

Limitations and Future Work

  • Numerical Approximations: Unbiasedness strictly holds for exact inverse derivatives. In practice, central finite differences (using step size $\delta = 0.001$) and numerical reverse-ODE integration introduce small discretization errors. When those approximations cannot be validated, exact Jacobians remain safer.
  • Conditional Variance Reduction: Lower variance compared to single-step FP isn't mathematically universal; it relies on specific small-step stretch-alignment conditions holding along the trajectory.
  • Future Directions: Because FP++ only estimates likelihood corrections, it is orthogonal to how proposals are trained. Integrating and benchmarking FP++ end-to-end with modern few-step invertible samplers like FALCON remains open for future work.

Summary updated

Abstract

The scalability of continuous normalizing flows (CNFs) for unbiased Boltzmann sampling remains limited in high-dimensional systems due to the cost of Jacobian-determinant evaluation, which requires $D$ backpropagation passes through the flow layers. Existing stochastic Jacobian estimators such as the Hutchinson trace estimator reduce computation but introduce bias, while the recently proposed Flow Perturbation method is unbiased yet suffers from high variance. We present **Flow Perturbation++**, a variance-reduced extension of Flow Perturbation that discretizes the probability-flow ODE and performs unbiased stepwise Jacobian estimation at each integration step. This multi-step construction retains the unbiasedness of Flow Perturbation while achieves substantially lower estimator variance. Integrated into a Sequential Monte Carlo framework, Flow Perturbation++ achieves significantly improved equilibrium sampling on a 1000D Gaussian Mixture Model and the all-atom Chignolin protein compared with Hutchinson-based and single-step Flow Perturbation baselines.
BibTeX
@inproceedings{xinpeng2026flow,
  author = {xinpeng and Ang Gao},
  title = {{Flow Perturbation++: Multi-Step Unbiased Jacobian Estimation for High-Dimensional Boltzmann Sampling}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=W6FlrDtr71},
}
Figure