Scribble-Supervised Semantic Segmentation by Random Walk on Neural Representation and Self-Supervision on Neural Eigenspace

Zhiyi Pan, Peng Jiang, Changhe TuarXiv 2020

Abstract

Semantic segmentation typically requires dense pixel-level annotations, which are labor-intensive to produce. Scribble-supervised learning offers a cost-effective alternative but faces challenges due to label sparsity. This paper introduces a single-stage framework that employs an embedded random walk to propagate semantic information and self-supervision on the neural eigenspace to ensure structural consistency. Our approach achieves state-of-the-art results on standard benchmarks and demonstrates significant robustness to incomplete or minimal scribble annotations.

Introduction

The high cost of "pixel-perfect" masks has led researchers to explore weaker forms of supervision, such as scribbles. However, scribbles typically cover only a small fraction of the image, leaving the model to infer boundaries for the majority of pixels. Traditional solutions often involve complex multi-stage pipelines or reliance on low-level image priors like color and texture, which struggle in visually complex scenes. We propose a method that leverages high-level neural representations to bridge the gap between sparse scribbles and dense segmentation masks in a single-stage training process.

Methodology

Our framework integrates two novel components into a standard deep convolutional neural network:

Embedded Random Walk (ERW)

To propagate information from sparse scribbles to unlabeled pixels, we compute a probabilistic transition matrix $P$ based on the similarity of neural features. By applying a random walk using this matrix, the model diffuses semantic predictions across the image. This process encourages the network to produce spatially consistent predictions within semantic regions, effectively "filling in" the gaps between scribbles.

Self-Supervision on Neural Eigenspace (SSNE)

To improve robustness, we apply self-supervision to the eigenspace of the transition matrix. The leading eigenvectors of $P$ represent the most salient structures in the image. Instead of supervising raw feature maps, which can be noisy, we enforce consistency on the "soft" eigenspace (via matrix trace and KL-divergence) across different image transformations. This ensures that the model focuses on the primary object boundaries rather than trivial local variations.

Qualitative analysis showing (a) input scribbles and predictions, (b) transition matrix heatmaps, and (c) neural eigenspace components.

Experiments and Results

We evaluated our model on the Pascal VOC 2012 dataset using the ScribbleSup annotations. To further test robustness, we introduced two challenging variants: Scribble-drop, where entire object labels are removed, and Scribble-shrink, where scribbles are reduced to single points.

The proposed method achieved a mean Intersection over Union (mIoU) of 73.4% on Pascal VOC, outperforming existing scribble-supervised methods like KCL (73.0%) and NCL (72.8%). When combined with a standard CRF post-processing step, the performance reached 75.8%, approaching the 77.7% mIoU of fully supervised models. Notably, the model maintained stable performance even when 50% of the scribbles were dropped, demonstrating superior robustness compared to baseline approaches.

Comparison of ground truth masks (left) and the model's predicted segmentation masks (right).

Conclusion

By combining random walks on neural representations with self-supervision on the neural eigenspace, we provide a powerful and efficient framework for scribble-supervised segmentation. This approach eliminates the need for auxiliary data or multi-stage training while achieving performance comparable to full supervision. Future work will explore extending these eigenspace-based constraints to other weakly supervised tasks such as image-level tag supervision.

Summary updated

BibTeX
@misc{pan2020scribble,
  author = {Zhiyi Pan and Peng Jiang and Changhe Tu},
  title = {{Scribble-Supervised Semantic Segmentation by Random Walk on Neural Representation and Self-Supervision on Neural Eigenspace}},
  year = {2020},
  eprint = {2011.05621},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.05621},
}
Figure