Abstract
Deep co-training has been introduced to semi-supervised segmentation and achieves impressive results, yet few studies have explored the working mechanism behind it. In this work, we revisit the core assumption that supports co-training: multiple compatible and conditionally independent views. By theoretically deriving the generalization upper bound, we prove the prediction similarity between two models negatively impacts the model’s generalization ability. However, most current co-training models are tightly coupled together and violate this assumption. Such coupling leads to the homogenization of networks and confirmation bias which consequently limits the performance. To this end, we explore different dimensions of co-training and systematically increase the diversity from the aspects of input domains, different augmentations and model architectures to counteract homogenization. Our Diverse Co-training outperforms the state-of-the-art (SOTA) methods by a large margin across different evaluation protocols on the Pascal and Cityscapes. For example, we achieve the best mIoU of 76.2%, 77.7% and 80.2% on Pascal with only 92, 183 and 366 labeled images, surpassing the previous best results by more than 5%.
Introduction
Semi-supervised segmentation (SSS) is a critical task in computer vision, aiming to leverage a small amount of labeled data alongside a large pool of unlabeled data. A prominent approach in this field is co-training, where multiple models (typically two) are trained to provide pseudo-labels for one another. While effective, standard co-training frameworks often suffer from homogenization. Because the models often share the same input data and similar architectures, they tend to converge toward identical error patterns. This leads to "confirmation bias," where models reinforce each other's mistakes rather than correcting them. This paper introduces Diverse Co-training, a framework designed to break this coupling by injecting diversity across multiple dimensions.
Methodology: Injecting Diversity
The core of our approach is to "de-couple" the co-trained models by ensuring they operate on different "views" of the data, satisfying the theoretical requirements for effective co-training. We introduce diversity through three primary channels:
- Input Domain Diversity: We utilize the Discrete Cosine Transform (DCT) to provide a frequency-domain view of the data. While one model processes standard RGB images, another processes DCT coefficients, forcing the networks to learn fundamentally different features.
- Augmentation Diversity: We employ a "Strong-Weak" strategy. A teacher model receives weakly augmented images to produce stable pseudo-labels, while a student model is challenged with strongly augmented versions of the same images to enhance robustness.
- Architectural Diversity: We pair models with different inductive biases, specifically combining Convolutional Neural Networks (CNNs), like ResNet, with Transformers, like SegFormer. CNNs focus on local textures, while Transformers capture global context, ensuring their error patterns remain uncorrelated.
We propose two main variants: 2-cps, which utilizes two models with distinct architectures and inputs, and 3-cps, which adds a third view to further maximize diversity and performance.
Experimental Results
We evaluated Diverse Co-training on the Pascal VOC 2012 and Cityscapes benchmarks.
- Pascal VOC 2012: Our 3-cps model achieved a remarkable 73.1% mIoU on the 1/32 partition (331 labeled images), significantly outperforming the previous state-of-the-art (SOTA) Cross Pseudo Supervision (CPS) at 64.1%.
- Cityscapes: On the 1/8 partition, our method reached 77.9% mIoU, establishing a new benchmark for the dataset.
Analysis: The Agreement Rate Trap
A key finding of our research is the "Agreement Rate Trap." In many co-training setups, a high agreement rate between models is seen as a sign of stability. However, our analysis shows that if models agree too early in the training process, they stop exploring the feature space and succumb to homogenization. By maintaining a lower, more controlled agreement rate through diversity, our models continue to learn and refine their decision boundaries throughout the training process.
Conclusion
This work demonstrates that diversity is the most critical factor in successful co-training for semi-supervised segmentation. By systematically varying input domains, augmentations, and architectures, we effectively counteract homogenization and confirmation bias. Our Diverse Co-training framework not only achieves SOTA results but also provides a theoretically grounded path forward for semi-supervised learning in computer vision.
Summary updated