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
备注:
16 pages, 5 figures, 6 tables, 3 listings. Revised version as published in CPC. Added results for a other values of hoping parameter
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.
Variational Inference with NoFAS: Normalizing Flow with Adaptive Surrogate for Computationally Expensive Models
University of Notre Dame(圣母大学)
从数据中快速推断数值模型参数是生成广泛应用的预测模型的重要前提。使用基于采样的方法,如马尔可夫链蒙特卡罗可能会变得棘手时,每个可能性评估是计算昂贵的。变分推理与归一化流相结合的新方法的特征在于计算成本仅随潜在变量空间的维度线性增长,并且依赖于基于梯度的优化而不是采样,为关于模型参数的贝叶斯推理提供了更有效的方法。此外,通过用离线训练的代理模型(诸如神经网络)替换真实模型,可以减轻频繁评估昂贵的可能性的成本。然而,这种方法可能会产生显着的偏见时,替代品是不够准确的后验模式。为了在不牺牲推理精度的前提下降低计算成本,本文提出了一种基于自适应代理的流标准化算法(Normalizing Flow with Adaptive Surrogate,NoFAS),该算法通过交替更新流标准化参数和代理模型参数来优化流模型。我们还提出了一个有效的样本加权方案的代理模型训练,保持全球的准确性,同时有效地捕捉高后验密度区域。我们展示了NoFAS对各种基准的推理和计算优势,包括基础模型缺乏可识别性的情况。用于本研究的源代码和数值实验可在https://github.com/cedricwangyu/NoFAS上获得。
Principal Component Density Estimation for Scenario Generation Using Normalizing Flows
Forschungszentrum Jülich GmbH(于利希研究中心);RWTH Aachen University(亚琛工业大学);JARA-ENERGY(于利希-亚琛研究联盟能源组);King Abdullah University of Science and Technology(阿卜杜拉国王科技大学)
Computing excited states of molecules using normalizing flows
Center for Free-Electron Laser Science CFEL, Deutsches Elektronen-Synchrotron DESY(自由电子激光科学中心 CFEL,德意志电子同步辐射研究中心);Department of Chemistry, Universität Hamburg(汉堡大学化学系);Center for Ultrafast Imaging, Universität Hamburg(超快成像中心,汉堡大学);Department of Physics, Universität Hamburg(汉堡大学物理系);Department of Mathematics, Universität Hamburg(汉堡大学数学系)
Efficient Regression-Based Training of Normalizing Flows for Boltzmann Generators
Mila – Québec AI Institute(魁北克AI研究所);Université de Montréal(蒙特利尔大学);Massachusetts Institute of Technology(麻省理工学院);University of Oxford(牛津大学);AITHYRA;HEC Montréal(蒙特利尔HEC)
Applied AI Institute(应用人工智能研究所);Institute of Numerical Mathematics, RAS(俄罗斯科学院数值数学研究所);National Research Nuclear University MEPhI(国立研究型核大学MEPhI(莫斯科工程物理学院))
MetFlow: A New Efficient Method for Bridging the Gap between Markov Chain Monte Carlo and Variational Inference
CMAP, Ecole Polytechnique, Universite Paris-Saclay(巴黎萨克雷大学综合理工学院CMAP实验室);CDISE, Skolkovo Institute of Science and Technology(斯科尔科沃科学技术研究所CDISE实验室);Ecole Normale Supérieure Paris-Saclay(巴黎萨克雷高等师范学院)
Towards Flexibility and Interpretability of Gaussian Process State-Space Model
The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Future Network of Intelligence Institute(未来网络智能研究院);Universidad Autónoma de Madrid(马德里自治大学);Cognizant AI(高知特人工智能)
PolicyFlow: Policy Optimization with Continuous Normalizing Flow in Reinforcement Learning
Hong Kong University of Science and Technology(香港科技大学);Southern University of Science and Technology(南方科技大学);Zhejiang University-University of Illinois Urbana-Champaign Institute(浙江大学-伊利诺伊大学厄巴纳-香槟分校联合研究所);LimX Dynamics