Abstract
Combining self-supervised learning (SSL) with natural language supervision has shown promise on small datasets. This study evaluates this synergy at scale, training on 1.4 billion images. We find that the advantages of joint supervision disappear at large scales, where a well-tuned CLIP baseline performs comparably or better. Additionally, we show that pooling strategies often have a greater impact on performance than the inclusion of SSL objectives.
Introduction
The development of foundation models for computer vision has largely followed two paths: self-supervised learning (SSL), such as Masked Autoencoders (MAE), which focuses on pixel-level reconstruction, and natural language supervision, such as CLIP, which aligns images with semantic descriptions. Recent literature suggests that a hybrid approach—jointly training on both objectives—is the superior strategy. However, these claims are primarily supported by experiments on datasets smaller than 20 million images. This paper investigates whether the benefits of joint supervision persist when training on 1.4 billion images.
Methods
The authors introduce MAE-CLIP, a baseline architecture that augments a standard CLIP model with a generative decoder. The model is trained using a multi-task loss function comprising a contrastive loss (aligning image and text embeddings) and a generative loss (reconstructing masked image patches and text tokens).
To prevent the generative task from interfering with contrastive performance, the encoders process unmasked inputs for the CLIP loss and masked inputs for the reconstruction loss. A key component of the investigation is the role of pooling strategies. The researchers compared Multi-head Attention Pooling (MAP), Global Average Pooling (GAP), and Max Pooling (MAX) to determine how spatial information aggregation affects downstream performance.
Experimental Setup
Models were evaluated across two scales:
- Small Scale (CC): Approximately 11.3 million image-text pairs from Conceptual Captions.
- Large Scale (Web-crawled): A massive 1.4 billion example dataset compiled from EWIT-2.2B, LAION-400M, and internal sources.
Evaluation benchmarks included ImageNet-1K (Zero-shot and Linear Probing), the 17-task VTAB benchmark, and Visual Question Answering (VQA) datasets including CLEVR, VQAv2, and GQA.
Results
The experiments reveal a significant "small data illusion." At the 11.3 million image scale, MAE-CLIP significantly outperforms standard CLIP, achieving 33.8% zero-shot accuracy on ImageNet compared to 29.7%. However, at the 1.4 billion image scale, this advantage vanishes. A well-tuned CLIP model using Max Pooling reached 63.7% on ImageNet, while the MAE-CLIP variant reached only 60.9%.
Furthermore, the choice of pooling layer often proved more consequential than the training objective itself. As shown in the results, switching from MAP to MAX pooling can yield gains that rival or exceed those provided by adding SSL. On the VTAB benchmark at scale, there was virtually no difference in average performance between CLIP and MAE-CLIP.
Discussion and Conclusion
The findings suggest that at extreme scales, model capacity may become a limiting factor. Forcing a model to learn pixel-level details may detract from its ability to learn high-level semantic relationships. An exception was noted in the CLEVR dataset, where SSL-based models maintained a lead due to the task's requirement for precise spatial reasoning and object localization.
In conclusion, while joint supervision is a powerful regularizer for small datasets, its benefits are largely redundant at the billion-image scale. For large-scale model training, practitioners should prioritize data quality and architectural choices like pooling strategies over complex multi-task objectives.
Summary updated