[Paper Review] On the Importance of Hyperparameters and Data Augmentation for Self-Supervised Learning
This paper demonstrates that hyperparameters and data augmentation critically impact self-supervised learning (SSL) performance, especially in SimSiam. Using Bayesian optimization, the authors improve performance across CIFAR-10, CIFAR-100, and DermaMNIST by tuning hyperparameters and augmentation strategies, and introduce GroupAugment—a novel automated data augmentation method that optimizes over grouped augmentations, achieving state-of-the-art linear evaluation accuracy on all datasets by outperforming both baseline and existing supervised learning-based augmentation algorithms.
Self-Supervised Learning (SSL) has become a very active area of Deep Learning research where it is heavily used as a pre-training method for classification and other tasks. However, the rapid pace of advancements in this area comes at a price: training pipelines vary significantly across papers, which presents a potentially crucial confounding factor. Here, we show that, indeed, the choice of hyperparameters and data augmentation strategies can have a dramatic impact on performance. To shed light on these neglected factors and help maximize the power of SSL, we hyperparameterize these components and optimize them with Bayesian optimization, showing improvements across multiple datasets for the SimSiam SSL approach. Realizing the importance of data augmentations for SSL, we also introduce a new automated data augmentation algorithm, GroupAugment, which considers groups of augmentations and optimizes the sampling across groups. In contrast to algorithms designed for supervised learning, GroupAugment achieved consistently high linear evaluation accuracy across all datasets we considered. Overall, our results indicate the importance and likely underestimated role of data augmentation for SSL.
Motivation & Objective
- To investigate the impact of hyperparameters and data augmentation on self-supervised learning (SSL) performance.
- To identify which hyperparameters are most sensitive to model collapse and which are most influential for performance.
- To develop an automated data augmentation method tailored for SSL, addressing limitations of existing approaches designed for supervised learning.
- To demonstrate that optimized data augmentation can significantly improve linear evaluation accuracy in SSL, especially when manual intuition is lacking.
- To provide a systematic, hyperparameter-optimized baseline for SSL that outperforms standard configurations.
Proposed method
- The authors use Bayesian optimization with expert priors to search over hyperparameters and data augmentation strategies for the SimSiam SSL framework.
- They define a search space over learning rate, weight decay, optimizer, and data augmentation hyperparameters including color jitter, Gaussian blur, and solarization.
- GroupAugment is introduced as a new automated data augmentation algorithm that optimizes over groups of augmentations, including group-specific sampling probabilities, number of augmentations per group, and total augmentations.
- The method generalizes existing approaches by allowing flexible augmentation groupings and avoiding constraints on the augmentation set, unlike SelfAugment.
- GroupAugment uses Bayesian optimization to search over a diverse space of augmentation policies, including combinations that resemble manually designed SSL strategies.
- The authors compare GroupAugment against standard supervised learning-based augmentation algorithms (e.g., RandAugment, TrivialAugment) and tuned SimSiam augmentations under the same computational budget.
Experimental results
Research questions
- RQ1How do hyperparameters and data augmentation strategies affect the performance of self-supervised learning models like SimSiam?
- RQ2Which hyperparameters are most prone to causing model collapse when set incorrectly?
- RQ3Can automated data augmentation designed for supervised learning be effectively transferred to self-supervised learning, or are different strategies required?
- RQ4Does optimizing data augmentation strategies through automated search lead to consistent performance gains across diverse datasets in SSL?
- RQ5Can a novel automated augmentation method that considers grouped augmentations outperform both standard and tuned baseline augmentation policies in SSL?
Key findings
- GroupAugment achieved the highest linear evaluation accuracy on all three datasets: 93.0% ± 0.1 on CIFAR-10, 68.0% ± 0.3 on DermaMNIST, and 66.3% ± 0.4 on CIFAR-100, outperforming the baseline SimSiam and all other augmentation methods.
- Applying standard supervised learning-based augmentation algorithms like RandAugment to SSL degraded performance on most datasets, with CIFAR-100 accuracy dropping to 59.3% ± 0.5.
- Tuning the SimSiam augmentation strategy with the same computational budget as GroupAugment improved performance to 92.7% ± 0.1 on CIFAR-10 and 67.9% ± 0.3 on CIFAR-100, but GroupAugment still outperformed it.
- The study confirms that data augmentation is a critical, often underestimated factor in SSL, with optimized strategies yielding substantial gains over standard or handcrafted ones.
- Bayesian optimization of hyperparameters and augmentations led to consistent performance improvements across all datasets, demonstrating the value of systematic hyperparameter search in SSL.
- GroupAugment successfully discovered augmentation policies that resemble manually designed SSL strategies, validating its ability to generalize across diverse data distributions.
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.