Abstract
Self-supervised pretraining (SSP) has revolutionized visual representation learning but remains computationally expensive and sensitive to domain shifts. This paper introduces Hierarchical PreTraining (HPT), a framework that initializes self-supervised learning with previously pretrained models rather than random weights. Our results demonstrate that HPT achieves up to 80x faster convergence, superior final accuracy across 15 of 16 diverse datasets, and enhanced robustness to data augmentation choices.
Introduction
Self-supervised pretraining (SSP) is the current gold standard for learning visual features without manual labels. Despite its success, SSP faces three significant challenges: high computational cost, extreme sensitivity to data augmentation policies, and the "domain gap" where general-purpose models (e.g., ImageNet-pretrained) struggle on specialized tasks like medical or satellite imagery. Traditionally, practitioners choose between "Generalist" models (static ImageNet weights) or "Specialist" models (training from scratch on target data). This paper proposes a third way: Hierarchical PreTraining (HPT).
Methods: Hierarchical PreTraining (HPT)
The core philosophy of HPT is that pretraining should be additive. Instead of starting from scratch, HPT initializes the self-supervised process with a model already pretrained on a large, general dataset.
The HPT pipeline follows a logical hierarchy:
- Base Pretraining: Initialization with a model trained on a massive general dataset (e.g., ImageNet).
- Source Pretraining (Optional): Intermediate pretraining on a large dataset related to the target domain.
- Target Pretraining: Final self-supervised phase on the specific target dataset.
- Supervised Finetuning: Standard task-specific training.
The authors also introduce HPT-BN, a lightweight variant where only Batch Normalization parameters are updated during target pretraining. This approach is particularly effective for small datasets, preventing overfitting while adapting the model to new statistics.
Key Results and Insights
HPT consistently outperformed both training from scratch and static generalist initialization across 16 diverse datasets, including remote sensing, medical imaging, and autonomous driving.
1. Rapid Convergence (The 5k Step Rule)
While training from scratch often requires hundreds of thousands of iterations, HPT typically reaches peak performance within just 5,000 steps. This suggests that the model primarily re-calibrates existing features to the new domain rather than learning entirely new representations. This leads to a speedup of up to 80x.
2. Superior Accuracy and Data Efficiency
HPT achieved the highest accuracy on 15 out of 16 datasets. The benefits are most pronounced in low-data regimes (1% or 10% of target data), where the prior knowledge from base pretraining provides a critical foundation that scratch training lacks.
3. Robustness to Augmentation
SSP is notoriously sensitive to augmentation. HPT mitigates this risk; even with suboptimal augmentation policies, the pretrained initialization prevents the model from collapsing into poor representations, making the training process much more stable.
Discussion and Limitations
The only notable exception to HPT's dominance was the Quickdraw dataset, characterized by simple, binary line drawings. In cases of extreme domain gaps combined with very large datasets, training from scratch remains competitive. Additionally, while this study focused on MoCo-V2, future work is needed to confirm these findings on newer architectures like Vision Transformers (ViT).
Conclusion
Hierarchical PreTraining demonstrates that "pretraining improves pretraining." By treating learned representations as additive rather than disposable, HPT offers a significantly more efficient and robust path for domain-specific self-supervised learning.
Summary updated