News for hackers. Stuff that matters.
Re:DALL·E: Creating Images from Text by minimaxir on Tuesday January 05, 2021 @02:59PM (#25650236)
The way this model operates is the equivalent of machine learning shitposting.

Broke: Use a text encoder to feed text data to an image generator, like a GAN.

Woke: Use a text and image encoder as the same input to decode text and images as the same output

And yet, due to the magic of Transformers, it works.

From the technical description, this seems feasible to clone given a sufficiently robust dataset of images, although the scope of the demo output implies a much more robust dataset than the ones Microsoft has offered publicly.

Re:DALL·E: Creating Images from Text by thomasahle on Wednesday January 06, 2021 @09:59AM (#25658291)
It's actually a bit more complicated. Since DALL-E uses CLIP for training, and CLIP is itself trained using separate text and image encoders: https://openai.com/blog/clip/

At some point we'll have so many models based on so many other models it will longer longer be possible to tell which techniques are really involved.

Re:DALL·E: Creating Images from Text by danielpadkins on Thursday January 07, 2021 @07:50PM (#25679859)
This is an open problem! HuggingFace.co is trying to fix it, but I worry that they'll come short.
Re:DALL·E: Creating Images from Text by nabla9 on Tuesday January 05, 2021 @04:14PM (#25651151)
Shitposts are more creative. What I would like to see is more extrapolation and complex mixing:

"A photo of a iPhone from the stone age."

"Adolf Hitler pissing against the wind and enjoying it."

"Painting: Captain Jean-Luc Picard crossing of the Delaware River in a Porsche 911".

Re:DALL·E: Creating Images from Text by throwaway2245 on Tuesday January 05, 2021 @07:52PM (#25653472)
You're describing a Jim'll Paint It AI bot https://jimllpaintit.tumblr.com/
Re:DALL·E: Creating Images from Text by ricardobeat on Tuesday January 05, 2021 @09:41PM (#25654162)
You can get "a computer from the 1900s" in the examples in the post.
Re:DALL·E: Creating Images from Text by numpad0 on Tuesday January 05, 2021 @10:49PM (#25654486)
Repeatable, measurable, automated image meme shitposting is absolutely a destructive device though.
Re:DALL·E: Creating Images from Text by thunderbird120 on Tuesday January 05, 2021 @04:29PM (#25651367)
It's not really surprising given what we now know about autoregressive modeling with transformers. It's essentially a game of predict hidden information given visible information. As long as the relationship between the visible and hidden information is non-random you can train the model to understand an amazing amount about the world by literally just predicting the next token in a sequence given all the previous ones.

I'm curious if they do a backward pass here, would probably have value. They seem to describe sticking the text tokens first meaning that once you start generating image tokens all the text tokens are visible. That would have the model learning to generate an image with respect to a prompt but you could also literally just reverse the order of the sequence to have the model also learn to generate prompts with respect to the image. It's not clear if this is happening.

Re:DALL·E: Creating Images from Text by lukeplato on Tuesday January 05, 2021 @06:15PM (#25652592)
Is this kind of happening with the CLIP classifier [1] to rank the generated images?

> Similar to the rejection sampling used in VQVAE-2, we use CLIP to rerank the top 32 of 512 samples for each caption in all of the interactive visuals. This procedure can also be seen as a kind of language-guided search16, and can have a dramatic impact on sample quality.

> CLIP pre-trains an image encoder and a text encoder to predict which images were paired with which texts in our dataset. We then use this behavior to turn CLIP into a zero-shot classifier. We convert all of a dataset’s classes into captions such as “a photo of a dog” and predict the class of the caption CLIP estimates best pairs with a given image.

[1] https://openai.com/blog/clip/

Re:DALL·E: Creating Images from Text by minimaxir on Tuesday January 05, 2021 @04:54PM (#25651667)
That approach wouldn't work out of the box; it sees text for the first 256 tokens and images for the following 1024 tokens, and tries to predict the same. It likely would not have much to go on if you gave it the 1024 tokens for the image and then 256 for the text later since it doesn't have much of a basis.

A network optimizing for both use cases (e.g. the training set is half 256 + 1024, half 1024 + 256) would likely be worse than a model optimizing for one of the use cases, but then again models like T5 argue against it.

Re:DALL·E: Creating Images from Text by dfischer on Wednesday January 06, 2021 @12:15AM (#25654851)
Shows you where the role of a meme and a shit poster may exist in a cosmological technological hierarchy. Humans are just rendering notes replicating memes, man. /s in the dude voice from big Lebowski.