[Paper Review] Unsupervised Semantic Segmentation by Contrasting Object Mask Proposals
This paper proposes a two-stage unsupervised semantic segmentation framework that leverages unsupervised saliency to generate object mask proposals, which are then used as a mid-level prior in a contrastive learning objective to learn discriminative pixel embeddings. The method achieves state-of-the-art performance on PASCAL VOC under fully unsupervised settings, with a mean IoU of 53.6% using overclustering, and generalizes well when transferred to COCO and DAVIS.
Being able to learn dense semantic representations of images without supervision is an important problem in computer vision. However, despite its significance, this problem remains rather unexplored, with a few exceptions that considered unsupervised semantic segmentation on small-scale datasets with a narrow visual domain. In this paper, we make a first attempt to tackle the problem on datasets that have been traditionally utilized for the supervised case. To achieve this, we introduce a two-step framework that adopts a predetermined mid-level prior in a contrastive optimization objective to learn pixel embeddings. This marks a large deviation from existing works that relied on proxy tasks or end-to-end clustering. Additionally, we argue about the importance of having a prior that contains information about objects, or their parts, and discuss several possibilities to obtain such a prior in an unsupervised manner. Experimental evaluation shows that our method comes with key advantages over existing works. First, the learned pixel embeddings can be directly clustered in semantic groups using K-Means on PASCAL. Under the fully unsupervised setting, there is no precedent in solving the semantic segmentation task on such a challenging benchmark. Second, our representations can improve over strong baselines when transferred to new datasets, e.g. COCO and DAVIS. The code is available.
Motivation & Objective
- Address the lack of fully unsupervised semantic segmentation methods on large-scale, diverse benchmarks like PASCAL VOC.
- Overcome limitations of instance discrimination-based self-supervised learning, which fails to differentiate semantic classes at the pixel level.
- Introduce a mid-level visual prior—object mask proposals—derived from unsupervised saliency to guide contrastive learning of pixel embeddings.
- Enable direct clustering of learned embeddings into semantic groups without any human-annotated masks.
- Demonstrate transferability of the learned representations to downstream datasets like COCO and DAVIS under semi-supervised or fine-tuning setups.
Proposed method
- First, use an unsupervised saliency estimator to generate object mask proposals, serving as a mid-level prior containing object-level information.
- Second, apply a contrastive learning objective that pulls together pixel embeddings within the same object mask proposal and pushes them apart from other objects.
- Use a ResNet-50 backbone with dilated convolutions to extract features, initialized with ImageNet or MoCo pre-trained weights.
- Apply a contrastive loss that treats positive pairs as pixels within the same mask proposal and negatives as pixels from different proposals.
- Perform K-Means clustering on the final pixel embeddings, with cluster assignments upsampled to original resolution and matched to ground-truth classes via the Hungarian algorithm.
- For semi-supervised fine-tuning, use a linear classifier head on top of the backbone, with learning rates adjusted per layer and a poly decay scheduler.
Experimental results
Research questions
- RQ1Can a contrastive learning framework using object mask proposals as a mid-level prior learn pixel embeddings that are discriminative for semantic classes without any human-annotated segmentation masks?
- RQ2How does the use of object-level priors compare to low-level priors (e.g., edges or boundaries) in unsupervised semantic representation learning?
- RQ3Can the learned pixel embeddings be directly clustered into meaningful semantic groups on a challenging benchmark like PASCAL VOC under a fully unsupervised setting?
- RQ4To what extent do the learned representations generalize to other datasets such as COCO and DAVIS when transferred or fine-tuned?
- RQ5Does overclustering the embeddings improve semantic alignment and performance on imbalanced, complex datasets like PASCAL VOC?
Key findings
- The proposed method achieves a mean IoU of 53.6% on PASCAL VOC using overclustering with 200 predicted clusters, significantly outperforming prior unsupervised methods.
- With 500 predicted clusters, the method reaches a mean IoU of 57.0% when using supervised saliency for mask proposals and MoCo pre-training.
- The method sets a new state of the art for fully unsupervised semantic segmentation on PASCAL VOC, where no prior precedent existed.
- The representations transfer effectively to COCO and DAVIS, improving over strong baselines when fine-tuned with limited annotations.
- Overclustering improves performance, with mean IoU increasing from 45.0% (200 clusters) to 57.0% (500 clusters), indicating that local embedding neighborhoods contain semantically coherent groups.
- Qualitative results show that the learned embeddings capture semantically meaningful structures, as evidenced by better alignment with ground-truth classes than instance discrimination or SWAV baselines.
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.