[Paper Review] Built-in Foreground/Background Prior for Weakly-Supervised Semantic Segmentation
This paper proposes a weakly-supervised semantic segmentation method that extracts foreground/background masks directly from pre-trained CNN activations—specifically, higher-level convolutional features in VGG-16—without relying on external objectness models. By applying a dense CRF to smooth these activations, the method generates accurate localization priors, significantly outperforming state-of-the-art tag-only approaches on Pascal VOC 2012 and MIRFLICKR-1M, with an additional accuracy boost from minimal user interaction via mask selection.
Pixel-level annotations are expensive and time consuming to obtain. Hence, weak supervision using only image tags could have a significant impact in semantic segmentation. Recently, CNN-based methods have proposed to fine-tune pre-trained networks using image tags. Without additional information, this leads to poor localization accuracy. This problem, however, was alleviated by making use of objectness priors to generate foreground/background masks. Unfortunately these priors either require training pixel-level annotations/bounding boxes, or still yield inaccurate object boundaries. Here, we propose a novel method to extract markedly more accurate masks from the pre-trained network itself, forgoing external objectness modules. This is accomplished using the activations of the higher-level convolutional layers, smoothed by a dense CRF. We demonstrate that our method, based on these masks and a weakly-supervised loss, outperforms the state-of-the-art tag-based weakly-supervised semantic segmentation techniques. Furthermore, we introduce a new form of inexpensive weak supervision yielding an additional accuracy boost.
Motivation & Objective
- To address the challenge of weakly-supervised semantic segmentation with only image-level tags, which leads to poor localization accuracy in standard approaches.
- To eliminate reliance on external objectness models that require additional annotations or introduce error sources.
- To leverage intrinsic features from a pre-trained CNN to generate accurate foreground/background masks for weakly-supervised training.
- To introduce a lightweight, user-friendly form of additional supervision—selecting the best mask from candidates—that boosts performance with minimal annotation cost.
Proposed method
- Extracting foreground/background masks from the activations of higher-level convolutional layers (e.g., conv5_3 in VGG-16) in a pre-trained network.
- Smoothing the raw activation maps using a fully-connected Conditional Random Field (CRF) to produce refined, spatially coherent masks.
- Using the resulting masks as a built-in foreground/background prior in a weakly-supervised training objective for semantic segmentation.
- Integrating the mask generation and segmentation training in an end-to-end framework without requiring additional pixel-level annotations.
- Proposing a CheckMask procedure where users select the best mask from several automatically generated candidates, adding minimal supervision.
- Training the segmentation network using a weakly-supervised loss that aligns predictions with the generated masks and image tags.
Experimental results
Research questions
- RQ1Can foreground/background masks be reliably extracted from pre-trained CNN features without external objectness models?
- RQ2Does using intrinsic network activations as a localization prior improve weakly-supervised semantic segmentation accuracy with only image tags?
- RQ3Can a minimal user interaction step—selecting the best mask from a few candidates—significantly boost performance while remaining practical?
- RQ4How does the proposed method compare to state-of-the-art approaches that use stronger supervision, such as bounding boxes or object size information?
Key findings
- The proposed method achieves a mean Intersection over Union (mIOU) of 46.3% on the PASCAL VOC 2012 validation set when trained on a subset of MIRFLICKR-1M using only image tags and the CheckMask procedure, significantly outperforming the CCNN baseline (32.2% mIOU with tags and CRF).
- On the same Flickr subset, the method achieves 43.9% mIOU with tags only and 46.3% with CheckMask, demonstrating a 2.4% absolute improvement from minimal user input.
- The method outperforms state-of-the-art tag-only methods and even surpasses some approaches using stronger supervision, such as object size information (CCNN with size info: 32.2% mIOU vs. 46.3% in our CheckMask setup).
- The model performs well on rare classes—e.g., 31.2% mIOU for 'table' and 16.8% for 'sofa'—where CCNN fails entirely, indicating robustness to class imbalance.
- The CheckMask procedure requires only about 2.5 seconds per image on average, making it highly practical for real-world deployment.
- Qualitative results show improved localization accuracy and boundary consistency, especially in complex scenes and fine-grained object regions.
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.