Introduction
Salient Object Detection (SOD) is a fundamental computer vision task aimed at identifying and segmenting the most visually prominent objects in an image. Traditionally, achieving high performance in SOD has required deep learning models trained on thousands of images with "pixel-perfect" ground truth masks. However, generating these dense annotations is a bottleneck; it is a slow, expensive process that limits the scalability of SOD datasets.
This paper, published at CVPR 2020, proposes a compelling middle ground: training SOD models using "scribbles." These are quick, 1-2 second annotations that provide specific location data for both the foreground and background without requiring precise boundary tracing. By leveraging an auxiliary edge-detection task and a novel gated loss function, the authors demonstrate that models can achieve performance nearly identical to state-of-the-art fully supervised models while drastically reducing human labeling effort.
The Challenge of Sparse Supervision
While researchers have previously explored "weak" labels like image-level tags or bounding boxes, these methods often fall short. Image tags lack the spatial detail needed for sharp boundaries, and bounding boxes fail to capture the complex, non-rectangular geometry of many objects.
Scribbles offer a more descriptive alternative, but they present a significant technical challenge: sparsity. Because only a few pixels are labeled as "object" or "background," the model lacks information about the vast majority of the image. Without a mechanism to propagate these sparse labels, models struggle to determine exactly where an object ends and the background begins.
Methodology
To transform sparse scribbles into dense, high-quality saliency maps, the authors developed a multi-pronged approach:
1. Dual-Network Architecture
The model utilizes a Saliency Prediction Network (SPN) to generate coarse saliency maps and an Edge Detection Network (EDN) to identify object boundaries. These are integrated via an Edge-guided Saliency Preservation Module (ESPM) that fuses the two streams, using edge information to guide the saliency predictions.
2. Gated Structure-Aware Loss
Standard smoothness losses often blur object boundaries because they treat all image gradients equally. The authors introduced a "gated" structure-aware loss that forces the model to respect image gradients (edges) only in areas where the object is predicted to be. This mechanism effectively tells the model to ignore background textures and focus on the structural integrity of the salient object.
3. Scribble Boosting
To overcome the initial thinness of the scribble labels, the authors implemented an iterative "boosting" scheme. The model’s initial predictions are refined using a DenseCRF (Conditional Random Field)—a tool that aligns labels with image colors and edges. These refined, "thickened" labels are then used as pseudo-ground truth to retrain the model, allowing the neural network to learn more robust patterns over multiple iterations.
4. A New Evaluation Metric ($B_\mu$)
The authors argue that traditional metrics like Mean Absolute Error (MAE) do not adequately reflect human perception of quality, particularly regarding boundary alignment. They introduced the Saliency Structure Measure ($B_\mu$), which specifically penalizes models for messy or misaligned boundaries, providing a more accurate assessment of structural quality.
Experimental Results
The authors created the S-DUTS dataset by relabeling the popular DUTS dataset with scribbles (10,553 training images). The model was then evaluated against six standard benchmarks, including ECSSD, DUT-OMRON, and PASCAL-S.
- Efficiency: Labeling an image with scribbles takes approximately 1–2 seconds, compared to several minutes for pixel-wise masks.
- Performance: On the ECSSD dataset, the proposed method achieved an F-measure of 0.865. This significantly outperformed other weakly-supervised methods (which typically range from 0.76 to 0.80) and approached the performance of top-tier fully supervised models like BASNet (0.912).
- Boundary Quality: Qualitative analysis confirms that while other weakly supervised models often produce "blurry blobs," this method produces sharp, recognizable silhouettes that respect the actual physical edges of the objects.
Conclusion
This research demonstrates that edges are the "missing link" in weakly-supervised learning. By training a model to understand edge structure and saliency simultaneously, the need for dense pixel-wise labeling is significantly reduced. While the iterative "Scribble Boosting" adds some complexity to the training pipeline, the trade-off is a massive reduction in annotation costs with minimal loss in accuracy. This approach holds significant potential for expansion into fields like medical imaging or video segmentation, where expert time is a premium resource.
Summary updated