Semi-supervised Learning with Multi-Head Co-Training

Mingcai Chen, Yuntao Du, Yi Zhang, Shuwei Qian, Chongjun Wang

Abstract

Semi-supervised learning (SSL) often relies on self-training, which is prone to confirmation bias. While co-training can mitigate this by using multiple models, it is often computationally expensive. This paper introduces Multi-Head Co-Training (MHCT), an efficient framework that uses a shared backbone with multiple classification heads. By employing a consensus-based pseudo-labeling strategy and stochastic strong augmentations, MHCT maintains head diversity and reduces confirmation bias. Experimental results on CIFAR, SVHN, and Mini-ImageNet demonstrate that MHCT achieves state-of-the-art performance with significantly lower computational costs and improved model calibration.

Introduction

The primary goal of SSL is to leverage large amounts of unlabeled data alongside limited labeled data. Self-training, a popular SSL technique, involves a model generating pseudo-labels for unlabeled data to guide its own training. However, this often leads to confirmation bias, where incorrect high-confidence predictions reinforce errors. Co-training addresses this by using multiple models to provide diverse perspectives, but traditional implementations requiring multiple separate networks are computationally prohibitive. MHCT aims to provide the benefits of co-training within a single, efficient architecture.

Methodology

MHCT utilizes a shared backbone followed by multiple independent classification heads. The training process involves two types of data augmentation: weak augmentation (simple flips and crops) for generating pseudo-labels and strong augmentation (complex transformations like RandAugment and Cutout) for the actual learning phase.

The MHCT architecture uses a shared backbone and multiple heads. Pseudo-labels are generated via cross-head consensus on weakly augmented images to train heads on strongly augmented versions.

A key innovation is the Cross-Head Consensus mechanism. For a given head, a pseudo-label is only accepted if the other heads agree on the prediction for a weakly augmented image. This consensus acts as a high-quality filter, ensuring that only the most reliable labels are used to train the heads on their respective strongly augmented versions of the same image. Diversity between heads is maintained through random weight initialization and the stochastic nature of strong augmentations, preventing the heads from collapsing into a single solution.

Key Insights and Results

MHCT consistently outperforms existing methods like FixMatch across multiple benchmarks. For instance, on CIFAR-10 with 4000 labels, it achieves an error rate of 3.84%, compared to FixMatch's 4.26%. On CIFAR-100, it reaches a 21.68% error rate with 10,000 labels, a 1.5% improvement over previous state-of-the-art methods.

Beyond accuracy, a standout finding is that MHCT significantly improves model calibration.

Calibration plots comparing FixMatch and MHCT. MHCT shows significantly lower Expected Calibration Error (ECE), indicating that its confidence scores are more reliable.

The reduction in Expected Calibration Error (ECE) shown in Figure 6 highlights MHCT's ability to produce more reliable confidence scores. This directly helps mitigate confirmation bias, as the model is less likely to be overconfident in its errors. Furthermore, ablation studies indicated that a three-head configuration offers an optimal balance between performance gains and parameter efficiency, providing significant boosts over single-head models with minimal overhead.

Conclusion

Multi-Head Co-Training provides a scalable and effective solution for SSL by integrating co-training principles into a multi-head architecture. It achieves state-of-the-art results while being nearly twice as fast as standard multi-model ensembles. While currently optimized for computer vision, future work will explore extending this approach to non-visual domains where stochastic augmentation is more challenging to implement.

Summary updated

BibTeX
@inproceedings{chen2022semi,
  author = {Mingcai Chen and Yuntao Du and Yi Zhang and Shuwei Qian and Chongjun Wang},
  title = {{Semi-supervised Learning with Multi-Head Co-Training}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i6.20577},
}
Figure