Abstract
In this paper, we investigate self-supervised pretraining through the lens of part-aware representation learning. Our study is motivated by the observation that the primary training signals in self-supervised learning (SSL)—random views in contrastive learning and masked patches in masked image modeling—inherently focus on object parts. We propose that contrastive learning functions as a "part-to-whole" task, while masked image modeling acts as a "part-to-part" task. Our empirical evaluations demonstrate that while supervised models excel at object-level recognition, SSL models frequently outperform them in part-level recognition. Furthermore, combining these two paradigms, as seen in methods like iBOT, yields superior performance across both levels.
Introduction
Self-supervised representation learning has emerged as a cornerstone of modern computer vision, yet the underlying reasons for its effectiveness on downstream tasks remain partially understood. Traditional evaluations focus on object-level benchmarks like ImageNet classification. However, the data augmentation and masking strategies used during pretraining typically operate at the scale of object parts rather than whole objects. This paper seeks to bridge this gap by investigating whether SSL models are inherently "part-aware" and how this property distinguishes them from fully supervised models trained with explicit object-level labels.
Conceptual Framework: Part-to-Whole and Part-to-Part
We categorize the two dominant SSL paradigms based on their relationship with object parts:
- Contrastive Learning (CL) as "Part-to-Whole": In CL, the encoder learns a representation of a random crop (a part), while the projection layer is tasked with "hallucinating" the representation of the entire object. This encourages the model to align different parts of the same object in the embedding space.
- Masked Image Modeling (MIM) as "Part-to-Part": MIM requires the model to reconstruct masked patches (parts) from visible patches (other parts). This forces the model to learn the spatial and semantic relationships between different components of an object.
Evaluation Methodology
To rigorously test part-awareness, we developed a comprehensive evaluation suite for part-level recognition:
- Patch Retrieval: Identifying the same semantic part across different images.
- Part Classification: Labeling specific cropped parts.
- Part Segmentation: Pixel-wise labeling of fine-grained parts (e.g., bird wings vs. tails).
We evaluated several SSL methods—MoCo v3, DINO, MAE, BEiT, CAE, and iBOT—against a supervised baseline (DeiT), all pretrained on ImageNet-1K. Evaluation datasets included CUB-200-2011, ADE20K-Part, Pascal-Part, and LIP.
Results and Discussion
Our findings reveal a significant "object bias" in supervised models. While the supervised DeiT leads in ImageNet classification (81.8%), it is consistently outperformed by SSL models on part-level tasks.
- Superior Part Retrieval: On the CUB-200 dataset, CAE (58.0 AP) and MoCo v3 (50.8 AP) significantly outperformed the supervised DeiT (35.0 AP).
- Enhanced Segmentation: On ADE20K-Part, DINO and CAE surpassed DeiT by 1.6% and 1.1% mIoU, respectively, despite DeiT's superiority on the standard object-level ADE20K task.
- The Hybrid Advantage: iBOT, which combines CL and MIM objectives, emerged as the most robust model, narrowing the gap on object-level tasks while maintaining high part-awareness.
The role of the projector in CL was also clarified: encoded features (pre-projector) are superior for part-level retrieval, while projected features are better for object-level tasks, confirming the projector's role in mapping parts to whole concepts.
Conclusion
This study provides a new perspective on SSL by framing it as part-aware representation learning. While SSL models may lag slightly behind supervised models in "whole-object" classification, their superior understanding of object parts makes them highly effective for fine-grained and dense prediction tasks. Future work should explore how these models represent backgrounds and how diverse "in-the-wild" datasets might further enhance part-aware representations.
Summary updated