TL;DR
This paper challenges the common practice of using fixed, handcrafted neural network architectures in self-supervised learning (SSL). Through extensive experiments, they demonstrate that no single architecture performs optimally across diverse downstream tasks. They propose and validate a novel approach: learning architecture topologies alongside network weights within the SSL framework, leading to "self-supervised architectures" that outperform traditional ones.
What Problem Does This Paper Address?
Self-supervised learning (SSL) has made remarkable progress in learning powerful representations from unlabeled data. However, the field has largely relied on a "one-size-fits-all" approach to network architectures, typically using well-established models like ResNet, originally designed and proven effective in supervised learning on datasets like ImageNet. This practice implicitly assumes that architectures that excel in supervised settings will also be optimal for SSL across various downstream tasks. The authors argue this assumption is flawed, as different data distributions and tasks may benefit from different inductive biases inherent in network architectures. This can lead to performance degradation when SSL models are applied to out-of-distribution data, hindering SSL's promise of generalizable representations.
Methods
The paper employs a two-pronged approach:
- Extensive Empirical Study: They conduct a large-scale evaluation of over 100 variants of ResNet and MobileNet architectures. These models are pretrained using the SimCLR contrastive learning objective on ImageNet and then evaluated on 11 diverse downstream tasks. This study aims to empirically demonstrate whether a single architecture consistently performs well across these varied scenarios.
- Neural Architecture Search (NAS) for SSL: Building on the findings that architecture matters, they propose learning architecture topologies directly within the SSL regime. They adapt a NAS algorithm (ProxylessNAS) to optimize architectures not for supervised tasks, but for SSL objectives (SimCLR) on unlabeled pretraining data. This "NAS + SSL" approach aims to discover architectures specifically tailored for self-supervised representation learning.
Datasets
- Pretraining Datasets: ImageNet-1K, iNaturalist 2021 (full and mini versions).
- Downstream Evaluation Datasets: ImageNet-1K, CIFAR-10/100, Stanford Cars, Stanford Dogs, CUB-200, MIT-67, SVHN, Flowers-102, FGVC Aircraft, Sports.
The authors deliberately select pretraining datasets with domain shifts (e.g., general objects in ImageNet vs. fine-grained species in iNaturalist) and downstream datasets that vary in their similarity to the pretraining data to investigate generalization capabilities.
Key Insights and Ideas
- "One Network Doesn't Rule Them All" in SSL: The core finding is that there's no universal "best" architecture for SSL. Performance varies significantly across downstream tasks, even for architectures within the same family (ResNet or MobileNet).
- ImageNet Performance is Not a Reliable Predictor: Performance on ImageNet, a common benchmark for SSL, does not reliably indicate how well a model will perform on other, out-of-distribution datasets. This suggests caution when generalizing SSL findings based solely on ImageNet results.
- Architecture Search is Crucial for SSL: The paper strongly advocates for moving beyond handcrafted architectures. Learning architecture topologies tailored to SSL objectives and data distributions can unlock significant performance gains.
- Self-Supervised Architectures Outperform: Architectures discovered through NAS specifically for SSL ("self-supervised architectures") consistently outperform popular handcrafted architectures like MobileNetV2 and ResNet18, often with comparable or even smaller model sizes.
- Model Size Isn't Everything: Contrary to some supervised learning trends, larger models don't always perform better in SSL. The relationship between model size and performance is complex and dataset-dependent.
Key Results
- No Correlation: The study found weak to no correlation between ImageNet performance and performance on many downstream tasks for both ResNet and MobileNet variants. For instance, correlations between ImageNet and datasets like Stanford Cars and FGVC Aircraft were negative.
- Self-Supervised Architectures Win: The "NAS + SSL" approach yielded architectures that outperformed MobileNetV2 by a large margin and also surpassed ResNet18 and ResNet50 on several downstream tasks, even with smaller model sizes. For example, their self-supervised architectures achieved 59.1% accuracy on ImageNet, compared to ResNet18's 49.8%, while using a similar parameter range.
- Domain Shift Impact: While self-supervised architectures showed better generalization than handcrafted ones, performance still degraded on out-of-distribution datasets, highlighting the importance of data-dependent architecture design.
Limitations and Future Work
- Computational Cost: Both extensive architecture evaluation and NAS are computationally intensive, limiting the scale of experiments.
- Generalization to Other Modalities/Architectures: The study focused on CNNs (ResNet, MobileNet) and image data. Future work could explore if these findings extend to other architectures (e.g., Transformers) and modalities (e.g., video, text).
- NAS for SSL vs. SSL for NAS: The paper's focus is on using NAS to improve SSL. Future research could explore the interplay and potential synergies between these two areas further.
- Understanding Inductive Biases: Deeper investigation into why certain architectures perform better on specific datasets and how inductive biases are encoded and utilized in SSL remains an open area.
- Optimal Parameter Allocation: The paper touches upon the "top vs. bottom heavy" network debate, suggesting that optimal parameter allocation within an architecture is tricky and dataset-dependent, warranting further exploration.
Summary updated