[Paper Review] Chameleon: Mixed-Modal Early-Fusion Foundation Models
Chameleon is a family of early-fusion, token-based multimodal models trained from scratch to handle interleaved sequences of images and text, achieving state-of-the-art vision-language results and strong text-only performance, with notable success in long-form mixed-modal generation.
We present Chameleon, a family of early-fusion token-based mixed-modal models capable of understanding and generating images and text in any arbitrary sequence. We outline a stable training approach from inception, an alignment recipe, and an architectural parameterization tailored for the early-fusion, token-based, mixed-modal setting. The models are evaluated on a comprehensive range of tasks, including visual question answering, image captioning, text generation, image generation, and long-form mixed modal generation. Chameleon demonstrates broad and general capabilities, including state-of-the-art performance in image captioning tasks, outperforms Llama-2 in text-only tasks while being competitive with models such as Mixtral 8x7B and Gemini-Pro, and performs non-trivial image generation, all in a single model. It also matches or exceeds the performance of much larger models, including Gemini Pro and GPT-4V, according to human judgments on a new long-form mixed-modal generation evaluation, where either the prompt or outputs contain mixed sequences of both images and text. Chameleon marks a significant step forward in a unified modeling of full multimodal documents.
Motivation & Objective
- Develop a unified, early-fusion multimodal model that can reason over and generate arbitrary interleaved sequences of images and text.
- Stabilize training and alignment for token-based mixed-modal learning at scale.
- Demonstrate state-of-the-art performance on vision-language tasks while remaining competitive on text-only benchmarks.
- Showcase capabilities in long-form mixed-modal generation and human-evaluated open-ended tasks.
Proposed method
- Represent images as discrete tokens via a new 512x512 image tokenizer producing 1024 tokens from a codebook of 8192.
- Train a uniform transformer from scratch on interleaved text, image, and code data at scale (approx. 10T tokens).
- Apply architectural innovations like query-key normalization (QK-Norm) and norm-reordering to stabilize training in the mixed-modal setting.
- Use a two-stage pre-training data mix with staged emphasis (first stage large unsupervised data, second stage higher-quality data) and z-loss regularization to control softmax logits.
- Fine-tune with supervised fine-tuning data (SFT) across categories (Text, Code, Visual Chat, Image Generation, Interleaved Generation, Safety) to align capabilities and safety.
- Develop a bespoke inference pipeline for streaming interleaved generation with modality-aware masking and token-level control.

Experimental results
Research questions
- RQ1Can a single, early-fusion token-based model jointly reason about and generate mixed sequences of images and text?
- RQ2What training and architectural adjustments are required to stabilize large-scale mixed-modal learning?
- RQ3How does a mixed-modal model compare to specialized multimodal or text-only models on vision-language tasks and long-form generation?
- RQ4What are the safety and alignment outcomes when scaling with supervised fine-tuning across diverse modalities?
Key findings
- Chameleon-34B achieves state-of-the-art performance on visual question answering and image captioning benchmarks.
- Chameleon matches or exceeds text-only benchmarks on commonsense reasoning and reading comprehension tasks, compared to Mixtral 8x7B and Gemini-Pro.
- In human evaluations of long-form mixed-modal generation, Chameleon-34B substantially outperforms Gemini-Pro and GPT-4V in preference rates (60.4% vs. Gemini-Pro and 51.6% vs. GPT-4V).
- Chameleon demonstrates non-trivial image generation within a single model and enables open multimodal document modeling.
- The model scales to 34B parameters with stable training strategies and achieves competitive performance with larger models on several benchmarks.

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.