Introduction
Salient Instance Detection (SID) is a critical task in computer vision that involves identifying and segmenting individual visually prominent objects in an image. Unlike standard Salient Object Detection (SOD), which produces a binary mask for all salient regions, SID requires distinguishing between separate instances of the same class. Traditionally, this task has relied on large-scale datasets with expensive, pixel-perfect mask annotations.
This paper introduces WSID-Net, the first weakly-supervised approach to SID. By utilizing only image-level class labels and "subitizing" (object count) labels, the proposed method eliminates the need for dense pixel-level supervision while achieving competitive performance.
The Challenge: From Class Labels to Instance Masks
Weakly-supervised learning often uses Class Activation Maps (CAMs) derived from image-level labels. However, CAMs typically highlight semantic regions without clear boundaries between adjacent objects. For instance, if two cats are sitting together, a standard weakly-supervised model often merges them into a single "salient blob."
To overcome this "merging problem," the authors propose using subitizing—the ability to instantly judge the number of items in a scene—as a cheap supervisory signal. Knowing the exact count of objects provides a global constraint that forces the network to separate adjacent instances.
WSID-Net Architecture
The core of the proposed method is WSID-Net, a multi-branch architecture designed to handle saliency, centroids, and boundaries simultaneously.
The network consists of three synergic branches:
- Saliency Detection Branch: Generates initial candidate regions using CAMs and Conditional Random Fields (CRF).
- Centroid Detection Branch: Predicts the centers of salient instances. It employs a novel centroid-based subitizing loss ($\mathcal{L}_{SU}$), which penalizes the model if the number of detected centroids deviates from the ground-truth count.
- Boundary Detection Branch: Delineates object edges. To compensate for the lack of mask supervision, a Boundary Enhancement (BE) module incorporates traditional Canny edge priors to guide the learning of crisp, continuous boundaries.
A Double Attention (DA) module facilitates communication between the centroid and boundary branches, sharing spatial and channel-wise context to improve the performance of both sub-tasks.
Key Insights
- Counting as a Separator: The subitizing label acts as a bridge between detection and segmentation, providing the necessary information to split merged regions.
- Structural Priors: Integrating classic computer vision techniques like Canny edge detection provides a reliable structural backbone that deep learning models often struggle to infer from weak labels alone.
- Synergistic Learning: By coupling centroid and boundary detection through shared attention, the model learns that an object's center and its edges are intrinsically related.
Experimental Results
The model was trained on PASCAL VOC 2012 (class labels) and a subset of the ILSO dataset (count labels only). Evaluation on the ILSO test set demonstrated that WSID-Net significantly outperforms adapted state-of-the-art weakly-supervised baselines.
| Metric | WSID-Net | Best Baseline (IRN adapted) |
|---|---|---|
| [email protected] | 61.9% | 51.1% |
| [email protected] | 47.2% | 37.4% |
Ablation studies confirmed the importance of the subitizing loss and the DA module, with performance dropping significantly when either component was removed.
Conclusion and Future Work
WSID-Net proves that high-quality salient instance masks can be generated without pixel-level ground truth. By combining semantic class labels with simple object counts and traditional edge priors, the model effectively separates and segments individual instances. Future research will focus on improving robustness against complex backgrounds using GAN-based discriminators and extending the framework to video data.
Summary updated