Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Generating Images with Multimodal Language Models

About

We propose a method to fuse frozen text-only large language models (LLMs) with pre-trained image encoder and decoder models, by mapping between their embedding spaces. Our model demonstrates a wide suite of multimodal capabilities: image retrieval, novel image generation, and multimodal dialogue. Ours is the first approach capable of conditioning on arbitrarily interleaved image and text inputs to generate coherent image (and text) outputs. To achieve strong performance on image generation, we propose an efficient mapping network to ground the LLM to an off-the-shelf text-to-image generation model. This mapping network translates hidden representations of text into the embedding space of the visual models, enabling us to leverage the strong text representations of the LLM for visual outputs. Our approach outperforms baseline generation models on tasks with longer and more complex language. In addition to novel image generation, our model is also capable of image retrieval from a prespecified dataset, and decides whether to retrieve or generate at inference time. This is done with a learnt decision module which conditions on the hidden representations of the LLM. Our model exhibits a wider range of capabilities compared to prior multimodal language models. It can process image-and-text inputs, and produce retrieved images, generated images, and generated text -- outperforming non-LLM based generation models across several text-to-image tasks that measure context dependence.

Jing Yu Koh, Daniel Fried, Ruslan Salakhutdinov• 2023

Related benchmarks

TaskDatasetResultRank
Multimodal UnderstandingSEED-Bench--
203
Text-to-Image GenerationMS-COCO 2014 (val)
FID12.2
128
Text-to-Image GenerationMS-COCO (val)
FID12.2
112
Visual Question AnsweringVQA v2 (val)
Accuracy31.78
99
Text-to-Image GenerationMS-COCO
FID12.2
75
Multimodal BenchmarkingMMBench
Score38.2
62
Image CaptioningCOCO 2017 (val)--
24
Text-to-Image In-Context LearningT2IFMIT Text-to-Image Fast Mini-ImageNet
Accuracy16
18
Text-to-Image GenerationCOCO 2014
FID12.2
15
Multimodal BenchmarkingMMMU
Accuracy28.8
15
Showing 10 of 20 rows

Other info

Code

Follow for update