The GIST and RIST of Iterative Self-Training for Semi-Supervised Segmentation

Eu Wern Teh, Terrance DeVries, Brendan Duke, Ruowei Jiang, Parham Aarabi, Graham W. Taylor

TL;DR

Iterative self-training for semantic segmentation, where models learn from their own predictions, can lead to performance degradation if not done carefully. This paper introduces GIST and RIST, novel strategies that strategically alternate between training on human-labeled and pseudo-labeled data across multiple refinement stages, significantly boosting performance and overcoming the pitfalls of naive iterative self-training.

What Problem Does This Paper Address?

Semantic segmentation, the task of assigning a class label to every pixel in an image, is crucial for applications like autonomous driving and medical imaging. While supervised methods achieve high accuracy, they require vast amounts of meticulously labeled data, which is expensive and time-consuming to acquire. Semi-supervised learning aims to alleviate this by leveraging a small set of labeled data alongside a large amount of unlabeled data. Self-training is a popular semi-supervised technique where a model generates "pseudo-labels" for unlabeled data and then retrains on a mix of human-provided and pseudo-labels. However, applying self-training iteratively over multiple stages (refinement stages) can lead to performance degradation. This happens because the model can become over-reliant on its own potentially incorrect predictions, leading to "pseudo-label bloat" where errors propagate and compound, ultimately causing the model to make consistently wrong predictions across large image regions. The paper addresses this challenge by investigating how to effectively perform iterative self-training to achieve performance gains rather than degradation.

Methods

The core of this paper lies in proposing two new strategies for iterative self-training: Greedy Iterative Self-Training (GIST) and Random Iterative Self-Training (RIST).

  • Naive Iterative Self-Training (FIST): The baseline approach, Fixed Iterative Self-Training (FIST), uses a fixed ratio of human-labeled to pseudo-labeled data at each refinement stage. The paper demonstrates that this approach leads to performance degradation, especially when the ratio of pseudo-labels is high.
  • Greedy Iterative Self-Training (GIST): GIST employs a beam search strategy. At each refinement stage, it explores different combinations of training on either human-labeled data only (ratio $\alpha=1$) or pseudo-labeled data only (ratio $\alpha=0$). It uses a development set to evaluate these choices and greedily selects the path that yields the best performance for the next stage.
  • Random Iterative Self-Training (RIST): RIST offers a simpler, more computationally efficient alternative. At each refinement stage, it randomly chooses to train on either human-labeled data or pseudo-labeled data. This random selection helps to avoid getting stuck in local optima and can escape sub-optimal solutions.
  • Additional Add-ons: To further enhance performance, the authors incorporate three additional techniques:
  • Consistency Loss (CL): Encourages the model to produce similar predictions for perturbed versions of the same input, promoting robustness.
  • Label Erase (LE): Aims to mitigate the impact of noisy pseudo-labels by only considering predictions that exceed a certain confidence threshold.
  • Temperature Scaling (TS): Used to prevent over-confident predictions by softening the model's output probabilities.

Datasets

The experiments were conducted on two widely used semantic segmentation datasets:

  • PASCAL VOC 2012: Used with various subsets of labeled data (1/50, 1/20, 1/8).
  • Cityscapes: Also used with different labeled data subsets (1/50, 1/30, 1/20, 1/8, 1/4).

For meta-parameter tuning, a modest "development set" of 50 additional images was selected from the training set for each dataset.

Key Insights and Ideas

  • The Peril of Naive Iterative Self-Training: The most striking insight is that simply increasing the proportion of pseudo-labeled data in iterative self-training without a strategic approach leads to significant performance degradation. This highlights the importance of how pseudo-labels are utilized over time.
  • Alternating is Key: The core idea that alternating between training on purely human-labeled data and purely pseudo-labeled data (GIST/RIST) is crucial for success. This strategy allows the model to benefit from the clean, reliable signals of human labels while also leveraging the broader coverage provided by pseudo-labels, preventing the model from drifting too far.
  • GIST vs. RIST Trade-off: GIST, with its beam search, can find better solutions on the development set but risks overfitting to it. RIST, while potentially exploring a larger search space and being computationally cheaper, offers more robustness and generalization. The paper shows that RIST's performance spread can be managed by increasing the number of random solutions.
  • Self-Training as a General Refinement Tool: GIST and RIST are not just standalone methods but can effectively refine existing semi-supervised segmentation models (like S4GAN and ClassMix), leading to further performance improvements. This demonstrates their versatility.

Key Results

  • Performance Boost: GIST and RIST consistently outperform the naive Fixed Iterative Self-Training (FIST) approach, which shows significant performance degradation.
  • Outperforming Baselines: When combined with existing methods like S4GAN and ClassMix, GIST and RIST achieve state-of-the-art results on both PASCAL VOC 2012 and Cityscapes datasets, even when using a very small percentage (2%) of human-labeled data. For example, "Supervised + GIST" on PASCAL VOC 2012 1/50 subset (211 labeled images) achieved 66.33% mIoU, outperforming the supervised-only model (54.15% mIoU).
  • Qualitative Improvements: Figures 8 and 9 show qualitative results where GIST and RIST produce much cleaner and more accurate segmentation masks compared to the supervised baseline, especially in challenging regions.

Limitations and Future Work

  • Development Set Sensitivity: GIST's reliance on a development set for greedy selection can lead to overfitting to that specific set, potentially not generalizing as well to the final validation set, especially if the development set distribution differs significantly from the validation set.
  • RIST's Randomness: While RIST is robust, its performance can still vary due to its random nature. The paper suggests that increasing the number of random solutions can mitigate this variability and improve stability.
  • Computational Cost: While RIST is computationally cheaper than GIST, iterative self-training still requires significant computational resources due to multiple training stages.
  • Future Work: The paper suggests exploring more sophisticated search strategies beyond simple greedy or random selection for GIST and RIST. Further investigation into the optimal balance between human and pseudo-label usage and the impact of different add-on combinations could also be fruitful.

Summary updated

Abstract

We consider the task of semi-supervised semantic segmentation, where we aim to produce pixel-wise semantic object masks given only a small number of human-labeled training examples. We focus on iterative self-training methods in which we explore the behavior of self-training over multiple refinement stages. We show that iterative self-training leads to performance degradation if done naïvely with a fixed ratio of human-labeled to pseudo-labeled training examples. We propose Greedy Iterative Self-Training (GIST) and Random Iterative Self-Training (RIST) strategies that alternate between training on either human-labeled data or pseudo-labeled data at each refinement stage, resulting in a performance boost rather than degradation. We further show that GIST and RIST can be combined with existing semi-supervised learning methods to boost performance.
BibTeX
@inproceedings{teh2022gist,
  author = {Eu Wern Teh and Terrance DeVries and Brendan Duke and Ruowei Jiang and Parham Aarabi and Graham W. Taylor},
  title = {{The GIST and RIST of Iterative Self-Training for Semi-Supervised Segmentation}},
  booktitle = {CRV},
  year = {2022},
  url = {https://openreview.net/forum?id=8ewXHrYe3N_},
}
Figure