[Paper Review] Learning A Coarse-to-Fine Diffusion Transformer for Image Restoration
This paper proposes a coarse-to-fine diffusion Transformer (C2F-DFT) for image restoration, introducing a novel training scheme that improves restoration quality by refining sampled outputs against ground truth, rather than solely constraining noise. The method achieves state-of-the-art performance on deraining, deblurring, and denoising tasks by leveraging diffusion self-attention and feed-forward networks with time-step conditioning.
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.
Motivation & Objective
- To address the limitation of diffusion-based image restoration models that suffer from inaccurate noise estimation during sampling, leading to suboptimal restoration quality.
- To improve model capacity by learning complex degradation patterns through a two-stage training scheme that goes beyond simple noise constraining.
- To enhance long-range dependency modeling and hierarchical feature learning in image restoration using a diffusion-embedded Transformer architecture.
- To develop a fine-tuning strategy that optimizes the model using sampled restoration results instead of noise, thereby correcting errors from inaccurate noise estimation.
- To achieve competitive performance on multiple image restoration benchmarks, including deraining, deblurring, and real-world denoising.
Proposed method
- The model employs a diffusion Transformer architecture with diffusion self-attention (DFSA) and diffusion feed-forward network (DFN), both conditioned on time-step embeddings to model temporal dynamics in the diffusion process.
- A coarse-to-fine training scheme is introduced, consisting of (a) coarse training that constrains noise predictions and (b) fine training that constrains the model output from the sampling process against ground truth images.
- In the fine training phase, the model is optimized using the sampled restoration results from the coarse-trained model, rather than noise, to correct errors from inaccurate noise estimation.
- The fine-tuning process uses a fixed number of sampling steps (4) to ensure consistency and efficiency, balancing perceptual quality and computational cost.
- The model uses a patch-cycle training strategy during coarse training to improve generalization and efficiency, outperforming fixed-patch baselines with similar training time.
- Time-step conditioning is embedded into both DFSA and DFN to enable the model to adapt its behavior across different diffusion steps, significantly improving restoration performance.
Experimental results
Research questions
- RQ1Can a coarse-to-fine training scheme that refines sampled outputs instead of noise improve image restoration quality in diffusion models?
- RQ2How does time-step embedding in the diffusion Transformer affect the model's ability to capture long-range dependencies and restoration fidelity?
- RQ3Does constraining the model on generated outputs during fine-tuning lead to better performance than standard noise-constrained training?
- RQ4What is the optimal number of sampling steps for balancing restoration quality and inference speed in the fine-tuning pipeline?
- RQ5How effective is the patch-cycle training strategy in improving model generalization and efficiency compared to fixed-patch training?
Key findings
- The proposed C2F-DFT achieves a PSNR of 31.38 dB and SSIM of 0.921 on the Rain100H deraining benchmark, outperforming the baseline coarse training (30.93 dB PSNR) and IR-SDE.
- On the Test2800 deblurring set, the model achieves 34.03 dB PSNR and 0.944 SSIM, showing a 0.29 dB improvement over coarse-only training.
- The fine-tuning stage significantly improves visual quality, reducing artifacts and noise compared to coarse training, as visually demonstrated in Figures 9 and 10.
- Time-step embedding improves PSNR by 4.08 dB (from 26.85 to 30.93 dB), proving its critical role in performance.
- Using 4 sampling steps in fine-tuning achieves a favorable trade-off between perceptual quality (LPIPS) and inference time, outperforming both fewer and more steps.
- The patch-cycle training strategy achieves better performance than fixed-patch training while maintaining similar training time, confirming its effectiveness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.