[Paper Review] High Fidelity Visualization of What Your Self-Supervised Representation Knows About
This paper introduces a Representation Conditional Diffusion Model (RCDM) to visualize self-supervised representation space in high-fidelity image space, enabling faithful reconstruction of inputs conditioned on learned representations. The method reveals that SSL backbones are not invariant to data augmentations, while post-projector features are, and demonstrates that SSL representations are more robust to adversarial perturbations and exhibit structured, manipulable features.
Discovering what is learned by neural networks remains a challenge. In self-supervised learning, classification is the most common task used to evaluate how good a representation is. However, relying only on such downstream task can limit our understanding of what information is retained in the representation of a given input. In this work, we showcase the use of a Representation Conditional Diffusion Model (RCDM) to visualize in data space the representations learned by self-supervised models. The use of RCDM is motivated by its ability to generate high-quality samples -- on par with state-of-the-art generative models -- while ensuring that the representations of those samples are faithful i.e. close to the one used for conditioning. By using RCDM to analyze self-supervised models, we are able to clearly show visually that i) SSL (backbone) representation are not invariant to the data augmentations they were trained with -- thus debunking an often restated but mistaken belief; ii) SSL post-projector embeddings appear indeed invariant to these data augmentation, along with many other data symmetries; iii) SSL representations appear more robust to small adversarial perturbation of their inputs than representations trained in a supervised manner; and iv) that SSL-trained representations exhibit an inherent structure that can be explored thanks to RCDM visualization and enables image manipulation.
Motivation & Objective
- To address the lack of visual interpretability in self-supervised representation learning, especially for representations not directly tied to reconstruction or generation.
- To investigate whether self-supervised representations are truly invariant to data augmentations, a core assumption in SSL.
- To explore the robustness of SSL representations against small adversarial perturbations compared to supervised counterparts.
- To uncover structural, disentangled factors in SSL representations that enable meaningful image manipulation.
- To provide a diagnostic tool for model failure analysis using high-fidelity generation conditioned on learned representations.
Proposed method
- The authors employ a conditional diffusion model (RCDM) that generates high-fidelity images conditioned on a representation vector, ensuring the generated image's representation closely matches the input conditioning vector.
- The RCDM is trained to minimize the representation distance between the generated image and the conditioning representation, using a contrastive objective to enforce fidelity.
- The method conditions on features extracted from ResNet50 or Vision Transformer (ViT) backbones, including both untrained, supervised, and self-supervised models.
- The approach enables visual probing of representation space through conditional generation, allowing manipulation of disentangled factors such as object identity, background, and color.
- The RCDM is applied across multiple training stages (1, 5, 50 epochs) to visualize the evolution of learned features over time.
- The method is validated on ImageNet and real-world images (e.g., Earth from NASA), with ablation studies on augmentation schemes.
Experimental results
Research questions
- RQ1Are self-supervised representations truly invariant to data augmentations such as color jitter and cropping?
- RQ2How do the representations learned by SSL backbones compare to those of supervised models in terms of robustness to adversarial perturbations?
- RQ3Do SSL representations contain structured, disentangled factors that can be manipulated to generate novel image compositions?
- RQ4How does the representation evolve during training, and what features are learned first?
- RQ5Can high-fidelity generation from representations reveal hidden biases or overfitting, such as color-based memorization?
Key findings
- SSL backbone representations are not invariant to data augmentations, contradicting a widely held but incorrect assumption.
- Post-projector SSL features exhibit strong invariance to data augmentations and other symmetries, confirming the projector's role in achieving invariance.
- SSL representations are significantly more robust to small adversarial perturbations than supervised representations, as shown through conditional generation under perturbed inputs.
- RCDM-generated images reveal that SSL representations encode structured, disentangled factors such as object identity and background, enabling novel image manipulations like background substitution.
- Training SSL models without color-augmentations leads to representations that memorize color and texture statistics, as confirmed by RCDM samples that preserve colors but fail to reconstruct shapes.
- During training, SSL representations first encode color and texture information (after 1 epoch), with shape details emerging only after 5–50 epochs, indicating a progressive learning of structural features.
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.