Efficient Semantic Image Synthesis via Class-Adaptive Normalization

Zhentao Tan, Dongdong Chen, Qi Chu, Menglei Chai, Jing Liao +4 more
12/8/2020
cs.CVcs.GR

Official code: tzt101/CLADE (63 stars, Python, last commit 2021-06-04).

Abstract

Spatially-adaptive normalization (SPADE) is remarkably successful recently in conditional semantic image synthesis \cite{park2019semantic}, which modulates the normalized activation with spatially-varying transformations learned from semantic layouts, to prevent the semantic information from being washed away. Despite its impressive performance, a more thorough understanding of the advantages inside the box is still highly demanded to help reduce the significant computation and parameter overhead introduced by this novel structure.

Show full abstract

In this paper, from a return-on-investment point of view, we conduct an in-depth analysis of the effectiveness of this spatially-adaptive normalization and observe that its modulation parameters benefit more from semantic-awareness rather than spatial-adaptiveness, especially for high-resolution input masks. Inspired by this observation, we propose class-adaptive normalization (CLADE), a lightweight but equally-effective variant that is only adaptive to semantic class. In order to further improve spatial-adaptiveness, we introduce intra-class positional map encoding calculated from semantic layouts to modulate the normalization parameters of CLADE and propose a truly spatially-adaptive variant of CLADE, namely CLADE-ICPE.Through extensive experiments on multiple challenging datasets, we demonstrate that the proposed CLADE can be generalized to different SPADE-based methods while achieving comparable generation quality compared to SPADE, but it is much more efficient with fewer extra parameters and lower computational cost. The code and pretrained models are available at \url{https://github.com/tzt101/CLADE.git}.

View on arXivView PDF

Code Implementations(1)

tzt101/CLADEOfficial100%

Efficient Semantic Image Synthesis via Class-Adaptive Normalization (TPAMI 2021)

638PythonDec 4, 20205 years agoNOASSERTION

Similar Papers

Cite this paper

@article{tan2020efficient,
  title  = {Efficient Semantic Image Synthesis via Class-Adaptive Normalization},
  author = {Zhentao Tan and Dongdong Chen and Qi Chu and Menglei Chai and Jing Liao and Mingming He and Lu Yuan and Gang Hua and Nenghai Yu},
  year   = {2020},
  eprint = {2012.04644},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.04644}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2012.04644.svg)](https://codeofpaper.com/paper/2012.04644)

Discussion