[Paper Review] Learning Spatial Pyramid Attentive Pooling in Image Synthesis and Image-to-Image Translation
This paper proposes Spatial Pyramid Attentive Pooling (SPAP), a lightweight, generic architectural module that integrates atrous spatial pyramid pooling, cascade attention, and residual connections to enhance feature fusion in GANs and CycleGANs. SPAP improves image synthesis and image-to-image translation quality by enabling multi-scale context modeling with learnable attention, achieving state-of-the-art or comparable performance with fewer parameters than existing methods.
Image synthesis and image-to-image translation are two important generative learning tasks. Remarkable progress has been made by learning Generative Adversarial Networks (GANs)~\cite{goodfellow2014generative} and cycle-consistent GANs (CycleGANs)~\cite{zhu2017unpaired} respectively. This paper presents a method of learning Spatial Pyramid Attentive Pooling (SPAP) which is a novel architectural unit and can be easily integrated into both generators and discriminators in GANs and CycleGANs. The proposed SPAP integrates Atrous spatial pyramid~\cite{chen2018deeplab}, a proposed cascade attention mechanism and residual connections~\cite{he2016deep}. It leverages the advantages of the three components to facilitate effective end-to-end generative learning: (i) the capability of fusing multi-scale information by ASPP; (ii) the capability of capturing relative importance between both spatial locations (especially multi-scale context) or feature channels by attention; (iii) the capability of preserving information and enhancing optimization feasibility by residual connections. Coarse-to-fine and fine-to-coarse SPAP are studied and intriguing attention maps are observed in both tasks. In experiments, the proposed SPAP is tested in GANs on the Celeba-HQ-128 dataset~\cite{karras2017progressive}, and tested in CycleGANs on the Image-to-Image translation datasets including the Cityscape dataset~\cite{cordts2016cityscapes}, Facade and Aerial Maps dataset~\cite{zhu2017unpaired}, both obtaining better performance.
Motivation & Objective
- To design a generic, lightweight architectural module that improves generative learning in GANs and CycleGANs.
- To address the limitation of vanilla Atrous Spatial Pyramid Pooling (ASPP) in generative tasks by introducing learnable attention for better multi-scale feature aggregation.
- To enhance feature representation in both generators and discriminators by combining multi-receptive-field modeling, attention-based fusion, and residual learning.
- To achieve better image quality and structural fidelity in image synthesis and image-to-image translation without significantly increasing model complexity.
Proposed method
- SPAP integrates atrous convolutions with dilated rates to capture multi-scale context from feature maps.
- A cascade attention mechanism is introduced to progressively aggregate features across pyramid levels, either coarse-to-fine or fine-to-coarse.
- Attention weights are computed using a learnable, position-wise fully connected layer to modulate feature importance across spatial locations and scales.
- Residual connections are applied by convex combination of the original input and the attention-modulated features, with a learnable gate to preserve information and improve optimization.
- The module is plug-and-play, substituting standard layers in both generator and discriminator architectures in GANs and CycleGANs.
- The method is evaluated in both unconditional image synthesis (using SNDCGAN on Celeba-HQ-128) and unpaired image-to-image translation (using CycleGAN on Cityscapes, Facade, and Aerial Maps datasets).
Experimental results
Research questions
- RQ1Can a unified architectural module improve multi-scale feature fusion in both generators and discriminators of GANs and CycleGANs?
- RQ2Does introducing a cascade attention mechanism between pyramid levels outperform vanilla ASPP aggregation in generative tasks?
- RQ3Can SPAP enhance image quality and structural fidelity in image synthesis and image-to-image translation without increasing model depth or parameter count?
- RQ4How does SPAP affect the effective receptive field of discriminators, especially in PatchGAN-based models?
- RQ5Does SPAP achieve performance comparable to more complex models like SCAN, which use stacked CycleGANs and progressive training?
Key findings
- SPAP outperforms vanilla CycleGAN and SNDCGAN on Celeba-HQ-128, generating more realistic and detailed face images with improved FID and IS scores.
- In image-to-image translation, SPAP achieves better or comparable results to SCAN on Cityscapes, Facade, and Aerial Maps datasets, with higher PSNR and SSIM values.
- The model with SPAP achieves PSNR of 27.8 and SSIM of 0.86 on the Map ⇔ Aerial dataset, outperforming CycleGAN and approaching SCAN performance.
- Attention maps in SPAP reveal that coarse-level features focus on global context (e.g., background, hair), while fine-level features attend to local details (e.g., eyes, glasses), demonstrating effective scale-aware attention.
- The receptive field of the discriminator increases from 52 to 100 in SNDCGAN and to 236×236 in PatchGAN with SPAP, enhancing structural discrimination without adding depth or parameters.
- Despite being significantly smaller, SPAP achieves performance comparable to the more complex SCAN model, which uses stacked CycleGANs and progressive training.
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.