Introduction
Semi-supervised Contrastive Learning (SsCL) addresses a critical gap in computer vision: the lack of synergy between self-supervised representation learning and semi-supervised classification. Traditional Semi-supervised Learning (SSL) often falls into a "homogenization" trap, where incorrect pseudo-labels reinforce model errors during retraining. Conversely, self-supervised contrastive learning is typically task-agnostic and ignores class-specific information. SsCL bridges these paradigms through Similarity Co-calibration, a process that interchanges information between a contrastive branch and a pseudo-labeling branch to achieve state-of-the-art accuracy with minimal labeled data.
Methodology
The SsCL architecture utilizes a dual-branch system that optimizes three simultaneous losses: a standard supervised loss, a pseudo-labeling loss, and a multi-positive contrastive loss.
The Co-calibration Loop
The core innovation is the bidirectional communication between branches:
- Classification to Contrastive: Predicted pseudo-labels from the classification branch are used to identify "nearest neighbors" in the feature space. Unlike standard contrastive learning, which only considers different views of the same image as positives, SsCL treats these neighbors as multiple positives, clustering them together in the embedding space.
- Contrastive to Classification: The contrastive branch calculates a similarity distribution based on class prototypes. This distribution is used to calibrate the pseudo-labels. If the classifier is uncertain, these similarity scores help "nudge" the prediction toward the correct class.
Prototype Mixture
To refine class representations, SsCL employs Prototype Mixture. Instead of defining a class center using only sparse labeled samples, the model uses Mixup to blend labeled samples with high-confidence unlabeled samples. This creates a smoother and more accurate representation of class centers in the feature space, mitigating the noise inherent in limited label sets.
Experimental Results
The authors evaluated SsCL on standard benchmarks including CIFAR-10, ImageNet, and COCO to ensure broad generalization.
- ImageNet: With only 1% labeled data, SsCL achieved 60.2% top-1 accuracy, significantly outperforming MoCo v2 (52.4%) and SimCLR (48.3%). At 10% labels, it reached 72.1%, surpassing previous bests like FixMatch (71.5%).
- CIFAR-10: Using just 40 labels, the method achieved a 10.29% error rate, a 3.5% improvement over the FixMatch baseline.
- Transferability: Features learned via SsCL showed superior performance in downstream object detection tasks on COCO compared to standard supervised or self-supervised pre-training.
Discussion and Key Insights
The success of SsCL stems from breaking the self-training loop. By alternating between cross-entropy and contrastive objectives, the model avoids overfitting to its own noisy labels. Furthermore, the use of an adaptive penalty ("soften factor") acts as a safety net against incorrect neighbor selection in the multi-positive contrastive loss.
While SsCL demonstrates significant gains, it introduces additional hyperparameter complexity and computational overhead due to the dual-branch architecture and periodic prototype updates. Future research may explore extending this co-calibration framework to other domains such as natural language processing or video analysis.
Summary updated