arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.03887cs.CVcs.LG
收藏

如何为图像构建能量?自动编码器可以是基于能量的模型

How to Construct Energy for Images? Denoising Autoencoder Can Be Energy Based Model

Shanghai Jiao Tong University(上海交通大学)

Weili Zeng

摘要:

基于能量的模型参数化了数据样本的非归一化对数概率,但缺乏关于如何构建“能量”的指导。在本文中,我们提出了一个去噪EBM分解成“语义能量”和“纹理能量”的图像能量。我们在DAE的潜在空间中定义了“语义能量”来建模高级表示,并将用于去噪的像素级重建误差定义为“纹理能量”。受基于分数的模型的启发,我们的模型利用多尺度噪声样本进行最大似然训练,并输出一个矢量而不是标量,用于在优化过程中探索更大的函数集。训练完成后,首先通过“语义能量”对语义图像进行快速MCMC合成,然后基于“纹理能量”对语义图像进行像素级细化,生成完美的样本。最终,我们的模型可以在图像生成方面胜过大多数EBM。我们还证明了去噪EBM在分布外检测的EBM中具有最好的性能。

英文摘要:

Energy-based models parameterize the unnormalized log-probability of data samples, but there is a lack of guidance on how to construct the "energy". In this paper, we propose a Denoising-EBM which decomposes the image energy into "semantic energy" and "texture energy". We define the "semantic energy" in the latent space of DAE to model the high-level representations, and define the pixel-level reconstruction error for denoising as "texture energy". Inspired by score-based model, our model utilizes multi-scale noisy samples for maximum-likelihood training and it outputs a vector instead of a scalar for exploring a larger set of functions during optimization. After training, the semantics are first synthesized by fast MCMC through "semantic energy", and then the pixel-level refinement of semantic image will be performed to generate perfect samples based on "texture energy". Ultimately, our model can outperform most EBMs in image generation. And we also demonstrate that Denoising-EBM has top performance among EBMs for out-of-distribution detection.

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

↑