Abstract
Text-to-image (T2I) models often struggle with figurative language, metaphors, and abstract concepts, tending toward literal interpretations that miss the intended meaning. We present ViPE (Visualise Pretty-much Everything), a lightweight language model that translates abstract text into concrete visual elaborations. By leveraging symbolic knowledge distillation from large language models and a massive dataset of song lyrics, ViPE provides a bridge that allows T2I models to generate meaningful imagery for complex human expressions.
Introduction: The Literalism Problem in AI Art
State-of-the-art text-to-image models like DALL-E 2 and Stable Diffusion are highly capable of rendering literal descriptions (e.g., "a red car"). However, they fail significantly when presented with figurative language. For instance, the metaphor "Language is the dress of thought" might result in an image of a dress made of letters rather than a visual representation of the underlying concept. This gap exists because T2I models are primarily trained on literal alt-text datasets. ViPE addresses this by "unfolding" abstract text into detailed visual prompts that these models can understand.
Methodology: From Lyrics to Visual Symbols
The development of ViPE involved a three-stage pipeline designed to capture the nuance of human figurative expression:
- Mining Figurative Language: The researchers identified song lyrics as a rich repository of metaphors and idioms, scraping approximately 10 million lines of English lyrics from the Genius platform to create the LyricCanvas dataset.
- Symbolic Knowledge Distillation: A "Teacher" model (GPT-3.5) was used to generate synthetic visual descriptions for these lyrics. For example, a line about "money being dangerous" might be elaborated into "a dragon with evil eyes lying on a pile of shiny gold."
- Training the Student Model: Smaller, efficient models (GPT-2 Small and Medium) were fine-tuned on this synthetic dataset. This distillation process allows the lightweight "Student" model to perform complex visual reasoning similar to the much larger Teacher model.
A critical feature of ViPE is its context-awareness. By considering preceding lines in a text, the model ensures that the visual symbols it generates are consistent with the overall theme and "vibe" of the input.
Key Results and Evaluation
ViPE's performance was evaluated through both automated benchmarks and human studies:
- Human Preference: In a comparative study, images generated using ViPE prompts were preferred by humans 33.6% of the time. This performance nearly matched prompts written by human experts (38.7%) and significantly outperformed those generated by ChatGPT (27.7%).
- Figurative Understanding: On the Fig-QA benchmark, the ViPE-tuned model showed a superior understanding of metaphorical logic compared to standard GPT-2 models.
- Zero-Shot Versatility: While trained on lyrics, ViPE generalizes well to other domains such as tweets, quotes, and prose. It also helps mitigate "Joy bias"—the tendency of some LLMs to favor happy imagery—by accurately reflecting sad or angry prompts.
Discussion and Limitations
While ViPE represents a significant step forward, several challenges remain. The model's training data is primarily English-based, leading to a Western-centric view of metaphors. Additionally, as a distilled model, it can inherit social biases present in its parent LLMs. Finally, the visualization of abstract concepts is inherently subjective, making "ground truth" difficult to define.
Conclusion
ViPE demonstrates that task-specific distillation can enable small models to handle complex figurative reasoning. By acting as a translator between human poetic expression and the literal requirements of T2I models, ViPE opens new possibilities for creative AI applications, from automated music video generation to enhanced creative writing tools.
Summary updated