arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.13294cs.LGcond-mat.stat-mechhep-lat
收藏

使用计算密集型目标概率分布训练归一化流

Training normalizing flows with computationally intensive target probability distributions

Institute of Applied Computer Science, Jagiellonian University(雅盖隆大学应用计算机科学研究所);Institute of Theoretical Physics, Jagiellonian University(雅盖隆大学理论物理研究所)

Piotr Bialas, Piotr Korcyl, Tomasz Stebel

AI总结:

针对计算密集型目标分布下重参数化梯度代价高昂的问题,提出基于 REINFORCE 的归一化流估计器,并在二维 Schwinger 模型中验证其更快、更省内存且更稳定。

摘要:

机器学习技术,尤其是所谓的归一化流,在蒙特卡洛模拟领域正变得越来越受欢迎,因为它们能够有效逼近目标概率分布。在格点场论(LFT)中,目标分布由作用量的指数给出。常用损失函数基于“重参数化技巧”的梯度估计器需要计算作用量相对于场的导数。对于复杂的非局域作用量,例如 QCD 中的费米子作用量,这可能带来巨大的计算成本。在本文中,我们提出了一种基于 REINFORCE 算法的归一化流估计器,可避免这一问题。我们将其应用于临界点处带有 Wilson 费米子的二维 Schwinger 模型,结果表明:就挂钟时间而言,其速度最高可达十倍,同时所需内存比重参数化技巧估计器最多减少 30%。它还具有更高的数值稳定性,允许使用单精度计算以及半浮点张量核心。我们对这些改进的来源进行了深入分析。我们相信,这些优势也将出现在 LFT 领域之外,即目标概率分布计算密集的所有情形中。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑