arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2209.11875stat.MLcs.LGmath.STstat.TH
收藏

变分边界越紧不一定越好。关于实施、消融研究和扩展的研究报告

Tighter Variational Bounds are Not Necessarily Better. A Research Report on Implementation, Ablation Study, and Extensions

Amine M'Charrak, Vít Růžička, Sangyun Shin, Madhu Vankadari

摘要:

本报告解释、实施和扩展了“更紧的变分边界不一定更好”(T Rainforth等人,2018年)。我们提供了理论和经验证据,增加重要性加权自动编码器(IWAE)中重要性样本$K$的数量(Burda等人,2016)降低了推理网络中梯度估计器的信噪比(SNR),从而影响了整个学习过程。换句话说,即使增加$K$会降低梯度的标准差,它也会更快地降低真实梯度的幅度,从而增加梯度更新的相对方差。进行了大量的实验,以了解$K$的重要性。这些实验表明,更严格的变分界限是有益的生成网络,而更宽松的界限是优选的推理网络。在此基础上,实现并研究了部分重要性加权自动编码器(PIWAE)、多重要性加权自动编码器(MIWAE)和组合重要性加权自动编码器(CIWAE)。这三种方法中的每一种都需要IWAE作为特殊情况,但以不同的方式使用重要性权重,以确保梯度估计器具有更高的SNR。在我们的研究和分析中,这些算法的有效性在MNIST和Omniglot等多个数据集上进行了测试。最后,我们证明了三个IWAE的变化是能够产生近似的后验分布,更接近真实的后验分布比IWAE,同时匹配的性能的IWAE生成网络或潜在的优于它的情况下,PIWAE。

英文摘要:

This report explains, implements and extends the works presented in "Tighter Variational Bounds are Not Necessarily Better" (T Rainforth et al., 2018). We provide theoretical and empirical evidence that increasing the number of importance samples $K$ in the importance weighted autoencoder (IWAE) (Burda et al., 2016) degrades the signal-to-noise ratio (SNR) of the gradient estimator in the inference network and thereby affecting the full learning process. In other words, even though increasing $K$ decreases the standard deviation of the gradients, it also reduces the magnitude of the true gradient faster, thereby increasing the relative variance of the gradient updates. Extensive experiments are performed to understand the importance of $K$. These experiments suggest that tighter variational bounds are beneficial for the generative network, whereas looser bounds are preferable for the inference network. With these insights, three methods are implemented and studied: the partially importance weighted autoencoder (PIWAE), the multiply importance weighted autoencoder (MIWAE) and the combination importance weighted autoencoder (CIWAE). Each of these three methods entails IWAE as a special case but employs the importance weights in different ways to ensure a higher SNR of the gradient estimators. In our research study and analysis, the efficacy of these algorithms is tested on multiple datasets such as MNIST and Omniglot. Finally, we demonstrate that the three presented IWAE variations are able to generate approximate posterior distributions that are much closer to the true posterior distribution than for the IWAE, while matching the performance of the IWAE generative network or potentially outperforming it in the case of PIWAE.

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

↑