Abstract
Self supervision and natural language supervision have emerged as two exciting ways to train general purpose image encoders which excel at a variety of downstream tasks. Recent works such as M3AE and SLIP have suggested that these approaches can be effectively combined, but most notably their results use small (<20M examples) pre-training datasets and don't effectively reflect the large-scale regime (> 100M samples) that is commonly used for these approaches. Here we investigate whether a similar approach can be effective when trained with a much larger amount of data. We find that a combination of two state of the art approaches: masked autoencoders (MAE) and contrastive language image pretraining (CLIP) provides a benefit over CLIP when trained on a corpus of 11.3M image-text pairs, but little to no benefit over CLIP when trained on a large corpus of 1.4B images. Our work provides clarity into the effectiveness of self supervision for large-scale image-text training.
Introduction
The development of "foundation models" in computer vision has largely followed two paths: self-supervision, where models like Masked Autoencoders (MAE) learn by reconstructing hidden parts of an image, and natural language supervision, where models like CLIP learn by aligning images with text captions. While recent research suggested that a hybrid approach—jointly training with both reconstruction and contrastive losses—could yield superior results, these findings were primarily based on small-scale datasets. This study investigates whether the benefits of joint supervision persist when scaling up to 1.4 billion image-text pairs.
Methods: The MAE-CLIP Baseline
The researchers developed MAE-CLIP, a unified architecture that integrates the strengths of both paradigms. Using a standard Vision Transformer (ViT) backbone, the model simultaneously optimizes two objectives: a standard CLIP contrastive loss on full image-text pairs and an MAE reconstruction loss on images where 75% of the patches are masked.
A critical component of the investigation was the analysis of "pooling" mechanisms—the methods used to aggregate visual features into a single representation vector. The study compared Multi-Head Attention Pooling (MAP), Global Average Pooling (GAP), and Max Pooling (MAX).
The Scaling Wall
The experiments compared performance across two regimes: a "small" scale using 11.3 million image-text pairs (Conceptual Captions) and a "large" scale using a massive 1.4 billion image-text dataset.
The results reveal a significant "scaling wall" for joint supervision. At the 11.3M scale, MAE-CLIP significantly outperformed standard CLIP, improving ImageNet zero-shot accuracy from 29.7% to 33.8%. However, at the 1.4B scale, this advantage completely vanished. In fact, on ImageNet linear probing, standard CLIP (77.5%) slightly outperformed MAE-CLIP (76.6%). This suggests that at extreme scales, the rich signal from natural language supervision makes the auxiliary reconstruction task redundant.
Pooling as a Hidden Variable
One of the most surprising findings was the impact of pooling strategies. The researchers found that the choice of pooling often had a more significant effect on performance than the addition of the MAE loss itself.
As shown in the table above, simply switching a standard CLIP model from MAP to MAX pooling at the small scale boosted ImageNet zero-shot performance to 33.1%—nearly matching the 33.8% achieved by the more complex MAE-CLIP model. This highlights that architectural choices in the pooling layer can be a "hidden variable" that accounts for gains previously attributed to joint supervision.
Visual Grounding and Spatial Reasoning
While MAE-CLIP did not provide a general performance boost at scale, it did show consistent improvements in tasks requiring precise visual grounding. On the CLEVR dataset, which tests spatial reasoning and object localization, MAE-CLIP outperformed standard CLIP, indicating that the reconstruction task helps the model better understand the spatial layout of scenes.
Conclusion
This research demonstrates that while combining self-supervision and language supervision is highly effective for smaller datasets, the benefits diminish as the volume of data grows. At the scale of 1.4 billion images, natural language supervision alone is sufficient for learning high-quality visual representations. Future work may explore whether larger model capacities or dynamic loss weighting could unlock further gains from joint supervision at scale.
Summary updated