[Paper Review] Self-Supervised Visual Representation Learning with Semantic Grouping
SlotCon learns object/group-level representations from scene-centric images by jointly performing data-driven semantic grouping via learnable prototypes and slot-level contrastive learning, improving downstream detection, segmentation, and unsupervised semantic tasks.
In this paper, we tackle the problem of learning visual representations from unlabeled scene-centric data. Existing works have demonstrated the potential of utilizing the underlying complex structure within scene-centric data; still, they commonly rely on hand-crafted objectness priors or specialized pretext tasks to build a learning framework, which may harm generalizability. Instead, we propose contrastive learning from data-driven semantic slots, namely SlotCon, for joint semantic grouping and representation learning. The semantic grouping is performed by assigning pixels to a set of learnable prototypes, which can adapt to each sample by attentive pooling over the feature and form new slots. Based on the learned data-dependent slots, a contrastive objective is employed for representation learning, which enhances the discriminability of features, and conversely facilitates grouping semantically coherent pixels together. Compared with previous efforts, by simultaneously optimizing the two coupled objectives of semantic grouping and contrastive learning, our approach bypasses the disadvantages of hand-crafted priors and is able to learn object/group-level representations from scene-centric images. Experiments show our approach effectively decomposes complex scenes into semantic groups for feature learning and significantly benefits downstream tasks, including object detection, instance segmentation, and semantic segmentation. Code is available at: https://github.com/CVMI-Lab/SlotCon.
Motivation & Objective
- Motivation to learn visual representations from unlabeled scene-centric data rather than relying on hand-crafted object priors.
- Propose a fully data-driven framework that discovers semantic groups (slots) and learns discriminative representations jointly.
- Enable transfer to downstream tasks such as object detection, instance segmentation, and semantic segmentation.
- Show that semantic grouping improves robustness and generalization across real-world scene data.
Proposed method
- Introduce SlotCon with two networks (student and teacher) that share a pixel embedding and learn K prototypes (semantic centers).
- Perform pixel-level deep clustering to assign pixels to prototypes via softmax over normalized projections and prototypes, producing per-pixel group assignments.
- Use inverse augmentation alignment to handle spatial misalignment across views and enforce cross-view grouping consistency with a cross-entropy loss (Group loss).
- Maintain a mean-logit c to prevent collapse and use teacher–student temperature distancing (tau_t < tau_s).
- Extract group-level slots by attentive pooling over projections using the assignments, producing K group vectors (slots).
- Apply an InfoNCE-based slot-level contrastive loss to align slots across views and distinguish different slots, with masking to ignore non-dominant slots (Slot loss).
- Combine Group loss and Slot loss into the overall objective L = lambda_g * Group + (1 - lambda_g) * Slot and optimize with a momentum teacher (EMA) updating the teacher parameters.
Experimental results
Research questions
- RQ1Can semantic grouping be learned in a data-driven, end-to-end manner without hand-crafted object priors on scene-centric data?
- RQ2Does joint semantic grouping and slot-level contrastive learning improve object/group-level representations and transfer to downstream tasks?
- RQ3What is the impact of the number of prototypes and the balancing between grouping and slot losses on downstream performance?
- RQ4How well does the model discover semantic groups in unlabeled real-world scenes (e.g., COCO-Stuff) compared to prior unsupervised methods?
Key findings
- SlotCon achieves strong transfer performance on COCO object detection and segmentation and on Cityscapes, VOC, and ADE20K semantic segmentation when pre-trained on COCO or ImageNet-1K.
- With COCO pre-training, SlotCon reports AP^b = 41.0, AP_50^b = 61.1, AP_75^b = 45.0, AP^m = 37.0, AP_50^m = 58.3, AP_75^m = 39.8 (COCO detection/segmentation) and City = 76.2, VOC = 71.6, ADE = 39.0 for downstream tasks.
- On COCO pre-training, SlotCon outperforms prior object/group-level SSL methods across tasks, closing the gap to object-centric pre-training without object priors.
- Unsupervised semantic segmentation on COCO-Stuff yields mIoU = 18.26 and pAcc = 42.36, surpassing several prior methods on this metric.
- Ablation studies show that balanced grouping and slot losses (lambda_g ≈ 0.5) and an appropriate number of prototypes (e.g., K = 256 for COCO) are beneficial for performance and transferability.
- SlotCon demonstrates complementary benefits from semantic grouping and group-level contrastive learning, enabling object-centric representations from scene-centric data.
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.