Introduction
Self-supervised learning (SSL) has revolutionized computer vision by enabling models to learn from vast, unlabeled datasets. However, these models remain "black boxes." While traditional Explainable AI (XAI) can identify where a model focuses—such as highlighting a specific region of an image—it often fails to explain why. Is the model responding to a specific color, a unique texture, or the overall geometric shape?
This research introduces a framework to decompose high-dimensional representations into three human-intuitive perceptual components: color, shape, and texture. By analyzing how these components influence the model's internal representation space, we can better understand the "personalities" of different training objectives like SimCLR, Barlow Twins, and VicREG.
Methodology: Isolating Perceptual Components
The core of the proposed method is a selective masking strategy designed to isolate the influence of specific visual features. By measuring the shift in the model's representation space when a component is removed, the framework can assign importance to that feature.
The framework employs three distinct masking techniques:
- Color Importance: Regions are replaced with grayscale equivalents. A significant shift in the model's representation indicates that color in that region is a critical feature.
- Shape Importance: Using Canny edge detection, the "skeleton" of the image is extracted. Random masks are applied to these edge maps to isolate geometric structure from other attributes.
- Texture Importance: Masked patches are converted to grayscale and blurred. Since texture relies on spatial intensity variations, blurring removes texture while maintaining general luminance.
By calculating the cosine similarity between the original image's representation and these masked versions, the authors generate component-specific importance maps. An Agreement Score is then used to quantify how much each component contributes to the model's overall decision-making process.
Comparative Analysis of Training Objectives
The study reveals that a model's training objective fundamentally dictates its visual priorities. For example, SimCLR often shows lower sensitivity to color and texture compared to supervised models. This is likely a byproduct of its training regime, which uses heavy data augmentations like color jittering and blurring, forcing the model to become invariant to these features.
In contrast, SSL models like Barlow Twins and VicREG appear more "shape-centric." While supervised models might hyper-focus on small, discriminative parts (like a bird's head), these SSL models capture the global structure of the object. In ImageNet benchmarks, Barlow Twins achieved a shape agreement score of 0.803, nearly double that of a supervised ResNet50 (0.350).
Domain-Specific Insights
The importance of these components is also highly dependent on the dataset domain. In the Birds (CUB-200-2011) dataset, texture agreement was significantly higher than in the Cars (Stanford Cars) dataset. This confirms that the models correctly identify texture as a primary identifying feature for feathered animals, whereas shape is more critical for identifying smooth, metallic vehicles.
Conclusion and Future Directions
By bridging the gap between pixel-level importance and human-intuitive concepts, this framework provides a deeper understanding of how SSL models perceive the world. While currently limited to three fundamental components, future work could expand this to include depth or temporal consistency. Furthermore, these insights could be used to prune models by removing filters that respond to unimportant perceptual components, leading to more efficient and specialized neural architectures.
Summary updated