[Paper Review] Can Semantic Labels Assist Self-Supervised Visual Representation Learning?
This paper proposes Supervised Contrastive Adjustment in Neighborhood (SCAN), a novel self-supervised learning method that integrates semantic labels into contrastive learning to improve visual representation transfer. By preserving semantically and appearance-similar neighbors as positives during contrastive training, SCAN achieves state-of-the-art performance on downstream detection and segmentation tasks, outperforming both fully-supervised and self-supervised baselines, including a 1.7% AP gain on COCO object detection.
Recently, contrastive learning has largely advanced the progress of unsupervised visual representation learning. Pre-trained on ImageNet, some self-supervised algorithms reported higher transfer learning performance compared to fully-supervised methods, seeming to deliver the message that human labels hardly contribute to learning transferrable visual features. In this paper, we defend the usefulness of semantic labels but point out that fully-supervised and self-supervised methods are pursuing different kinds of features. To alleviate this issue, we present a new algorithm named Supervised Contrastive Adjustment in Neighborhood (SCAN) that maximally prevents the semantic guidance from damaging the appearance feature embedding. In a series of downstream tasks, SCAN achieves superior performance compared to previous fully-supervised and self-supervised methods, and sometimes the gain is significant. More importantly, our study reveals that semantic labels are useful in assisting self-supervised methods, opening a new direction for the community.
Motivation & Objective
- To investigate whether semantic labels can meaningfully assist self-supervised visual representation learning despite the success of contrastive learning.
- To address the conflict between task-specific semantic features (from supervised learning) and task-agnostic appearance features (from self-supervised learning).
- To design a method that synergistically combines semantic guidance with contrastive learning without degrading generalization or performance.
- To demonstrate that properly leveraging semantic labels can significantly improve transfer performance in downstream tasks.
Proposed method
- SCAN modifies the contrastive learning objective by defining positive samples not as all same-class images, but as those most similar to the query in both semantics and appearance.
- It inherits a pre-trained model from unsupervised contrastive learning (e.g., MoCo-v2) and redefines the neighborhood of each query image to include semantically and visually similar instances.
- The method preserves a set of positive neighbors (e.g., top-K most similar in both embedding space and label space), while treating all others as negatives.
- The contrastive loss is adjusted to pull the query and its positive neighbors closer, while pushing away all other negatives, thus enhancing semantic discrimination without harming appearance generalization.
- The implementation requires minimal code changes beyond existing contrastive learning frameworks, making it easily adoptable.
- The approach is evaluated via linear evaluation on ImageNet-1K and fine-tuning on COCO, VOC, and Cityscapes for detection and segmentation.
Experimental results
Research questions
- RQ1Can semantic labels improve self-supervised visual representation learning when properly integrated?
- RQ2Does combining semantic supervision with contrastive learning lead to better transfer performance than pure self-supervised or fully-supervised methods?
- RQ3How does the integration of semantic and appearance features affect performance on downstream tasks like object detection and instance segmentation?
- RQ4What is the impact of varying the number of positive neighbors on model generalization and performance?
Key findings
- SCAN achieves 83.3% AP50 on VOC detection and 76.6% mIoU on VOC segmentation, outperforming both fully-supervised and self-supervised baselines.
- On COCO, SCAN improves APbb from 39.2% (MoCo-v2) to 40.9%, demonstrating significant gains in object detection.
- In instance segmentation, SCAN achieves 37.2% APmk on COCO, a 1.5% improvement over MoCo-v2.
- On Cityscapes, SCAN achieves 76.5% mIoU in semantic segmentation, surpassing MoCo-v2’s 75.2%.
- Linear evaluation on ImageNet-1K shows SCAN achieves 75.0% Top-1 accuracy, a 3.9% improvement over MoCo-v2.
- Analysis shows SCAN improves detection of small and middle objects (APbbS: 24.3 vs. 23.8, APbbM: 46.7 vs. 45.6), confirming enhanced semantic discrimination.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.