Skip to main content
QUICK REVIEW

[论文解读] Bayesian evidence estimation from posterior samples with normalizing flows

Rahul Srinivasan, Marco Crisostomi|arXiv (Cornell University)|Apr 18, 2024
Anomaly Detection Techniques and ApplicationsComputer Science被引用 3
一句话总结

该论文提出 floZ,一种基于归一化流的新方法,用于从后验样本中估计贝叶斯证据及其不确定性,无需重新运行昂贵的采样方法。其在高维和尖峰型后验分布中,相较于现有后处理技术(如k近邻)在准确性和鲁棒性方面表现更优,同时与MCMC和变分推断的输出保持兼容。

ABSTRACT

We propose a novel method ($floZ$), based on normalizing flows, to estimate the Bayesian evidence (and its numerical uncertainty) from a pre-existing set of samples drawn from the unnormalized posterior distribution. We validate it on distributions whose evidence is known analytically, up to 15 parameter space dimensions, and compare with two state-of-the-art techniques for estimating the evidence: nested sampling (which computes the evidence as its main target) and a $k$-nearest-neighbors technique that produces evidence estimates from posterior samples. Provided representative samples from the target posterior are available, our method is more robust to posterior distributions with sharp features, especially in higher dimensions. For a simple multivariate Gaussian, we demonstrate its accuracy for up to 200 dimensions with $10^5$ posterior samples. $floZ$ has wide applicability, e.g., to estimate evidence from variational inference, Markov Chain Monte Carlo samples, or any other method that delivers samples and their likelihood from the unnormalized posterior density. As a physical application, we use $floZ$ to compute the Bayes factor for the presence of the first overtone in the ringdown signal of the gravitational wave data of GW150914, finding good agreement with nested sampling.

研究动机与目标

  • 开发一种稳健的后处理方法,从现有后验样本中估计贝叶斯证据,而无需重新运行计算成本高昂的采样过程。
  • 解决在高维和尖峰型后验分布中传统方法失效时的证据估计挑战。
  • 利用归一化流建模从复杂后验分布到简单潜变量分布的变换,通过雅可比行列式编码证据信息。
  • 在最高15维的解析可处理目标上验证该方法,并与嵌套采样和k-NN方法进行基准对比。
  • 在引力波天文学和宇宙学等应用中实现高效证据计算,这些场景中已有后验样本但需要证据进行模型比较。

提出的方法

  • 该方法使用归一化流学习从复杂后验分布到潜空间中标准正态分布的双射、可微变换。
  • 通过变量变换公式计算证据,其中对数证据等于对数先验密度加上在潜变量处计算的流的对数雅可比行列式。
  • 设计了一种自定义损失函数,通过在潜空间中鼓励一致的密度估计,以最小化证据估计中的方差。
  • 在从未归一化后验中抽取的后验样本上训练流,结合似然匹配与正则化,以确保体积估计的准确性。
  • 在多变量正态分布、高斯混合分布和Rosenbrock分布上验证该方法,其解析证据已知,最高达15维。
  • 与dynesty(嵌套采样)和k-NN方法进行对比,结果表明其在尖锐特征和高维后验分布中具有更高的鲁棒性。

实验结果

研究问题

  • RQ1归一化流能否在不重新运行采样算法的前提下,有效用于从已有后验样本中估计贝叶斯证据?
  • RQ2在高维和复杂后验分布中,所提出方法与最先进的证据估计技术(如k-NN和嵌套采样)相比性能如何?
  • RQ3当后验表现出尖锐特征或高维集中测度现象时,该方法的鲁棒性在多大程度上保持?
  • RQ4该方法能否从后验样本中可靠估计证据估计的数值不确定性?
  • RQ5在证据计算计算成本高昂的场景下,该方法在哪些情况下优于现有后处理技术?

主要发现

  • floZ 在最高15维的后验分布上,其证据估计精度与嵌套采样(如dynesty)相当。
  • 在高维和尖峰型后验分布中,该方法在准确性和稳定性方面显著优于k近邻技术。
  • 由于损失函数中的正则化,floZ 的证据估计在样本间方差更低,提升了数值可靠性。
  • 该方法通过归一化流的雅可比行列式成功编码了贝叶斯证据,从而可直接从后验样本中计算得出。
  • floZ 适用于来自MCMC、变分推断或其他采样方法的任何后验样本,支持事后证据计算。
  • 当似然评估成本高昂时,该方法尤其具有优势,因为它避免了额外的嵌套采样运行。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。