[Paper Review] Rethinking Spatially-Adaptive Normalization
This paper proposes CLADE, a lightweight class-adaptive normalization layer that replaces spatially-adaptive normalization (SPADE) in semantic image synthesis. Unlike SPADE, which adapts normalization parameters to spatial positions via a deep modulation network, CLADE modulates features based only on semantic class, drastically reducing computation and parameter overhead while maintaining comparable visual fidelity. On ADE20k, CLADE adds only 4.57% parameters and 0.07% FLOPs, compared to SPADE’s 39.21% and 234.73% respectively.
Spatially-adaptive normalization is remarkably successful recently in conditional semantic image synthesis, which modulates the normalized activation with spatially-varying transformations learned from semantic layouts, to preserve the semantic information from being washed away. Despite its impressive performance, a more thorough understanding of the true advantages inside the box is still highly demanded, to help reduce the significant computation and parameter overheads introduced by these new structures. In this paper, from a return-on-investment point of view, we present a deep analysis of the effectiveness of SPADE and observe that its advantages actually come mainly from its semantic-awareness rather than the spatial-adaptiveness. Inspired by this point, we propose class-adaptive normalization (CLADE), a lightweight variant that is not adaptive to spatial positions or layouts. Benefited from this design, CLADE greatly reduces the computation cost while still being able to preserve the semantic information during the generation. Extensive experiments on multiple challenging datasets demonstrate that while the resulting fidelity is on par with SPADE, its overhead is much cheaper than SPADE. Take the generator for ADE20k dataset as an example, the extra parameter and computation cost introduced by CLADE are only 4.57% and 0.07% while that of SPADE are 39.21% and 234.73% respectively.
Motivation & Objective
- To investigate the true source of SPADE’s success in semantic image synthesis.
- To reduce the high computational and parameter overhead introduced by SPADE’s spatially-adaptive modulation mechanism.
- To explore whether semantic-awareness alone—without spatial adaptiveness—can preserve semantic information effectively.
- To design a more efficient normalization layer that maintains high visual fidelity with minimal computational cost.
- To provide a practical, lightweight alternative to SPADE for conditional image generation.
Proposed method
- Propose CLADE, a normalization layer that modulates batch-normalized features using class-specific statistics derived from the semantic mask, independent of spatial position.
- Replace all SPADE blocks in the generator with CLADE blocks, eliminating the need for a deep two-layer modulation network.
- Use the semantic class label of each feature map location to determine the scale and shift parameters, making the adaptation class-wise rather than spatially-varying.
- Integrate CLADE into a conditional GAN framework for semantic image synthesis, supporting both unconditional and style-guided generation.
- Train the model end-to-end with adversarial and perceptual losses, using the same training setup as SPADE for fair comparison.
- Enable multi-modal synthesis by feeding different noise vectors or reference style images to the generator.
Experimental results
Research questions
- RQ1What is the true source of SPADE’s performance gain—spatial adaptiveness or semantic awareness?
- RQ2Can a normalization layer that is only class-adaptive achieve comparable performance to SPADE with significantly reduced computational cost?
- RQ3Does removing spatial adaptiveness from SPADE lead to a significant drop in visual quality or layout alignment?
- RQ4How does the parameter and FLOP overhead of CLADE compare to SPADE and baseline methods across diverse datasets?
- RQ5Can CLADE support multi-modal and style-guided image synthesis as effectively as SPADE?
Key findings
- CLADE achieves visual fidelity on par with SPADE across multiple datasets, including ADE20k, COCO-Stuff, and Cityscapes.
- On the ADE20k dataset, CLADE introduces only 4.57% additional parameters and 0.07% additional FLOPs, compared to 39.21% and 234.73% for SPADE.
- CLADE reduces model size to about 74% of SPADE’s and cuts FLOPs by a factor of 4, resulting in approximately 2× inference speedup.
- User studies show no significant preference between CLADE and SPADE, with 48.375% favoring CLADE over SPADE on ADE20k, indicating comparable perceptual quality.
- CLADE outperforms Pix2pixHD in user preference, especially on COCO-Stuff (95% favor CLADE), demonstrating superior realism.
- CLADE successfully supports multi-modal and style-guided synthesis, generating diverse, realistic outputs using different noise vectors or reference images.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.