๐ค AI Summary
This work addresses zero-shot poetry-to-image generation, tackling the challenge of dynamically customizing visual outputs according to usersโ subjective poetic interpretations. We propose Weighted Prompt Manipulation (WPM), the first method to introduce this technique into poetry visualization: it enables fine-grained, tuning-free prompt editing by modulating cross-modal attention weights and semantic intensity of text embeddings within diffusion models. Integrating large language models (e.g., GPT) for semantic parsing with diffusion models for generative synthesis, WPM supports real-time user control over imagery, artistic style, and emotional toneโwhile preserving the zero-shot setting. Extensive evaluation across multiple poetry benchmarks demonstrates significant improvements in image semantic richness, contextual coherence, and interpretability. Our approach establishes a novel, interactive, and personalized paradigm for visualizing poetic meaning.
๐ Abstract
Poetry is an expressive form of art that invites multiple interpretations, as readers often bring their own emotions, experiences, and cultural backgrounds into their understanding of a poem. Recognizing this, we aim to generate images for poems and improve these images in a zero-shot setting, enabling audiences to modify images as per their requirements. To achieve this, we introduce a novel Weighted Prompt Manipulation (WPM) technique, which systematically modifies attention weights and text embeddings within diffusion models. By dynamically adjusting the importance of specific words, WPM enhances or suppresses their influence in the final generated image, leading to semantically richer and more contextually accurate visualizations. Our approach exploits diffusion models and large language models (LLMs) such as GPT in conjunction with existing poetry datasets, ensuring a comprehensive and structured methodology for improved image generation in the literary domain. To the best of our knowledge, this is the first attempt at integrating weighted prompt manipulation for enhancing imagery in poetic language.