Training Generative Image Super-Resolution Models by Wavelet-Domain Losses Enables Better Control of Artifacts

Cansu Korkmaz, A. Murat Tekalp, Zafer Dogan

TL;DR

WGSR (Wavelet-Guided Super-Resolution) is a novel GAN training framework that uses wavelet-domain losses to solve the long-standing problem of artifacts and "hallucinations" in image super-resolution. By training the discriminator specifically on high-frequency wavelet subbands, the model learns to better distinguish genuine image details from artificial noise, achieving a superior perception-distortion trade-off compared to current state-of-the-art methods.

What Problem Does This Paper Address?

Single-image super-resolution (SR) is an "ill-posed" problem: a single low-resolution (LR) image could theoretically have been downsampled from many different high-resolution (HR) versions. Researchers typically face a "Perception-Distortion Trade-off": models optimized for fidelity (high PSNR) produce blurry images, while models optimized for perceptual quality (using GANs) produce sharp images that often contain distracting artifacts or "hallucinations"—details that look realistic but aren't actually in the original scene.

The authors identify that existing losses in the RGB or Fourier domains struggle to localize these artifacts effectively. They ask a fundamental question: Can a model learn to distinguish genuine image details from artifacts?

Methods

The core innovation is moving the training objective into the wavelet domain using the Stationary Wavelet Transform (SWT). Unlike the standard Discrete Wavelet Transform (DWT), SWT does not involve downsampling, which preserves spatial location—a critical requirement for SR tasks.

Key components of the WGSR framework include:

  • SWT-Domain Discriminator: Instead of looking at RGB images, the discriminator is fed only the high-frequency (HF) wavelet subbands (horizontal, vertical, and diagonal details). This forces the discriminator to focus specifically on the fine-scale textures where artifacts are most likely to occur.
  • Wavelet-Domain Fidelity Loss: The generator is trained using a weighted $l_1$ loss across different wavelet subbands. This allows for fine-tuned control over how much the model prioritizes different scales and orientations of image structures.
  • DISTS Perceptual Loss: The authors replace the commonly used VGG-based LPIPS loss with the DISTS (Deep Image Structure and Texture Similarity) metric, which they found couples more effectively with their wavelet-domain objective.
Figure 3. Overview of the proposed GAN-SR framework guided by wavelet-domain losses, where the strength of the adversarial loss is tuned for each subband to control artifacts and the discriminator learns to decide whether the generated detail subbands are real or fake.

Datasets

The model was trained on the DIV2K dataset (800 images). Evaluation was performed across several standard benchmarks to ensure generalization:

  • Set5, Set14, BSD100, Urban100: Classic SR benchmarks.
  • DIV2K validation set: For high-resolution consistency checks.

Key Insights and Ideas

  • Localization is Key: Wavelets provide a natural way to localize image features by both scale and orientation. This is something Fourier-space losses cannot do, as they lack spatial localization.
  • Simplifying the Discriminator's Task: By feeding the discriminator sparse high-frequency subbands rather than complex RGB images, the training process becomes more stable and the discriminator can more easily identify "unnatural" high-frequency patterns (artifacts).
  • Subband Weighting Matters: The authors found that penalizing mid-level high-frequency subbands more heavily helps recover genuine structures while inhibiting aliasing.
Figure 4. Illustration of our main premise that imposing different losses to different SWT subbands results in remarkable quantita- tive and qualitative performance improvements in GAN-based SR models. Specifically, enforcing fidelity loss on wavelet sub-bands instead of on RGB channels and running the discriminator only on detail (LH, HL, and HH) subbands helps eliminate visible artifacts caused by ESRGAN+ [50] and leads to better preservation of de- tails. Overall scores of our method WGSR (PSNR: 26.33/DISTS: 0.115) outperform ESRGAN+ [50] (PSNR: 22.78/DISTS: 0.225).

Key Results

WGSR demonstrates a significant improvement in the perception-distortion trade-off.

  • Quantitative: On the BSD100 benchmark, WGSR achieved a PSNR gain of nearly 2 dB over the baseline ESRGAN while maintaining superior perceptual scores (NIQE and NRQM).
  • Qualitative: The model excels at reconstructing regular patterns and fine details that trip up other SOTA models. A striking example is provided in the paper where other methods reconstruct the number "5" as a "6" due to artifacts, whereas WGSR correctly preserves the opening in the digit.
Figure 2. Visual performance of recent ×4 SR methods on a crop from Urban100 dataset (img-6) [20]. SOTA methods reconstruct “5” as “6”, whereas the opening in the lower part of “5” is visible in our result confirming that our model strikes a better balance between fidelity and visual quality. Note PSNR, DISTS and other quantitative scores are not good indicators of such artifacts.
Perception-distortion trade-off performance of WGSR vs. state-of-the-art methods.

Limitations and Future Work

  • Metric Mismatch: The authors acknowledge that standard quantitative metrics (like PSNR or even LPIPS) are still not perfect indicators of visual artifacts. Visual performance sometimes improves in ways that aren't fully captured by the numbers.
  • Hyperparameter Tuning: Determining the optimal weights ($\lambda$) for each wavelet subband is currently an empirical process. Automating this selection based on image content could be a fruitful area for future research.
  • Complexity: While inference time remains the same as the backbone generator (RRDB), the training pipeline is more complex due to the multi-subband loss calculations.

Summary updated

BibTeX
@misc{korkmaz2024training,
  author = {Cansu Korkmaz and A. Murat Tekalp and Zafer Dogan},
  title = {{Training Generative Image Super-Resolution Models by Wavelet-Domain Losses Enables Better Control of Artifacts}},
  year = {2024},
  eprint = {2402.19215},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.19215},
}
Figure