Why connecting is not enough
Suppose you already own two excellent models. One is a vision encoder, such as SigLIP, that turns an image into a grid of feature vectors. The other is a language model that writes fluent text. Why can't you plug the first into the second and get a vision-language model?
Try it and see what happens. Take the encoder's output vectors. Add a small linear layer so that each vector has the width the language model expects. Put those vectors in front of a question, such as "What is written on the sign?", and let the language model answer.
The answer will be fluent and wrong. The language model will ignore the image, or treat it as noise, or describe something that is not there. Nothing is broken. The shapes match and every operation runs. But the language model has never seen these vectors before. To it they are not words, and they do not mean "a red sign that says OPEN".
This article explains what it takes to close that gap. It is the vision-language counterpart of How LLMs Are Pretrained. The emphasis is on the training recipe. The architecture is covered in The VLM Architecture Gallery, and how pixels become visual tokens is covered in Inside a Modern Vision Encoder. Here we ask a different set of questions:
- What does it mean for an image vector to become a token the language model understands?
- Which parts of the model should be trained, and in what order?
- What data teaches the connection, and in what proportions?
- How does image resolution change the cost and the data mix?
- Which loss functions provide the learning signal, and does the vision encoder need one of its own?
We start before vision-language models existed, with the older idea of learning vision from language. That history explains why today's vision encoders are good starting points, and why they are still not enough on their own.
Learning vision from language
For most of the 2010s, vision models learned from labels. A model looked at an image and predicted one class out of a fixed list, such as the 1,000 ImageNet classes. This works, but each label carries very little information. The label "dog" says nothing about the dog's color, what it is doing, or what else is in the picture. The model also cannot recognize anything outside the list.
A caption carries far more. "A brown dog catching a frisbee on a beach at sunset" names objects, an action, a place and a time of day. The web contains billions of images that come with some text attached. The question was how to learn from that text when it is noisy and free-form.
Contrastive learning: match images to their captions
CLIP gave the answer that stuck. It trains two encoders side by side. An image encoder maps each image to a vector. A text encoder maps each caption to a vector of the same size. Training uses a batch of B image-caption pairs. The model should place each image close to its own caption and far from the other B − 1 captions in the batch.
Let ui be the normalized image vector and vj the normalized text vector. Their similarity is the dot product sij = 〈ui, vj〉. For image i, treat the batch as a classification problem with B choices, where the right choice is caption i. That gives a softmax over each row of the similarity matrix. CLIP does the same over each column, so every caption also picks out its image:
CLIP trained this objective on 400 million image-text pairs collected from the web. ALIGN showed that the same idea tolerates much noisier data if there is more of it. It used about 1.8 billion alt-text pairs with only light filtering. The resulting image encoders transferred well to many tasks without task-specific training. They are also the direct ancestors of the encoders inside most VLMs today.
The sigmoid loss: score each pair on its own
The softmax couples every pair in the batch. To compute the loss for one image, you need its similarity to every caption. That makes the batch a single unit that must be gathered across all devices. SigLIP replaced the softmax with an independent yes-or-no decision for every cell of the matrix. The diagonal cells are positives. Every other cell is a negative.
Two practical consequences follow. First, the loss decomposes, so it can be computed chunk by chunk without gathering the whole matrix. Second, the paper reports that the sigmoid loss does better than the softmax loss at small batch sizes, and that the benefit of growing the batch fades quickly, with 32k being enough. SigLIP and its successor SigLIP 2 are now the default vision encoders in many open VLMs. Inside a Modern Vision Encoder compares these objectives in more depth.
Generative pretraining: describe the image
Contrastive learning produces an encoder that can tell which caption fits. It does not produce a model that can write a caption. A second line of work trained models to generate text from images directly.
- SimVLM trained a single model with a prefix language-modeling loss. The image and the start of the text form the prefix. The model predicts the rest of the text.
- CoCa combined both losses in one model. A contrastive loss aligns pooled image and text vectors. A captioning loss trains a text decoder that attends to the image features.
- PaLI scaled generative training. It paired a 4-billion-parameter ViT with an mT5 encoder-decoder, about 17 billion parameters in total. It trained on WebLI, a dataset of about 10 billion images with alt-text in 109 languages.
- CapPa showed that a plain captioning objective can pretrain a vision encoder about as well as a contrastive one. AIMv2 later pretrained vision encoders with an autoregressive decoder that predicts both image patches and caption tokens.
It helps to separate two goals that this history mixes together. Representation learning asks for an encoder whose features are useful for many tasks. CLIP and SigLIP are representation learners. Generative multimodal modeling asks for a model that produces language conditioned on an image. A VLM is a generative model. It usually inherits a representation learner as its vision encoder, then has to learn the generative part.
The gap between the two models
Now return to the thought experiment and write it down precisely. An image I goes through the vision encoder fv and produces N feature vectors of width dv:
The language model normally receives a matrix E ∈ ℝn × dLLM, one row per text token, taken from its embedding table. The connector g turns the image features into rows of the same width. After that, the image rows and the text rows are simply concatenated into one sequence.
Matching dimensions is not matching meaning
A linear layer can always make the widths agree. That is a statement about shapes. It says nothing about whether the language model can use the result. The language model's later layers were trained on one distribution of inputs: the rows of its embedding table, mixed by its own attention layers. The output of a random connector lands somewhere else in that space.
Three mismatches matter in practice:
- Location. The projected image vectors may sit in a region of space that no text embedding occupies. The language model has no learned behavior there.
- Scale. Their norms can be much larger or smaller than typical text embeddings. A large norm can dominate attention. A small one can be ignored.
- Content. Even at the right location and scale, the directions must carry information in a form the language model's attention heads and MLPs can read.
A related gap exists inside contrastive models themselves. Liang and colleagues showed that in CLIP's shared space, image vectors and text vectors occupy separate regions, even after training. They traced it to a "cone effect" at initialization that contrastive training then preserves. So "a shared embedding space" never meant "the same place in that space".
What it means for an image vector to become a token
The useful definition is functional. A visual vector has become a token the language model understands when the frozen or lightly tuned language model can use it to predict the right next words. If the caption says "a red bicycle", the image tokens should make "red" and "bicycle" more likely, in the right context.
Early experiments showed this target is closer than it sounds. Frozen trained a vision encoder so that its outputs, fed into a frozen language model, produced correct captions. ClipCap learned a mapping from a CLIP image vector to a short prefix for a frozen GPT-2. LiMBeR went further and showed that a single linear projection from a frozen image encoder into a frozen language model already transfers useful visual information. One explanation is that strong models trained on different modalities learn representations that are partly similar in structure. The Platonic Representation Hypothesis argues this convergence grows with scale.
So the first job of pretraining is modest. Train the connector until image vectors land where the language model can read them. The figure below shows that process in a two-dimensional sketch.
Aligning the connector is necessary but rarely sufficient. A connector-only model can name objects. It usually cannot read dense text, count reliably or follow a complex question. Those skills need the language model, and often the vision encoder, to change too. How much to change each part, and with what data, is where the main recipes differ.
Four recipes that shaped the field
Between 2022 and 2023, four training recipes set the patterns that most later models follow. Each one makes a different bet about which parts to train. We look at them in the order of how much of the pretrained models they are willing to change.
Flamingo: keep the language model frozen and add new layers
Flamingo froze both pretrained models. The vision encoder was an NFNet trained contrastively. The language model was Chinchilla. All learning happened in new layers placed between them.
Two new pieces did the work. A Perceiver Resampler turned a variable number of image features into a fixed set of 64 visual tokens. Then gated cross-attention layers were inserted between the frozen language-model blocks. Text tokens attend to the visual tokens through these layers. Each layer's output is multiplied by tanh(α), where α is a learned scalar initialized to zero.
That zero initialization is the key training detail. At step zero, every gate is closed. The model is exactly the original language model, so nothing about its language ability is disturbed. As training proceeds, the gates open only as far as visual information helps the loss.
Flamingo also introduced the data type that made it work: interleaved web pages, where images and text alternate in their natural order. Its M3W dataset held about 43 million web pages. It was mixed with three paired datasets: ALIGN with 1.8 billion image-text pairs, LTIP with 312 million pairs, and VTP with 27 million short videos. Training on interleaved pages taught the model to handle several images in one context. That is what gave Flamingo its few-shot ability: show a few examples of a task, then ask about a new image.
BLIP-2: freeze both models and learn a bottleneck
BLIP-2 also froze both the image encoder and the language model. Between them it trained a Q-Former, a small transformer with 32 learned query vectors and about 188 million parameters. The queries attend to the image features and produce a short, fixed-length summary.
Training happened in two stages. In the first stage, the Q-Former learned from the frozen image encoder alone, with three losses at once. An image-text contrastive loss (ITC) aligned query outputs with text. An image-text matching loss (ITM) classified whether a pair matched. An image-grounded text generation loss (ITG) trained the queries to support captioning. In the second stage, the Q-Former outputs were projected into a frozen language model and trained with the language-modeling loss.
The first stage matters for a subtle reason. It teaches the queries to extract language-relevant information before they ever meet the language model. The second stage then only has to translate that summary into the language model's input space. BLIP-2 pretrained on 129 million images.
LLaVA: project, then tune the language model
LLaVA used the simplest connector: a linear layer, later a two-layer MLP in LLaVA-1.5. Every image patch becomes one token. Training has two stages.
- Feature alignment. Freeze the vision encoder and the language model. Train only the projector on image-caption pairs. LLaVA used 595 thousand pairs filtered from CC3M. LLaVA-1.5 used 558 thousand.
- Visual instruction tuning. Keep the vision encoder frozen. Train the projector and the language model on instruction data: 158 thousand examples for LLaVA, a 665 thousand example mix for LLaVA-1.5.
The first stage is short and cheap. It exists to put image tokens in the right place before the language model starts changing. The second stage is where most capability appears. LLaVA-1.5 used CLIP ViT-L at 336 pixels, which gives 576 visual tokens per image.
The striking fact about LLaVA is its scale. Its pretraining used under a million examples. PaliGemma's authors put this in context: BLIP-2, InternVL, Qwen-VL and Idefics2 all ran multimodal pretraining for around a billion examples. LLaVA and its derivatives used around a million. The difference is a factor of a thousand. Both approaches produced useful models, which tells us that a strong language model already supplies much of what the VLM needs.
PaLI and PaliGemma: train everything together at scale
The PaLI line took the opposite position. Train jointly, on very large multilingual and multitask data, and let all parts adapt. Early PaLI versions still kept the image encoder frozen during the first multimodal stage. PaliGemma dropped that too. Its multimodal pretraining stage states plainly: "nothing is frozen".
Unfreezing the image encoder from the start creates a risk. At the beginning, the language model does not yet understand the image tokens, so the gradients it sends back to the encoder are close to noise. PaliGemma handled this with a slow linear warm-up of the image encoder's learning rate. The encoder is held nearly still while the rest of the model aligns, then allowed to adapt.
PaliGemma's Stage 1 trained at 224 pixels for 1 billion examples. Stage 2 raised the resolution: 50 million more examples at 448 pixels, then 10 million at 896 pixels. We return to this resolution schedule in the section on resolution curricula.
What later models changed
Later open models mostly combined these patterns rather than replacing them. Some typical moves:
- Qwen-VL used three stages. Stage 1 froze the language model and trained the vision encoder and a cross-attention adapter at 224 pixels, on about 1.4 billion pairs cleaned from 5 billion. Stage 2 unfroze everything for multitask pretraining at 448 pixels. Stage 3 froze the vision encoder for instruction tuning.
- Qwen2-VL kept the three stages but switched to native resolution. Its pretraining processed about 1.4 trillion tokens: around 600 billion in a stage that trains only the vision encoder, then 800 billion with everything unfrozen. Qwen2.5-VL grew this to 4.1 trillion tokens over three pretraining stages, the last one at 32,768-token sequences for long context.
- InternVL 1.5 trained its 6-billion-parameter vision encoder and MLP projector first, then fine-tuned the whole 26-billion-parameter model. InternVL3 moved to what it calls native multimodal pretraining: a single stage that learns from multimodal data and pure text together.
- LLaVA-OneVision kept LLaVA's projector-only first stage, then added a "high-quality knowledge" stage of about 4 million examples with the full model trained, before instruction tuning.
- Molmo and Prismatic removed the alignment stage entirely and trained in one pass. Molmo tried a connector-only stage on LAION captions and found no improvement.
Per-family details, including how each family changed from one version to the next, are collected in How the Open VLM Families Were Built. The figure below shows the stage structure of several recipes. Use the tabs to switch recipes.
Which components are trained
Every recipe above answers the same three questions. Is the vision encoder trained? Is the connector trained? Is the language model trained? The connector is almost always trained, because it starts from random weights. That leaves four common settings. Each one has a different goal.
| Vision encoder | Connector | Language model | Goal | Examples |
|---|---|---|---|---|
| Frozen | Trained | Frozen | Align the two spaces. Teach the connector to place image tokens where the language model can read them. | LLaVA stage 1, LLaVA-OneVision stage 1, BLIP-2, Flamingo (new layers only) |
| Frozen | Trained | Trained | Adapt the language side. The language model learns to use image tokens: answer questions, follow instructions, read. | LLaVA stage 2, Qwen-VL stage 3, Prismatic |
| Trained | Trained | Frozen | Adapt the vision side. The encoder learns features the fixed language model needs, such as text and fine detail. | Qwen-VL stage 1, Qwen2-VL stage 1, InternVL 1.5 pretraining |
| Trained | Trained | Trained | Joint training. All parts co-adapt. Highest capacity and highest risk. | PaliGemma, MM1, Molmo, Idefics2 (backbones with LoRA), Qwen2-VL stage 2 |
How to read this table: move down the rows and more of the pretrained weights are allowed to change. Recipes usually walk down the table over their stages, starting with the connector and ending with joint training.
Why freeze anything
Freezing has three benefits.
- It protects what the models already know. A frozen language model cannot forget how to write. A frozen encoder cannot lose features that took billions of images to learn.
- It protects against early noise. At the start, the connector is random. Gradients flowing back from the loss through a random connector carry little useful signal. Letting them update a pretrained model can damage it before alignment has happened.
- It saves memory. A frozen parameter needs only its weights in memory. A trained parameter also needs gradients and optimizer state.
The cost of freezing is capacity. VILA measured this directly. Freezing the language model during pretraining gave "decent zero-shot performance" but the model lacked in-context learning. Getting that ability required unfreezing the language model.
Learning rates, warm-up and initialization
Recipes rarely treat "trained" as a single setting. Different parts get different learning rates. LLaVA-OneVision uses a vision encoder learning rate five times smaller than the language model's. PaliGemma ramps the image encoder's learning rate up slowly from zero. Molmo is the most explicit. It uses a learning rate of 2e-4 for the connector, 2e-5 for the language model and 6e-6 for the vision encoder, with a 200-step warm-up for the connector and 2,000 steps for the other two. All three choices express the same belief: the pretrained encoder is valuable, and it should move only after the rest of the model can send it meaningful gradients.
New parameters need careful initialization for the same reason. Flamingo's tanh gates start at zero, so the inserted layers begin as a no-op. A random MLP projector does not have that property. Its outputs are random vectors that the language model immediately attends to. That is one reason a connector-only alignment stage is common before the language model is unfrozen.
Stability
Idefics2 found a sharp edge when it unfroze the backbones. In a fully autoregressive architecture, where image tokens are fed straight into the language model, full unfreezing "can lead to training divergences". Training the backbones through LoRA adapters instead stabilized the run. It also cut the memory cost. How LoRA Changes a Model Without Rewriting It explains why a low-rank update limits how far the weights can move.
The same paper found that the best architecture depends on what is frozen. With frozen backbones, cross-attention architectures in the style of Flamingo did better. Once the backbones were trained, the fully autoregressive design did better. Architecture comparisons in this field are therefore only meaningful together with the freezing schedule.
Compute and memory
A common rule of thumb for mixed-precision Adam is about 16 bytes per trained parameter: 2 for the bf16 weights, 2 for the gradients, 4 for a float32 master copy and 8 for Adam's two moment estimates. A frozen parameter needs only its 2 bytes of bf16 weights. Inside a Training Step walks through where each byte goes. For a 7-billion-parameter language model, that is the difference between about 14 GB and about 112 GB before activations.
Compute behaves less intuitively than memory. Suppose only the connector is trained. The loss is computed at the language model's output. To reach the connector, the gradient still has to pass backward through every layer of the frozen language model. You skip the weight gradients of the language model, but you still pay for its activation gradients. Training a connector with a few million parameters therefore costs a large fraction of full training compute. The figure below lets you check this.
Forgetting
Once the language model is trained on image-text data, it can lose some of its text-only ability. This is catastrophic forgetting, and the general mechanism is covered in Mixing Data Without Losing Capabilities. VILA found that text-only performance dropped after multimodal training. It also found a cheap fix: re-blending text-only instruction data into the fine-tuning mix "not only remedies the degradation of text-only tasks, but also boosts VLM task accuracy". DeepSeek-VL went further during pretraining and kept at least 70% language data. We return to these ratios in the mixture section.
What the data looks like
The recipe decides which weights change. The data decides what they learn. Multimodal pretraining data comes in a few distinct shapes. Each shape teaches a different skill, and each one turns into a token sequence in a different way.
Image-caption pairs
The simplest unit is a pair (I, C): one image and one caption. Web alt-text is the main source. LAION-5B released about 5.85 billion pairs filtered by CLIP similarity. COYO-700M released about 700 million. DataComp turned filtering into a benchmark: its CommonPool holds 12.8 billion candidate pairs, the model and training are fixed, and participants compete on the filter. Google's WebLI, used for PaLI, holds about 10 billion images.
Pairs teach the basic mapping from what is visible to what it is called. They are also short. A typical alt-text is a few words, so most of the sequence is image tokens and the loss is computed on very few text tokens.
Interleaved documents
An interleaved document keeps the web page's natural order: T1, I1, T2, I2, …. Text before an image gives it context. Text after an image often refers back to it. Flamingo's M3W was the first large example. Open versions followed: MMC4 has 101.2 million documents with 571 million images and 43 billion English tokens. OBELICS has 141 million web pages with 353 million images and 115 billion text tokens.
Interleaved data teaches two things pairs cannot. It teaches the model to keep several images in context and refer between them, which is the basis of few-shot learning. It also contains long stretches of ordinary text, which helps keep the language model's writing ability intact.
Text-only data
Some batches contain no images at all. Their job is to protect language ability, as we saw above. MM1 found that text-only data helps both few-shot and text-only performance.
Text in images: OCR, documents, screenshots, charts and tables
Natural photos rarely contain much text, and alt-text rarely transcribes it. Reading has to be taught with data built for it. Common sources include scanned business documents such as OCR-IDL, PDF pages such as PDFA, rendered text over varied fonts and backgrounds, web screenshots paired with their HTML, and charts or tables paired with their underlying data. Idefics2 used 19 million documents from OCR-IDL and 18 million pages from PDFA. MM1.5 added a continual pretraining stage with 45 million high-resolution OCR examples. Document understanding gets its own article in this series, How VLMs Read Documents.
Grounded data
Grounded data links words to regions. A phrase such as "the man on the left" comes with a bounding box, written as text tokens. Kosmos-2 built a large grounded corpus by linking noun phrases in captions to detected boxes. Florence-2 built FLD-5B, with 5.4 billion annotations on 126 million images, using a data engine of specialist models and iterative refinement. Qwen-VL included box coordinates as plain text in its multitask stage. Grounding is the topic of When Language Must Point.
Multiple images and video
Multi-image examples teach comparison and reference across images. Video adds time. Most VLMs treat a video as a sequence of sampled frames, often at reduced resolution so the token count stays manageable. Qwen2-VL, for example, limits each video to 16,384 tokens by adjusting frame resolution. Video gets its own treatment in Seeing in Time.
Synthetic data
Finally, much modern pretraining data is generated by models. A captioning model writes a detailed description for an image that only had a short alt-text. A rendering engine draws text, charts or tables with known content. A language model writes question-answer pairs about a document. Synthetic data is cheap and controllable. Its weakness is that it inherits the errors of the model that produced it. We return to that in the section on data quality.
| Type | Example datasets and scale | What it mainly teaches | Typical weakness |
|---|---|---|---|
| Caption pairs | LAION-5B (about 5.85B pairs), COYO-700M, DataComp CommonPool (12.8B candidates), WebLI (about 10B images) | Naming objects, scenes and attributes | Short, noisy, often unrelated alt-text |
| Interleaved | M3W (about 43M pages), MMC4 (101.2M docs, 571M images), OBELICS (141M pages, 353M images) | Several images in context, few-shot learning, keeping language ability | Many images loosely related to nearby text |
| Text-only | The language model's own pretraining corpus | Protects writing and reasoning in text | Teaches nothing visual |
| OCR and documents | OCR-IDL, PDFA, rendered text, MM1.5's 45M OCR stage | Reading text, layout, documents | Needs high resolution, so expensive per example |
| Grounded | Kosmos-2's grounded pairs, Florence-2's FLD-5B (5.4B annotations, 126M images) | Linking words to regions, boxes, points | Box quality depends on the detector that produced it |
| Video | Flamingo's VTP (27M short videos), video dialogue data | Events and change over time | Token cost grows with every frame |
| Synthetic captions | ShareGPT4V (1.2M), Recap-DataComp-1B (1.3B), PixMo-Cap (human, 712k images) | Dense, specific descriptions | Inherits the generator's hallucinations |
How to read this table: the rows near the top are cheap and huge. The rows near the bottom are smaller and costlier, but each one teaches a skill the top rows barely touch.
How each type becomes a training sequence
All these types end up in the same format: one token sequence, with image tokens spliced in where the images go. What differs is which tokens carry a loss. Image tokens never do in the standard recipe, because the model is not asked to predict them. Text tokens usually do, except in instruction-style data, where the prompt is masked and only the answer is scored.
Data engines, filtering and preprocessing
Raw web data is not training data. The pipelines that turn one into the other are less visible than the model, and they matter as much. Four steps recur across recipes.
- Relevance filtering. Drop pairs whose text does not describe the image. LAION used CLIP similarity for this. DataComp showed that the choice of filter changes downstream accuracy substantially at a fixed compute budget.
- Safety and consent filtering. Idefics2 ran a high-recall NSFW classifier and removed 7% of LAION COCO. In a manual check of 5,000 images, pornographic images fell from 28 to 1, with no loss in downstream performance. It also removed content whose owners had opted out.
- Text-quality filtering. For interleaved data, the text has to be good text. Idefics2 removed the 5% of OBELICS documents with the highest perplexity under a small language model.
- Deduplication. Repeated images inflate memorization and waste compute. Deduplication against evaluation sets also protects benchmark scores from contamination.
Some teams go beyond filtering and build data engines: loops in which models label data, humans or stronger models check it, and the improved labels train the next model. Florence-2's FLD-5B came from such a loop. Synthetic recaptioning is the most common lightweight version. Idefics2 replaced LAION alt-text with model-written captions from LAION COCO and saw its average score rise from 49.8 to 52.9 in an ablation.
Mixing the data
A recipe never trains on one data type. It samples from several, with weights. Write the training distribution as a mixture:
The weights λ are among the most consequential choices in the recipe. They decide which skills receive gradient and which ones slowly decay. The general theory, including negative transfer between tasks and mixture laws, is in Mixing Data Without Losing Capabilities. Here we focus on what VLM papers found.
What the ablations show
MM1 ran the most systematic study of pretraining mixtures. Its lessons are short and worth quoting.
- "Interleaved data is instrumental for few-shot and text-only performance, while captioning data lifts zero-shot performance."
- "Text-only data helps with few-shot and text-only performance."
- "Synthetic data helps with few-shot learning." Its synthetic VeCap captions were only 7% of the caption data.
MM1's final mix was 45% interleaved documents, 45% caption pairs and 10% text-only, trained for about 400 billion tokens with nothing frozen. Other recipes chose very different ratios:
- DeepSeek-VL found that "at least 70%" language data was essential to preserve language ability, and trained at a language-to-multimodal ratio of about 7:3. It also used a "modality warm-up" that adds vision-language data gradually.
- InternVL3 reported that a 1:3 ratio of language to multimodal data worked best in its single-stage native pretraining.
- Idefics2 changed the mix by stage. Stage 1 sampled 70% OBELICS and 30% caption pairs. Stage 2 added PDF documents at 20%, with 45% OBELICS and 35% pairs.
These numbers look inconsistent until you notice they answer different questions. DeepSeek-VL continued pretraining from an intermediate checkpoint of its language model, so the language data was still part of the language model's own training. InternVL3 started from a finished language model and counted only the multimodal stage. A ratio means little without the starting point and the token budget.
What happens when one type dominates
Two failure patterns are common enough to name.
Captions dominate. The model becomes a good describer. Ask it a specific question and it tends to describe the whole image anyway, or answer in caption style. Short alt-text also teaches short outputs. In-context learning stays weak, because single pairs never show several images in one context.
OCR dominates. The model reads well and transcribes well. It can lose ground on natural images, and it can become verbose in transcription style when the question asks for something else. OCR data also needs high resolution, so a large OCR share raises the cost of every batch.
A related failure appears later, in instruction data. Cambrian-1 named it the "answer machine phenomenon": trained on many short-answer VQA examples, the model answers everything in one word. It fixed this with system prompts that state the expected answer length. Cambrian also found that capping each source at about 250k–350k examples balanced its mixture best. The figure below is a toy model of these tradeoffs.
Toy model. The direction of each effect follows the findings of MM1, VILA and DeepSeek-VL. The magnitudes are invented for illustration and are not measurements.
What a visual token costs
Data choices have a cost that text-only pretraining never faced. An image does not have a fixed length. Its token count depends on its resolution and on how the model turns patches into tokens.
With patch size P, an image of height H and width W yields (H/P) × (W/P) patches. Many models then merge each r × r block of patches into one token:
The key fact is the square. Double the side length and the token count goes up four times. Inside a Modern Vision Encoder covers the mechanics of patching and merging. Here we follow the consequences for training.
Six things that move with resolution
- Training FLOPs. For the language model, training costs about 6 FLOPs per parameter per token. Every image token pays that, even though it carries no loss. Scaling Laws from First Principles derives the 6.
- Sequence length. More image tokens make longer sequences. Attention cost grows with the square of sequence length, so long image sequences cost more than the linear estimate.
- Memory. Activation memory grows with sequence length. High-resolution stages often need smaller per-device batches with gradient accumulation. Idefics2 did exactly this when it raised its resolution to 980 pixels.
- Packing efficiency. Sequences are packed to a fixed context length. A sample of 2,000 tokens packs into an 8,192-token context four times with little waste. A sample of 5,000 tokens fits once and wastes the rest unless it is split or combined with short samples.
- Images per batch. At a fixed token budget per batch, more tokens per image means fewer images. Idefics2's stage 1 batch of 2,048 sequences held about 17 thousand images and 2.5 million text tokens on average.
- Image-to-text ratio. A caption of 20 tokens next to 576 image tokens gives a ratio near 29 to 1. Most of the compute goes to tokens with no loss. That is a strong argument for longer, denser captions at high resolution.
Because each of these depends on resolution, resolution is also a data-mixture decision. Raising resolution for OCR data and keeping it low for captions changes how much compute each source receives, even if the sampling weights λ stay the same. Try it below.
This arithmetic is the starting point for compute-optimal choices about model size, data and resolution. Those are the subject of the next article, How Vision-Language Models Scale. Methods that cut the token count after the encoder, such as pooling, pixel shuffle and token pruning, are covered in The Cost of a Picture.
Resolution curricula
If high resolution is expensive, the obvious move is to use it only when it is needed. Most of what a VLM learns early is coarse: what objects are, what scenes look like, which words go with which things. Coarse knowledge does not need many pixels. Reading a footnote does.
Low resolution first, high resolution later
The classic curriculum starts small and grows. Three recipes show the pattern.
- PaliGemma trained 1 billion examples at 224 pixels, which is 256 tokens per image. It then trained 50 million examples at 448 pixels and 10 million at 896 pixels. The high-resolution stages upweighted tasks that need detail, such as OCR and detection, and allowed longer outputs of up to 512 text tokens.
- Qwen-VL trained its first stage at 224 pixels and its multitask stage at 448.
- Idefics2 capped images at 384 pixels in its first stage, then raised the cap to 980 pixels when it introduced PDF documents.
The logic is the same in all three. Most examples are seen at low cost. The expensive examples come at the end, when the model already knows what it is looking at and only needs to learn to read finer detail. PaliGemma's 896-pixel stage used one hundredth as many examples as its 224-pixel stage, but each example had sixteen times as many image tokens.
Raising resolution mid-training has a technical catch. A ViT with learned absolute position embeddings was trained on a fixed grid, such as 16 × 16. A larger image has a larger grid, so the position embeddings must be interpolated to the new size. The model then needs some training to adjust to the stretched positions. How Models Know Where They Are explains why relative schemes such as 2D RoPE make this easier.
Tiles, AnyRes and native resolution
A curriculum over a single square size still distorts many images. A tall receipt squashed into a square loses most of its text. Three families of methods keep more of the original image.
- Tiling. Cut the image into encoder-sized tiles, encode each tile separately, and add a low-resolution thumbnail for global context. LLaVA-NeXT's AnyRes picks a tile grid that fits the aspect ratio. InternVL 1.5 used 448-pixel tiles, from 1 to 12 per image during training, with pixel shuffle reducing each tile to 256 tokens. LLaVA-UHD made the slicing aspect-ratio aware in a similar way.
- Overlapping crops. Molmo used overlapping crops so that no object is cut exactly at a tile boundary. Its paper reports that overlapping "significantly improves results".
- Native resolution. Skip the square entirely. Patchify the image at its own size and aspect ratio, so the token count varies per image. NaViT introduced this as "Patch n' Pack": patches from several images of different sizes are packed into one sequence. Qwen2-VL's "Naive Dynamic Resolution" uses the same idea inside a VLM, and merges each 2 × 2 block of patches into one token. Idefics2 also kept the original aspect ratio, following NaViT.
Native resolution changes the shape of the curriculum. Instead of a fixed size that grows by stage, the model sees a range of sizes from the start, usually with a cap on tokens per image. The curriculum then moves into the data: which images are allowed to be large, and how many tokens a batch may spend on them. Inside a Modern Vision Encoder compares these strategies in detail.
Training objectives
So far we have treated the loss as given. It is worth stating each candidate precisely, because they send very different signals to different parts of the model.
Contrastive and matching losses
The contrastive loss from the first section aligns one pooled image vector with one pooled text vector. It gives one learning signal per image-text pair. Image-text matching (ITM) adds a binary classifier that reads the image and text together and decides whether they match. ALBEF and BLIP trained ITM on hard negatives: captions that are similar to the right one but wrong in a detail. That forces the model to look at fine-grained differences. BLIP-2 used both losses, together with a generation loss, to train its Q-Former.
The next-token loss
In a modern VLM, the main pretraining loss is the language model's ordinary next-token loss, computed on text that follows or surrounds an image:
The set S is a design choice. For a caption pair, S is the whole caption. For an instruction example, S is the answer only, and the question is masked, as described in Teaching a Language Model to Follow Instructions. PaliGemma ran an ablation on exactly this. It used a prefix-LM: image tokens and the task prefix attend to each other fully, and only the suffix is generated autoregressively. Scoring the prefix as well "clearly reduces average performance". Changing to a fully causal mask over the image and prefix also did worse.
This loss is dense in one sense and sparse in another. Every scored word gives a gradient, so a 200-word caption gives far more signal than a 5-word alt-text. But the gradient only reaches the image through attention. A patch receives signal only if some scored word needed it. A patch showing a detail that no caption mentions receives almost nothing.
Grounding as text
Detection and grounding could be trained with separate box-regression heads. Most VLMs instead write coordinates as text. Kosmos-2 added discrete location tokens. Qwen-VL wrote box coordinates as plain text inside special markers. PaliGemma added 1,024 location tokens for detection and segmentation. The same next-token loss then trains localization. It is an elegant trick. It also inherits the weakness of text: a box that is off by a few pixels costs the same as one that is off by half the image, if the tokens differ. When Language Must Point covers this tradeoff in depth.
Auxiliary vision objectives
Some recipes add a loss on the image side. AIMv2 pretrains its vision encoder with a decoder that predicts both image patches and caption tokens, so every patch receives a direct target. Early-fusion models such as Chameleon go further: they turn images into discrete tokens and put the loss on image tokens too, which lets one model both read and generate images. That direction is the subject of Models That See and Draw.
Does the vision encoder need a visual signal of its own?
This is an open question, and the evidence points both ways.
On one side, language loss alone can clearly train a vision encoder. CapPa showed that captioning pretrains encoders about as well as contrastive learning. Qwen2-VL's first stage trains the vision encoder with the language model's loss on around 600 billion tokens. PaliGemma found that an unfrozen encoder trained through the language loss improved on spatial tasks.
On the other side, language loss teaches only what the text describes. Prismatic found that fusing DINOv2 features with SigLIP features gave "significant gains across the board". DINOv2 is trained with a purely visual self-supervised objective. Cambrian-1 built its connector, the Spatial Vision Aggregator, around combining several vision encoders for a similar reason. These gains suggest that self-supervised visual features carry information that a captioning-trained encoder misses.
A reasonable reading today: language supervision is sufficient for whatever the data talks about. Dense captions, OCR transcripts and grounding data widen what the data talks about. A purely visual signal remains useful for the rest, such as fine geometry and textures nobody names. Whether a VLM actually uses those features is a question for interpretability, discussed in What Happens Inside a VLM.
Data quality
Every objective above learns from text. That makes the quality of the text the ceiling on what the model can learn about images. Several distinct properties count as "quality" here.
- Specificity. "A dog" is true and nearly useless. "A brown dog leaping for a red frisbee, two people watching from the left" is much more informative per image token.
- Relevance. Web alt-text is often a file name, a product code or text about something else on the page. It can be grammatical and still say nothing about the image.
- OCR accuracy. Large OCR datasets are often labeled by an OCR engine. Its errors become the model's training targets.
- Grounding accuracy. Boxes produced by a detector inherit its misses and false positives.
- Faithfulness. Synthetic captions can describe things that are not in the image. A model trained on them learns to do the same.
- Duplication and contamination. Near-duplicate images waste compute and encourage memorization. Benchmark images that leak into training inflate evaluation scores. Measuring What a VLM Can Do discusses how to detect this.
Synthetic captions and their limits
The fastest way to improve specificity is to recaption. BLIP introduced CapFilt: a captioner writes new captions for web images, and a filter removes captions, original or synthetic, that do not match. ShareGPT4V collected 100 thousand detailed captions from GPT-4V, trained a captioner on them, and expanded the set to 1.2 million. Recap-DataComp-1B recaptioned 1.3 billion images with a LLaVA-1.5 model built on LLaMA-3-8B.
Synthetic captions are cheap and long. Their risk is hallucination: the captioner fills gaps with plausible details. A model trained on them learns that plausible details are acceptable. Hallucination and how alignment reduces it are the topic of Aligning Vision-Language Models.
Case study: PixMo and human-spoken captions
Molmo's PixMo data took the opposite route. Instead of asking a model, it asked people, and it asked them to speak. Annotators described each image aloud for 60 to 90 seconds. The recordings were transcribed and turned into captions. The result was 712 thousand images with 1.3 million transcripts and captions, averaging 196 words, collected "without the use of external VLMs".
Speaking was a deliberate choice. People say more in 60 seconds than they type, and they describe what they see rather than writing a polished paragraph. Typed human captions tend to be short. Speech gets length and detail from humans without paying for typing. Avoiding external VLMs also means the data does not quietly distill a proprietary model's errors.
Molmo then pretrained all parameters on this caption data, with no separate alignment stage, and fine-tuned on a mix of PixMo and academic datasets. Its captions came with a length hint in the prompt 90% of the time, which its paper reports improved caption and pretraining quality. DOCCI made a similar bet at smaller scale, with long human-written descriptions designed to distinguish visually similar images.
Real recipes side by side
We now have the vocabulary to compare recipes along every aspect this article introduced. The first table lists concrete models. All numbers come from the papers cited in the references. Cells say "not reported" where a paper does not give the value.
| Model | Vision encoder | Bridge | What was frozen | Pretraining data | Stages | Resolution |
|---|---|---|---|---|---|---|
| Flamingo (2022) | NFNet-F6, contrastive | Perceiver Resampler (64 tokens) + gated cross-attention | Vision encoder and language model frozen; new layers trained | M3W 43M pages, ALIGN 1.8B pairs, LTIP 312M pairs, VTP 27M videos | One | Fixed |
| BLIP-2 (2023) | Frozen CLIP-style ViT | Q-Former, 32 queries, 188M params | Vision encoder and language model frozen in both stages | 129M images | Two: representation, then generative | Fixed |
| LLaVA-1.5 (2023) | CLIP ViT-L/14 | 2-layer MLP, 576 tokens | Stage 1: all but MLP. Stage 2: vision encoder | 558K caption pairs; 665K instruction mix | Two | 336 px |
| Qwen-VL (2023) | OpenCLIP ViT-bigG | 1-layer cross-attention, 256 queries | Stage 1: LLM. Stage 2: none. Stage 3: vision encoder | About 1.4B pairs in stage 1; multitask data in stage 2 | Three | 224 → 448 px |
| MM1 (2024) | ViT-H, CLIP on DFN-5B | C-Abstractor, 144 tokens | Nothing frozen in pretraining | 45% interleaved, 45% pairs, 10% text; about 400B tokens | One pretraining stage | 378 px |
| InternVL 1.5 (2024) | InternViT-6B | Pixel shuffle + MLP, 256 tokens per tile | Pretraining: LLM frozen. Fine-tuning: none | Not reported as a single total | Two | 448 px tiles, 1–12 in training |
| Idefics2 (2024) | SigLIP-So400m | Perceiver pooling, 64 tokens | Nothing frozen; backbones trained with LoRA | OBELICS, LAION COCO captions, OCR-IDL, PDFA, rendered text | Two | Up to 384 → up to 980 px, aspect kept |
| PaliGemma (2024) | SigLIP-So400m | Linear projection | Nothing frozen; slow LR warm-up for the encoder | Multitask mixture; 1B examples, then 50M, then 10M | Three (Stage 0 is unimodal) | 224 → 448 → 896 px |
| Qwen2-VL (2024) | 675M ViT | MLP after 2×2 merge | Stage 1: all but ViT. Stage 2: none | About 600B + 800B tokens | Two pretraining + instruction | Native, dynamic |
| Qwen2.5-VL (2025) | ViT with window attention | MLP after 2×2 merge | Stage 1: all but ViT. Later: none | 1.5T + 2T + 0.6T tokens | Three pretraining + post-training | Native, dynamic |
| LLaVA-OneVision (2024) | SigLIP-So400m | 2-layer MLP | Stage 1: all but projector. Later: none; encoder LR 5× lower | 558K, then 4M knowledge data, then 3.2M + 1.6M | Three (1, 1.5, 2) | AnyResMax-9 tiles |
| Molmo (2024) | CLIP ViT-L/14, 336 px | Attention pooling over 2×2 + MLP | Nothing frozen; separate learning rates | PixMo-Cap: 712K images, 1.3M captions | Two: captions, then fine-tuning | Overlapping multi-crop |
How to read this table: read down the "What was frozen" column. Early recipes froze large parts of the model. Since 2024, most recipes train everything, and protect the pretrained parts with lower learning rates, warm-up or LoRA instead of freezing. Meanwhile the data column grew from millions of pairs to trillions of tokens, and the resolution column moved from fixed squares to native sizes.
The second table compares the recipe families along the aspects from each section: what is trained, how much data each needs, how language is protected, what it costs and what tends to go wrong.
| Approach | What is trained | Data needed | Protecting language | Training cost | Resolution handling | Main risk | Examples |
|---|---|---|---|---|---|---|---|
| Frozen LM, new cross-attention | Resampler and inserted layers | Large interleaved and paired corpora | Automatic: LM weights never change; zero-init gates | Moderate: backward through LM layers, no LM weight updates | Fixed tokens per image via resampler | Limited capacity; weaker detail and reading | Flamingo |
| Frozen backbones, learned bottleneck | Q-Former and projection | About 100M+ images, two stages | Automatic | Low: small trainable module | Fixed, short summary (32 queries) | Bottleneck drops fine detail and text | BLIP-2 |
| Projector, then tune LM | Projector first, then projector + LM | Small: under 1M pairs plus instruction data | Text-only data mixed into tuning | Low, but LM tuning stage is full cost | Fixed square, later tiles (AnyRes) | Forgetting; shallow visual knowledge | LLaVA, LLaVA-1.5, LLaVA-OneVision |
| Vision side first, then all | ViT + adapter with LM frozen, then everything | Very large: billions of pairs or trillions of tokens | LM frozen during the noisiest stage | High | Low to high, or native dynamic | Cost; encoder drift if LR too high | Qwen-VL, Qwen2-VL, Qwen2.5-VL, InternVL 1.5 |
| Joint from the start | Everything, with per-part LR, warm-up or LoRA | Large and mixed, or small and very dense | Text-only share in the mixture | High per step | Curriculum over size, or native | Early divergence; forgetting without text data | PaliGemma, MM1, Idefics2, Molmo, Prismatic |
| Native multimodal pretraining | Everything, one stage with text | Multimodal and text corpora together | By construction: language and vision learned together | Highest | Native or tiles | Ratio tuning is expensive to search | InternVL3; early-fusion models such as Chameleon |
How to read this table: each row moves further from "keep the pretrained models intact" toward "train one model". Read across a row and the costs and risks rise together with capacity. The rows toward the bottom need more data, more compute and more care, and they are where most recent open models sit.
Architecture or data
We can now return to the opening question. You have a good vision encoder and a good language model. Why can't you just connect them? Because connecting them only matches shapes. Making the image vectors mean something to the language model is a training problem. It needs an alignment signal, a schedule for which weights may move, a data mixture that teaches each skill without erasing others, a resolution budget that matches the data, and text good enough to describe what the model should see.
Is a good VLM then mainly an architecture problem or a data and curriculum problem? The evidence leans toward data and curriculum, within a sensible architecture.
- MM1 called connector design "of comparatively negligible importance" next to resolution, token count and data.
- Idefics2 found the quality of the language backbone mattered more than the quality of the vision backbone, and that the best architecture flipped once backbones were unfrozen.
- Prismatic found that the two-stage schedule most papers used could be removed without loss.
- Shukor and colleagues trained 457 models and found "no inherent advantage to late-fusion architectures over early-fusion ones", with early fusion slightly better at small scale.
- Molmo built a strong model with a standard architecture and unusually good caption data.
Architecture still matters, in a specific way. It decides what each visual token costs and how many tokens each image gets. Native resolution, token merging and tiling change the cost of high-resolution data, and so change which data mixtures are affordable. Some architectures also differ in kind: Fuyu fed image patches straight into the decoder with no separate encoder, and NVLM compared decoder-only, cross-attention and hybrid designs under one training recipe. But the recurring lesson of the ablations is that architecture choices show up mainly through their effect on data and compute.
That conclusion sets up the next two questions. First, at a fixed compute budget, how should you split it between model size, data and resolution? That is the subject of How Vision-Language Models Scale. Second, pretraining gives a model that sees. It does not yet give a model that answers questions, follows instructions and handles many visual tasks at once. That is post-training, the subject of One Model, Many Visual Skills.
Key insights and nuances
- InsightA contrastive encoder is a starting point, not a finished part. Its patch features were never supervised directly, which is why recipes unfreeze it for spatial and text-heavy skills. Learning vision from language
- NuanceThe projector-only alignment stage is optional with clean data and careful warm-up (Prismatic, Molmo), and useful with noisy captions. Four recipes
- InsightTraining only the connector still requires a backward pass through the whole language model, so it costs a large fraction of full training compute. Which components are trained
- NuanceUnfreezing the vision encoder helped at high resolution and hurt at low resolution in MM1's ablation. Which components are trained
- InsightText-only data improves multimodal few-shot performance as well as protecting language (MM1, VILA). Mixing the data
- InsightVisual token count matters more than connector design. Resolution is therefore a data-mixture decision, because it sets how much compute each data source receives. What a visual token costs
- NuanceA model's stated maximum resolution can exceed what it was trained on; InternVL 1.5 trained on up to 12 tiles and was run on up to 40. Resolution curricula
- InsightThe next-token loss reaches a patch only if a scored word needed it. Caption detail sets the ceiling on what the vision side learns. Training objectives
- NuancePublic synthetic captions did not beat simple OCR data in MM1.5's continual pretraining. Recaptioning helps only when the captions are good. Data quality
- InsightPretraining scale ranges a thousandfold, from under a million examples (LLaVA) to a billion (PaliGemma), and information density per example explains more than count. Data quality
References
Grouped by topic. Every entry links to its primary source.
Learning vision from language
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale · Dosovitskiy et al., 2020 — the Vision Transformer
- Learning Transferable Visual Models From Natural Language Supervision · Radford et al., 2021 — CLIP, 400M pairs
- Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision · Jia et al., 2021 — ALIGN
- LiT: Zero-Shot Transfer with Locked-image text Tuning · Zhai et al., 2021
- Sigmoid Loss for Language Image Pre-Training · Zhai et al., 2023 — SigLIP
- SigLIP 2: Multilingual Vision-Language Encoders with Improved Semantic Understanding, Localization, and Dense Features · Tschannen et al., 2025
- SimVLM: Simple Visual Language Model Pretraining with Weak Supervision · Wang et al., 2021
- CoCa: Contrastive Captioners are Image-Text Foundation Models · Yu et al., 2022
- Image Captioners Are Scalable Vision Learners Too · Tschannen et al., 2023 — CapPa
- Multimodal Autoregressive Pre-training of Large Vision Encoders · Fini et al., 2024 — AIMv2
Bridging frozen models and the modality gap
- Multimodal Few-Shot Learning with Frozen Language Models · Tsimpoukelli et al., 2021 — Frozen
- ClipCap: CLIP Prefix for Image Captioning · Mokady et al., 2021
- Linearly Mapping from Image to Text Space · Merullo et al., 2022 — LiMBeR
- Mind the Gap: Understanding the Modality Gap in Multi-modal Contrastive Representation Learning · Liang et al., 2022
- The Platonic Representation Hypothesis · Huh et al., 2024
Foundational VLM recipes
- Flamingo: a Visual Language Model for Few-Shot Learning · Alayrac et al., 2022
- Align before Fuse: Vision and Language Representation Learning with Momentum Distillation · Li et al., 2021 — ALBEF
- BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generation · Li et al., 2022 — CapFilt
- BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models · Li et al., 2023
- Visual Instruction Tuning · Liu et al., 2023 — LLaVA
- Improved Baselines with Visual Instruction Tuning · Liu et al., 2023 — LLaVA-1.5
- PaLI: A Jointly-Scaled Multilingual Language-Image Model · Chen et al., 2022
- PaliGemma: A versatile 3B VLM for transfer · Beyer et al., 2024
- PaliGemma 2: A Family of Versatile VLMs for Transfer · Steiner et al., 2024
Recipe studies and ablations
- MM1: Methods, Analysis & Insights from Multimodal LLM Pre-training · McKinzie et al., 2024
- MM1.5: Methods, Analysis & Insights from Multimodal LLM Fine-tuning · Zhang et al., 2024
- VILA: On Pre-training for Visual Language Models · Lin et al., 2023
- What matters when building vision-language models? · Laurençon et al., 2024 — Idefics2
- Building and better understanding vision-language models: insights and future directions · Laurençon et al., 2024 — Idefics3
- Prismatic VLMs: Investigating the Design Space of Visually-Conditioned Language Models · Karamcheti et al., 2024
- Cambrian-1: A Fully Open, Vision-Centric Exploration of Multimodal LLMs · Tong et al., 2024
- DeepSeek-VL: Towards Real-World Vision-Language Understanding · Lu et al., 2024
- NVLM: Open Frontier-Class Multimodal LLMs · Dai et al., 2024
- Scaling Laws for Native Multimodal Models · Shukor et al., 2025
Model families and their reports
- Qwen-VL: A Versatile Vision-Language Model for Understanding, Localization, Text Reading, and Beyond · Bai et al., 2023
- Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolution · Wang et al., 2024
- Qwen2.5-VL Technical Report · Bai et al., 2025
- InternVL: Scaling up Vision Foundation Models and Aligning for Generic Visual-Linguistic Tasks · Chen et al., 2023
- How Far Are We to GPT-4V? Closing the Gap to Commercial Multimodal Models with Open-Source Suites · Chen et al., 2024 — InternVL 1.5
- InternVL3: Exploring Advanced Training and Test-Time Recipes for Open-Source Multimodal Models · Zhu et al., 2025
- LLaVA-NeXT: Improved reasoning, OCR, and world knowledge · Liu et al., 2024 — AnyRes
- LLaVA-OneVision: Easy Visual Task Transfer · Li et al., 2024
- Molmo and PixMo: Open Weights and Open Data for State-of-the-Art Vision-Language Models · Deitke et al., 2024
- Fuyu-8B: A Multimodal Architecture for AI Agents · Adept, 2023
- Chameleon: Mixed-Modal Early-Fusion Foundation Models · Chameleon Team, 2024
Resolution
- Patch n' Pack: NaViT, a Vision Transformer for any Aspect Ratio and Resolution · Dehghani et al., 2023
- LLaVA-UHD: an LMM Perceiving Any Aspect Ratio and High-Resolution Images · Xu et al., 2024
Datasets, data engines and data quality
- LAION-5B: An open large-scale dataset for training next generation image-text models · Schuhmann et al., 2022
- COYO-700M: Image-Text Pair Dataset · Kakao Brain, 2022 — official repository
- DataComp: In search of the next generation of multimodal datasets · Gadre et al., 2023
- Multimodal C4: An Open, Billion-scale Corpus of Images Interleaved with Text · Zhu et al., 2023
- OBELICS: An Open Web-Scale Filtered Dataset of Interleaved Image-Text Documents · Laurençon et al., 2023
- ShareGPT4V: Improving Large Multi-Modal Models with Better Captions · Chen et al., 2023
- What If We Recaption Billions of Web Images with LLaMA-3? · Li et al., 2024 — Recap-DataComp-1B
- DOCCI: Descriptions of Connected and Contrasting Images · Onoe et al., 2024
- Kosmos-2: Grounding Multimodal Large Language Models to the World · Peng et al., 2023
- Florence-2: Advancing a Unified Representation for a Variety of Vision Tasks · Xiao et al., 2023 — FLD-5B data engine