TL;DR
This paper introduces DTWSR, a novel diffusion transformer model that leverages multi-level wavelet spectra for single image super-resolution (SISR). By explicitly modeling inter-band frequency relationships and employing a dual-decoder architecture, DTWSR achieves state-of-the-art performance in both fidelity and perceptual quality, producing more realistic and detailed high-resolution images.
What Problem Does This Paper Address?
Single Image Super-Resolution (SISR) aims to reconstruct a high-resolution (HR) image from a low-resolution (LR) input. While many methods have focused on pixel-domain reconstruction, capturing fine-grained frequency details is crucial for realistic results. Discrete Wavelet Transform (DWT) has been used to decompose images into frequency sub-bands (low-frequency for global structure and high-frequency for details). However, existing DWT-based methods often treat these sub-bands independently, neglecting their interrelations, which can lead to inconsistencies and artifacts. This paper addresses this gap by proposing a method that explicitly models the complex relationships among multi-scale frequency sub-bands for improved SISR.
Methods
The core of DTWSR is a Diffusion Transformer model that operates on multi-level wavelet spectra.
- Multi-level Discrete Wavelet Transform (MDWT): Images are decomposed into multiple levels of low-frequency (LF) and high-frequency (HF) sub-bands. This creates a "wavelet spectra representation" that captures hierarchical frequency information.
- Pyramid Tokenization: To efficiently process these spectra with a transformer, the sub-bands are tokenized. A novel "pyramid tokenization" method is introduced, where HF sub-bands (which are sparser) are tokenized with larger patches than the LF sub-band. This reduces the number of tokens while maintaining consistent receptive fields across frequency levels.
- Diffusion Model Framework: The SISR task is framed as a conditional diffusion process. A denoising network learns to reverse the diffusion process, generating HR images from noisy wavelet spectra, conditioned on the LR input.
- Dual-Decoder Transformer (WSDT): Recognizing the distinct nature of LF (smooth) and HF (sparse) sub-bands, a unified decoder is insufficient. DTWSR employs a dual-decoder architecture:
- LEDec (LF Elementary Decoder): Denoises the LF sub-band, incorporating LR conditioning.
- HDDec (HF Detail Decoder): Denoises the HF sub-bands and also refines the "LF Residual" (HF components remaining in the LF sub-band). This dual approach helps align LF and HF components for better overall image quality.
- Attention Masks: Tailored attention masks are used within the transformer decoders to control information flow, preventing LF tokens from influencing HF denoising and vice-versa, promoting better alignment.
- Optimization: The model is trained using a combination of adversarial loss (DDGAN) and reconstruction losses in both pixel and frequency domains to ensure both fidelity and perceptual quality.
Datasets
The paper evaluates DTWSR on several datasets:
- Face SISR: FFHQ and CelebA for training and evaluation.
- General Scene SISR: DIV2K and Flicker2K for training, and evaluation on DIV2K validation, Manga109, Set5, and Set14.
- Real-world Image Restoration: Trained on ImageNet and evaluated on RealSR dataset.
No new benchmarks were introduced.
Key Insights and Ideas
- Inter-band Frequency Relations Matter: The paper strongly suggests that treating frequency sub-bands independently is suboptimal. Explicitly modeling their interrelations is key to achieving realistic details and avoiding artifacts.
- Wavelet Spectra as a Rich Representation: Decomposing images into multi-level wavelet spectra provides a more structured and informative representation for SISR than raw pixels, especially for capturing hierarchical details.
- Diffusion Models + Transformers are Powerful: The combination of diffusion models for generative quality and transformers for capturing long-range dependencies proves effective for the complex task of SISR.
- Dual-Decoder for Heterogeneous Data: The distinct statistical properties of LF and HF sub-bands necessitate specialized processing, making the dual-decoder approach a crucial design choice.
- Pyramid Tokenization for Efficiency: This technique cleverly balances the need for detailed frequency information with computational efficiency by adapting patch sizes based on sub-band sparsity.
Key Results
- State-of-the-Art Performance: DTWSR achieves state-of-the-art results on various face and general scene SISR benchmarks, outperforming existing methods in both quantitative metrics (PSNR, SSIM, Cons., Deg.) and qualitative visual quality.
- Improved Perceptual Quality: Qualitative comparisons show DTWSR producing more natural textures, finer details (e.g., skin, hair), and fewer artifacts compared to baselines.
- Better Fidelity and Authenticity: For face SISR, DTWSR demonstrates superior performance in preserving facial identity (lower Deg. scores) and maintaining consistency (lower Cons. scores).
- Efficiency: The pyramid tokenization allows DTWSR to use fewer tokens than some transformer-based methods while achieving better generation quality.
- Robustness: The method shows good performance on real-world images and large-magnification SISR tasks.
Limitations and Future Work
- Computational Cost: While improvements are made, diffusion models and transformers are inherently computationally intensive. The paper mentions using fewer tokens with pyramid tokenization as an efficiency measure.
- Future Exploration: The authors suggest further exploring the potential of multi-level wavelet spectra in promoting image generation, implying broader applications beyond SISR. They also hint at exploring more advanced transformer architectures or diffusion sampling strategies.
Summary updated