Skip to main content
QUICK REVIEW

[Paper Review] Example-Guided Image Synthesis across Arbitrary Scenes using Masked Spatial-Channel Attention and Self-Supervision

Haitian Zheng, Haofu Liao|arXiv (Cornell University)|Apr 18, 2020
Generative Adversarial Networks and Image SynthesisComputer Science46 references4 citations
TL;DR

This paper proposes a novel method for example-guided image synthesis across arbitrary, semantically and structurally different scenes using a Masked Spatial-Channel Attention (MSCA) module and self-supervision. The approach enables joint global-local feature alignment and synthesis, achieving state-of-the-art performance on COCO-stuff with improved interpretability and generalization to style interpolation, extrapolation, and swapping.

ABSTRACT

Example-guided image synthesis has recently been attempted to synthesize an image from a semantic label map and an exemplary image. In the task, the additional exemplar image provides the style guidance that controls the appearance of the synthesized output. Despite the controllability advantage, the existing models are designed on datasets with specific and roughly aligned objects. In this paper, we tackle a more challenging and general task, where the exemplar is an arbitrary scene image that is semantically different from the given label map. To this end, we first propose a Masked Spatial-Channel Attention (MSCA) module which models the correspondence between two arbitrary scenes via efficient decoupled attention. Next, we propose an end-to-end network for joint global and local feature alignment and synthesis. Finally, we propose a novel self-supervision task to enable training. Experiments on the large-scale and more diverse COCO-stuff dataset show significant improvements over the existing methods. Moreover, our approach provides interpretability and can be readily extended to other content manipulation tasks including style and spatial interpolation or extrapolation.

Motivation & Objective

  • Address the challenge of transferring styles between semantically and structurally different scenes in image synthesis.
  • Overcome limitations of prior methods that require aligned or similar objects in exemplar and label maps.
  • Enable user-controlled style synthesis using arbitrary exemplar images without requiring aligned training data.
  • Develop a self-supervised training scheme that avoids reliance on video or paired temporal data.
  • Provide interpretability and extendibility to tasks like style interpolation and scene extrapolation.

Proposed method

  • Introduce the Masked Spatial-Channel Attention (MSCA) module to model cross-attention between features of a semantic label map and an exemplar image.
  • Decouple spatial and channel attention to enable efficient, interpretable feature propagation across unaligned scenes.
  • Incorporate feature masking to filter out semantic outliers and improve correspondence modeling.
  • Apply multi-scale and resolution-extending operations to handle global and local feature alignment.
  • Use SPADE for spatially-controllable image synthesis on aligned features.
  • Design a patch-based self-supervision task using only semantically parsed images, enabling end-to-end training without video or temporal data.

Experimental results

Research questions

  • RQ1Can a self-supervised framework effectively train an example-guided image synthesis model without requiring video or paired temporal data?
  • RQ2Can a cross-attention mechanism with spatial-channel decoupling enable accurate feature correspondence between structurally and semantically different scenes?
  • RQ3To what extent can the model generalize to arbitrary scene transfers, including style interpolation and extrapolation?
  • RQ4How does the proposed MSCA module improve feature alignment and synthesis quality compared to prior attention-based methods?
  • RQ5Can the model maintain style consistency while transferring complex, diverse scene styles to new semantic layouts?

Key findings

  • The proposed method achieves significant performance improvements over existing methods on the large-scale COCO-stuff dataset.
  • The model generalizes well across diverse, semantically different scenes, including snow mountains, seashores, urban areas, and deserts.
  • With minimal modifications and no further training, the model enables effective style interpolation across multiple exemplar styles.
  • The model successfully performs scene extrapolation by generating plausible content beyond the input image borders using semantic guidance.
  • The attention mechanism provides interpretability, as visualized attention maps show meaningful semantic-to-style correspondences (e.g., sky to clouds, snow to sand).
  • The self-supervision scheme enables effective training using only semantic annotations, eliminating the need for video or paired temporal data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.