[Paper Review] Making LLaMA SEE and Draw with SEED Tokenizer
SEED introduces a discrete image tokenizer with 1D causal tokens enabling LLMs to see and draw, leading to SEED-LLaMA—a multimodal LLM pretrained and instruction-tuned to handle interleaved visual and textual data via unified next-word prediction.
The great success of Large Language Models (LLMs) has expanded the potential of multimodality, contributing to the gradual evolution of General Artificial Intelligence (AGI). A true AGI agent should not only possess the capability to perform predefined multi-tasks but also exhibit emergent abilities in an open-world context. However, despite the considerable advancements made by recent multimodal LLMs, they still fall short in effectively unifying comprehension and generation tasks, let alone open-world emergent abilities. We contend that the key to overcoming the present impasse lies in enabling text and images to be represented and processed interchangeably within a unified autoregressive Transformer. To this end, we introduce SEED, an elaborate image tokenizer that empowers LLMs with the ability to SEE and Draw at the same time. We identify two crucial design principles: (1) Image tokens should be independent of 2D physical patch positions and instead be produced with a 1D causal dependency, exhibiting intrinsic interdependence that aligns with the left-to-right autoregressive prediction mechanism in LLMs. (2) Image tokens should capture high-level semantics consistent with the degree of semantic abstraction in words, and be optimized for both discriminativeness and reconstruction during the tokenizer training phase. With SEED tokens, LLM is able to perform scalable multimodal autoregression under its original training recipe, i.e., next-word prediction. SEED-LLaMA is therefore produced by large-scale pretraining and instruction tuning on the interleaved textual and visual data, demonstrating impressive performance on a broad range of multimodal comprehension and generation tasks. More importantly, SEED-LLaMA has exhibited compositional emergent abilities such as multi-turn in-context multimodal generation, acting like your AI assistant.
Motivation & Objective
- Motivate unified representation of text and images to enable interchangeable processing in a single autoregressive Transformer.
- Design a visual tokenizer whose tokens are 1D causal, high-level semantically aligned with words, and suitable for LLM training objectives.
- Enable scalable multimodal pretraining and instruction tuning by adding discrete image tokens to an existing LLM vocabulary.
- Demonstrate emergent multimodal abilities including multi-turn image-text generation and compositional image generation.
Proposed method
- Propose SEED, a VQ-based image tokenizer with ViT encoder, Causal Q-Former, VQ Codebook, MLP, and UNet decoder."
- Train Causal Q-Former to convert 2D ViT features into a 1D causal sequence of embeddings using contrastive learning with image-text captions.
- Discretize causal embeddings via a VQ codebook to produce 32 causal visual codes, then de-tokenize with an MLP to align with unCLIP-SD latent space for image generation.
- Pretrain SEED-LLaMA by performing multimodal pretraining on interleaved image-text, video-text, and image-text data using a unified next-word-prediction objective.
- Apply multimodal instruction tuning to align SEED-LLaMA with human instructions through supervised fine-tuning (LoRA-based then full fine-tuning).
- Evaluate on multimodal comprehension and generation tasks including image captioning, VQA, video QA, and text-to-image generation, with qualitative demonstrations of multi-turn in-context multimodal generation.

Experimental results
Research questions
- RQ1Can a 1D causal discrete image tokenizer align semantically with word tokens to enable a unified autoregressive multimodal model?
- RQ2Does SEED enable scalable multimodal pretraining and instruction tuning within the original next-word-prediction objective?
- RQ3What emergent multimodal abilities (e.g., multi-turn in-context generation, compositional image generation) can SEED-LLaMA exhibit?
- RQ4How does SEED perform on visual comprehension and generation benchmarks compared to existing multimodal LLM approaches?
Key findings
- SEED tokenizer produces discrete causal visual codes that yield competitive image-text retrieval performance and high-level semantic representations.
- Reconstruction of images from SEED tokens using a frozen SD-UNet preserves semantic consistency with the input images (CLIP-based similarity close to unCLIP-SD upper bound).
- SEED-LLaMA achieves competitive multimodal comprehension and generation results across image, video, and text tasks and demonstrates multi-turn in-context multimodal generation.
- Instruction tuning and larger model sizes improve performance on SEED-Bench and related benchmarks.
- SEED enables compositional zero-shot image generation, including stylized image generation, image blending, and multimodal composition, guided by instructions.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.