Skip to main content
QUICK REVIEW

[Paper Review] Attentive Normalization for Conditional Image Generation

Yi Wang, Ying-Cong Chen|arXiv (Cornell University)|Apr 8, 2020
Generative Adversarial Networks and Image SynthesisComputer Science57 references5 citations
TL;DR

This paper proposes Attentive Normalization (AN), a novel normalization module that enhances long-range dependency modeling in conditional image generation by learning semantic layouts from feature maps and applying instance normalization within semantically coherent regions. AN achieves state-of-the-art FID of 17.84 on ImageNet (128×128) class-conditional generation, outperforming self-attention GAN (18.65) with significantly lower computational cost.

ABSTRACT

Traditional convolution-based generative adversarial networks synthesize images based on hierarchical local operations, where long-range dependency relation is implicitly modeled with a Markov chain. It is still not sufficient for categories with complicated structures. In this paper, we characterize long-range dependence with attentive normalization (AN), which is an extension to traditional instance normalization. Specifically, the input feature map is softly divided into several regions based on its internal semantic similarity, which are respectively normalized. It enhances consistency between distant regions with semantic correspondence. Compared with self-attention GAN, our attentive normalization does not need to measure the correlation of all locations, and thus can be directly applied to large-size feature maps without much computational burden. Extensive experiments on class-conditional image generation and semantic inpainting verify the efficacy of our proposed module.

Motivation & Objective

  • Address the limitation of convolutional networks in modeling long-range spatial dependencies in complex structured images.
  • Overcome the high computational cost of self-attention mechanisms in large feature maps during image generation.
  • Improve semantic consistency and structural coherence in generated images by explicitly modeling semantic correspondence across distant regions.
  • Develop a normalization technique that preserves and enhances high-level semantics while reducing spatial degradation from standard instance normalization.
  • Enable efficient, scalable long-range modeling suitable for large-scale image generation and inpainting tasks.

Proposed method

  • Propose Attentive Normalization (AN), which first predicts a semantic layout from the input feature map using a learnable module based on semantic entity clustering.
  • Use self-sampling regularization (SSR) to prevent trivial semantic layout predictions and ensure meaningful region division.
  • Apply instance normalization independently within each semantic region to compactify feature distributions and enhance inter-regional semantic consistency.
  • Integrate AN as a plug-in module into existing GAN architectures, replacing or supplementing standard normalization layers.
  • Control the fineness of region division via the number of semantic entities $ n $, with $ n=16 $ selected as a balance between performance and efficiency.
  • Ensure computational efficiency by avoiding full pairwise attention computation, instead relying on localized, region-based normalization.

Experimental results

Research questions

  • RQ1Can a learnable semantic layout prediction improve long-range feature dependency modeling in conditional image generation?
  • RQ2Does regional instance normalization based on semantic similarity enhance structural coherence and semantic correspondence in generated images?
  • RQ3Can AN achieve performance comparable or superior to self-attention GAN while significantly reducing computational cost?
  • RQ4How does the number of semantic entities $ n $ affect the quality and efficiency of the generated images?
  • RQ5To what extent does self-sampling regularization improve the quality of learned semantic layouts and downstream generation results?

Key findings

  • Attentive Normalization achieves a Frechet Inception Distance (FID) of 17.84 on ImageNet (128×128) for class-conditional image generation, outperforming self-attention GAN (18.65) and baseline models without long-range modeling (22.96).
  • With the same model capacity and training setup, AN improves Inception Score (IS) to 46.57 and reduces FID to 17.84 when $ n=16 $, indicating superior image quality and diversity.
  • The ablation study confirms that self-sampling regularization (SSR) is critical: removing it increases FID to 23.58, nearly matching the performance of standard instance normalization.
  • AN demonstrates superior computational efficiency: at 1024×1024 resolution, AN takes 37.68ms vs. self-attention’s unmeasurable time due to GPU OOM, with AN scaling linearly and self-attention growing quadratically.
  • In generative image inpainting on Paris Streetview, AN achieves PSNR of 25.09, SSIM of 0.8541, and MAE of 0.0334, outperforming the CA baseline in both visual quality and quantitative metrics.
  • The ablation shows that instance normalization (IN) outperforms batch normalization (BN) in regional normalization, with FID of 17.84 (IN) vs. 19.59 (BN), confirming IN’s suitability for this task.

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.