[Paper Review] Rethinking Evaluation Protocols of Visual Representations Learned via Self-supervised Learning
This paper identifies critical flaws in standard evaluation protocols for self-supervised visual representations, showing that linear probing (LP) and transfer learning (TL) performance are highly sensitive to hyperparameters like input normalization and SSL weight decay. The authors demonstrate that batch normalization before LP and an optimal SSL weight decay (0.04 → 0.2) drastically improve evaluation stability and transferability, revealing that current metrics fail to detect hidden hyperparameter dependencies that affect real-world transfer performance.
Linear probing (LP) (and $k$-NN) on the upstream dataset with labels (e.g., ImageNet) and transfer learning (TL) to various downstream datasets are commonly employed to evaluate the quality of visual representations learned via self-supervised learning (SSL). Although existing SSL methods have shown good performances under those evaluation protocols, we observe that the performances are very sensitive to the hyperparameters involved in LP and TL. We argue that this is an undesirable behavior since truly generic representations should be easily adapted to any other visual recognition task, i.e., the learned representations should be robust to the settings of LP and TL hyperparameters. In this work, we try to figure out the cause of performance sensitivity by conducting extensive experiments with state-of-the-art SSL methods. First, we find that input normalization for LP is crucial to eliminate performance variations according to the hyperparameters. Specifically, batch normalization before feeding inputs to a linear classifier considerably improves the stability of evaluation, and also resolves inconsistency of $k$-NN and LP metrics. Second, for TL, we demonstrate that a weight decay parameter in SSL significantly affects the transferability of learned representations, which cannot be identified by LP or $k$-NN evaluations on the upstream dataset. We believe that the findings of this study will be beneficial for the community by drawing attention to the shortcomings in the current SSL evaluation schemes and underscoring the need to reconsider them.
Motivation & Objective
- To investigate why linear probing and transfer learning evaluations for self-supervised visual representations show high sensitivity to hyperparameters.
- To identify overlooked factors in current evaluation protocols that lead to inconsistent and unstable performance measurements.
- To demonstrate that input normalization and SSL weight decay are key hidden hyperparameters affecting evaluation reliability.
- To advocate for a reevaluation of standard SSL evaluation schemes to ensure robustness and generalizability of learned representations.
Proposed method
- Conduct extensive cross-evaluation of state-of-the-art SSL models using diverse hyperparameter settings across LP and TL protocols.
- Apply batch normalization before the linear classifier in LP to assess its impact on performance stability and consistency with k-NN metrics.
- Systematically vary the weight decay hyperparameter during SSL pretraining and analyze its downstream effects on TL performance and convergence.
- Visualize loss landscapes using 2D visualization to compare generalization behavior across different SSL weight decay settings.
- Use Centered Kernel Alignment (CKA) to measure feature reusability and transferability of representations before and after fine-tuning.
- Compare validation loss curves, loss landscapes, and CKA scores across models trained with different SSL weight decay values to assess robustness and transferability.
Experimental results
Research questions
- RQ1Why does linear probing performance vary significantly across different hyperparameter settings despite using the same SSL model?
- RQ2To what extent does input normalization, particularly batch normalization before the linear head, stabilize LP and k-NN evaluation metrics?
- RQ3How does the weight decay hyperparameter used during SSL pretraining affect transfer learning performance and hyperparameter robustness?
- RQ4Can loss landscape analysis reveal generalization and robustness differences not visible in standard training curves?
- RQ5Does feature reusability, measured via CKA, correlate with improved transferability across different SSL weight decay settings?
Key findings
- Applying batch normalization before the linear classifier in LP eliminates performance variations across hyperparameter settings and resolves inconsistencies between LP and k-NN evaluation metrics.
- The SSL weight decay hyperparameter significantly influences transferability in downstream tasks, with a value of 0.04 → 0.2 yielding the most robust and generalizable representations.
- Models with SSL weight decay of 0.04 → 0.2 exhibit flatter loss landscapes, indicating improved generalization and robustness to downstream hyperparameter choices.
- CKA analysis confirms that representations from models pre-trained with 0.04 → 0.2 weight decay show higher feature reusability in early-to-middle ViT blocks after fine-tuning.
- Despite similar validation loss curves, models with higher SSL weight decay (0.04 → 0.4) show faster convergence but worse transferability, indicating that convergence speed alone is not a reliable proxy for transferability.
- The study reveals that standard evaluation protocols (LP and k-NN) fail to detect the impact of SSL weight decay on downstream performance, exposing a critical flaw in current evaluation schemes.
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.