Enhanced Multi-Scale Cross-Attention for Person Image Generation
Hao Tang, Ling Shao, Nicu Sebe, Luc Van Gool
TL;DR
This work tackles photorealistic person image generation conditioned on source imagery and target poses by introducing XingGAN and XingGAN++. The core idea is cross-attention between appearance and shape modalities, implemented through two collaborative branches (SA and AS) that progressively refine appearance and shape representations. XingGAN++ extends this with multi-scale cross-attention, enhanced attention to stabilize correlations, and densely connected co-attention fusion, achieving state-of-the-art GAN-based performance while remaining significantly faster than diffusion models. Extensive experiments on Market-1501 and DeepFashion demonstrate superior quality and robustness, with strong ablations validating each component's contribution and showing broad applicability to related multi-modal generation tasks.
Abstract
In this paper, we propose a novel cross-attention-based generative adversarial network (GAN) for the challenging person image generation task. Cross-attention is a novel and intuitive multi-modal fusion method in which an attention/correlation matrix is calculated between two feature maps of different modalities. Specifically, we propose the novel XingGAN (or CrossingGAN), which consists of two generation branches that capture the person's appearance and shape, respectively. Moreover, we propose two novel cross-attention blocks to effectively transfer and update the person's shape and appearance embeddings for mutual improvement. This has not been considered by any other existing GAN-based image generation work. To further learn the long-range correlations between different person poses at different scales and sub-regions, we propose two novel multi-scale cross-attention blocks. To tackle the issue of independent correlation computations within the cross-attention mechanism leading to noisy and ambiguous attention weights, which hinder performance improvements, we propose a module called enhanced attention (EA). Lastly, we introduce a novel densely connected co-attention module to fuse appearance and shape features at different stages effectively. Extensive experiments on two public datasets demonstrate that the proposed method outperforms current GAN-based methods and performs on par with diffusion-based methods. However, our method is significantly faster than diffusion-based methods in both training and inference.
