Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

JetFormer: An Autoregressive Generative Model of Raw Images and Text

About

Removing modeling constraints and unifying architectures across domains has been a key driver of the recent progress in training large multimodal models. However, most of these models still rely on many separately trained components such as modality-specific encoders and decoders. In this work, we further streamline joint generative modeling of images and text. We propose an autoregressive decoder-only transformer - JetFormer - which is trained to directly maximize the likelihood of raw data, without relying on any separately pretrained components, and can understand and generate both text and images. Specifically, we leverage a normalizing flow model to obtain a soft-token image representation that is jointly trained with an autoregressive multimodal transformer. The normalizing flow model serves as both an image encoder for perception tasks and an image decoder for image generation tasks during inference. JetFormer achieves text-to-image generation quality competitive with recent VQ-VAE- and VAE-based baselines. These baselines rely on pretrained image autoencoders, which are trained with a complex mixture of losses, including perceptual ones. At the same time, JetFormer demonstrates robust image understanding capabilities. To the best of our knowledge, JetFormer is the first model that is capable of generating high-fidelity images and producing strong log-likelihood bounds.

Michael Tschannen, Andr\'e Susano Pinto, Alexander Kolesnikov• 2024

Related benchmarks

TaskDatasetResultRank
Class-conditional Image GenerationImageNet 256x256--
1021
Image GenerationImageNet 256x256--
606
Class-conditional Image GenerationImageNet 256x256 (val)--
535
Image GenerationImageNet 256x256 (val)
FID6.64
461
Image GenerationImageNet 256x256 (train)
FID6.64
247
Class-conditional Image GenerationImageNet 256x256 (train val)--
203
Class-conditional Image GenerationImageNet-1K 256x256 1.0 (train)--
60
Class-conditioned generationImageNet 256 × 256 (train test)
gFID6.64
41
Class-to-image generationImageNet 256x256
FID6.64
38
Showing 9 of 9 rows

Other info

Follow for update