通过使用解耦解码器聚集学习高斯后验来训练β- VAE
Training β-VAE by Aggregating a Learned Gaussian Posterior with a Decoupled Decoder
摘要:
变分自编码器(VAE)中的重构损失和Kullback-Leibler发散(KLD)损失通常起对抗作用,并且调整$β$ -VAE中的KLD损失的权重以实现两种损失之间的平衡是棘手的且特定于编码器的任务。因此,如果权重$β$没有被仔细地调整,则VAE训练中的当前实践经常导致潜在空间的重建保真度和连续性$/$解纠缠之间的折衷。在本文中,我们提出的直觉和仔细分析的拮抗机制的两个损失,并提出,基于见解,一个简单而有效的两阶段的方法来训练一个VAE。具体地,该方法将学习的高斯后验$z \sim q_θ (z|x)$与从KLD损失解耦的解码器聚合,该解码器被训练以学习输入数据$x$的新的条件分布$p_ϕ (x|z)$。实验上,我们表明,聚合的VAE最大限度地满足高斯假设的潜在空间,同时仍然实现了重建误差可比的潜在空间时,只有松散的正则化$\mathcal{N}(\mathbf{0},I)$。所提出的方法不需要超参数(即,KLD加权($β$)调整给定了在普通VAE训练实践中所需的特定数据集。我们使用用于3D颅骨重建和形状完成的医学数据集来评估该方法,结果表明使用所提出的方法训练的VAE具有良好的生成能力。此外,通过指导操作的潜变量,我们建立了现有的自动编码器(AE)为基础的方法和生成方法,如VAE,形状完成问题之间的连接。代码和预训练权重可在https://github.com/Jianningli/skullVAE上获得
英文摘要:
The reconstruction loss and the Kullback-Leibler divergence (KLD) loss in a variational autoencoder (VAE) often play antagonistic roles, and tuning the weight of the KLD loss in $β$-VAE to achieve a balance between the two losses is a tricky and dataset-specific task. As a result, current practices in VAE training often result in a trade-off between the reconstruction fidelity and the continuity$/$disentanglement of the latent space, if the weight $β$ is not carefully tuned. In this paper, we present intuitions and a careful analysis of the antagonistic mechanism of the two losses, and propose, based on the insights, a simple yet effective two-stage method for training a VAE. Specifically, the method aggregates a learned Gaussian posterior $z \sim q_θ (z|x)$ with a decoder decoupled from the KLD loss, which is trained to learn a new conditional distribution $p_ϕ (x|z)$ of the input data $x$. Experimentally, we show that the aggregated VAE maximally satisfies the Gaussian assumption about the latent space, while still achieves a reconstruction error comparable to when the latent space is only loosely regularized by $\mathcal{N}(\mathbf{0},I)$. The proposed approach does not require hyperparameter (i.e., the KLD weight $β$) tuning given a specific dataset as required in common VAE training practices. We evaluate the method using a medical dataset intended for 3D skull reconstruction and shape completion, and the results indicate promising generative capabilities of the VAE trained using the proposed method. Besides, through guided manipulation of the latent variables, we establish a connection between existing autoencoder (AE)-based approaches and generative approaches, such as VAE, for the shape completion problem. Codes and pre-trained weights are available at https://github.com/Jianningli/skullVAE
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。