[Paper Review] Image Captioners Are Scalable Vision Learners Too
The paper re-evaluates image captioning as a pretraining objective for vision encoders, showing captioners can match or exceed contrastive pretraining in many vision-language tasks, especially with scalable CapPa variants and decoupled decoders.
Contrastive pretraining on image-text pairs from the web is one of the most popular large-scale pretraining strategies for vision backbones, especially in the context of large multimodal models. At the same time, image captioning on this type of data is commonly considered an inferior pretraining strategy. In this paper, we perform a fair comparison of these two pretraining strategies, carefully matching training data, compute, and model capacity. Using a standard encoder-decoder transformer, we find that captioning alone is surprisingly effective: on classification tasks, captioning produces vision encoders competitive with contrastively pretrained encoders, while surpassing them on vision & language tasks. We further analyze the effect of the model architecture and scale, as well as the pretraining data on the representation quality, and find that captioning exhibits the same or better scaling behavior along these axes. Overall our results show that plain image captioning is a more powerful pretraining strategy than was previously believed.
Motivation & Objective
- Assess whether image captioning can serve as a competitive pretraining task for vision encoders relative to contrastive methods like CLIP.
- Investigate how model architecture, scale, and pretraining data influence the quality of captioning-based representations.
- Develop and evaluate the CapPa pretraining approach that combines autoregressive and parallel decoding.
- Examine how captioning-based encoders interact with various decoders and downstream tasks such as VQA, OCR, and fine-grained classification.
Proposed method
- Pretrain ViT-based vision encoders with a standard Transformer decoder to predict image captions (Captioner, Cap).
- Introduce parallel prediction (CapPa) where a fraction of training examples predict all caption tokens in parallel, without changing the loss or architecture.
- Remove biases from attention, MLPs, and LayerNorms; use GELU; decoder input/output embeddings are not shared; decoder width matches encoder with half depth.
- Train on a WebLI-derived English subset with 1B image/alt-text pairs, using 8k batch size for captioning and 8k/16k for CLIP baselines, with AdaFactor optimizer and cosine schedule.
- Evaluate using 10-shot linear probes, full fine-tuning on ImageNet1k, and LiT-based zero-shot/classification and retrieval with both fresh and frozen decoders.
- Compare Cap/CapPa with CLIP* baselines under matched compute and data, and examine scaling behavior across model sizes (ViT-S/M/B, ViT-L/14).
Experimental results
Research questions
- RQ1Can image captioning alone provide vision encoders with competitive or superior performance to contrastive pretraining on vision-language tasks?
- RQ2How do architecture choices, model scale, and pretraining data affect the quality of captioning-based representations?
- RQ3Does the CapPa training variant improve downstream task performance and zero-shot capabilities compared to autoregressive captioning or CLIP?
- RQ4How well do captioner-based encoders transfer when paired with different decoders (randomly initialized vs. pretrained/frozen) for tasks like captioning, VQA, OCR, and fine-grained classification?
Key findings
- Captioner (Cap) models yield vision encoders competitive with CLIP in few-shot classification and competitive on large labeled datasets in vision-language transfer.
- CapPa, combining autoregressive and parallel decoding, consistently outperforms Cap and often matches or exceeds CLIP*, especially for captioning and VQA tasks.
- CapPa demonstrates favorable scaling: larger models and more data amplify gains over Cap and are competitive with CLIP* at large batch sizes, with CapPa often surpassing CLIP* in zero-shot classification when paired with LiT decoders.
- Captioning-based representations show superior performance on fine-grained classification and ARO/SugarCrepe-style relational/ordering attributes compared to CLIP variants.
- When using frozen language decoders (T5, GPT-2) with CapPa encoders, CapPa maintains or improves performance in several tasks, suggesting better compatibility with pretrained language models.
- Across data regimes and regardless of data source (WebLI subset vs. LAION-400M), CapPa remains competitive with CLIP*, indicating robustness to pretraining data.
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.