[Paper Review] Discovering Object Masks with Transformers for Unsupervised Semantic Segmentation
MaskDistill uses self-supervised vision transformers to mine object masks as a data-driven pixel grouping prior, distills multiple object masks with Mask R-CNN, and trains a final segmentation model using confident masks, achieving state-of-the-art unsupervised semantic segmentation on PASCAL and COCO.
The task of unsupervised semantic segmentation aims to cluster pixels into semantically meaningful groups. Specifically, pixels assigned to the same cluster should share high-level semantic properties like their object or part category. This paper presents MaskDistill: a novel framework for unsupervised semantic segmentation based on three key ideas. First, we advocate a data-driven strategy to generate object masks that serve as a pixel grouping prior for semantic segmentation. This approach omits handcrafted priors, which are often designed for specific scene compositions and limit the applicability of competing frameworks. Second, MaskDistill clusters the object masks to obtain pseudo-ground-truth for training an initial object segmentation model. Third, we leverage this model to filter out low-quality object masks. This strategy mitigates the noise in our pixel grouping prior and results in a clean collection of masks which we use to train a final segmentation model. By combining these components, we can considerably outperform previous works for unsupervised semantic segmentation on PASCAL (+11% mIoU) and COCO (+4% mask AP50). Interestingly, as opposed to existing approaches, our framework does not latch onto low-level image cues and is not limited to object-centric datasets. The code and models will be made available.
Motivation & Objective
- Promote a data-driven pixel grouping prior for unsupervised semantic segmentation without handcrafted priors.
- Leverage self-supervised vision transformers to mine object masks that align with high-level objects.
- Distill multiple object masks per image and train a segmentation model using high-confidence masks.
- Mitigate noise by filtering masks with confidence scores and by selective training.
- Demonstrate state-of-the-art results on PASCAL and COCO benchmarks in an unsupervised setting.
Proposed method
- Distill object masks from the final self-attention layer of a self-supervised vision transformer to form an object-based pixel grouping prior.
- Construct affinity graphs over image patches using CLS and patch token representations from the final MSA block to identify discriminative patches.
- Select top-k patches via CLS-based affinities to form initial object masks and diffuse these to generate complete masks.
- Train a Mask R-CNN model on the initial masks to obtain multiple object mask candidates per image with confidence scores.
- Filter object masks by a confidence threshold to create pseudo-ground-truth for training a final semantic segmentation model (DeepLab-v3 with ResNet-50 backbone).
- Use hard pixel mining during segmentation training to address class imbalance and improve fine-grained segmentation.
Experimental results
Research questions
- RQ1Can a data-driven, bottom-up approach using self-supervised transformers produce reliable object masks for unsupervised semantic segmentation?
- RQ2Does distilling multiple object masks and filtering by confidence yield higher-quality pseudo-ground-truth for training a segmentation model?
- RQ3How does MaskDistill perform on standard benchmarks (PASCAL, COCO) compared to prior unsupervised methods?
- RQ4Is it feasible to avoid handcrafted priors and still achieve object-centric segmentation in complex scenes?
Key findings
- MaskDistill achieves 39.0% mIoU with clustering of initial masks, improving to 45.8% mIoU when incorporating Mask R-CNN and final training refinements.
- Using high-confidence Mask R-CNN predictions raises mIoU to 45.8% on PASCAL in the clustering setup and 58.7% (with +0.3) in the clustering table under linear classifier evaluation.
- Applying the confidence-based filtering of object masks yields further gains; thresholds around 0.9 produce plateaus near 75% accuracy in ablations.
- The approach outperforms prior unsupervised methods on PASCAL and COCO, with substantial gains over handcrafted-prior methods and end-to-end clustering baselines.
- MaskDistill demonstrates robust performance across multi-object scenes and does not rely on scene-centric priors.
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.