Normalizing Flows have emerged as a powerful brand of generative models, as they not only allow for efficient sampling of complicated target distributions, but also deliver density estimation by construction. We propose here an in-depth comparison of coupling and autoregressive flows, both of the affine and rational quadratic spline type, considering four different architectures: Real-valued Non-Volume Preserving (RealNVP), Masked Autoregressive Flow (MAF), Coupling Rational Quadratic Spline (C-RQS), and Autoregressive Rational Quadratic Spline (A-RQS). We focus on different target distributions of increasing complexity with dimensionality ranging from 4 to 1000. The performances are discussed in terms of different figures of merit: the one-dimensional Wasserstein distance, the one-dimensional Kolmogorov-Smirnov test, the Frobenius norm of the difference between correlation matrices, and the training time. Our results indicate that the A-RQS algorithm stands out both in terms of accuracy and training speed. Nonetheless, all the algorithms are generally able, without much fine-tuning, to learn complex distributions with limited training data and in a reasonable time, of the order of hours on a Tesla V100 GPU. The only exception is the C-RQS, which takes significantly longer to train, and does not always provide good accuracy. All algorithms have been implemented using TensorFlow2 and TensorFlow Probability and made available on GitHub.
翻译:正常化的流程已经成为一个强大的基因模型品牌,因为它们不仅允许对复杂的目标分布进行高效抽样,而且通过构建来提供密度估计。我们在此建议对组合和自动递增流动进行深度比较,两者都是偏角和理性的二次曲线样板类型,考虑到四个不同的结构:真正估价的非Volume保留(RealNVP)、蒙面自动递增流动(MAF)、Cupupbenial 理性二次曲线(C-RQS)和自动递增性二次曲线(A-RQS),我们建议对组合和自动递增性流进行深度比较。我们在此建议对组合和自动递增性流动进行深度比较,从4到1000不等。我们讨论的绩效时数是:一维瓦瑟斯坦距离、一维度科尔莫洛夫-斯米尔诺夫(Ismission-Kolmogorov-Smirnov)测试、Frobenus(Frobnius)之间差异的规范以及培训时间。我们的结果表明,A-Ralive Squlity-Real-ral Sqal sal sal sal salations salations acal sal sal sal sal supliviewds acal sal axlations axlations axlation) commal sal sal sal sal a lupal a lupaltius.