Seeing the Whole in the Parts in Self-Supervised Representation Learning

Arthur Aubret, Céline Teulière, Jochen Triesch · Submission to ICLR 2025 · Rejected

TL;DR

Current self-supervised visual learning methods rely heavily on aggressive image cropping or masking to teach models how visual parts relate to one another. CO-SSL introduces a more direct and sample-efficient approach: aligning local, pre-pooling feature representations with the global image embedding across augmented views. Paired with a tailored RF-ResNet architecture that restricts receptive fields to keep local features truly local, CO-SSL matches or outperforms standard multi-crop baselines while dramatically cutting memory and view overhead.

What Problem Does This Paper Address?

In self-supervised representation learning (SSL), instance discrimination (ID) and masked modeling (MM) both hinge on learning spatial co-occurrences—for example, discovering that an elephant trunk usually co-occurs with an elephant tusk.

Traditional ID approaches capture this by enforcing similarity between heavily cropped, overlapping views of an image (often relying on expensive "multi-crop" strategies with 6 to 10 crops per iteration). Meanwhile, standard Convolutional Neural Networks (like ResNet-50) have receptive fields exceeding $400 \times 400$ pixels—far larger than the standard $224 \times 224$ input size. As a result, supposed "local" features near the output layer already see the entire image, preventing networks from explicitly learning how localized parts compose global wholes.

Methods

The authors propose Co-Occurrence SSL (CO-SSL) alongside an architectural modification called RF-ResNet:

  1. CO-SSL Framework (CO-BYOL, CO-DINO, CO-MoCoV3): Rather than only minimizing loss between two global views ($h_\theta$ and $h'_\xi$), CO-SSL additionally applies the SSL loss symmetrically between individual local feature vectors (extracted immediately prior to average pooling) of one view and the global embedding of the other view via dedicated $1 \times 1$ convolutional projection heads.
  2. RF-ResNet Architecture: Standard ResNets rapidly expand their receptive fields (RF) through $3 \times 3$ convolutions and strides. To ensure local representations capture genuine subparts, the authors design RF-ResNet. By replacing selected $3 \times 3$ convolutions with $1 \times 1$ convolutions, modifying strides, and adjusting block counts to match standard parameter budgets, RF-ResNet bounds the maximum receptive field size (e.g., $99 \times 99$ pixels in RF99-ResNet50) while preserving model capacity.
Augmented View 1  ---> [ RF-ResNet Backbone ] ---> Local Features (n x n) ---> [Local Loss L_l] <--- Global View 2
                                          |                                           ^
                                     (AvgPool)                                        |
                                          v                                           |
                                   Global Feature ------------------------------------+

Datasets

  • Pre-training and Linear Evaluation: ImageNet-1K (full dataset and 10% subset), ImageNet-100, and Tiny-ImageNet.
  • Transfer Learning: Places365-standard (for scene recognition linear probing).
  • Robustness Benchmarks: ImageNet-C (testing blur and noise corruptions), internal masking (randomly dropping 50%–90% of spatial feature tokens), and Projected Gradient Descent (PGD) $L_\infty$ adversarial attacks.
  • No new datasets were introduced.

Key Insights and Ideas

  • High Intra-Image Redundancy via the Triangle Inequality: Because all local patches of an image are pulled toward the same global representation, they are implicitly drawn toward one another. Local representations within an image become substantially more correlated, providing an intuitive explanation for why the model can survive missing parts or localized noise.
  • Bags of Patches Are Sufficient for Categorization: Evaluating a linear classifier directly on the spatially averaged bag of patch embeddings (prior to the post-pooling non-linear MLP) yields 71.2% accuracy on ImageNet-1K—nearly identical to the full model (71.5%). This highlights that category recognition can be performed remarkably well simply by pooling localized feature statistics.
  • Replacing Multi-Crop with Sample Efficiency: Rather than generating 4 to 8 small crops and doing multiple forward passes per training sample, CO-SSL achieves superior results using just the standard 2 global views per step, cutting memory consumption threefold.

Key Results

  • ImageNet-1K (100 Epochs): CO-BYOL achieves 71.5% top-1 linear accuracy with RF99-ResNet50 and 71.4% with standard ResNet50, outperforming baseline BYOL (70.1%), SimSiam (68.5%), and MEC (70.6%).
  • ImageNet-1K (300 Epochs): CO-BYOL reaches 73.9%, outperforming standard BYOL at 300 epochs (72.5%) and MEC at 400 epochs (73.5%).
  • Smaller Datasets: On ImageNet-100, CO-BYOL reaches 87.6% (vs. BYOL's 83.5% and BYOL-mc's 84.7%). On Tiny-ImageNet, CO-BYOL scores 56.6% (vs. BYOL's 51.3%).
  • Robustness: On ImageNet-C, CO-BYOL (R50) shows substantial improvements on noise corruptions (e.g., Gaussian noise accuracy jumps from 28.5% in BYOL to 34.5%). Under $L_\infty$ PGD adversarial attacks ($\epsilon = 0.003$), CO-BYOL retains 67.4% accuracy compared to 64.7% for BYOL.

Limitations and Future Work

  • Computational Overhead in RF-ResNets: Because RF-ResNets delay spatial downsampling to restrict receptive fields, intermediate feature maps remain larger. RF99-ResNet50 requires 106 GFLOPs per iteration compared to 32.8 GFLOPs for a standard ResNet-50.
  • Mixed Results with DINO: While CO-DINO outperformed standard DINO on several benchmarks, it lagged slightly behind DINO-mc on Tiny-ImageNet, indicating that specific architectural choices (e.g., centering/sharpening, bottleneck layers) interact differently with local alignment objectives.
  • Future Directions: Scaling to deeper backbones, applying the principle to early/intermediate layers, and evaluating whether finer-grained local alignment can improve dense prediction tasks (e.g., object detection and segmentation).

Summary updated

BibTeX
@misc{aubret2025seeing,
  author = {Arthur Aubret and Céline Teulière and Jochen Triesch},
  title = {{Seeing the Whole in the Parts in Self-Supervised Representation Learning}},
  year = {2025},
  eprint = {2501.02860},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.02860},
}
Figure