DifAugGAN: A Practical Diffusion-style Data Augmentation for GAN-based Single Image Super-resolution

Axi Niu, Kang Zhang, Joshua Tian Jin Tee, Trung X. Pham, Jinqiu Sun, Chang D. Yoo, In So Kweon, Yanning ZhangarXiv 2023 · DOI

Abstract

Generative Adversarial Networks (GANs) have significantly advanced Single Image Super-Resolution (SISR) by producing realistic textures, yet they often introduce unsightly "hallucinated" artifacts. DifAugGAN addresses this instability through a "plug-and-play" data augmentation strategy inspired by diffusion models. By injecting LR-conditioned noise into the discriminator's training process, DifAugGAN improves discriminator calibration, leading to more stable training and higher-quality image reconstruction without modifying the generator architecture.

Introduction

The goal of Single Image Super-Resolution (SISR) is to reconstruct a high-resolution (HR) image from a single low-resolution (LR) input. While traditional CNN-based methods achieve high Peak Signal-to-Noise Ratio (PSNR) scores, they often produce "over-smoothed" results. GANs were introduced to "imagine" realistic textures, but they are notoriously difficult to train. A primary issue is the production of artifacts—distorted textures or grid patterns—that do not exist in the original scene.

The authors identify poor discriminator calibration as the root cause of these distortions. When a discriminator becomes overconfident, it provides misleading gradient information to the generator. DifAugGAN proposes a diffusion-style noise injection to regularize the discriminator and restore its reliability as a "teacher."

Methodology

DifAugGAN introduces a novel data augmentation scheme that integrates a diffusion process into the GAN training loop.

Discriminator Diffusion Process

Instead of feeding raw HR or super-resolved (SR) images directly to the discriminator, the system passes them through a diffusion process. This involves adding Gaussian noise over $T$ time steps. Crucially, unlike standard diffusion models that use zero-mean noise, DifAugGAN utilizes a bicubic-upsampled version of the LR image as the mean for the noise.

Overview of the DifAugGAN training pipeline featuring the LR-conditioned diffusion process.

This "LR-conditioned" approach anchors the noise to the actual image content, forcing the discriminator to focus on the realism of the added details rather than simply detecting noise. As an augmentation strategy, DifAugGAN is "plug-and-play," modifying the loss functions during training without requiring changes to the generator's architecture.

Results and Discussion

The effectiveness of DifAugGAN was evaluated on standard benchmarks including DIV2K, Urban100, and several real-world datasets like RealSR.

Improved Calibration

A key finding is the significant reduction in Expected Calibration Error (ECE). By treating the discriminator as a probabilistic classifier, the authors demonstrated that standard GAN discriminators are often poorly calibrated. DifAugGAN effectively halves the ECE in many cases, making the discriminator's feedback much more accurate.

Comparison of Expected Calibration Error (ECE) and accuracy between the baseline LDL and LDL + DifAugGAN.

Quantitative and Qualitative Performance

On the Urban100 dataset, adding DifAugGAN to a RealESRGAN baseline improved PSNR by approximately 0.7dB and SSIM by 0.03. Visually, the model eliminates common "checkerboard" artifacts in structured scenes like buildings and produces cleaner, more realistic textures in complex areas like hair or beards compared to state-of-the-art baselines.

Conclusion

DifAugGAN provides a robust and practical solution to GAN instability in super-resolution tasks. By leveraging diffusion-style noise to improve discriminator calibration, it enables the generation of high-fidelity images with fewer artifacts. While the method introduces some computational overhead during training and requires hyperparameter tuning for the noise schedule, its "plug-and-play" nature and significant qualitative gains make it a valuable tool for practical SISR applications.

Summary updated

Abstract

It is well known the adversarial optimization of GAN-based image super-resolution (SR) methods makes the preceding SR model generate unpleasant and undesirable artifacts, leading to large distortion. We attribute the cause of such distortions to the poor calibration of the discriminator, which hampers its ability to provide meaningful feedback to the generator for learning high-quality images. To address this problem, we propose a simple but non-travel diffusion-style data augmentation scheme for current GAN-based SR methods, known as DifAugGAN. It involves adapting the diffusion process in generative diffusion models for improving the calibration of the discriminator during training motivated by the successes of data augmentation schemes in the field to achieve good calibration. Our DifAugGAN can be a Plug-and-Play strategy for current GAN-based SISR methods to improve the calibration of the discriminator and thus improve SR performance. Extensive experimental evaluations demonstrate the superiority of DifAugGAN over state-of-the-art GAN-based SISR methods across both synthetic and real-world datasets, showcasing notable advancements in both qualitative and quantitative results.
BibTeX
@misc{niu2023difauggan,
  author = {Axi Niu and Kang Zhang and Joshua Tian Jin Tee and Trung X. Pham and Jinqiu Sun and Chang D. Yoo and In So Kweon and Yanning Zhang},
  title = {{DifAugGAN: A Practical Diffusion-style Data Augmentation for GAN-based Single Image Super-resolution}},
  year = {2023},
  eprint = {2311.18508},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.18508},
}
Figure