DALL-E mini output for the prompt 'A room without an elephant' - nine generated rooms, most with an elephant in them

Playing with DALL·E mini

·2 min readdall-eimagenopenai

DALL·E 2 is a multimodal AI system that generates images from text. OpenAI announced the model in April 2022. OpenAI is known for GPT-3, an autoregressive language model with 175 billion parameters. DALL·E 2 uses a smaller version of GPT-3. Read more herehere, and here (the last one also slightly discusses Google's image).

While the results look impressive at first sight, there are some caveats and limitations, including word order and compositionality issues, e.g., "A yellow book and a red vase" from "A red book and a yellow vase" are indistinguishable. Moreover, as one can see in the "A yellow book and a red vase" example below the images or more of the same, another drawback is that the system cannot handle negation, e.g., "A room without an elephant" will create, well, see below. Read more here.

Since I don't have access to DALL·E 2, I used DALL·E mini via Hugging Face for all the examples in this post. However, the two models experience the same issues.

DALL-E mini results for 'A yellow book and a red vase'
A yellow book and a red vase
DALL-E mini results for 'A room without an elephant' - rooms with elephants
A room without an elephant

The model might have biases for example check all those software developers who write code, all men (also note that the face are very blurry in contrast to other surfaces in the images) -

DALL-E mini results for 'software developer writing code' - all men
software developer writing code
DALL-E mini results for 'A CTO giving a talk'
A CTO giving a talk

I decided to troll that a bit to find more limitations or point-out blind spots. Check out the following examples -

DALL-E mini results for 'Object Oriented Programming'
Object Oriented Programming
DALL-E mini results for 'OOP'
OOP
DALL-E mini results for 'Object Disoriented Programming'
Object Disoriented Programming
DALL-E mini results for 'Exploratory Data Analysis'
Exploratory Data Analysis
DALL-E mini results for 'EDA'
EDA

The examples above demonstrate that model does not handle abbreviations well. I can think of several reasons for that, but that emphasizes the need to use precise wording and might need to try several times to get the desired result.

Trying negation again (in this case, the abbreviation worked okish) -

DALL-E mini results for 'SQL'
SQL
DALL-E mini results for 'NoSQL'
NoSQL
DALL-E mini results for 'Structured Query Language'
Structured Query Language

Which of course reminds all of us of this one -

Classic meme about SQL and NoSQL databases

And a few more -

DALL-E mini results for 'SOLID principles'
SOLID principles
DALL-E mini results for 'Clean Code'
Clean Code
DALL-E mini results for 'Computer Vision'
Computer Vision

To conclude, I cannot see a straightforward production-grade usage of this model (and it is anyhow not publically available yet) but maybe one use it for brainstorming and ideation. For me it feels like NLP in the days of TF-IDF there is yet a lot to come. Going forward I would love to have some more tunning possibilities like a color scheme or control the similarity between different results (mainly allow more diversity rather than more of the same).