[Paper Review] Where Should I Spend My FLOPS? Efficiency Evaluations of Visual Pre-training Methods
This paper evaluates the computational efficiency of visual self-supervised pre-training methods under a fixed FLOP budget, comparing six methods (CLIP, DINO, SimCLR, BYOL, MAE, supervised) across five datasets and two ViT backbone sizes. It finds that CLIP and MAE offer the best accuracy-efficiency trade-offs, while uncurated datasets like JFT-300M and COCO yield significantly worse performance despite high FLOP usage, challenging the assumption that self-supervised learning scales well to noisy data.
Self-supervised methods have achieved remarkable success in transfer learning, often achieving the same or better accuracy than supervised pre-training. Most prior work has done so by increasing pre-training computation by adding complex data augmentation, multiple views, or lengthy training schedules. In this work, we investigate a related, but orthogonal question: given a fixed FLOP budget, what are the best datasets, models, and (self-)supervised training methods for obtaining high accuracy on representative visual tasks? Given the availability of large datasets, this setting is often more relevant for both academic and industry labs alike. We examine five large-scale datasets (JFT-300M, ALIGN, ImageNet-1K, ImageNet-21K, and COCO) and six pre-training methods (CLIP, DINO, SimCLR, BYOL, Masked Autoencoding, and supervised). In a like-for-like fashion, we characterize their FLOP and CO$_2$ footprints, relative to their accuracy when transferred to a canonical image segmentation task. Our analysis reveals strong disparities in the computational efficiency of pre-training methods and their dependence on dataset quality. In particular, our results call into question the commonly-held assumption that self-supervised methods inherently scale to large, uncurated data. We therefore advocate for (1) paying closer attention to dataset curation and (2) reporting of accuracies in context of the total computational cost.
Motivation & Objective
- To determine the most computationally efficient visual pre-training methods under a fixed FLOP budget.
- To assess how dataset quality and curation affect the efficiency and accuracy of self-supervised learning.
- To compare the performance of contrastive, self-distillation, and masked autoencoding methods in terms of FLOP-normalized accuracy.
- To advocate for reporting model performance in context of total computational cost, not just accuracy.
Proposed method
- Pre-train six methods—CLIP, DINO, SimCLR, BYOL, MAE, and supervised classification—on five large-scale datasets: JFT-300M, ALIGN, ImageNet-1K, ImageNet-21K, and COCO.
- Use ViT-B and ViT-L backbones to evaluate model size effects on FLOP efficiency.
- Profile per-gradient-step FLOP costs on identical hardware to enable like-for-like FLOP-normalized comparisons.
- Transfer all models to a standard ViT-based semantic segmentation head and evaluate on COCO-2017 and COCO-2017 object detection benchmarks.
- Optimize masking ratios for MAE (e.g., 65% on COCO, 75% on others) to maximize downstream accuracy and efficiency.
- Report results normalized by FLOPs and CO2 footprint to enable fair comparison across methods, datasets, and model sizes.
Experimental results
Research questions
- RQ1Which self-supervised pre-training method achieves the highest accuracy per FLOP across diverse datasets and model sizes?
- RQ2How does dataset curation level (e.g., ImageNet-1K vs. uncurated JFT-300M) affect the efficiency and accuracy of self-supervised learning?
- RQ3To what extent do FLOP-efficient methods enable training larger backbones within a fixed compute budget?
- RQ4Does the performance of self-supervised methods scale reliably with dataset size, or is high-quality curation more important?
- RQ5How do the efficiency and accuracy of CLIP and MAE compare to supervised pre-training under identical FLOP constraints?
Key findings
- CLIP achieves the best FLOP-normalized accuracy on large-scale datasets, outperforming or matching supervised pre-training in both segmentation and object detection.
- MAE achieves strong absolute performance and ranks among the most efficient methods, especially on ImageNet-1K and COCO, with 44.8 mIoU on segmentation and 44.2 mAP on detection.
- Self-supervised methods like DINO, SimCLR, and BYOL show significantly lower computational efficiency, requiring up to an order of magnitude more FLOPs for comparable performance.
- Pre-training on uncurated datasets like JFT-300M or COCO leads to substantially worse performance than on curated ImageNet-1K/21K, even with higher FLOP usage.
- The decoder in masked autoencoding (MAE) dominates computation time, with up to 65% of forward-backward pass time spent on decoding, especially at high masking ratios.
- Using a one-layer 'tiny' decoder in MAE reduces wall-clock time by 95% at 75% masking, significantly improving efficiency without sacrificing accuracy.
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.