Reproduce “Transfusion: Predict the Next Token and Diffuse Images with One Multi-Modal Model” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Chunting Zhou, Lili Yu, Arun Babu, Kushal Tirumala, Michihiro Yasunaga, Leonid Shamis, Jacob Kahn, Xuezhe Ma and 2 more
Transfusion introduces a unified AI model capable of both text generation and high-quality image synthesis by directly processing continuous image representations alongside text tokens. The framework eliminates the information loss associated with quantizing continuous data, outperforming quantization-based multi-modal models in scaling efficiency and achieving image quality comparable to specialized diffusion models like DALL-E 2 and Stable Diffusion XL.
Key insights
- Avoiding quantization for continuous data (images) within a unified model preserves information and leads to higher quality image generation.
- A single transformer architecture can effectively process both discrete text tokens (with causal attention) and continuous image patches (with bidirectional attention for images) by employing a combined loss function.
- U-Net components, when integrated around the transformer, and bidirectional attention within image regions are crucial for achieving high-quality image generation performance.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.