TL;DR
GenLIP simplifies vision-language pretraining by training a Vision Transformer (ViT) to predict text tokens directly using a standard next-token prediction objective. By eliminating contrastive losses and redundant text decoders, this streamlined framework matches or outperforms state-of-the-art models like SigLIP2 on multimodal benchmarks while using up to five times less pretraining data.
What Problem Does This Paper Address?
Most Multimodal Large Language Models (MLLMs) rely on vision encoders trained via contrastive learning (like CLIP or SigLIP). While excellent for classification and retrieval, contrastive learning creates an objective mismatch: it trains models to match global image-text pairs, whereas MLLMs operate autoregressively by predicting the next token.
Alternative generative pretraining methods attempt to bridge this gap but often introduce architectural redundancy, such as coupling the vision encoder with an extra text decoder (e.g., AIMv2, CapPa). This indirect optimization complicates training and limits scalability. The authors of GenLIP ask a simple question: Why not just let the Vision Transformer speak directly to the language model space?
Methods
GenLIP drops contrastive losses and extra text decoders entirely. Instead, it uses a single, unified Transformer architecture.
- Data Formatting: Images are split into non-overlapping patches, and text is tokenized normally. They are concatenated into a single sequence where the visual tokens act as a prefix:
S = [visual tokens, text tokens]. - Prefix-LM Attention: To handle this sequence, GenLIP uses a prefix language modeling attention mechanism. Visual tokens can attend to each other bidirectionally, while text tokens attend causally (only looking backward at previous visual and textual tokens).
- Gated Attention (GA): A major challenge in visual-prefix autoregressive training is the attention sink phenomenon, where the model collapses its attention onto the very first token (
v0), turning it into a lossy summary and destroying spatial diversity. To fix this, GenLIP introduces an input-dependent gating mechanism after the attention layer to regulate information flow and preserve spatial details.
Datasets
The model is trained in two stages:
- Stage 1 (Fixed Resolution): Pretrained on Recap-DataComp-1B (1 billion unique web image-text pairs) at a fixed $224\times224$ resolution for a total of 8 billion seen samples.
- Stage 2 (Diverse Resolution Adaptation): Fine-tuned on 39 million high-quality, long-caption samples from Infinity-MM, BLIP3o-Long-Caption, and CapRL using native aspect ratios and variable resolutions.
Evaluation spans 14 classic multimodal benchmarks grouped into Doc&OCR (e.g., ChartQA, DocVQA, OCRBench), General VQA (e.g., MME, GQA, SEED), and Image Captioning (e.g., COCO, NoCaps).
Key Insights and Ideas
- Objective Alignment is Key: Vision features trained with generative objectives naturally yield lower perplexity when connected to an LLM engine, proving they are inherently more compatible with downstream MLLM tasks than contrastively trained features.
- The Danger of Language Priors: The authors compared GenLIP to SAIL-style models that initialize the vision encoder using pretrained LLM weights. Surprisingly, initializing from a pretrained LLM degraded final vision performance. The strong language prior allows the model to cheat on the captioning objective using text shortcuts rather than forcing the encoder to learn robust visual representations.
- Curing the Attention Sink: Without Gated Attention, text tokens rely entirely on a few "sink" visual tokens. Forcing the network to distribute attention across the entire visual prefix drastically improves performance on detail-sensitive tasks like OCR.
Key Results
GenLIP demonstrates remarkable data efficiency and performance scaling:
- Data Efficiency: GenLIP-So/16 trained on 8B samples achieves an overall average score of 62.6 under the LLaVA-NeXT evaluation framework, outperforming SigLIP2 (So/16), which scored 60.6 despite being trained on 40B samples.
- OCR Superiority: GenLIP excels at fine-grained text recognition. On the OCRBench task, GenLIP-g/16 scored 55.6, substantially beating SigLIP2's 47.3.
- Qualitative Capabilities: Because GenLIP is trained to output text directly, the vision encoder can generate fluent, detailed captions on its own without being attached to a downstream LLM.
Limitations and Future Work
While GenLIP is highly effective, the authors note a few limitations:
- Downstream Scale: The validation was primarily conducted within an academic-scale MLLM framework (LLaVA-NeXT); its generalizability to frontier, multi-billion parameter MLLMs remains to be fully verified.
- Data Constraints: Pretraining data was capped at the 1B scale, meaning the scaling laws at multi-billion or trillion-token scales are still unexplored.
- Caption Dependency: The framework relies heavily on high-quality, descriptive captions, which can be computationally expensive to generate or acquire at scale.
Summary updated