arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2403.19898cs.CV
收藏

结构至关重要:解决图像修复扩散模型中的语义差异问题

Structure Matters: Tackling the Semantic Discrepancy in Diffusion Models for Image Inpainting

Hefei University of Technology(合肥工业大学);Lenovo Research(联想研究院)

Haipeng Liu, Yang Wang, Biao Qian, Meng Wang, Yong Rui

AI总结:

本文提出结构引导扩散模型 StrDiffusion,通过利用未掩码区域的时间依赖稀疏结构语义引导纹理去噪,并设计自适应重采样策略,有效解决图像修复中掩码与未掩码区域的语义差异问题。

摘要:

用于图像修复的去噪扩散概率模型旨在正向过程中向图像的纹理添加噪声,并通过反向去噪过程利用未掩码区域的纹理恢复掩码区域。尽管能够生成有意义的语义,现有方法仍存在掩码区域与未掩码区域之间的语义差异问题,因为语义密集的未掩码纹理在扩散过程中无法被完全退化,而掩码区域则变为纯噪声,导致两者之间出现巨大差异。本文旨在回答未掩码语义如何引导纹理去噪过程,以及如何解决语义差异,以促进一致且有意义的语义生成。为此,我们提出了一种新颖的结构引导扩散模型,名为 StrDiffusion,在结构引导下重新构建传统的纹理去噪过程,从而推导出用于图像修复的简化去噪目标,同时揭示:1)语义稀疏的结构有利于在早期阶段解决语义差异,而密集纹理在后期阶段生成合理的语义;2)来自未掩码区域的语义本质上为纹理去噪过程提供了时间依赖的结构引导,这得益于结构语义的时间依赖稀疏性。对于去噪过程,我们训练了一个结构引导神经网络,通过利用掩码区域与未掩码区域之间去噪结构的一致性来估计简化的去噪目标。此外,我们设计了一种自适应重采样策略,作为判断结构是否有能力引导纹理去噪过程的正式准则,同时调节它们之间的语义相关性。大量实验验证了 StrDiffusion 相对于最先进方法的优势。我们的代码可在 https://github.com/htyjers/StrDiffusion 获取。

英文摘要:

Denoising diffusion probabilistic models for image inpainting aim to add the noise to the texture of image during the forward process and recover masked regions with unmasked ones of the texture via the reverse denoising process. Despite the meaningful semantics generation, the existing arts suffer from the semantic discrepancy between masked and unmasked regions, since the semantically dense unmasked texture fails to be completely degraded while the masked regions turn to the pure noise in diffusion process, leading to the large discrepancy between them. In this paper, we aim to answer how unmasked semantics guide texture denoising process;together with how to tackle the semantic discrepancy, to facilitate the consistent and meaningful semantics generation. To this end, we propose a novel structure-guided diffusion model named StrDiffusion, to reformulate the conventional texture denoising process under structure guidance to derive a simplified denoising objective for image inpainting, while revealing: 1) the semantically sparse structure is beneficial to tackle semantic discrepancy in early stage, while dense texture generates reasonable semantics in late stage; 2) the semantics from unmasked regions essentially offer the time-dependent structure guidance for the texture denoising process, benefiting from the time-dependent sparsity of the structure semantics. For the denoising process, a structure-guided neural network is trained to estimate the simplified denoising objective by exploiting the consistency of the denoised structure between masked and unmasked regions. Besides, we devise an adaptive resampling strategy as a formal criterion as whether structure is competent to guide the texture denoising process, while regulate their semantic correlations. Extensive experiments validate the merits of StrDiffusion over the state-of-the-arts. Our code is available at https://github.com/htyjers/StrDiffusion.

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

↑