Deep Co-Training for Semi-Supervised Image Recognition

Siyuan Qiao, Wei Shen, Zhishuai Zhang, Bo Wang, Alan L. Yuille

Introduction

Deep learning typically requires massive labeled datasets, which are often expensive and time-consuming to acquire. Semi-supervised learning (SSL) seeks to utilize unlabeled data to mitigate this requirement. A classic SSL approach, Co-Training, relies on multiple "views" of data to teach different models. However, in image recognition, where only a single view (the image) is typically available, deep learning models often "collapse"—converging to identical predictions and losing the benefit of multi-model training.

Deep Co-Training (DCT) addresses this by introducing a differentiable framework that trains multiple networks to maintain both consistency and diversity. By utilizing adversarial examples as a "repulsive force," DCT prevents model collapse and achieves state-of-the-art performance across several benchmarks.

Methodology

The DCT framework optimizes three primary loss components to leverage unlabeled data effectively:

  1. Supervised Loss ($L_{sup}$): Standard cross-entropy applied to the available labeled data.
  2. Co-Training Constraint ($L_{cot}$): Encourages models to produce similar probability distributions for unlabeled data by minimizing the Jensen-Shannon divergence between their outputs.
  3. View Difference Constraint ($L_{dif}$): The core innovation of the paper. To maintain diversity and prevent collapse, models are trained to be robust against adversarial examples generated to fool their counterparts. For instance, Network A is trained to correctly classify examples specifically designed to mislead Network B.

To ensure scalability, the authors employ a Multi-View DCT strategy. Instead of calculating losses for every possible pair in an $n$-network ensemble, they randomly pair networks during each iteration, significantly reducing computational complexity while maintaining performance gains.

Key Results

The authors evaluated DCT on standard benchmarks including SVHN, CIFAR-10, CIFAR-100, and ImageNet. DCT consistently outperformed existing state-of-the-art methods such as the $\Pi$ Model, Mean Teacher, and Virtual Adversarial Training (VAT).

Table 1: Comparison of error rates (%) on SVHN and CIFAR-10 benchmarks for various semi-supervised learning methods.

As shown in Table 1, DCT with 8 views achieved an error rate of 3.29% on SVHN and 8.35% on CIFAR-10, representing a significant improvement over previous benchmarks. On ImageNet (using 10% labels), DCT achieved a 46.50% Top-1 error, outperforming the supervised baseline (52.23%) and Mean Teacher (49.07%). The results demonstrate that increasing the number of views provides a significant boost, though with diminishing returns beyond 4 views.

Discussion and Insights

The success of DCT highlights several key principles in semi-supervised learning:

  • Adversarial Diversity: Adversarial examples, typically viewed as vulnerabilities, serve here as a tool to ensure models learn complementary features by exploring different regions of the data manifold.
  • The Necessity of Friction: Ablation studies confirm that without the $L_{dif}$ constraint, models eventually collapse into identical copies, leading to a sharp decline in validation accuracy. The "friction" provided by adversarial training is essential for viable deep co-training.
  • Beyond Simple Ensembling: Unlike standard ensembles where models are trained independently and averaged at the end, DCT models interact during training. This interaction results in individual models that are stronger than those trained via other SSL methods.

Limitations and Future Work

Despite its performance, DCT introduces higher computational overhead due to the simultaneous training of multiple networks. Furthermore, the reliance on the Fast Gradient Sign Method (FGSM) for adversarial generation suggests that more complex attacks might offer further improvements or require additional tuning. Finally, balancing the co-training and difference loss terms remains a critical hyperparameter challenge that may vary across different data domains. Future research could explore applying DCT to natural language processing or video recognition where finding natural "views" remains challenging.

Summary updated

BibTeX
@inproceedings{qiao2018deep,
  author = {Siyuan Qiao and Wei Shen and Zhishuai Zhang and Bo Wang and Alan L. Yuille},
  title = {{Deep Co-Training for Semi-Supervised Image Recognition}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  doi = {10.1007/978-3-030-01267-0\_9},
}
Figure