[Paper Review] Do Self-Supervised and Supervised Methods Learn Similar Visual Representations?
This paper compares self-supervised (SimCLR) and supervised learning representations in a ResNet-50 on CIFAR-10 using Centered Kernel Alignment (CKA). It finds that while intermediate representations are similar, final layers diverge: SimCLR learns augmentation invariance, while supervised learning fits class structure. The key insight is that SimCLR’s success stems from class-informative intermediate features, not final-layer similarity.
Despite the success of a number of recent techniques for visual self-supervised deep learning, there has been limited investigation into the representations that are ultimately learned. By leveraging recent advances in the comparison of neural representations, we explore in this direction by comparing a contrastive self-supervised algorithm to supervision for simple image data in a common architecture. We find that the methods learn similar intermediate representations through dissimilar means, and that the representations diverge rapidly in the final few layers. We investigate this divergence, finding that these layers strongly fit to their distinct learning objectives. We also find that the contrastive objective implicitly fits the supervised objective in intermediate layers, but that the reverse is not true. Our work particularly highlights the importance of the learned intermediate representations, and raises critical questions for auxiliary task design.
Motivation & Objective
- To investigate whether self-supervised and supervised learning methods learn similar visual representations.
- To analyze how and why representations diverge across network depth in contrastive self-supervised vs. supervised training.
- To evaluate whether the success of self-supervised learning arises from structural similarity in final representations or from shared intermediate features.
- To examine the implicit learning of augmentation invariance and class structure in both methods.
Proposed method
- Uses Centered Kernel Alignment (CKA) to compare representation similarity across layers of ResNet-50 trained via SimCLR (self-supervised) and supervised learning.
- Employs linear probes to measure class linear separability at each layer, assessing downstream representational quality.
- Measures augmentation invariance by computing CKA between representations of augmented and original test samples at each layer.
- Compares CKA between learned representations and ground-truth class simplex structures to assess alignment with class labels.
- Uses multiple random weight initializations to validate solution stability and avoid initialization bias in comparisons.
- Analyzes both odd and even layers separately to detect structural asymmetries in representation learning.
Experimental results
Research questions
- RQ1Do self-supervised and supervised methods learn similar visual representations across the network depth?
- RQ2To what extent do SimCLR and supervised learning representations diverge in the final layers, and why?
- RQ3Does supervised learning implicitly learn augmentation invariance, or does SimCLR uniquely capture this property?
- RQ4How do intermediate representations compare in terms of class informativeness and structural similarity?
- RQ5Is the performance of SimCLR due to final-layer similarity or shared intermediate feature learning?
Key findings
- Post-residual representations are similar between SimCLR and supervised learning, but residual (block-interior) representations are dissimilar, indicating different optimization paths.
- Initial residual layer representations are similar, suggesting shared low-level primitives are learned across both methods.
- Final layers diverge rapidly: SimCLR learns strong augmentation invariance, while supervised learning fits to class structure, as confirmed by CKA and linear probe accuracy.
- Supervised learning does not implicitly learn augmentation invariance, but learning to be invariant to SimCLR’s augmentations does induce class separability.
- The representational structures diverge quickly in the final layers, indicating that SimCLR’s performance arises from class-informative intermediate features, not final-layer agreement.
- Class structure alignment increases monotonically in both methods, but accelerates sharply in supervised learning during the final block group due to explicit optimization.
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.