Introduction
The current trajectory of computer vision research often follows a "more is better" philosophy, where state-of-the-art results are achieved by scaling datasets and compute. However, for most practitioners, computational resources are a strict constraint. This paper investigates the pragmatic trade-offs between various pre-training paradigms—including contrastive learning (SimCLR), self-distillation (DINO, BYOL), and masked reconstruction (MAE)—to determine which methods offer the best downstream performance for a fixed FLOP budget.
Experimental Framework
To ensure a fair comparison, the researchers profiled the actual computational cost of each method using a JAX-based profiler. The study controlled for:
- Methods: Four self-supervised learning (SSL) techniques (BYOL, SimCLR, DINO, MAE) and two supervised baselines (CLIP and standard softmax classification).
- Budgets: Training durations spanned four levels, from 62,500 to 750,000 steps.
- Architectures: Vision Transformers (ViT-B and ViT-L) were evaluated to test whether scaling model size or training time is more effective.
- Evaluation: Downstream performance was measured via fine-tuning for semantic segmentation (ADE20K) and object detection (COCO).
The Efficiency Pareto Front
The study reveals that supervised methods, particularly CLIP, define the upper bound of efficiency. When text-image pairs are available, CLIP provides the highest performance per FLOP. Among purely self-supervised methods, MAE emerges as the clear leader, significantly outperforming alternatives like DINO or BYOL in computational efficiency.
MAE's efficiency stems from its reconstruction task, which allows it to be roughly an order of magnitude more efficient than other SSL methods when transferring to spatial tasks like segmentation.
The Curation Myth and Dataset Scale
A prevalent belief in the field is that SSL methods excel by leveraging massive, uncurated web data. However, the findings challenge this: when compute is fixed, most methods perform worse on web-scale uncurated datasets (like ALIGN) than on smaller, curated ones (like ImageNet-21K).
As shown in the comparison between JFT-300M and ALIGN, the lack of curation in ALIGN leads to a noticeable drop in efficiency for many SSL methods. Curation remains a critical factor for maximizing the utility of a fixed computational budget.
Key Insights for Practitioners
- Model Scaling: For a limited FLOP budget, it is generally better to train a smaller backbone (e.g., ViT-B) for more steps than a larger one (e.g., ViT-L) for fewer steps. Larger models only become advantageous once the capacity of the smaller model is fully saturated.
- Complexity Costs: Methods requiring multiple views (DINO, SimCLR) or large batch sizes are "FLOP-heavy," making them less efficient per gradient step compared to MAE or supervised learning.
- Stability: Some methods, notably DINO, showed significant training instability when scaled to long schedules on uncurated datasets like JFT.
Conclusion
This research underscores that not all pre-training FLOPs are created equal. Supervised language-image pre-training (CLIP) and masked autoencoding (MAE) represent the current state-of-the-art in efficiency. While the industry moves toward larger datasets, the importance of data curation and the strategic selection of pre-training tasks cannot be overlooked for those operating under finite compute budgets. Future work should focus on developing "compute-optimal" scaling laws for SSL to guide resource allocation more effectively.
Summary updated