Skip to main content
QUICK REVIEW

[Paper Review] Discovering the Hidden Vocabulary of DALLE-2

Giannis Daras, Alexandros G. Dimakis|arXiv (Cornell University)|Jun 1, 2022
Digital Media Forensic DetectionComputer Science22 citations
TL;DR

The paper reveals a hidden vocabulary in DALLE-2 where gibberish text prompts can produce semantically meaningful images, and presents a black-box method to discover such words and their visual concepts.

ABSTRACT

We discover that DALLE-2 seems to have a hidden vocabulary that can be used to generate images with absurd prompts. For example, it seems that exttt{Apoploe vesrreaitais} means birds and exttt{Contarra ccetnxniams luryca tanniounons} (sometimes) means bugs or pests. We find that these prompts are often consistent in isolation but also sometimes in combinations. We present our black-box method to discover words that seem random but have some correspondence to visual concepts. This creates important security and interpretability challenges.

Motivation & Objective

  • Motivate and investigate whether DALLE-2 develops internal mappings between gibberish text and visual concepts.
  • Showcase a simple black-box approach to discover words that appear random but correlate with visual concepts.
  • Assess the compositionality and style-transfer properties of discovered vocabulary.
  • Discuss security and interpretability challenges arising from these findings.

Proposed method

  • Query DALLE-2 via the API with prompts designed to elicit gibberish text on generated images.
  • Parse the on-image text and reuse it as prompts to map gibberish terms to visual concepts.
  • Experiment with combining identified words to test compositionality (e.g., birds eating bugs).
  • Test style-transfer consistency to see if discovered words correspond to persistent visual concepts across styles.
  • Provide qualitative observations on the robustness and limitations of the discovered vocabulary.

Experimental results

Research questions

  • RQ1Do gibberish prompts produced by DALLE-2 correspond to recognizable visual concepts?
  • RQ2Can we identify specific gibberish terms that consistently map to visual categories across prompts?
  • RQ3Is the mapping compositional, allowing combinations of discovered words to produce coherent scenes?
  • RQ4How stable are these mappings across different styles and prompts?
  • RQ5What are the security and interpretability implications of a hidden vocabulary in DALLE-2?

Key findings

  • Gibberish prompts often correlate with visual concepts such as birds or insects.
  • Discovered words can sometimes be composed to depict meaningful scenes (e.g., birds eating bugs).
  • The same gibberish terms can yield consistent concepts across different styles, though not universally.
  • Some prompts produce text that aligns with the intended caption, suggesting partial consistency between text conditioning and generated imagery.
  • The findings raise security and interpretability concerns, including potential backdoor adversarial prompts and robustness limits.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.