Abstract
Self-supervised learning (SSL) relies heavily on data augmentations to learn robust representations. However, traditional methods like cropping and color jittering offer limited semantic diversity and risk creating false positives. We propose GenView, a framework that leverages pretrained generative models to produce diverse, semantically consistent views. By incorporating an adaptive noise-control mechanism and a quality-driven contrastive loss, GenView significantly improves performance across various vision benchmarks, outperforming standard SSL techniques and even large-scale pretrained models like CLIP in certain settings.
Introduction
In contrastive self-supervised learning, models learn by identifying that different "views" (augmentations) of the same image should share similar representations. Conventional views are generated through manual transformations such as random cropping, color jittering, or blurring. These methods suffer from two primary limitations:
- Limited Diversity: Surface-level pixel modifications cannot simulate changes in object pose, lighting, or environment, which are crucial for learning high-level semantic invariance.
- Semantic Drift: Aggressive cropping may remove the target object entirely, leading the model to incorrectly associate background noise with the original semantic category.
GenView addresses these issues by utilizing the rich prior knowledge of generative models (e.g., Stable Diffusion) to create "smarter" training pairs that are both diverse and semantically grounded.
Methodology
The GenView framework introduces two core components to integrate generative models into the SSL pipeline effectively.
Adaptive View Generation
To ensure semantic consistency while maximizing diversity, GenView employs an adaptive noise-control strategy. The system estimates the "foreground proportion" of an image using PCA on CLIP features:
- Low Foreground Proportion: For images where the object is small, low noise is applied to prevent the object from being lost or hallucinated into a different category.
- High Foreground Proportion: For clear, large objects, high noise is utilized to encourage the generative model to produce radical variations in pose and background.
Quality-Driven Contrastive Loss
Not all generated views are of equal utility. GenView introduces a re-weighting factor for the contrastive loss based on a "quality score." This score balances foreground similarity (ensuring the object remains recognizable) and background diversity (ensuring the environment changes). High-quality pairs are prioritized during training, while inconsistent or "hallucinated" pairs are down-weighted.
Experimental Results
GenView was evaluated on standard benchmarks including ImageNet-1K, CIFAR-10/100, and MS-COCO. Key findings include:
- Linear Classification: On ImageNet, GenView improved MoCov2 performance by 2.5%. Combined with MoCov3 and a ResNet-50, it reached 74.8% top-1 accuracy, surpassing the original CLIP model (74.3%) despite CLIP's much larger training set of 400 million pairs.
- Data Efficiency: GenView with 0.15 million synthetic images outperformed models trained with 0.3 million additional real images from Laion400M, highlighting the value of high-quality, targeted synthetic views over raw scale.
- Downstream Tasks: Models pretrained with GenView showed superior performance in object detection and instance segmentation on MS-COCO, demonstrating the robustness and localization capabilities of the learned features.
Conclusion
GenView demonstrates that generative models can serve as powerful "data engines" for self-supervised learning. By intelligently controlling the generation process and filtering for quality, the framework bridges the gap between low-level pixel augmentations and high-level semantic invariance. While currently an offline process, future work may explore online generation and applications in video and 3D domains.
Summary updated