Stage-GAN with Semantic Maps for Large-scale Image Super-resolution

Zhensong Wei, Huihui Bai, Yao Zhao

Abstract

Large-scale single image super-resolution (SR) often suffers from blurring or structural distortion at high magnification factors like $\times8$. This paper introduces Stage-GAN, a modular framework that decomposes the SR task into three stages: semantic map generation, structural reconstruction, and detail refinement. By utilizing high-level semantic information as a structural prior, the model effectively "hallucinates" sharp, realistic architectural details while maintaining global consistency.

Introduction

Single Image Super-Resolution (SR) is a fundamentally ill-posed problem. For a given low-resolution (LR) input, multiple high-resolution (HR) interpretations are valid. This ambiguity intensifies at large scaling factors, such as $\times8$, where fine textures are almost entirely lost. Traditional deep learning models optimized for Mean Squared Error (MSE) tend to produce "average" results, leading to over-smoothed and blurry images. While Generative Adversarial Networks (GANs) can generate high-frequency details, they often struggle to preserve the underlying structural integrity of complex scenes.

The Stage-GAN Framework

To address these challenges, the authors propose Stage-GAN, a modular architecture that breaks down the super-resolution process into three specialized, sequential GAN-based stages.

Overview of the Stage-GAN architecture, showing the progression from semantic map generation (Stage-0) to image reconstruction (Stage-1) and final refinement (Stage-2).

Stage-0: Semantic Map Generation

Rather than directly synthesizing pixels, Stage-0 focuses on understanding the scene's layout. It takes an upscaled "middle-resolution" (MR) image and generates a semantic map using a modified U-Net. This map acts as a categorical blueprint, identifying structural components such as windows, walls, and balconies.

Stage-1: Image Reconstruction

In this stage, the network uses both the MR image and the semantic map from Stage-0. The semantic map provides a strong structural prior, guiding the generator (another U-Net) to place textures and edges in their correct architectural context. This prevents the "hallucination" of details in nonsensical locations.

Stage-2: Image Refinement

The final stage addresses residual artifacts and slight blurs from the previous step. Using an encoder-decoder network equipped with nine residual blocks, Stage-2 sharpens edges and adds fine-grained, photo-realistic details to produce the final super-resolved output ($I_{SR}$).

Semantic Priors and Datasets

The core innovation of Stage-GAN is the use of semantic maps to bridge the information gap at high magnification. By identifying what an object is before reconstructing it, the model can leverage domain-specific knowledge about architectural structures.

Examples of architectural facades from the CMP Facades dataset and their corresponding semantic maps used to guide the super-resolution process.

The model was trained and evaluated on the CMP Facades dataset, which contains 400 training and 100 testing images of diverse architectural styles. Images were processed to $256 \times 256$ pixels, with LR versions created via bicubic downsampling at $\times4$ and $\times8$ factors.

Results and Discussion

Stage-GAN demonstrates significant visual improvements over baseline methods like SRCNN and LapSRN, which typically produce blurry results at $\times8$ scale. While GAN-based models often score lower on traditional metrics like PSNR (which favors pixel-averaging), Stage-GAN performs exceptionally well in terms of Gradient Similarity (GSM). GSM is a metric that better aligns with human perception by capturing the sharpness and structural contrast essential for photo-realism.

Ablation studies confirmed that the inclusion of semantic maps in Stage-1 is critical for recovering accurate structural details. Without these maps, the network fails to maintain the geometric consistency of complex facade elements.

Conclusion

Stage-GAN effectively tackles the hallucination problem in large-scale SR by decoupling structural identification from texture synthesis. While currently focused on architectural facades, the framework provides a robust template for using high-level semantic priors in other SR domains. Future work may involve expanding the dataset size and exploring more computationally efficient architectures for real-time applications.

Summary updated

Abstract

KSII Transactions on Internet and Information Systems
BibTeX
@article{wei2019stage,
  author = {Zhensong Wei and Huihui Bai and Yao Zhao},
  title = {{Stage-GAN with Semantic Maps for Large-scale Image Super-resolution}},
  journal = {KSII Trans. Internet Inf. Syst.},
  year = {2019},
  doi = {10.3837/tiis.2019.08.007},
}
Figure