Abstract
Self-supervised learning (SSL) has revolutionized representation learning by enabling models to learn from unlabeled data. However, standard methods often fail to explicitly capture the relationship between local image features and the global context. We present CO-SSL (Co-Occurrence Self-Supervised Learning), a framework designed to align local image patches with global representations. By forcing individual "parts" to represent the "whole," CO-SSL achieves state-of-the-art performance on ImageNet-1K and demonstrates superior robustness to noise, occlusions, and adversarial attacks.
Introduction
In the realm of self-supervised learning, models typically learn by optimizing for instance discrimination—treating different views of the same image as similar—or through masked modeling, where the model predicts missing segments of an image. These approaches rely heavily on spatial co-occurrences: the statistical likelihood that certain features (e.g., a tail) appear near others (e.g., a snout).
Despite their success, standard Convolutional Neural Networks (CNNs) possess a subtle architectural flaw in this context. Their "local" features often have a receptive field—the area of the input image they can perceive—that is effectively larger than the image itself. Consequently, the model does not truly learn the relationship between a part and the whole; instead, it perceives the global context at every local point. CO-SSL addresses this by explicitly modeling how local features relate to global concepts, mimicking the spatial regularity extraction found in biological vision systems.
Methodology
The CO-SSL Framework
CO-SSL moves beyond the standard practice of comparing two global views (as seen in frameworks like BYOL or DINO). Instead, it introduces a loss function that aligns local representations—the data extracted just before the final pooling layer—with the global representation. This mechanism "pushes" the representation of a small patch to be predictive of the entire image concept. The authors implemented this approach across two primary architectures: CO-BYOL and CO-DINO.
RF-ResNet: Controlling the Receptive Field
To ensure that local features remain truly local during training, the authors developed RF-ResNet. By replacing 3x3 convolutions with 1x1 convolutions in specific layers, the architecture precisely controls the Receptive Field (RF) size. This prevents the network from "cheating" by allowing local patches to see the entire image too early in the processing pipeline, thereby forcing the model to learn meaningful associations between distinct parts and the global object.
Experimental Setup
The framework was evaluated across several rigorous benchmarks to test both general performance and transferability:
- ImageNet-1K: The primary benchmark for image classification.
- ImageNet-100 & Tiny-ImageNet: Used for rapid iteration and ablation studies.
- ImageNet-C: A specialized dataset for testing robustness against 15 types of corruption, including blur, noise, and weather effects.
- Places365: A dataset used to evaluate transfer learning capabilities in scene recognition tasks.
Key Insights
Redundancy as a Defense
CO-SSL treats redundancy as a feature rather than a bug. By training every patch to represent the whole object, the model becomes highly resilient. If 90% of an image is obscured or blurred, the remaining 10% retains enough information to identify the global concept. This "Elephant Intuition" ensures that if a model sees only a trunk, it can still confidently associate that feature with the "elephant" category.
Efficiency Gains
Many leading SSL methods utilize "multi-crop" strategies, which involve processing 6–10 different views of a single image. While effective, this is computationally expensive. CO-SSL achieves comparable or superior results using only two views by maximizing the utility of internal local data, offering a more efficient path to high-quality representations.
Results
Accuracy and Performance
CO-BYOL achieved a 71.5% Top-1 accuracy on ImageNet-1K with only 100 epochs of pre-training. This outperforms standard BYOL (69.3%) and other contemporary methods like Matrix-SSL (71.1%).
Robustness and Resilience
In robustness testing against Gaussian noise, CO-BYOL (R50) maintained 34.5% accuracy, whereas standard BYOL performance dropped to 28.5%. Furthermore, when the authors intentionally discarded 90% of local representations before classification, CO-SSL maintained significantly higher accuracy than its peers. This confirms that the individual "parts" in a CO-SSL model have a much deeper understanding of the "whole" than those in traditional SSL models.
Conclusion
CO-SSL introduces a vital shift in self-supervised learning by focusing on the explicit alignment of local and global features. While the current implementation relies on specific architectural adjustments like RF-ResNet and introduces slight computational overhead via local projection heads, the gains in robustness and accuracy are substantial. Future research will focus on scaling these principles to Vision Transformers (ViTs), which handle spatial relationships differently than CNNs but stand to benefit from the same part-whole alignment logic.
Summary updated