Repetitive Reprediction Deep Decipher for Semi-Supervised Learning

Guo-Hua Wang, Jianxin Wu

Abstract

Most recent semi-supervised deep learning (deep SSL) methods use a similar paradigm: network predictions are used to update pseudo-labels, which in turn are used to update network parameters iteratively. However, these methods often lack theoretical support and fail to explain why predictions serve as good candidates for pseudo-labels. This paper proposes a principled end-to-end framework named Deep Decipher (D2) for SSL. Within the D2 framework, we prove that pseudo-labels are related to network predictions by an exponential link function, providing theoretical justification for their use. Furthermore, we demonstrate that updating pseudo-labels via network predictions can lead to increased uncertainty. To mitigate this, we introduce a training strategy called Repetitive Reprediction (R2). The resulting R2-D2 method outperforms state-of-the-art methods on the large-scale ImageNet dataset by 5 percentage points.

Introduction

In Semi-Supervised Learning (SSL), the primary challenge is effectively leveraging a vast amount of unlabeled data alongside a limited set of labeled examples. A common empirical approach is pseudo-labeling, where the model's own predictions for unlabeled data are treated as ground truth targets. While successful, this process has historically been viewed as a heuristic "black box." This research addresses two critical gaps: the lack of a theoretical foundation for pseudo-labeling and the tendency for pseudo-labels to become increasingly uncertain (or "flat") during the optimization process, a phenomenon known as the entropy trap.

The Deep Decipher (D2) Framework

The core of the proposed approach is the Deep Decipher (D2) framework. Unlike traditional methods that simply assign predictions as labels, D2 treats pseudo-labels as unconstrained learnable variables (pseudo-logits) that are optimized through backpropagation alongside the network's weights.

The Deep Decipher (D2) framework architecture, illustrating the flow from input image to loss functions and the role of learnable pseudo-labels.

A key theoretical contribution of this work is the proof of an exponential link function. The authors demonstrate that in an optimized D2 framework, the relationship between network predictions and pseudo-labels follows a specific mathematical form. This provides a rigorous justification for using model predictions as pseudo-labels, aligning the practice with maximum likelihood estimation principles.

Repetitive Reprediction (R2) Strategy

While D2 provides a solid foundation, the authors identified a significant optimization hurdle: the Entropy Trap. They proved that during joint optimization, pseudo-labels naturally tend toward higher entropy, becoming more uncertain than the actual network predictions. Additionally, under standard Stochastic Gradient Descent (SGD), the sum of pseudo-logits remains constrained by their initialization, limiting the model's flexibility.

To overcome these issues, the Repetitive Reprediction (R2) strategy was developed. This involves periodically re-initializing the pseudo-labels using the current network's predictions. This "refresh" mechanism sharpens the labels, ensuring they remain accurate and informative as the backbone network's feature representation improves. The training pipeline follows a three-stage process: a warm-up on labeled data, the joint D2+R2 optimization phase, and a final fine-tuning stage where pseudo-labels are fixed as hard targets.

Experimental Results and Analysis

The R2-D2 method was evaluated on major benchmarks, including ImageNet, CIFAR-10, CIFAR-100, and SVHN. On the large-scale ImageNet dataset (with 10% labeled data), R2-D2 achieved a Top-1 error rate of 41.55%, a 5% improvement over previous state-of-the-art methods like Dual-View Co-Training.

Ablation study showing the incremental performance improvements on CIFAR-10 as different components of the R2-D2 strategy are enabled.

As shown in the ablation study above, each component of the strategy contributes to the final performance. The transition from a single-stage D2 approach (column 'a') to the full R2-D2 pipeline with reprediction and learning rate adjustments (column 'e') results in a significant reduction in error rates. Notably, R2-D2 is more memory-efficient than competitors like Mean Teacher because it only requires maintaining a single network during the primary optimization phase.

Conclusion

The R2-D2 framework transforms pseudo-labeling from a heuristic trick into a principled mathematical process. By treating labels as learnable parameters and introducing a mechanism to prevent label "flattening," the authors provide both a theoretical breakthrough and a practical tool for large-scale semi-supervised learning. Future work may involve integrating this framework with self-supervised contrastive learning to further push the boundaries of data-efficient deep learning.

Summary updated

BibTeX
@inproceedings{wang2020repetitive,
  author = {Guo-Hua Wang and Jianxin Wu},
  title = {{Repetitive Reprediction Deep Decipher for Semi-Supervised Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  url = {https://openreview.net/forum?id=MFlCx6W_pt},
}
Figure