Skip to main content
QUICK REVIEW

[Paper Review] Scaling Autoregressive Multi-Modal Models: Pretraining and Instruction Tuning

Lili Yu, Bowen Shi|arXiv (Cornell University)|Sep 5, 2023
Multimodal Machine Learning ApplicationsComputer Science27 citations
TL;DR

CM3Leon is a retrieval-augmented, token-based decoder-only multi-modal model that can generate and infill text and images, achieving state-of-the-art text-to-image results with much lower training compute and enhanced after instruction tuning.

ABSTRACT

We present CM3Leon (pronounced "Chameleon"), a retrieval-augmented, token-based, decoder-only multi-modal language model capable of generating and infilling both text and images. CM3Leon uses the CM3 multi-modal architecture but additionally shows the extreme benefits of scaling up and tuning on more diverse instruction-style data. It is the first multi-modal model trained with a recipe adapted from text-only language models, including a large-scale retrieval-augmented pre-training stage and a second multi-task supervised fine-tuning (SFT) stage. It is also a general-purpose model that can do both text-to-image and image-to-text generation, allowing us to introduce self-contained contrastive decoding methods that produce high-quality outputs. Extensive experiments demonstrate that this recipe is highly effective for multi-modal models. CM3Leon achieves state-of-the-art performance in text-to-image generation with 5x less training compute than comparable methods (zero-shot MS-COCO FID of 4.88). After SFT, CM3Leon can also demonstrate unprecedented levels of controllability in tasks ranging from language-guided image editing to image-controlled generation and segmentation.

Motivation & Objective

  • Demonstrate that autoregressive, token-based multi-modal models can match or exceed diffusion-based methods in image generation at reduced compute.
  • Show the benefits of a retrieval-augmented pretraining pipeline using licensed data (Shutterstock) for multi-modal tasks.
  • Evaluate the impact of multi-task supervised fine-tuning (instruction tuning) on performance across text, image, and mixed tasks.
  • Explore self-contained contrastive decoding to improve generation quality.
  • Establish CM3Leon as a versatile model capable of text-to-image and image-to-text generation with controllability after SFT.

Proposed method

  • Adapt the CM3 multi-modal architecture into a decoder-only, retrieval-augmented model (CM3Leon).
  • Pretrain with large-scale retrieval-augmented data from licensed Shutterstock images and text, using a dense CLIP-based retriever and MIPS for retrieval.
  • Incorporate a novel <break> token to transition between modalities and use a CM3-style objective for multi-modal infilling and generation.
  • Apply a second stage of multi-task supervised fine-tuning (SFT) for instruction-tuning across mixed image-text tasks.
  • Introduce a self-contained contrastive decoding method to improve text and image generation, including a variant of contrastive decoding (CD-K) and classifier-free guidance (CFG).
  • Evaluate decoding strategies (temperature, Top-P, CFG, CD-K) and perform retrieval-ablation studies to quantify impact on zero-shot MS-COCO FID and other tasks.

Experimental results

Research questions

  • RQ1Can autoregressive, token-based multi-modal models achieve competitive or superior text-to-image quality with retrieval augmentation and efficient training?
  • RQ2Does retrieval augmentation during pretraining improve zero-shot and few-shot generation performance across image and text tasks?
  • RQ3What is the impact of large-scale instruction tuning (SFT) on controllability and performance for mixed image-text tasks?
  • RQ4How do advanced decoding strategies (CFG, Top-P, CD-K) affect generation quality and diversity in multi-modal outputs?
  • RQ5What are the relative performances of CM3Leon variants across model sizes on standard benchmarks like zero-shot MS-COCO FID?

Key findings

  • CM3Leon-7B achieves a new state-of-the-art zero-shot MS-COCO FID of 4.88 using only 7B parameters and significantly less training compute than comparable methods.
  • Retrieval augmentation is key for efficient training and improves generation quality compared to non-retrieval baselines.
  • SFT (instruction tuning) enables unprecedented controllability for tasks including language-guided image editing, image-conditioned generation, and segmentation.
  • A self-contained contrastive decoding method (CD-K) provides competitive or complementary gains to CFG, enabling improved generation when combined with other decoders.
  • CM3Leon models (350M, 760M, 7B) show steady loss reduction and favorable scaling behavior, with CM3Leon-7B achieving strong performance across text-to-image and image-to-text tasks.
  • The model outperforms retrieval-augmented baselines like KNN-Diffusion and RE-IMAGEN on zero-shot MS-COCO FID.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.