Forward modeling approaches in cosmology have made it possible to reconstruct the initial conditions at the beginning of the Universe from the observed survey data. However the high dimensionality of the parameter space still poses a challenge to explore the full posterior, with traditional algorithms such as Hamiltonian Monte Carlo (HMC) being computationally inefficient due to generating correlated samples and the performance of variational inference being highly dependent on the choice of divergence (loss) function. Here we develop a hybrid scheme, called variational self-boosted sampling (VBS) to mitigate the drawbacks of both these algorithms by learning a variational approximation for the proposal distribution of Monte Carlo sampling and combine it with HMC. The variational distribution is parameterized as a normalizing flow and learnt with samples generated on the fly, while proposals drawn from it reduce auto-correlation length in MCMC chains. Our normalizing flow uses Fourier space convolutions and element-wise operations to scale to high dimensions. We show that after a short initial warm-up and training phase, VBS generates better quality of samples than simple VI approaches and reduces the correlation length in the sampling phase by a factor of 10-50 over using only HMC to explore the posterior of initial conditions in 64$^3$ and 128$^3$ dimensional problems, with larger gains for high signal-to-noise data observations.
翻译:宇宙学的前向建模方法使得有可能从观测到的调查数据中重建宇宙初期的初始条件。然而,参数空间的高度维度仍然对探索完整后部,如汉密尔顿蒙特卡洛(HMC)等传统算法在计算上效率低下,因为产生相关样品,而且变异推论的性能高度取决于差异(损失)功能的选择。我们在这里开发了一个混合计划,称为变式自推取样,以缓解这两种算法的缺陷,方法是学习蒙特卡洛取样建议分布的变异近似值,并与HMC相结合。变异分布作为正常流的参数,并用在飞上产生的样品来学习。而从中得出的提议则减少了MCMC链中的自动曲线长度。我们的正常流使用四倍空间变异和元素性操作,以达到高维度。我们显示,在最初的热量和培训阶段之后,VBS只产生比简单的VI方法更好的样品质量,并在取样阶段将64美元的相关观测量长度降低,在HM3的初始阶段,通过10-50号的勘探阶段,将HMC3的高级数据提升为10-100号的深度,在HMC3号的深度的深度的深度中,通过10-25号的深度的深度的深度的深度测测测算。