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. 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}.
翻译:最近,在有条件的语义图像合成(cite{park2019semantic})中,空间适应性正常化的激活以从语义布局学到的空间变化变异性来调节,以防止语义信息被冲走。尽管表现令人印象深刻,但仍然非常需要更透彻地了解盒内的好处,以帮助减少这个新结构引入的重要计算和参数管理。在本文中,从投资回报角度出发,我们对这一空间调整性正常化的有效性进行深入分析,并观察其调制参数更多地得益于语义意识的调控,而不是空间适应性变异性,特别是高分辨率输入面罩。在这种观察的启发下,我们提出类适应性正常化(CLADE),一种轻度但同样有效的变异的变异体,为了进一步改进空间适应性投资,我们引入了从语义布局上计算出来的内部定位编码,但从空间适应性变异性读取的参数,即高分辨率变异的CADE/变异性变异性CADEL参数,这是在真正具有挑战性的CADE-CADADL实验中提议的极低的变式模型。