ViPE: Visualise Pretty-much Everything

Hassan Shahmohammadi, Adhiraj Ghosh, Hendrik P. A. Lensch · DOI

Introduction

Text-to-image (T2I) models like Stable Diffusion and DALL-E 2 have revolutionized digital art, yet they remain stubbornly literal. While they excel at rendering concrete objects, they often fail to grasp the nuance of figurative language. A request to "break the ice" typically results in a literal pickaxe and frozen water, missing the social context entirely. This "literal bias" stems from training on datasets dominated by descriptive alt-text.

ViPE (Visualise Pretty-much Everything) addresses this gap by acting as a lightweight language model translator. It "unfolds" abstract metaphors and idioms into detailed, concrete visual descriptions—termed "visual elaborations"—that T2I models can successfully interpret.

ViPE translates abstract concepts into descriptive prompts that text-to-image models can effectively render.

Methodology: Symbolic Knowledge Distillation

The researchers employed a three-stage pipeline to build ViPE:

  1. Data Acquisition: They scraped 10 million lines of song lyrics from Genius, leveraging the high density of metaphors and emotional subtext inherent in music.
  2. Synthetic Labeling: Using GPT-3.5 as a "teacher," they generated visual elaborations for these lyrics. By providing surrounding lines as context, the model could disambiguate meanings (e.g., distinguishing a "cold heart" as an emotion versus a physical state).
  3. Knowledge Distillation: Two smaller models, GPT2-Small (117M) and GPT2-Medium (345M), were fine-tuned on this synthetic dataset. These "student" models, collectively called ViPE, learned to perform visual unfolding at a fraction of the computational cost of their teacher.

Key Insights and Results

ViPE demonstrates that specialized, small-scale models can outperform massive general-purpose models in niche tasks. On the Fig-QA benchmark, ViPE-Small achieved a score of 66.40, surpassing the standard GPT-2. In human evaluations, ViPE-generated prompts were preferred 33.61% of the time, outperforming ChatGPT (27.72%) and nearing the performance of human experts (38.67%).

ViPE converts abstract metaphors and concepts like 'Ambiguity' into concrete, depictable scenes.

Beyond static images, ViPE has shown utility in generating music videos by creating a cohesive visual narrative that follows a song's emotional arc. It also exhibits superior "emotion accuracy," distinguishing between subtle emotional states like joy and surprise more effectively than larger models.

Limitations and Future Directions

Despite its success, ViPE inherits biases from its GPT-2 backbone and is currently limited by the cultural specificity of its English-centric training data. Future work aims to expand its cultural reach and explore applications in creative writing assistance and text-to-video synthesis. By bridging the gap between human abstraction and machine literalism, ViPE paves the way for more expressive and emotionally resonant AI-generated content.

Summary updated

BibTeX
@inproceedings{shahmohammadi2023vipe,
  author = {Hassan Shahmohammadi and Adhiraj Ghosh and Hendrik P. A. Lensch},
  title = {{ViPE: Visualise Pretty-much Everything}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-main.333},
}
Figure