Semi-Supervised Semantic Segmentation with Cross Pseudo Supervision

TL;DR

Proposes Cross Pseudo Supervision (CPS) for semi-supervised semantic segmentation, achieving state-of-the-art results on Cityscapes and PASCAL VOC 2012.

cs.CV 🔴 Advanced 2021-06-02 37 views
Xiaokang Chen Yuhui Yuan Gang Zeng Jingdong Wang
semi-supervised learning semantic segmentation consistency regularization deep learning pseudo labels

Key Findings

Methodology

This paper introduces a dual-network framework where two identical segmentation models, initialized differently, generate pseudo labels for each other. The networks are trained jointly by minimizing a combined loss: the standard cross-entropy on labeled data and a bidirectional cross pseudo supervision loss on unlabeled data, encouraging prediction consistency. The approach integrates CutMix augmentation to enhance robustness. The core algorithms include the cross pseudo supervision mechanism and the use of data augmentation strategies, optimizing the model to leverage both labeled and unlabeled datasets effectively.

Key Results

  • On Cityscapes and PASCAL VOC 2012, the method surpasses existing state-of-the-art (SOTA) methods across various labeled data ratios, with a maximum improvement of 4.89% mIoU. For instance, with ResNet-50 backbone on Cityscapes at 1/16 label ratio, it achieves 80.08% mIoU, outperforming GCT by 1.50%.
  • Incorporating CutMix further boosts performance, especially under extremely limited labels, demonstrating the effectiveness of the pseudo supervision strategy. The method maintains superior performance even with full supervision, confirming its robustness.

Significance

This work advances semi-supervised semantic segmentation by effectively combining dual-network pseudo labels and consistency regularization, addressing the challenge of limited labeled data. Its success on urban scene and object recognition datasets highlights its potential for real-world applications such as autonomous driving and surveillance, reducing annotation costs while maintaining high accuracy. The approach offers a scalable solution for leveraging vast unlabeled data, a crucial step toward practical deployment of semantic segmentation models.

Technical Contribution

The main technical innovation is the cross pseudo supervision mechanism, where two networks supervise each other via pseudo labels, enhancing label stability and diversity. Unlike prior single-network or self-ensembling methods, this bidirectional supervision significantly improves pseudo label quality. The method also incorporates CutMix data augmentation, which further improves generalization and robustness. Theoretically, the work demonstrates how prediction consistency across networks facilitates learning from unlabeled data, providing a new perspective on semi-supervised training dynamics.

Novelty

This is the first work to introduce a dual-network cross pseudo supervision framework for semi-supervised segmentation, leveraging mutual pseudo-labeling to overcome the limitations of single-network pseudo supervision. The bidirectional supervision mechanism ensures more reliable pseudo labels, leading to substantial performance gains. This approach differs fundamentally from existing methods like Mean Teacher or FixMatch, which rely on a single model or weak-strong augmentation schemes, respectively. Its simplicity and effectiveness mark a significant innovation in the field.

Limitations

  • The approach depends heavily on the initial pseudo labels' quality; noisy pseudo labels can still mislead training, especially in highly complex scenes.
  • Training requires maintaining two networks simultaneously, increasing computational cost and memory usage, which may limit scalability in resource-constrained environments.
  • Performance may degrade in scenarios with severe class imbalance or domain shifts, where pseudo labels become unreliable.

Future Work

Future directions include developing adaptive weighting schemes for the pseudo supervision loss, exploring multi-network collaborations beyond two models, and integrating self-supervised signals to further improve pseudo label quality. Extending the framework to multi-modal data and real-time applications, as well as theoretical analysis of convergence and stability, are promising research avenues to enhance robustness and broader applicability.

AI Executive Summary

Semantic segmentation is a foundational task in computer vision, critical for applications like autonomous driving, urban planning, and robotics. Despite recent advances with deep convolutional neural networks, the high cost of pixel-level annotation remains a bottleneck, limiting the scalability of supervised approaches. To address this challenge, semi-supervised learning has gained prominence, aiming to leverage abundant unlabeled data alongside limited labeled samples.

Traditional semi-supervised methods often rely on consistency regularization, which enforces model predictions to be stable under input perturbations, or pseudo-labeling, where high-confidence predictions on unlabeled data are used as training labels. However, these strategies face issues such as noisy pseudo labels and limited robustness. The paper introduces Cross Pseudo Supervision (CPS), a novel framework that employs two identical segmentation networks, initialized differently, to mutually generate pseudo labels for each other. This bidirectional supervision enhances label stability and diversity, leading to more reliable pseudo labels.

The core technical idea involves training both networks simultaneously with a combined loss: the standard cross-entropy loss on labeled data and a cross pseudo supervision loss on unlabeled data. The latter encourages the networks to produce consistent predictions, effectively expanding the training set with pseudo-labeled samples. The method also incorporates CutMix data augmentation, which mixes images and their pseudo labels to improve generalization. Extensive experiments on Cityscapes and PASCAL VOC 2012 datasets demonstrate that CPS outperforms existing semi-supervised methods, achieving state-of-the-art results with significant improvements in mIoU, especially under limited labeled data conditions.

This approach not only advances the theoretical understanding of mutual pseudo supervision but also offers practical benefits for real-world applications where labeled data is scarce. Its simplicity, combined with strong empirical performance, makes it a promising direction for future research in semi-supervised semantic segmentation. Despite some limitations related to computational cost and pseudo label noise, the framework sets a new benchmark and opens avenues for multi-network collaboration and multi-modal learning in the field.

Deep Analysis

Background

语义分割作为计算机视觉中的核心任务,经过深度学习的发展,出现了多种基于全卷积网络(FCN)的方法,如DeepLab系列、HRNet等。这些方法在提升分辨率、利用上下文信息和边缘细节方面不断创新,但高质量像素标注的成本极高,限制了其规模化应用。为此,半监督学习逐渐成为研究热点,通过利用大量未标注数据,缓解标注瓶颈。早期方法包括自训练、伪标签和一致性正则化,如Mean Teacher、CutMix等,取得一定效果,但伪标签的稳定性和泛化能力仍有待提升。

Core Problem

当前半监督语义分割面临伪标签不稳定、模型一致性不足、训练成本高等难题。伪标签的准确性直接影响模型性能,极少标注样本会导致模型陷入错误的伪监督循环。此外,如何结合多网络、多样化数据增强策略,提升伪标签的多样性和鲁棒性,仍是亟待解决的核心问题。这些挑战限制了半监督方法在实际场景中的应用效果和推广。

Innovation

本文提出交叉伪监督(CPS)机制,创新点在于:1)引入两个不同初始化的分割网络,互为伪标签,增强伪标签的多样性和稳定性;2)结合一致性正则化,强化预测一致性,降低伪标签噪声;3)融合CutMix数据增强策略,缓解过拟合,提升模型鲁棒性。这一机制突破了传统单网络伪监督的局限,有效利用未标注数据,提升模型性能,尤其在极少标注比例下表现优异。

Methodology

  • �� 构建两个结构相同、初始化不同的分割网络(f(θ1)、f(θ2));
  • �� 输入相同增强的图像X,输出预测概率图P1、P2;
  • �� 计算伪标签Y1、Y2(one-hot向量),作为对方网络的监督信号;
  • �� 设计交叉伪监督损失,最小化两个网络在未标注数据上的预测差异;
  • �� 在标注数据上,结合传统交叉熵损失进行监督;
  • �� 引入CutMix增强,混合不同图像及伪标签,提升模型鲁棒性;
  • �� 训练目标为总损失:标注数据的交叉熵和未标注数据的交叉伪监督,权重调节确保平衡。

Experiments

采用Cityscapes和PASCAL VOC 2012两个公开数据集,分别在不同标注比例(如1/16、1/8)下评估性能。基线模型为DeepLabv3+,ResNet-50/101作为骨干网络。训练过程中,比较不同损失组合(如交叉伪监督、概率一致性)对性能的影响,进行消融分析。采用mIoU指标,验证在少标注条件下的性能提升。实验还包括CutMix增强效果、不同网络初始化对比,以及与SOTA方法的性能对比。

Results

在Cityscapes 1/16标注比例下,ResNet-50基础上实现80.08%的mIoU,超越GCT方法1.50%;在VOC 1/8比例下,性能提升约4.2%。引入CutMix后,性能进一步提升,验证伪监督策略的有效性。多场景实验显示,该方法在极少标注和全标注条件下均优于现有方案,尤其在标注极少时表现尤为突出,验证了其在实际应用中的潜力。

Applications

该方法适用于自动驾驶、城市监控、无人机等场景,能在有限标注资源下实现高精度语义理解。只需少量标注数据,结合大量未标注图像,即可训练出性能优异的模型,降低成本,加快部署速度。未来,可扩展到多模态、多任务学习,满足复杂环境下的智能感知需求。

Limitations & Outlook

模型对网络初始化敏感,伪标签质量受噪声影响较大。在极端场景或类别不平衡时,伪标签可能引入偏差。训练成本较高,需维护两个网络,硬件资源需求大。未来需优化伪标签生成机制和模型结构,提升鲁棒性和效率。

Plain Language Accessible to non-experts

想象你在厨房里做饭,有两个厨师同时准备同一道菜,但他们用不同的食谱和调料。每个厨师根据自己的食谱做出菜肴,然后互相品尝对方的菜,给出建议。通过不断互相学习和调整,两个厨师都能做出更好、更符合口味的菜。这就像本文中的两个神经网络一样,它们互相提供“伪标签”,帮助彼此变得更聪明、更准确。这样,即使没有很多真实的“食谱”——也就是标注数据,它们也能学会做出美味的“菜”,即高质量的语义分割。

ELI14 Explained like you're 14

想象你和朋友在玩拼图游戏,但没有完整的图片,只能看到一部分。你们每人用自己的方法拼拼看,然后互相看看对方拼的样子,给出建议。虽然一开始拼得不太像,但随着不断交流和调整,拼图会变得越来越像完整的图片。这就像两个神经网络一样,它们用不同的“起点”来学习分割图片。每个网络会猜出一部分“标签”,然后告诉对方,让对方也参考这些猜测。这样,两个网络就像在互相学习,逐渐变得更聪明。这个叫做“交叉伪监督”,可以让机器在没有很多标注的情况下,也能学会准确地识别图片中的不同物体,就像你和朋友一起拼出完整的拼图一样。

Glossary

Semi-supervised Learning (半监督学习)

结合少量标注数据和大量未标注数据训练模型的方法,既利用标签信息,又挖掘未标注数据的潜力。

本文采用半监督策略,通过伪标签和一致性正则化提升性能。

Cross Pseudo Supervision (交叉伪监督)

两个网络互为伪标签的机制,通过相互监督增强预测稳定性和准确性。

核心创新机制,用于提升半监督语义分割效果。

CutMix

一种数据增强方法,将两张图像部分区域拼接,生成新样本,增强模型鲁棒性。

结合CutMix,改善伪标签多样性和模型泛化。

Mean Teacher

一种半监督框架,使用学生网络和其滑动平均的教师网络进行一致性训练。

本文对比采用该策略,验证交叉伪监督优势。

mIoU (mean Intersection-over-Union)

评估语义分割性能的指标,计算预测与真实标签的交集与并集比例的平均值。

所有实验性能指标均以mIoU衡量。

Open Questions Unanswered questions from this research

  • 1 如何进一步提升伪标签的质量,减少噪声对模型的影响,仍是未来研究的关键。
  • 2 多网络协作机制的理论基础尚不完善,需深入分析其收敛性和稳定性。
  • 3 在类别极不平衡或复杂场景中,伪标签的适应性和鲁棒性仍需验证。

Applications

Immediate Applications

自动驾驶中的城市道路理解

利用有限标注数据,通过交叉伪监督训练高精度道路、行人和车辆分割模型,降低标注成本,加快自动驾驶系统部署。

智能监控与城市管理

结合大量未标注视频数据,快速训练城市景观识别模型,实现实时交通和安全监测。

Long-term Vision

多模态场景的跨域语义理解

结合视觉、激光雷达等多模态数据,发展多网络协作的半监督方法,推动自动驾驶、机器人等领域的智能感知突破。

Abstract

In this paper, we study the semi-supervised semantic segmentation problem via exploring both labeled data and extra unlabeled data. We propose a novel consistency regularization approach, called cross pseudo supervision (CPS). Our approach imposes the consistency on two segmentation networks perturbed with different initialization for the same input image. The pseudo one-hot label map, output from one perturbed segmentation network, is used to supervise the other segmentation network with the standard cross-entropy loss, and vice versa. The CPS consistency has two roles: encourage high similarity between the predictions of two perturbed networks for the same input image, and expand training data by using the unlabeled data with pseudo labels. Experiment results show that our approach achieves the state-of-the-art semi-supervised segmentation performance on Cityscapes and PASCAL VOC 2012. Code is available at https://git.io/CPS.

cs.CV