Abstract
Recent unsupervised contrastive representation learning follows a Single Instance Multi-view (SIM) paradigm where positive pairs are usually constructed with intra-image data augmentation. In this paper, we propose an effective approach called Beyond Single Instance Multi-view (BSIM). Specifically, we impose more accurate instance discrimination capability by measuring the joint similarity between two randomly sampled instances and their mixture, namely spurious-positive pairs. We believe that learning joint similarity helps to improve the performance when encoded features are distributed more evenly in the latent space. We apply it as an orthogonal improvement for unsupervised contrastive representation learning, including current outstanding methods SimCLR, MoCo, and BYOL. We evaluate our learned representations on many downstream benchmarks like linear classification on ImageNet-1k and PASCAL VOC 2007, object detection on MS COCO 2017 and VOC, etc. We obtain substantial gains with a large margin almost on all these tasks compared with prior arts.
Introduction
In the current landscape of unsupervised representation learning, the Single Instance Multi-view (SIM) paradigm dominates. This approach typically involves taking a single image, applying two different sets of augmentations (like cropping or color-jittering), and training a model to recognize these as the same instance while treating all other images in a batch as negatives.
However, SIM has inherent limitations. First, it performs "indiscriminate pushing," where it attempts to push semantically similar images (e.g., two different dogs) as far apart as completely unrelated images. Second, clustering-based alternatives often fall into "shortcuts," grouping images based on low-level features like color or texture rather than semantic content. BSIM addresses these issues by modeling the relationship between different instances through image mixtures.
The BSIM Methodology
The core innovation of BSIM is the introduction of spurious-positive pairs created via image mixtures. Instead of relying solely on intra-image views, BSIM teaches the model to recognize inter-image relationships.
1. Mixture Generation
BSIM utilizes CutMix to combine two random images ($x_i$ and $x_j$). A mixing coefficient $\lambda$, sampled from a Beta distribution, determines the proportion of each image in the resulting composite $x_{ij}$. The authors found CutMix superior to Mixup because it preserves local semantic features, whereas Mixup's alpha-blending creates unnatural artifacts that are difficult for unsupervised models to interpret.
2. Spurious-Positive Logic and Loss
The model is trained to recognize that the mixture $x_{ij}$ is a partial match for both parent images. The standard contrastive loss functions of frameworks like SimCLR, MoCo, and BYOL are redesigned to be "mixture-aware." For instance, if a mixture is 70% dog and 30% cat, the loss function weights the association accordingly, penalizing the model more heavily if it fails to associate the mixture with the dog.
Key Insights
- The Latent "Ruler": By forcing the model to place a mixture representation at a specific relative distance between its parents in the latent space, BSIM acts as a coordinate system or "ruler," leading to a more organized and evenly distributed feature space.
- Plug-and-Play (WBSIM): The authors introduced Weighted BSIM (WBSIM), which combines standard SIM loss with the new BSIM loss. This allows models to benefit from both traditional instance discrimination and the new inter-image relationship learning simultaneously.
Experimental Results
BSIM consistently improves performance across various frameworks and benchmarks:
- Linear Classification: On ImageNet-1k, BSIM provided a boost of +0.7% for SimCLR and BYOL, and +0.5% for MoCoV2.
- Semi-Supervised Learning: The most significant gains appeared in low-data regimes. With only 1% of ImageNet labels, MoCoV2-BSIM outperformed the standard baseline by a substantial 5.2% in top-1 accuracy.
- Transfer Learning: In downstream tasks like object detection on PASCAL VOC, BYOL-BSIM achieved a 1.4% higher Average Precision (AP) than the baseline.
Conclusion
BSIM moves beyond the "single-image bubble" of traditional contrastive learning. By leveraging image mixtures to create a more nuanced latent space, it provides a robust, orthogonal improvement to existing state-of-the-art methods. While it requires careful alignment of the loss function with the augmentation strategy, the resulting gains in semantic representation—especially in label-scarce scenarios—mark a significant step forward for unsupervised learning.
Summary updated