Introduction
Standard Convolutional Neural Networks (CNNs) are inherently local, with each layer processing only a small neighborhood of pixels. While deep architectures eventually expand the receptive field, this "Markovian" approach often fails to capture complex, long-range structural relationships—such as the symmetry of a face or the proportional placement of limbs. Self-Attention GANs (SA-GAN) addressed this via all-to-all pixel correlations, but at a quadratic computational cost ($O(N^2)$), making high-resolution generation prohibitively expensive.
Attentive Normalization (AN) is proposed as a novel, efficient alternative. By softly partitioning feature maps into semantic regions and normalizing them independently, AN improves structural consistency with significantly lower computational overhead than traditional self-attention mechanisms.
Methodology: Attentive Normalization
The AN module replaces the global statistics used in standard normalization with a spatially-aware semantic approach. It operates in two primary stages:
1. Semantic Layout Learning (SLL)
Instead of a single set of normalization statistics for the entire image, the model predicts a "soft" semantic layout, dividing the feature map into $n$ regions (e.g., foreground vs. background). To prevent the model from collapsing into a single trivial region, a Self-sampling Regularization branch is introduced. This branch selects random feature points as anchors for semantic clusters, forcing the learning of diverse semantic entities.
2. Regional Normalization
Once the layout is established, normalization is performed independently for each region. Pixels belonging to the same semantic category share the same mean and variance, regardless of their spatial distance. This "feature sharing" naturally enforces consistency across distant regions of the same object. Crucially, AN achieves linear complexity ($O(N)$) relative to spatial resolution, as it avoids the expensive pairwise comparisons of self-attention.
Experimental Results
The researchers evaluated AN on two benchmarks: class-conditional image generation on ImageNet (128x128) and generative image inpainting on Paris Streetview (256x256).
Quantitative Performance
On ImageNet, the AN-equipped GAN achieved a Frechet Inception Distance (FID) of 17.84, outperforming both SA-GAN (18.65) and standard Spectral-Normalized GANs (22.96). Qualitatively, the model produces much more coherent structures for complex objects where maintaining straight lines and symmetrical parts is vital.
Computational Efficiency
The efficiency gains are substantial. At a 256x256 resolution, the AN module is approximately 35 times faster than a self-attention module (2.24ms vs. 79.42ms). At higher resolutions like 1024x1024, where self-attention often triggers out-of-memory errors, AN remains fully functional.
Conclusion
Attentive Normalization demonstrates that normalization can serve as a powerful tool for global communication within a network. By leveraging semantic grouping as a proxy for long-range dependencies, AN provides a scalable path for high-resolution generative modeling without the quadratic bottleneck of self-attention. Future work may explore the integration of AN with other normalization techniques and its application to tasks like semantic segmentation.
Summary updated