arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.08730cs.CV
收藏

学习用于图像复原的从粗到细扩散Transformer

Learning A Coarse-to-Fine Diffusion Transformer for Image Restoration

Dalian University of Technology(大连理工大学);The Hong Kong Polytechnic University(香港理工大学);Nanjing University of Science and Technology(南京理工大学)

Liyan Wang, Qinyu Yang, Cong Wang, Wei Wang, Jinshan Pan, Zhixun Su

AI总结:

针对扩散模型在图像复原中因噪声估计不准、难学复杂退化导致效果不佳的问题,提出含扩散自注意力与前馈网络的从粗到细扩散Transformer,经粗精两阶段训练,在3项复原任务上性能优于扩散方法且比肩Transformer类SOTA方法。

摘要:

近年来,扩散模型在各类视觉任务中展现出了卓越性能。然而,对于旨在从给定的退化观测图像中恢复出细节更清晰的干净图像的图像复原任务而言,基于扩散的方法可能因噪声估计不准确而无法生成理想的复原结果。此外,简单的约束噪声无法有效学习复杂的退化信息,进而限制了模型的性能上限。为解决上述问题,我们提出了一种用于图像复原的从粗到细扩散Transformer(C2F-DFT)。具体而言,我们的C2F-DFT在全新的从粗到细训练框架下,包含扩散自注意力模块(DFSA)和扩散前馈网络(DFN)。DFSA和DFN分别捕捉长程扩散依赖关系并学习分层扩散表征,以助力实现更优的复原效果。在粗训练阶段,我们的C2F-DFT先估计噪声,再通过采样算法生成最终的干净图像。为进一步提升复原质量,我们提出了一种简单却有效的精训练方案。该方案首先利用经过粗训练的扩散模型以固定步数生成复原结果,随后将这些结果与对应的真实标签图像进行约束,以此优化模型,修正因噪声估计不准确导致的不理想结果。大量实验表明,C2F-DFT的性能显著优于基于扩散的复原方法IR-SDE,并且在图像去雨、图像去模糊和真实图像去噪这3项任务上,与基于Transformer的当前最优方法相比,取得了具有竞争力的性能。代码可在https://github.com/wlydlut/C2F-DFT获取。

英文摘要:

Recent years have witnessed the remarkable performance of diffusion models in various vision tasks. However, for image restoration that aims to recover clear images with sharper details from given degraded observations, diffusion-based methods may fail to recover promising results due to inaccurate noise estimation. Moreover, simple constraining noises cannot effectively learn complex degradation information, which subsequently hinders the model capacity. To solve the above problems, we propose a coarse-to-fine diffusion Transformer (C2F-DFT) for image restoration. Specifically, our C2F-DFT contains diffusion self-attention (DFSA) and diffusion feed-forward network (DFN) within a new coarse-to-fine training scheme. The DFSA and DFN respectively capture the long-range diffusion dependencies and learn hierarchy diffusion representation to facilitate better restoration. In the coarse training stage, our C2F-DFT estimates noises and then generates the final clean image by a sampling algorithm. To further improve the restoration quality, we propose a simple yet effective fine training scheme. It first exploits the coarse-trained diffusion model with fixed steps to generate restoration results, which then would be constrained with corresponding ground-truth ones to optimize the models to remedy the unsatisfactory results affected by inaccurate noise estimation. Extensive experiments show that C2F-DFT significantly outperforms diffusion-based restoration method IR-SDE and achieves competitive performance compared with Transformer-based state-of-the-art methods on $3$ tasks, including image deraining, image deblurring, and real image denoising. Code is available at https://github.com/wlydlut/C2F-DFT.

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

↑