Source-linked AI summary

Recovering Realistic Texture in Image Super-resolution by Deep Spatial Feature Transform

Xintao Wang, Ke Yu, Chao Dong, Chen Change Loy

arXiv:1804.02815v1cs.CV

TL;DR

Realistic texture recovery in single-image SR remains difficult because low-resolution inputs admit multiple plausible high-resolution textures and existing losses may not enforce semantic faithfulness. The paper introduces SFT layers that spatially modulate intermediate features using segmentation probability maps in one SR network. SFT-GAN generates distinct, rich, and visually pleasing textures for multiple semantic regions and outperforms prior GAN-based methods in reported comparisons and user studies.

  • Problem

    Low-resolution images can support multiple plausible high-resolution textures, while existing perceptual and adversarial losses may produce monotonous or class-inconsistent details.

  • Method

    Spatial Feature Transform layers generate spatially varying affine parameters from semantic segmentation probability maps to modulate intermediate features in a CNN-based SR network.

  • Results

    SFT-GAN generates distinct and rich textures for multiple semantic regions in a single forward pass and outperforms previous GAN-based methods in extensive comparisons and a user study.

  • Takeaways & Limitations

    Semantic segmentation probability maps provide categorical guidance that enables more realistic, visually pleasing, and class-faithful texture recovery within one SR network.

  • Takeaways & Limitations

    The method focuses on outdoor scenes, lacks finer-category priors for indoor objects, and places challenging requirements on segmentation from low-resolution images.

Abstract

from arXiv · show

Despite that convolutional neural networks (CNN) have recently demonstrated high-quality reconstruction for single-image super-resolution (SR), recovering natural and realistic texture remains a challenging problem. In this paper, we show that it is possible to recover textures faithful to semantic classes. In particular, we only need to modulate features of a few intermediate layers in a single network conditioned on semantic segmentation probability maps. This is made possible through a novel Spatial Feature Transform (SFT) layer that generates affine transformation parameters for spatial-wise feature modulation. SFT layers can be trained end-to-end together with the SR network using the same loss function. During testing, it accepts an input image of arbitrary size and generates a high-resolution image with just a single forward pass conditioned on the categorical priors. Our final results show that an SR network equipped with SFT can generate more realistic and visually pleasing textures in comparison to state-of-the-art SRGAN and EnhanceNet.

1. Introduction

Single-image SR remains challenged by ambiguous low-resolution evidence and lacks reliable class-specific texture recovery. The paper addresses this with semantic segmentation priors and Spatial Feature Transform layers that condition one SR network spatially and efficiently.

  • Motivation: Single-image SR is ill-posed because many high-resolution images can correspond to the same low-resolution pixel.Learning-based methods constrain this solution space using external low- and high-resolution exemplar pairs.
  • Motivation: Perceptual and adversarial losses add fine details, but without stronger priors those textures can be monotonous, unnatural, or inconsistent with the underlying semantic class.Building and plant patches can have similar low-resolution appearances despite requiring different realistic textures.
  • Motivation: Categorical priors characterize semantic regions such as sky, building, and plant and help constrain plausible SR solutions toward class-faithful textures.Class-dedicated models produce more realistic textures for visually ambiguous building and plant examples.
  • Problem formulation: The paper investigates class-conditional CNN-based SR using semantic segmentation maps as pixel-level categorical priors for images containing multiple classes and region sizes.The authors identify scalability and efficiency problems with separate class-specific models and limitations of simply concatenating priors with inputs or features.
  • Approach: Spatial Feature Transform generates spatially varying affine modulation parameters from segmentation probability maps to transform intermediate features in a single SR network.SFT layers are trained end-to-end with conventional losses, and the approach supports a single forward pass for semantically rich HR reconstruction.

2. Related Work

Prior-based SR methods use smoothing, image statistics, recurrence, learned mappings, perceptual losses, and adversarial objectives to address ill-posed reconstruction. This work distinguishes itself by using semantic probability maps for spatially guided texture recovery rather than simple segmentation or non-spatial conditioning.

  • Image super-resolution: Earlier SR methods use smoothing, edge, statistical, internal patch-recurrence, domain-specific dictionary, and context-constrained priors to improve reconstruction.These approaches constrain the ill-posed problem through hand-designed or learned image and texture information.
  • Image super-resolution: Learning-based SR evolved from neighbor embedding, sparse coding, and random forests to end-to-end CNN mappings such as SRCNN and deeper residual architectures.The related work describes a progression toward increasingly structured neural SR networks.
  • Image super-resolution: Pixel-wise losses tend toward averaged, overly smooth solutions, while perceptual and adversarial losses improve visual quality but can produce monotonous or unnatural textures.Local texture matching partially reduces visually unpleasant artifacts in related GAN-based methods.
  • Network conditioning: Conditional normalization and FiLM modulate features from external conditions, but FiLM cannot preserve spatially varying information such as semantic segmentation maps.Spatial information is important for low-level tasks such as super-resolution.
  • Semantic guidance: Semantic guidance has been used for image generation, style transfer, video deblurring, and clothing synthesis, whereas this work applies it to texture recovery in the SR domain.Unlike simple segments, the method uses probability maps to capture delicate texture distinctions.

3. Methodology

The method conditions CNN-based super-resolution on semantic segmentation probabilities, using Spatial Feature Transform layers to modulate intermediate features spatially. It combines a shared conditioning stream with an adversarially trained SR network, while addressing segmentation quality and computational efficiency.

  • Categorical priors: Semantic segmentation probability maps represent categorical priors that constrain SR toward richer, more realistic class-specific textures.The formulation represents each category with a probability map and conditions the SR mapping function on the resulting prior.
  • Spatial Feature Transform: An SFT layer maps a prior condition to affine parameters that spatially scale and shift intermediate SR feature maps.The transformation preserves spatial dimensions and applies element-wise multiplication followed by shifting.
  • Conditioning architecture: SFT layers share a condition network that generates intermediate conditions and broadcasts them to layer-specific modulation parameters.The mapping function is implemented with a neural network and optimized end-to-end with the SR branch; shared conditions improve efficiency.
  • Segmentation and scope: LR segmentation remains close to HR segmentation at ×4 upscaling, but small objects remain challenging and unknown classes fall back to background.For out-of-vocabulary regions, the method generates default modulation parameters and degenerates to treating all classes equally.
  • Loss function: The framework jointly uses perceptual and adversarial losses, with VGG feature activations supplying the perceptual representation.The discriminator is a VGG-style strided-convolution network, and the perceptual features come from a pretrained 19-layer VGG network.
  • Network architecture: The generator uses segmentation maps as input to a four-layer condition network and inserts SFT layers into a 16-residual-block SR network.The condition network uses 1×1 convolutions to restrict receptive fields, while the SR branch upsamples late so most computation remains in LR space.

4. Experiments

Experiments evaluate SFT-GAN on outdoor categories through qualitative comparisons, user studies, and analyses of feature modulation. The results indicate more realistic category-specific textures and spatially aligned transformations than competing conditioning and reconstruction methods.

  • Experimental Setting: The experiments focus on outdoor scenes with seven semantic categories plus a background class, using ×4 super-resolution.The categories are sky, mountain, plant, grass, water, animal, and building.
  • Qualitative Evaluation: Qualitative comparisons show PSNR-oriented methods produce blurry textures, while SRGAN and EnhanceNet generate sharper but sometimes monotonous or unnatural details.The authors report that SFT-GAN uses categorical priors to capture characteristics of each category and produce more natural textures.
  • User Study: A user study with 30 participants ranks SFT-GAN above PSNR-oriented methods by a large margin and above SRGAN and EnhanceNet in most categories.The advantage over SRGAN and EnhanceNet is especially reported for building, animal, and grass, with comparable performance on sky and plant.
  • Ablation Study: Modulation parameters γ and β vary across semantic regions and closely follow segmentation probability maps, with clear category boundaries.The reported spatial transitions allow building and grass textures to be generated simultaneously without interference.
  • Ablation Study: For visually ambiguous plant and grass regions, segmentation probabilities still capture semantics to some extent, while SFT modulation reflects subtle category differences.The corresponding activations show smooth transitions, and the authors report more realistic generated textures.
  • Ablation Study: Compared with alternative conditioning methods, SFT-GAN is reported as more perceptually convincing, parameter-efficient, and spatially aware.Compositional mapping uses ×2.5 parameters relative to SFT and requires several forward passes, while FiLM is agnostic to spatial information.

5. Discussion and Conclusion

SFT-GAN uses semantic segmentation maps as categorical priors through Spatial Feature Transform layers to generate realistic textures across multiple semantic regions in one forward pass. Its scope remains limited to outdoor scenes and finer indoor categories.

  • Discussion and Conclusion: SFT-GAN incorporates categorical conditions through Spatial Feature Transform layers in a CNN-based super-resolution network.The approach uses semantic segmentation maps to constrain plausible solutions.
  • Discussion and Conclusion: A single forward pass produces distinct and rich textures for multiple semantic regions in a super-resolved image.Extensive comparisons and a user study report realistic and visually pleasing textures outperforming previous GAN-based methods.
  • Discussion and Conclusion: The study focuses on outdoor scenes and does not address finer categories, particularly indoor objects such as furniture, appliances, and silk.Applying such priors indoors would require challenging segmentation from low-resolution images.
Loading 1804.02815v1…