DL0137 Early vs Late Fusion Multimodal

Compare Early Fusion vs. Late Fusion in multimodal models. What are the scaling limitations of early fusion architectures when scaling parameters past 100B?

Answer

The two designs differ in where the modalities meet. Late fusion (the modular VLM recipe behind BLIP-2, LLaVA, and Qwen2-VL) keeps a separately pretrained vision encoder, compresses its output through a small connector (an MLP projector, a Q-Former, or gated cross-attention), and feeds the resulting soft tokens into a pretrained text LLM, so nearly all capacity is inherited and only the connector plus a light fine-tune is trained. Early fusion (native multimodal, as in Fuyu-8B, Chameleon, and Llama 4) discretizes or linearly projects raw patches into the same token stream as text and runs one shared transformer from layer 0, so every layer attends across modalities and the model can emit image tokens as well as text. Early fusion is representationally stronger and, per recent scaling-law work, not worse per FLOP, so its problems past 100B parameters are systems and data problems rather than a representational ceiling. You cannot reuse a trained text-only 100B checkpoint, a Chinchilla-scale run now wants roughly 2T interleaved tokens that do not exist at text quality, the shared dense weights must be split between modalities, and every image inflates the sequence that attention pays O(T^2) for.

(1) Meeting Point Defines The Family: late fusion joins modalities after a frozen encoder has already compressed the image; early fusion joins them at the token level, before any transformer layer.
(2) Checkpoint Reuse Is The Real Asymmetry: late fusion amortizes the trillions of text tokens already spent on the LLM, while a native 100B model pays that bill again on scarcer interleaved data.
(3) Modality Competition In Shared Weights: a dense early-fusion stack allocates the same parameters to pixels and text, so raising the image-token fraction r costs text-benchmark quality and turns r into a hyperparameter you cannot sweep cheaply at 100B.
(4) Token Budget Dominates The Context: one 512px image is about 1024 VQ tokens, so a four-image document spends 4096 tokens on pixels and quadratic attention absorbs the difference.
(5) Optimization Instability Grows With Width: heterogeneous token statistics drive logit growth and loss spikes, which is why Chameleon needed QK-Norm, reordered normalization, and dropout to keep a 34B run stable.
(6) Modularity Versus Capability: late fusion lets you swap the encoder or raise resolution for the price of a connector re-train, while early fusion buys interleaved any-to-any generation that a frozen tower cannot express.

Two-panel architecture diagram: the left panel shows late fusion where an image passes through a frozen ViT encoder and a trainable projector before entering a pretrained 100B LLM alongside text tokens; the right panel shows early fusion where image patches and text are tokenized into a single interleaved stream that a shared transformer trained from scratch consumes

Figure 1: Late fusion (left) is an assembly of pretrained parts, so the trainable surface is a projector of roughly 0.02B parameters and the alignment budget is on the order of 1B image-text tokens. Early fusion (right) is one homogeneous stack from random init, which is simpler to shard but means the whole 100B must be pretrained on interleaved data.

The scaling wall past 100B is mostly arithmetic. A dense 100B model trained compute-optimally wants about 2T tokens and roughly 1.2 \times 10^{24} FLOPs, and in native early fusion those tokens must be interleaved image-text documents; the supply of such data at web-text quality is far smaller than the text corpus, so teams either repeat data or dilute the text share and watch reasoning benchmarks regress. Late fusion sidesteps this entirely because the expensive part is already paid: aligning a connector on a couple of billion tokens with a frozen backbone is three orders of magnitude cheaper than a from-scratch native run at the same parameter count. On top of the data problem, dense early fusion suffers capacity contention, since gradients from visual reconstruction and from language modeling compete for the same MLP weights, and sparsity is the standard fix: a mixture-of-experts stack with modality-aware routing gives each modality its own parameters while keeping active FLOPs fixed, which is why recent native models are almost always sparse. Early fusion does win on the systems side (no separate vision tower to shard, no encoder-LLM pipeline bubble, and a single tokenizer path), and it is the only option when the target task requires interleaved generation or genuinely fine-grained grounding that a pooled 576-token projection has already destroyed.

Mathematical Formulation:
h_v = W_p\, E_v(I)
y = \mathrm{LLM}_{\phi}([\,h_v;\, E_t(x)\,])
y = T_{\theta}([\,z_1, z_2, \ldots, z_T\,])
C \approx 6ND
D \approx 20N
N = 10^{11} \Rightarrow C \approx 1.2 \times 10^{24}
T = N_{img} + N_{txt}
C_{attn} = \Theta(L\, T^{2}\, d)
D_{txt} = (1 - r)\, D

Where:

  • y is the generated output; the first two equations are the late-fusion path and the third is the early-fusion path, where a single stack T_{\theta} consumes the whole interleaved sequence.
  • I is the image and x the text; E_v is the pretrained vision encoder, E_t the text embedding, and W_p the connector, typically the only trained matrix during alignment.
  • z_t for t \in \{1,\ldots,T\} are the interleaved tokens, either VQ image codes or linear patch projections placed in the same sequence as text tokens.
  • N is the parameter count, D the training tokens, and C the training FLOPs; D \approx 20N is the Chinchilla compute-optimal ratio, which for N = 10^{11} demands about 2T tokens.
  • L is the layer count and d the model width, so C_{attn} shows that image tokens entering the shared stack are charged quadratically, not linearly.
  • r \in [0,1] is the image-token fraction of the pretraining mixture, so D_{txt} is the surviving text budget; at fixed C, every point of r is taken directly out of language modeling.
Two-panel chart: left panel is a log-log plot of training FLOPs versus parameter count comparing native early fusion trained from scratch at 120 N squared against late-fusion connector alignment at four N times two billion tokens, with the gap at one hundred billion parameters annotated; right panel is a log-scale bar chart of image tokens per image for pooled projectors, SigLIP 384, Chameleon VQ, Qwen2-VL dynamic resolution, and native 1024 pixel patches

Figure 2: Left: from-scratch native training scales as 120N^{2} under the compute-optimal token rule, while connector alignment scales linearly in N, so the gap at 100B is roughly three orders of magnitude. Right: the number of tokens an image consumes spans about an order of magnitude across tokenizers, and in early fusion every one of those tokens enters the shared quadratic attention rather than being pooled away first.

PropertyEarly fusion (native)Late fusion (modular)
Fusion pointToken level, before layer 1; all layers are cross-modalAfter a pretrained encoder, via a projector or cross-attention
Trainable surfaceEvery parameter, from random initConnector plus optional LLM fine-tune; encoder often frozen
Data requirement at 100BAbout 2T interleaved tokens, a corpus that barely exists at text qualityOrder 1B to 10B image-text pairs plus instruction data
Dominant failure modeModality competition for dense capacity, text regression, loss spikesInformation already discarded by the frozen encoder (OCR, small objects, counting)
Upgrade pathResolution or tokenizer changes touch the pretraining recipeSwap the encoder or the LLM and re-align the connector
Generation abilityInterleaved any-to-any output, since image tokens are in the vocabularyText out only, unless a separate image decoder is bolted on
Representative systemsFuyu-8B, Chameleon, Transfusion, Llama 4Flamingo, BLIP-2, LLaVA-1.5, Qwen2-VL, InternVL

Login to view more content


Log in to track your progress

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *