TDDSR: Single-Step Diffusion with Two Discriminators for Super Resolution

Sohwi Kim, Tae-Kyun KimarXiv 2024

TL;DR

This paper introduces a novel single-step diffusion model for super-resolution (SR) that co-learns an upsampler and a learnable downsampler. By using two discriminators and a distillation strategy, the model achieves state-of-the-art performance in both image fidelity and perceptual quality while significantly improving inference efficiency.

What Problem Does This Paper Address?

Super-resolution (SR) aims to reconstruct high-resolution (HR) images from low-resolution (LR) inputs. A major challenge in SR is accurately modeling and handling the diverse and complex degradation patterns present in real-world images, which traditional methods often oversimplify. While diffusion models have shown great promise in generating high-quality images, their iterative sampling process makes them too slow for real-time applications. Existing acceleration techniques often compromise image quality. This paper tackles the problem of achieving both high-quality SR and efficient inference, particularly in the context of realistic, complex degradations.

Methods

The core of this work is a co-learning framework that jointly trains a single-step diffusion-based upsampler and a learnable downsampler. This is achieved through several key components:

  • Diffusion Models: Both the upsampler (student network) and the downsampler are based on diffusion architectures. The student network learns to reconstruct HR images from LR inputs in a single step, guided by a pre-trained teacher model.
  • Learnable Downsampler: This is a novel component that learns to mimic realistic degradation patterns. It takes the upsampler's output (in the latent space, with added noise) and generates a synthetic LR image. This allows the model to train on diverse, realistic LR-HR pairs.
  • Two Discriminators:
    • HR Discriminator (DH): This discriminator distinguishes between the student's generated HR images and the ground-truth HR images, pushing the upsampler towards higher fidelity.
  • LR Discriminator (DL): This discriminator, paired with the learnable downsampler, assesses the realism of the generated LR images against the original LR inputs, ensuring the downsampler captures realistic degradation.
  • Cyclic Distillation: Knowledge from a pre-trained teacher diffusion model is distilled into the student upsampler. This distillation loss, along with adversarial losses from the discriminators, forms the training objective. The framework also incorporates a form of cycle consistency, where the upsampler and downsampler work in tandem to reconstruct images across domains.

Datasets

The paper evaluates its method on two main categories of datasets:

  • Real-world Super-Resolution:
    • Training: DIV2K dataset, degraded using the RealESRGAN pipeline.
  • Evaluation: RealSR and RealSet65 datasets, which consist of real-world images captured in diverse settings.
  • Face-specific Super-Resolution:
    • Training/Testing/Validation: Flick-Faces-HQ (FFHQ) dataset, a large collection of high-quality human face images.

Key Insights and Ideas

  • Co-learning Upsampler and Downsampler: The most significant insight is the synergistic training of an upsampler and a downsampler. By learning to both generate HR images and mimic realistic degradations, the model gains a deeper understanding of the SR problem, especially for complex, real-world scenarios.
  • Diffusion-based Downsampler: Introducing a diffusion model for the downsampler itself is novel. This allows it to generate more realistic and diverse degradations compared to traditional convolutional downsamplers, leading to better generalization for the upsampler.
  • Single-Step Inference: The framework is designed for single-step inference, drastically improving efficiency without sacrificing perceptual quality, a common trade-off in other acceleration methods.
  • Bridging Synthetic and Real-World Gaps: The learnable downsampler helps bridge the gap between synthetic training data and real-world degradation complexities, leading to superior performance on real-world SR tasks.

Key Results

  • State-of-the-Art Performance: The proposed method achieves state-of-the-art results on both real-world and face-specific SR tasks, outperforming existing methods in terms of both fidelity (PSNR, SSIM) and perceptual quality (CLIPIQA, MUSIQ, LPIPS).
  • Efficiency: The model performs inference in a single step, significantly reducing computational cost and time compared to iterative diffusion models.
  • Perceptual Quality: Despite reducing inference steps, the model maintains and often improves perceptual quality, producing less blurry results with fewer artifacts. For example, on the DIV2K validation dataset, while PSNR/SSIM dropped slightly due to fewer steps, perceptual metrics like CLIPIQA and MUSIQ improved.
  • Ablation Study: An ablation study confirmed that all three loss components (distillation, HR adversarial loss, LR adversarial loss) are crucial for optimal performance, and the diffusion-based downsampler provides significant gains.

Limitations and Future Work

  • Fine-scale Details: The authors acknowledge that challenges remain in reconstructing very fine-scale details, such as small scene text.
  • Training on Larger Datasets: They suggest that training on larger datasets could further enhance the model's overall generative capabilities.
  • Generalization to Unseen Degradations: While the learnable downsampler improves generalization, further research could explore even more robust handling of unseen and extreme degradation patterns.

Summary updated

Abstract

Super-resolution (SR) aims to reconstruct high-resolution (HR) images from their low-resolution (LR) counterparts, often relying on effective downsampling to generate diverse and realistic training pairs. In this work, we propose a co-learning framework that jointly optimizes a single-step diffusion-based upsampler and a learnable downsampler, enhanced by two discriminators and a cyclic distillation strategy. Our learnable downsampler is designed to better capture realistic degradation patterns while preserving structural details in the LR domain, which is crucial for enhancing SR performance. By leveraging a diffusion-based approach, our model generates diverse LR-HR pairs during training, enabling robust learning across varying degradations. We demonstrate the effectiveness of our method on both general real-world and domain-specific face SR tasks, achieving state-of-the-art performance in both fidelity and perceptual quality. Our approach not only improves efficiency with a single inference step but also ensures high-quality image reconstruction, bridging the gap between synthetic and real-world SR scenarios.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
FFHQ · 64×64 inputs upscaled to 256×256 (4×Ours (single step)PSNR29.43+0.28 vs baselinesplit: test · single-step · scale=4x · resolution=64x64 to 256x256
Source quote
L204: Ours(single step) │ 29.43 │ 0.829 │ {\underline {0.955}} │ 9.179
FFHQ · 64×64 inputs upscaled to 256×256 (4×Ours (single step)SSIM0.829+0.01 vs baselinesplit: test · single-step · scale=4x · resolution=64x64 to 256x256
Source quote
L204: Ours(single step) │ 29.43 │ 0.829 │ {\underline {0.955}} │ 9.179
FFHQ · 64×64 inputs upscaled to 256×256 (4×Ours (single step)FID9.179-1.15 vs baselinesplit: test · single-step · scale=4x · resolution=64x64 to 256x256
Source quote
L204: Ours(single step) │ 29.43 │ 0.829 │ {\underline {0.955}} │ 9.179
Reported baseline / comparator measurements (3)
BenchmarkMethodMetricScoreProtocol / Evidence
FFHQ · 64×64 inputs upscaled to 256×256 (4×SinSR (single step) baselinePSNR29.15split: test · single-step · scale=4x · resolution=64x64 to 256x256
Source quote
L203: SinSR(single step) │ {\underline {29.15}} │ {\underline {0.822}} │ 0.952 │ {\underline {10.332}}
FFHQ · 64×64 inputs upscaled to 256×256 (4×SinSR (single step) baselineSSIM0.822split: test · single-step · scale=4x · resolution=64x64 to 256x256
Source quote
L203: SinSR(single step) │ {\underline {29.15}} │ {\underline {0.822}} │ 0.952 │ {\underline {10.332}}
FFHQ · 64×64 inputs upscaled to 256×256 (4×SinSR (single step) baselineFID10.332split: test · single-step · scale=4x · resolution=64x64 to 256x256
Source quote
L203: SinSR(single step) │ {\underline {29.15}} │ {\underline {0.822}} │ 0.952 │ {\underline {10.332}}
BibTeX
@misc{kim2024tddsr,
  author = {Sohwi Kim and Tae-Kyun Kim},
  title = {{TDDSR: Single-Step Diffusion with Two Discriminators for Super Resolution}},
  year = {2024},
  eprint = {2410.07663},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.07663},
}
Figure