NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Dual Student: Breaking the Limits of the Teacher in Semi-supervised Learning

Zhanghan Ke, Daoye Wang, Qiong Yan, Jimmy S. J. Ren, Rynson W. H. LauICCV 2019

Abstract

Semi-supervised learning (SSL) has seen significant success with consistency-based methods like Mean Teacher. However, these methods rely on an Exponential Moving Average (EMA) teacher that is "tightly coupled" with the student, leading to a performance bottleneck where the teacher merely reinforces the student's existing biases. This paper introduces Dual Student, a framework that employs two independent student models. By exchanging knowledge only on "stable" samples—those where a model is both confident and consistent—Dual Student maintains model diversity and avoids the confirmation bias inherent in EMA-based approaches. Our method achieves state-of-the-art results on standard benchmarks, including CIFAR-10, CIFAR-100, and ImageNet.

The Problem: The EMA Bottleneck

In semi-supervised learning, consistency training is a popular strategy where a student model is trained to match the predictions of a teacher model on unlabeled data under different perturbations. The current gold standard, the Mean Teacher framework, uses an EMA of the student’s weights to form the teacher.

However, this creates a "tight coupling" problem. As training progresses, the teacher and student become nearly identical. This means the teacher stops providing novel guidance and instead reinforces the student's errors, a phenomenon known as confirmation bias. The authors provide empirical evidence showing that the weights and predictions of EMA-based models converge much faster than independent models, limiting their ultimate performance.

Empirical evidence of the coupling bottleneck in EMA-based models (S_ema) versus independent models (S_split).

The Dual Student Framework

To break this coupling, the authors propose the Dual Student framework. Instead of a single student and its EMA shadow, Dual Student trains two (or more) independent models simultaneously, starting from different random initializations.

Architectural comparison between the traditional Teacher-Student (EMA) approach and the proposed Dual-Student framework.

Key Mechanisms

  1. Stable Samples: A sample is considered "stable" if the model's prediction is both confident (high probability) and consistent (invariant to input perturbations).
  2. Stabilization Constraint: Rather than forcing models to agree on all inputs, they only exchange knowledge on stable samples. If Student A is stable on an image while Student B is not, Student B is penalized if its prediction deviates from Student A’s.
  3. Loose Coupling: Because the models are independent and only interact selectively, they explore different regions of the feature space. This diversity allows one model to "correct" the other when it goes astray.

Experimental Results

Dual Student consistently outperforms previous state-of-the-art methods across several computer vision benchmarks:

  • CIFAR-10 (1k labels): Reduced the error rate to 12.39% (using an imbalanced student variant), compared to 16.84% for Mean Teacher.
  • CIFAR-100 (10k labels): Reduced error from 34.10% to 31.56%.
  • Domain Adaptation (USPS to MNIST): Achieved 91.50% accuracy, significantly higher than Mean Teacher's 80.41%, demonstrating superior robustness against overfitting.

Conclusion

The Dual Student framework demonstrates that maintaining model diversity is crucial for effective semi-supervised learning. By replacing the tightly coupled EMA teacher with independent students and a selective stabilization constraint, the method overcomes the confirmation bias bottleneck. While it requires more computational resources during training, the gains in accuracy and robustness make it a powerful alternative for large-scale SSL tasks.

Summary updated

BibTeX
@inproceedings{ke2019dual,
  author = {Zhanghan Ke and Daoye Wang and Qiong Yan and Jimmy S. J. Ren and Rynson W. H. Lau},
  title = {{Dual Student: Breaking the Limits of the Teacher in Semi-supervised Learning}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2019},
  url = {https://openreview.net/forum?id=KmaOkOLP3l},
}
Figure