TL;DR
This paper investigates how curriculum learning (CL) and text pretraining impact vision-language models (VLMs) trained on limited data. They found that CL generally improves multimodal performance, especially when combined with text pretraining, while text pretraining alone offers consistent benefits across various tasks.
What Problem Does This Paper Address?
Training large-scale vision-language models (VLMs) like Llama and Gemini requires massive datasets and significant computational resources, making them inaccessible for many researchers. This paper addresses the challenge of achieving good performance with limited data and compute. They explore strategies inspired by human learning, specifically curriculum learning (gradually increasing data difficulty) and pretraining on text-only data, to improve VLM efficiency. The study aims to understand how these techniques interact with different model architectures and task types (multimodal vs. unimodal).
Methods
The researchers employed a curriculum learning framework for VLMs trained on the BabyLM challenge dataset. Their approach involved:
- Scoring Function: They used Part-of-Speech (PoS) tags from image captions to determine sample difficulty, counting nouns as a proxy for the number of concepts in an image-caption pair.
- Pacing Function: A simple phase-based pacing function was designed, where models were trained on data from increasing quartiles of difficulty. This approach allows the data pool to grow across phases, unlike some previous methods that only use data from a single phase at a time.
- Model Variants: They trained four variants for each of two VLMs (GIT and Flamingo):
- Baseline: Trained only on image-caption data (C) or text-then-image-caption data (T+C) using standard i.i.d. training.
- Curriculum: Trained using their proposed curriculum learning approach on image-caption data (C) or text-then-image-caption data (T+C).
- Pretraining: For T+C variants, models were first pretrained on a large text-only corpus (50M words) before being trained on the image-caption data.
Datasets
The study utilized the dataset provided as part of the BabyLM multimodal track. This dataset consists of:
- 50 million words from varied text corpora.
- 50 million words from text captions of image-caption pairs (from Conceptual Captions and Localized Narratives datasets), totaling approximately 2.9 million image-caption pairs.
For evaluation, they used several established benchmarks:
- Multimodal: Winoground, VQAv2, and DevBench (including its lexical, grammatical, and semantic subtasks).
- Unimodal (Text-only): BLIMP (and BLIMP Supplement), (Super)GLUE, and EWOK.
Key Insights and Ideas
- Curriculum Learning Benefits Multimodal Tasks: CL consistently improved VLM performance on multimodal evaluations, especially when combined with text pretraining. This suggests that structured learning can help models better grasp the interplay between vision and language.
- Text Pretraining is a Strong Contributor: Pretraining VLMs on developmentally plausible text-only data before multimodal training consistently boosted performance across various tasks, particularly for the GIT model. This highlights the value of foundational language understanding.
- Model Architecture Matters: Differences in model architecture (e.g., frozen vs. trainable vision encoders, attention mechanisms) influenced performance, with GIT often outperforming Flamingo on multimodal tasks, potentially due to its more flexible vision encoder.
- CL's Impact on Text-Only Tasks is Nuanced: While CL showed benefits for text-only tasks, particularly for models with smaller parameter counts, its impact was less consistent than for multimodal tasks.
- Winoground's Unique Properties: The Winoground benchmark, which probes compositional reasoning, showed significant gains from text pretraining, suggesting its sensitivity to models with strong foundational understanding.
Key Results
- Multimodal Performance:
- GITCL models generally outperformed GIT Baseline on VQAv2 and DevBench.
- Text pretraining (T+C) led to higher scores for both GITBaseline and GITCL models on Winoground and DevBench.
- FlamingoCL saw the largest gain from text pretraining on VQAv2 (a ~5% increase).
- GIT models with text pretraining achieved the highest results on the Winoground dataset.
- Text-Only Performance:
- All T+C variants (curriculum and baseline) for both models showed better performance than C variants on text-based evaluation datasets.
- For text-only tasks, CL variants generally outperformed their baselines, with a more pronounced effect in FlamingoCL.
- On BLIMP filtered, GITCL T+C outperformed FlamingoCL T+C.
Limitations and Future Work
- Single Seed: The study primarily reports results from a single random seed, though they conducted additional experiments with multiple seeds to confirm their findings.
- Generalizability: The authors caution against generalizing findings too broadly, as model architecture, training data composition, and evaluation task specifics can significantly influence outcomes.
- Future Research: The paper suggests exploring descending ordering of difficulty for CL, which was left for future research due to limited compute. They also note that the impact of CL on text-only tasks, especially for smaller models, warrants further investigation.
Summary updated