Abstract
This paper introduces a novel framework for training semantic segmentation models using sparse scribble annotations instead of dense, pixel-perfect masks. By combining uncertainty reduction—achieved through entropy minimization and embedded random walks—with self-supervision on the neural eigenspace, the proposed method achieves state-of-the-art performance. The approach effectively propagates sparse signals and maintains robustness even when annotations are significantly reduced or missing, narrowing the performance gap between weakly-supervised and fully-supervised models.
Introduction
Semantic segmentation is a fundamental computer vision task that requires assigning a category label to every pixel in an image. However, generating the "ground truth" masks required for training is labor-intensive and expensive. Scribble-based supervision, where users provide sparse lines over objects, offers a cost-effective alternative but introduces two primary challenges: sparsity (scribbles cover only a fraction of pixels) and inconsistency (variability in scribble placement across different users and images).
Existing solutions often rely on auxiliary tasks like edge detection or complex post-processing. This research proposes an end-to-end framework that addresses these challenges by refining neural representations and enforcing consistency in a computationally efficient manner.
Methodology
The authors propose a two-pronged strategy to bridge the gap between sparse scribbles and dense masks: Uncertainty Reduction (UR) and Self-Supervision on the Neural Eigenspace.
1. Uncertainty Reduction (UR)
To encourage the network to make confident, uniform predictions in unlabeled areas, two operations are introduced:
- Entropy Minimization: The network is forced to be deterministic by choosing classes clearly. To prevent blurring at object boundaries, this loss excludes boundary regions identified via superpixels.
- Network-Embedded Random Walk: A random walk module is integrated directly into the neural network layers. This encourages pixels with similar features to share the same label, effectively "spreading" scribble information to adjacent, similar-looking pixels.
2. Self-Supervision on Neural Eigenspace
To handle inconsistency, the model employs self-supervision by transforming images (e.g., flipping or shifting) and enforcing consistent results. Unlike standard methods that enforce consistency across entire feature maps—which can be noisy—this framework focuses on the neural eigenspace.
By analyzing the eigenvectors of the transition matrix from the random walk, the network focuses on the primary structural components of objects while ignoring irrelevant background noise. A "soft" version of this process is used to maintain computational efficiency during training.
Datasets and Experimental Setup
The model was evaluated on several benchmarks:
- ScribbleSup: The standard benchmark for scribble-supervised segmentation (21 classes).
- Scribble-drop: A variant where scribbles for entire objects are randomly deleted to test robustness against missing data.
- Scribble-shrink: A variant where scribbles are reduced to tiny spots to simulate minimal user effort.
Key Results and Insights
The proposed method achieved a 74.4% mIoU on the ScribbleSup dataset using a ResNet101 backbone, outperforming previous state-of-the-art methods like KCL (73.0%) and BPG-PRN (71.4%). Notably, this performance is remarkably close to the fully supervised DeepLabV2 (76.4%).
Robustness and Efficiency
- Resilience to Sparsity: In "scribble-drop" tests, the model maintained a 69.5% mIoU even when 50% of scribbles were removed, compared to the baseline's 63.8%.
- Eigenspace Advantage: Focusing on the eigenspace allows the model to ignore "semantically heterogeneous" background regions that typically degrade standard self-supervision.
- Embedded Random Walks: Integrating the random walk as a differentiable layer allows the network to learn features that are inherently "walk-friendly," leading to more uniform object segments without requiring post-processing like CRFs.
Limitations and Future Work
While the method avoids auxiliary datasets, it still relies on SLIC superpixels to define pseudo-boundaries for entropy loss; failures in superpixel segmentation can negatively impact results. Additionally, the training involves a "warm-up" phase before self-supervision is activated. Future work may explore applying eigenspace-focused self-supervision to other weakly-supervised tasks, such as those using image-level labels or bounding boxes.
Summary updated