Abstract
This paper presents a novel two-stage Generative Adversarial Network (GAN) framework designed for text-guided person image manipulation. The task involves modifying a person's pose and clothing attributes based on natural language descriptions while preserving their identity. By decoupling pose inference from image synthesis and introducing an Attentional Upsampling (AU) module, the proposed model effectively bridges the gap between linguistic and visual modalities. Experimental results on the CUHK-PEDES dataset demonstrate that the framework outperforms existing baselines in both structural similarity and text-image alignment, as measured by a new Visual Question Answering (VQA) perceptual score.
Introduction
Generative AI has seen significant progress in text-to-image synthesis and pose transfer. However, manipulating specific attributes of a person in an image using natural language remains a complex challenge. This difficulty stems from three primary areas: the inherent ambiguity of natural language, the need to fuse multi-modal data (original image, target pose, and text), and the requirement to maintain the subject's identity during transformation. Existing methods often fail to map specific descriptors, such as color or garment type, to the correct spatial regions or struggle with maintaining coherent human anatomy during pose changes.
Methodology
The authors propose a two-stage pipeline to address these challenges by separating the generation of structure from the generation of appearance.
Stage I: Text Guided Pose Generator
Instead of attempting to synthesize a final image directly from text, the model first predicts a target "skeleton" or pose. This acts as a spatial anchor for the subsequent synthesis. The process involves:
- Orientation Selection: An LSTM encodes the text description to select one of eight basic pose clusters that best matches the described orientation.
- Refinement: A generator fine-tunes this base pose into a specific "fake pose" that captures the nuances of the text, such as the specific limb positions required for "walking."
Stage II: Pose and Attribute Transferred Image Generator
This stage synthesizes the final image using the source image, the predicted pose from Stage I, and the text prompt. The core innovation is the Attentional Upsampling (AU) Module. Standard upsampling often loses the connection between text and specific pixels. The AU module employs a text-to-visual attention mechanism, ensuring that as the model generates specific regions of the image, it "looks" at the relevant words in the description. This multi-scale approach allows the model to handle both large-scale features (like a shirt color) and small-scale details (like shoes) effectively.
Evaluation Metrics and Datasets
The model was trained and evaluated on the CUHK-PEDES dataset, which contains over 40,000 images of 13,003 individuals with detailed descriptions. To provide better guidance for Stage I, the authors augmented the dataset with orientation phrases based on pose clustering.
Beyond traditional metrics like Structural Similarity (SSIM) and Inception Score (IS), the authors introduced the VQA Perceptual Score. This metric uses a pre-trained Visual Question Answering model to ask questions about the generated image (e.g., "What color is the man's shirt?"). The accuracy of the VQA model's answers relative to the original text prompt serves as a measure of how well the synthesis followed the instructions.
Results and Discussion
The proposed framework achieved an SSIM of 0.364 and an Inception Score of 4.218, outperforming baselines in both pose and attribute transfer. In the VQA correctness test, the model scored 0.334, significantly higher than the next best baseline (0.275), proving its reliability in following complex text instructions.
Qualitative results (Figure 1) demonstrate that the model produces cleaner human structures with fewer anatomical artifacts and more accurate color mapping. A key insight from the research is that decoupling pose and appearance is essential; by predicting the pose first, the subsequent image synthesis becomes much more stable. Furthermore, the multi-scale features in the AU module help maintain the "identity" of the source image background while allowing foreground attributes to change according to the text.
Conclusion and Future Work
The research successfully demonstrates that a two-stage GAN with attentional upsampling can effectively manipulate person images via natural language. While the model handles orientation and color well, limitations remain regarding the ambiguity of complex verbs (e.g., "running" vs. "jogging") and potential identity leakage during extreme transformations. Future directions include extending the framework to video synthesis and incorporating finer control over clothing textures and fabric types.
Summary updated