Training a flow-based sampler for a lattice field theory is expensive and is usually repeated for every coupling and volume. We fit the few parameters of a trivializing flow by flow matching. Training then becomes linear least squares on about one thousand Monte Carlo configurations and takes minutes on a CPU. The two peaks of the magnetization distribution in the broken phase are built into the base distribution, and the integrator gives an exact density, so reweighting or an independence Metropolis--Hastings test corrects the samples to the Boltzmann distribution. For the two-dimensional $φ^4$ theory the corrected results agree with hybrid Monte Carlo within two standard errors at most points. The effective sample size decreases with the volume, most strongly near criticality, where it falls from 0.90 on an $8\times8$ lattice to 0.013 on a $32\times32$ lattice. Reweighting also gives the free energy at a single coupling.
翻译:暂无翻译