Structure-Preserving Super Resolution With Gradient Guidance

Cheng Ma, Yongming Rao, Yean Cheng, Ce Chen, Jiwen Lu, Jie Zhou

Abstract

Generative Adversarial Networks (GANs) have significantly improved the perceptual quality of Single Image Super Resolution (SISR), yet they often introduce unnatural geometric distortions, known as "wavy artifacts." We present the Structure-Preserving Super Resolution (SPSR) framework, which leverages image gradients as a structural compass. By incorporating a dedicated gradient-restoration branch and a novel gradient-space loss function, SPSR generates images that are both perceptually sharp and geometrically accurate, effectively mitigating hallucinated distortions in structured scenes.

Introduction

Single Image Super Resolution (SISR) has traditionally faced a trade-off between pixel-wise accuracy and perceptual realism. PSNR-oriented methods, such as RCAN, typically produce "safe" but blurry results by optimizing for pixel-wise averages. Conversely, perceptual-driven methods like SRGAN and ESRGAN utilize GANs to synthesize realistic textures but frequently introduce "hallucinated" geometric distortions. In structured images, such as those containing architectural lines or bricks, these distortions manifest as unnaturally twisted or wobbly edges. These artifacts arise because standard GAN losses prioritize local texture style over global geometric consistency, lacking explicit guidance to maintain the structural integrity of the input.

Methodology: Gradient Guidance

To address these geometric inconsistencies, the SPSR framework introduces a two-pronged approach centered on gradient information:

1. The Gradient Branch

A parallel branch is integrated alongside the standard super-resolution (SR) network, specifically dedicated to super-resolving the image's gradient map. Since gradients represent the intensity of changes—marking edges and boundaries—restoring them provides a structural prior. This branch shares features with the main SR network through "Fusion Blocks," guiding the final reconstruction with sharp geometric boundaries.

2. Gradient Loss and Discriminator

Structural integrity is further enforced through a novel Gradient Loss. Unlike standard pixel-wise losses, this "second-order" restriction evaluates the relationship between neighboring pixels. Additionally, a Gradient Discriminator is employed to ensure that restored edges match the sharpness and natural distribution found in high-resolution ground truth images. Notably, this framework is model-agnostic and can be integrated into existing architectures like ESRGAN.

Experiments and Results

The model was trained on the DIV2K dataset and evaluated across five standard benchmarks: Set5, Set14, BSD100, Urban100, and General100. These datasets provide a diverse range of scenarios, with Urban100 being particularly effective for testing geometric preservation in architectural structures.

Visual Fidelity

Qualitative analysis reveals that SPSR significantly outperforms previous GAN-based methods in maintaining structural straightness. While ESRGAN often produces jagged or curved edges in regular patterns like bricks or building facades, SPSR maintains sharp, linear consistency.

Visual comparison of SPSR against state-of-the-art super-resolution methods on a structured brick texture.

Quantitative Performance

SPSR achieved superior perceptual scores (lowest PI and LPIPS) across all benchmark datasets compared to state-of-the-art methods like ESRGAN and SFTGAN. Furthermore, while GAN-based models typically see a drop in PSNR/SSIM, SPSR maintained comparable or improved pixel-accuracy metrics, demonstrating that geometric preservation does not come at the cost of overall image quality.

Discussion and Key Insights

The core innovation of SPSR is treating the gradient map as a geometric blueprint. By supervising the gradient—the "how much" of pixel difference rather than just the "what"—the network avoids the wavy artifacts common in other GAN approaches. This demonstrates that sharpness and geometric correctness are not mutually exclusive; structural priors allow for aggressive texture synthesis without losing underlying shapes.

However, the framework does introduce some computational overhead due to the auxiliary gradient branch and the complexity of an objective function involving six weighted losses. Future work may explore extending this gradient-guidance philosophy to other generative tasks, such as image inpainting or style transfer, where structural boundaries are equally vital.

Summary updated

BibTeX
@inproceedings{ma2020structure,
  author = {Cheng Ma and Yongming Rao and Yean Cheng and Ce Chen and Jiwen Lu and Jie Zhou},
  title = {{Structure-Preserving Super Resolution With Gradient Guidance}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.00779},
}
Figure