Saved in:
Bibliographic Details
Main Authors: Zhou, Chunting, Yu, Lili, Babu, Arun, Tirumala, Kushal, Yasunaga, Michihiro, Shamis, Leonid, Kahn, Jacob, Ma, Xuezhe, Zettlemoyer, Luke, Levy, Omer
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2408.11039
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916363243618304
author Zhou, Chunting
Yu, Lili
Babu, Arun
Tirumala, Kushal
Yasunaga, Michihiro
Shamis, Leonid
Kahn, Jacob
Ma, Xuezhe
Zettlemoyer, Luke
Levy, Omer
author_facet Zhou, Chunting
Yu, Lili
Babu, Arun
Tirumala, Kushal
Yasunaga, Michihiro
Shamis, Leonid
Kahn, Jacob
Ma, Xuezhe
Zettlemoyer, Luke
Levy, Omer
contents We introduce Transfusion, a recipe for training a multi-modal model over discrete and continuous data. Transfusion combines the language modeling loss function (next token prediction) with diffusion to train a single transformer over mixed-modality sequences. We pretrain multiple Transfusion models up to 7B parameters from scratch on a mixture of text and image data, establishing scaling laws with respect to a variety of uni- and cross-modal benchmarks. Our experiments show that Transfusion scales significantly better than quantizing images and training a language model over discrete image tokens. By introducing modality-specific encoding and decoding layers, we can further improve the performance of Transfusion models, and even compress each image to just 16 patches. We further demonstrate that scaling our Transfusion recipe to 7B parameters and 2T multi-modal tokens produces a model that can generate images and text on a par with similar scale diffusion models and language models, reaping the benefits of both worlds.
format Preprint
id arxiv_https___arxiv_org_abs_2408_11039
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Transfusion: Predict the Next Token and Diffuse Images with One Multi-Modal Model
Zhou, Chunting
Yu, Lili
Babu, Arun
Tirumala, Kushal
Yasunaga, Michihiro
Shamis, Leonid
Kahn, Jacob
Ma, Xuezhe
Zettlemoyer, Luke
Levy, Omer
Artificial Intelligence
Computer Vision and Pattern Recognition
We introduce Transfusion, a recipe for training a multi-modal model over discrete and continuous data. Transfusion combines the language modeling loss function (next token prediction) with diffusion to train a single transformer over mixed-modality sequences. We pretrain multiple Transfusion models up to 7B parameters from scratch on a mixture of text and image data, establishing scaling laws with respect to a variety of uni- and cross-modal benchmarks. Our experiments show that Transfusion scales significantly better than quantizing images and training a language model over discrete image tokens. By introducing modality-specific encoding and decoding layers, we can further improve the performance of Transfusion models, and even compress each image to just 16 patches. We further demonstrate that scaling our Transfusion recipe to 7B parameters and 2T multi-modal tokens produces a model that can generate images and text on a par with similar scale diffusion models and language models, reaping the benefits of both worlds.
title Transfusion: Predict the Next Token and Diffuse Images with One Multi-Modal Model
topic Artificial Intelligence
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2408.11039