Loading video...

Video Failed to Load

Go Home

✨New preprint: Dual-Process Image Generation! We distill *feedback from a VLM* into *feed-forward image generation*, at inference time. The result is flexible control: parameterize tasks as multimodal inputs, visually inspect the images with the VLM, and update the generator.🧵

133,637 views • 1 year ago •via X (Twitter)

29 Comments

Grace Luo's profile picture
Grace Luo1 year ago

(2/n) Our method re-uses the visual instruction tuning loss originally used to train the VLM, to instead optimize the weights of the image generator.

Grace Luo's profile picture
Grace Luo1 year ago

(3/n) You can get pretty creative, because VLMs afford a flexible interface. We play around with implementing spatial controls via *visual prompting*, where we overlay the control over the image and ask the VLM if they match, then optimize for an image that matches the control.

Grace Luo's profile picture
Grace Luo1 year ago

(4/n) Check out our paper + code! Our codebase lets you mix-and-match different off-the-shelf image generators and VLMs, and can run on Nvidia RTX 4090s. Page: Paper: Code:

Grace Luo's profile picture
Grace Luo1 year ago

(5/n) Research is non-linear! We started this project more than a year ago – first by training a diffusion captioner (a VLM that encodes images with diffusion hyperfeatures). We’re not working on that direction anymore, but here’s a peek at that first prototype:

Grace Luo's profile picture
Grace Luo1 year ago

(6/n) Special thanks to my co-authors @jongranskog, @holynski_, @trevordarrell! This was a great academic collaboration with @runwayml, especially @agermanidis, who was super supportive of our very experimental ideas throughout the entire process.

Cristóbal Valenzuela's profile picture
Cristóbal Valenzuela1 year ago

congrats, really great work

Lucas Beyer (bl16)'s profile picture
Lucas Beyer (bl16)1 year ago

Nice!

George Kopanas's profile picture
George Kopanas1 year ago

Cool work! Did you try to optimize the prior noise sample instead of the generator?

Grace Luo's profile picture
Grace Luo1 year ago

Yes! Check out the paper to see a controlled comparison of the efficiency of the two settings -- you can either update the noise or the weights with the same gradient. One cool thing about weight optimization, unlike noise optimization, is that it generalizes!

George Kopanas's profile picture
George Kopanas1 year ago

Love it!

AVB's profile picture
AVB1 year ago

This is very cool! Kinda reminded me a bit of CycleGANs with all the latent-space self-consistency training.

ritwik's profile picture
ritwik1 year ago

@ariG23498 check this out

Muyu He's profile picture
Muyu He1 year ago

Thanks for using CommonsenseT2I! Interested in how sensitive the gradient is to how the VQA questions are phrased

Grace Luo's profile picture
Grace Luo1 year ago

Thanks for releasing CommonsenseT2I; it's a great benchmark! You might be interested in Table 4 of the Appendix (which compares auto-generated vs. 'ground-truth' VQA questions). We didn't study phrasing, but that's a good idea!

Hila Chefer's profile picture
Hila Chefer1 year ago

Congrats @graceluo_ 🫶 Super cool work as usual 😉

Daniel's profile picture
Daniel1 year ago

Very cool work

Jordan Reynolds's profile picture
Jordan Reynolds1 year ago

Incredible that the backprop at inference time is so smooth - it’s escaping local minima surprisingly quickly. Very nice work

GDP's profile picture
GDP1 year ago

Very interesting trick. I am glad it even works, opens so many possibilities. Quote 1: "We primarily word questions such that they have a clear Yes or No answer, and append “Answer with Yes or No.” to the question. We find this yields interpretable probabilities for the extent to which the control was satisfied, simply by exponentiating the VQA loss.... " Quote 2: "Most importantly, we still compute gradients through the VLM, which gives a denser signal than reinforcement learning." Quote3: how they compute loss

Sayak Paul's profile picture
Sayak Paul1 year ago

Cool work!

Yunxin Li's profile picture
Yunxin Li1 year ago

nice work!!

Amil Dravid's profile picture
Amil Dravid1 year ago

Congrats! The results are very compelling!

Lisa Dunlap's profile picture
Lisa Dunlap1 year ago

Amazing work! The results are so fun to look through

liu grey's profile picture
liu grey1 year ago

Very cool! ..I've had a feeling that openai's new image gen worked a little like this actually, what do you think?

Grace Luo's profile picture
Grace Luo1 year ago

I actually don’t think this is how they do it, but maybe it’ll be in the next version 😉

ITs4u's profile picture
ITs4u1 year ago

Implicit feedback no prompting brilliant applicable across AI model to model sharing latent / conceptual information with no intermediary.

Nick Jiang's profile picture
Nick Jiang1 year ago

Cool results!

Araz's profile picture
Araz1 year ago

Hi there! Your work on dual-process image generation is fascinating. It reminded me of our recent paper, " Learning Flow Fields in Attention for Controllable Person Image Generation,"The link is:

MangoMagic™️'s profile picture
MangoMagic™️1 year ago

AI artistry just leveled up. Bravo!

Jitendra Kumar Sharma's profile picture
Jitendra Kumar Sharma1 year ago

@yyujjinii 😆😆🤗🤗

Related Videos

We've officially released and open-sourced HunyuanImage 2.1, our latest text-to-image model. The new model delivers on our commitment to balancing performance and quality. With native 2K image generation, HunyuanImage 2.1 is an advanced open-source text-to-image model.🎨 ✨ New in 2.1: 🔹Advanced Semantics: Supports ultra-long and complex prompts of up to 1000 tokens, and precisely controls the generation of multiple subjects in a single image. 🔹Precise Chinese and English Text Rendering with seamless image–text integration: The model naturally integrates text into images, making it suitable for a wide range of applications such as product covers, illustrations, and poster design to meet the needs of various fields. 🔹Rich Styles and High Aesthetic: Capable of generating images in various styles—including photorealistic portraits, comics, and vinyl figures—it delivers outstanding visual appeal and artistic quality. 🔹High-Quality Generation: Efficiently produces ultra-high-definition (2K) images in the same time other models take to generate a 1K image. HunyuanImage 2.1 uses two text encoders: a multimodal large language model (MLLM) to improve the model's image and text alignment capabilities, and a multi-language character-aware encoder to improve text rendering capabilities. The model is a single- and double-stream diffusion transformer with 17B parameters. We've also open-sourced the weights of the the accelerated version with meanflow which reduces inference steps from 100 to just 8, and PromptEnhancer, the first industrial-grade rewriting model that enhances your prompts for more nuanced and expressive image generation. Now, creators turn complex ideas—like posters with slogans or multi-panel comics—into visuals faster than ever. We’re just getting started. Stay tuned for our native multimodal image generation model coming soon. 🌐Website: 🔗Github: 🤗Hugging Face: ✨Hugging Face Demo:

Tencent Hy

89,430 views • 1 year ago