GuidedMix-Net: Learning to Improve Pseudo Masks Using Labeled Images as Reference

Peng Tu, Yawen Huang, Rongrong Ji, Feng Zheng, Ling ShaoarXiv 2021

Abstract

Semi-supervised semantic segmentation aims to reduce the heavy annotation burden by utilizing a small set of labeled data alongside a larger pool of unlabeled images. However, existing methods often treat these sets in isolation, leading to noisy pseudo-masks for unlabeled data. We propose GuidedMix-Net, a novel framework that uses labeled images as explicit references to guide the learning process for unlabeled data. By mixing similar labeled-unlabeled image pairs and transferring feature-level knowledge via Mutual Information Transfer (MITrans), GuidedMix-Net significantly improves pseudo-mask quality. Our approach achieves a +7% mIoU improvement over state-of-the-art methods on PASCAL VOC 2012 and demonstrates superior memory efficiency.

Introduction

Semantic segmentation requires dense, pixel-level annotations, which are costly to produce. Semi-supervised learning (SSL) addresses this by leveraging unlabeled data, typically through consistency regularization. A major limitation of current SSL techniques is the "reference gap": they often fail to utilize the rich prior knowledge from labeled "anchor" images when processing unlabeled ones. Consequently, models struggle with complex object boundaries and occlusions, resulting in inaccurate pseudo-labels that degrade training performance.

GuidedMix-Net bridges this gap by mimicking human recognition patterns—comparing unfamiliar objects to known references. It introduces a "mutual guidance" philosophy where labeled features act as anchors to refine the representation of unlabeled data.

Methodology

The GuidedMix-Net architecture consists of three primary modules designed to facilitate knowledge transfer from labeled to unlabeled domains.

The GuidedMix-Net architecture illustrating the LUPI, MITrans, and Decoupling components.

Labeled-Unlabeled Image Pair Interpolation (LUPI)

Instead of standard data augmentation, GuidedMix-Net employs LUPI to create mixed inputs. To ensure effective knowledge transfer, a simple classifier selects labeled images that are semantically similar to the target unlabeled images (e.g., pairing a labeled bus with an unlabeled bus). These pairs are then linearly interpolated to form a mixed input $x_{mix}$.

Mutual Information Transfer (MITrans)

The MITrans module serves as the core mechanism for feature refinement. Utilizing non-local blocks (self-attention), the model allows high-quality features from the labeled image to "guide" and refine the potentially degraded features of the unlabeled image within the shared feature space. This ensures that the structural cues from the labeled reference are propagated to the unlabeled regions.

Pseudo Mask Generation (PMG) via Decoupling

Once the model predicts a mask for the mixed image, it must isolate the prediction for the unlabeled component. Since the ground truth for the labeled portion is known, GuidedMix-Net uses a Soft Decoupling technique to "subtract" the labeled influence. This process results in a high-fidelity pseudo-mask $M_{u-dec}$ for the unlabeled image, characterized by sharper contours and better detail retention.

Experimental Results

The framework was evaluated on three major benchmarks: PASCAL VOC 2012, Cityscapes, and PASCAL-Context.

Quantitative Performance

  • PASCAL VOC 2012: GuidedMix-Net achieved a significant +7% mIoU boost over previous state-of-the-art methods.
  • Cityscapes: In low-data regimes (e.g., 1/8th labels), the model reached 65.8% mIoU, outperforming competitors by over 5%.
  • Efficiency: By utilizing a single decoder instead of the multiple auxiliary decoders required by methods like CCT, GuidedMix-Net achieves a 1.6x reduction in memory usage during training.

Qualitative Analysis

Visual comparisons demonstrate that GuidedMix-Net excels at capturing fine structural details—such as airplane tails or thin objects—that are typically lost in consistency-based models.

Qualitative comparison showing (a) Input, (b) Ground Truth, (c) CCT results, and (d) GuidedMix-Net (Ours) results.

Conclusion

GuidedMix-Net demonstrates that labeled data can serve as a powerful reference for improving semi-supervised semantic segmentation. By integrating labeled-unlabeled mixing with mutual information transfer and soft decoupling, the framework produces high-quality pseudo-masks while remaining computationally efficient. Future research may extend this guided mixing approach to domains like medical imaging, where structural precision is paramount and labeled data is extremely scarce.

Summary updated

Abstract

Semi-supervised learning is a challenging problem which aims to construct a model by learning from a limited number of labeled examples. Numerous methods have been proposed to tackle this problem, with most focusing on utilizing the predictions of unlabeled instances consistency alone to regularize networks. However, treating labeled and unlabeled data separately often leads to the discarding of mass prior knowledge learned from the labeled examples, and failure to mine the feature interaction between the labeled and unlabeled image pairs. In this paper, we propose a novel method for semi-supervised semantic segmentation named GuidedMix-Net, by leveraging labeled information to guide the learning of unlabeled instances. Specifically, we first introduce a feature alignment objective between labeled and unlabeled data to capture potentially similar image pairs and then generate mixed inputs from them. The proposed mutual information transfer (MITrans), based on the cluster assumption, is shown to be a powerful knowledge module for further progressive refining features of unlabeled data in the mixed data space. To take advantage of the labeled examples and guide unlabeled data learning, we further propose a mask generation module to generate high-quality pseudo masks for the unlabeled data. Along with supervised learning for labeled data, the prediction of unlabeled data is jointly learned with the generated pseudo masks from the mixed data. Extensive experiments on PASCAL VOC 2012, PASCAL-Context and Cityscapes demonstrate the effectiveness of our GuidedMix-Net, which achieves competitive segmentation accuracy and significantly improves the mIoU by +7$\%$ compared to previous state-of-the-art approaches.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
CityscapesGuidedMix-NetmIoU65.8split: val · semi-supervised · lambda=<0.3 · backbone=ResNet-101 · labeled-data=1/8
Source quote
L545: Ours │ 56.9 │ 65.8 │ 67.5 │ 69.8
Reported baseline / comparator measurements (2)
BenchmarkMethodMetricScoreProtocol / Evidence
PASCAL VOC 2012CCT baselinemIoU69.4split: val · semi-supervised · backbone=ResNet-50 · labeled-images=1,464 · unlabeled-images=9,118
Source quote
L411: CCT │ 69.4 │ 87.0 │ 58.1 │ 83.2 │ 63.4
PASCAL-Context · PASCAL Contexts4GAN baselinemIoU35.3semi-supervised · backbone=ResNet-101 · labeled-data=1/8
Source quote
L571: s4GAN \cite{mittal2019semi} │ 35.3 │ 37.8
BibTeX
@misc{tu2021guidedmix,
  author = {Peng Tu and Yawen Huang and Rongrong Ji and Feng Zheng and Ling Shao},
  title = {{GuidedMix-Net: Learning to Improve Pseudo Masks Using Labeled Images as Reference}},
  year = {2021},
  eprint = {2106.15064},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.15064},
}
Figure