Training normalizing flows with computationally intensive target probability distributions

08/25/2023
by   Piotr Białas, et al.
0

Machine learning techniques, in particular the so-called normalizing flows, are becoming increasingly popular in the context of Monte Carlo simulations as they can effectively approximate target probability distributions. In the case of lattice field theories (LFT) the target distribution is given by the exponential of the action. The common loss function's gradient estimator based on the "reparametrization trick" requires the calculation of the derivative of the action with respect to the fields. This can present a significant computational cost for complicated, non-local actions like e.g. fermionic action in QCD. In this contribution, we propose an estimator for normalizing flows based on the REINFORCE algorithm that avoids this issue. We apply it to two dimensional Schwinger model with Wilson fermions at criticality and show that it is up to ten times faster in terms of the wall-clock time as well as requiring up to 30% less memory than the reparameterization trick estimator. It is also more numerically stable allowing for single precision calculations and the use of half-float tensor cores. We present an in-depth analysis of the origins of those improvements. We believe that these benefits will appear also outside the realm of the LFT, in each case where the target probability distribution is computationally intensive.

READ FULL TEXT
research
02/02/2022

Gradient estimators for normalising flows

Recently a machine learning approach to Monte-Carlo simulations called N...
research
07/15/2019

Stochastic Galerkin finite volume shallow flow model: well-balanced treatment over uncertain topography

Stochastic Galerkin methods can quantify uncertainty at a fraction of th...
research
01/16/2021

An MCMC Method to Sample from Lattice Distributions

We introduce a Markov Chain Monte Carlo (MCMC) algorithm to generate sam...
research
01/21/2022

Stochastic normalizing flows as non-equilibrium transformations

Normalizing flows are a class of deep generative models that provide a p...
research
03/21/2022

Hierarchical autoregressive neural networks for statistical systems

It was recently proposed that neural networks could be used to approxima...
research
07/29/2021

Learning the temporal evolution of multivariate densities via normalizing flows

In this work, we propose a method to learn probability distributions usi...

Please sign up or login with your details

Forgot password? Click here to reset