Skip to main content
QUICK REVIEW

[Paper Review] Unsupervised Total Variation Loss for Semi-supervised Deep Learning of Semantic Segmentation

Mehran Javanmardi, Mehdi S. M. Sajjadi|arXiv (Cornell University)|May 4, 2016
Advanced Neural Network ApplicationsComputer Science32 references13 citations
TL;DR

This paper proposes an unsupervised total variation (TV) loss to regularize semantic segmentation in semi-supervised deep learning, enforcing piecewise smoothness on predicted label probability maps via l1-norm of spatial gradients. The method combines this TV loss with supervised cross-entropy loss, achieving significant accuracy gains—especially under sparse labeling—outperforming both purely supervised models and post-processing with CRFs on PASCAL, Sift Flow, and NYUv2 datasets.

ABSTRACT

We introduce a novel unsupervised loss function for learning semantic segmentation with deep convolutional neural nets (ConvNet) when densely labeled training images are not available. More specifically, the proposed loss function penalizes the L1-norm of the gradient of the label probability vector image , i.e. total variation, produced by the ConvNet. This can be seen as a regularization term that promotes piecewise smoothness of the label probability vector image produced by the ConvNet during learning. The unsupervised loss function is combined with a supervised loss in a semi-supervised setting to learn ConvNets that can achieve high semantic segmentation accuracy even when only a tiny percentage of the pixels in the training images are labeled. We demonstrate significant improvements over the purely supervised setting in the Weizmann horse, Stanford background and Sift Flow datasets. Furthermore, we show that using the proposed piecewise smoothness constraint in the learning phase significantly outperforms post-processing results from a purely supervised approach with Markov Random Fields (MRF). Finally, we note that the framework we introduce is general and can be used to learn to label other types of structures such as curvilinear structures by modifying the unsupervised loss function accordingly.

Motivation & Objective

  • Address the challenge of high data annotation cost in semantic segmentation by enabling effective learning from sparse pixel-level annotations.
  • Overcome the limitations of purely supervised deep learning when only a small fraction of pixels are labeled.
  • Develop a generalizable unsupervised loss function that leverages natural image properties like piecewise smoothness to improve model generalization.
  • Demonstrate that spatial regularization through total variation can outperform post-hoc CRF-based refinement in semi-supervised settings.
  • Enable deep neural networks to converge to better solutions in low-data regimes by incorporating structural priors via backpropagatable loss functions.

Proposed method

  • Propose an unsupervised total variation (TV) loss that penalizes the l1-norm of the gradient of the predicted label probability map across spatial dimensions.
  • Integrate the TV loss as a regularization term into the training objective alongside a standard supervised cross-entropy loss for pixel-wise classification.
  • Train fully convolutional networks (FCNs) end-to-end using backpropagation, where the TV loss is differentiable and jointly optimized with the supervised loss.
  • Apply the method in a semi-supervised setting where only a small percentage of pixels per image are labeled, while the rest are used in the unsupervised TV loss.
  • Use the TV loss to implicitly model spatial context and enforce smoothness in predicted segmentation maps, mimicking the pairwise potential in CRFs.
  • Train on three benchmark datasets (PASCAL, Sift Flow, NYUv2) with varying levels of label sparsity (0.03% to 0.07% labeled pixels) to evaluate generalization.

Experimental results

Research questions

  • RQ1Can enforcing spatial smoothness via total variation loss improve semantic segmentation accuracy when only a small number of pixels are labeled?
  • RQ2How does the proposed unsupervised TV loss compare to purely supervised training and post-processing with CRFs in terms of segmentation accuracy under sparse labeling?
  • RQ3Does the TV loss help the model converge to better minima in the solution space when labeled data is extremely limited?
  • RQ4To what extent does the performance degrade on rare classes due to label imbalance when using the TV loss with sparse supervision?
  • RQ5Can the proposed loss be generalized to other image structures (e.g., tubular or curvilinear features) by adapting the derivative-based regularization?

Key findings

  • On the PASCAL VOC 2012 dataset with only 0.03% labeled pixels, the semi-supervised method achieved a mean IoU of 31.92%, outperforming the purely supervised baseline of 28.80%.
  • On the Sift Flow dataset with 10 labeled pixels per image, the proposed method achieved 58.19% average per-class accuracy, compared to 48.53% for the supervised-only approach.
  • The method significantly outperformed post-processing with CRFs on the same supervised baseline, demonstrating that in-network regularization is more effective than refinement.
  • On NYUv2, the semi-supervised approach achieved 34.26% mean IoU with 0.03% labeled pixels, compared to 31.92% for the supervised-only method.
  • The performance gain was most pronounced on the top 10 most frequent classes in Sift Flow, where the semi-supervised method achieved up to 60.38% accuracy with 30 labeled pixels per image.
  • Despite overall accuracy drops on rare classes due to label scarcity, the TV loss effectively stabilized learning and improved generalization on dominant classes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.