Semi-Supervised Learning with Meta-Gradient

Xin-Yu Zhang, Hao-Lin Jia, Taihong Xiao, Ming-Ming Cheng, Ming-Hsuan Yang

Introduction

Semi-supervised learning (SSL) aims to leverage small amounts of labeled data alongside vast unlabeled datasets. Traditional "consistency-based" methods, while dominant, often suffer from confirmation bias, where models reinforce their own incorrect predictions. Researchers from Nankai University, UC Merced, and Tongji University have proposed a meta-learning framework that treats pseudo-labels as learnable parameters to ensure they actively improve model generalization.

Methodology: Meta-Gradient Optimization

The core innovation is a nested optimization problem. In the inner loop, the model learns from unlabeled data using current pseudo-labels. In the outer loop, the model's performance is evaluated on the actual labeled data. A "meta-gradient" is then calculated to update the pseudo-labels, ensuring that the knowledge extracted from unlabeled data aligns with the ground truth.

Training and test accuracy curves (Top-1 and Top-5) demonstrating the superior generalization of the meta-gradient approach compared to the baseline.

To maintain computational efficiency, the authors employ a first-order approximation, avoiding the memory-intensive second-order derivatives typically required for meta-learning. This is further enhanced by a cross-domain mixup strategy that interpolates between labeled and unlabeled samples to refine decision boundaries.

Results and Key Insights

The proposed method was evaluated on standard benchmarks including SVHN, CIFAR-10, CIFAR-100, and ImageNet. It consistently outperformed state-of-the-art SSL techniques, with the most significant gains observed in scenarios with extremely limited labeled data.

Error rates across different label counts for SVHN and CIFAR-10, alongside t-SNE visualizations showing improved feature distribution alignment.

Quantitative results show the method achieving an error rate of 3.15% on SVHN and 7.78% on CIFAR-10. Qualitative analysis via t-SNE visualizations reveals that the meta-gradient approach aligns the feature distributions of labeled, unlabeled, and test data more effectively than baselines, creating clearer margins between categories.

Conclusion

By treating pseudo-labels as hyperparameters optimized for generalization, this framework provides a robust mechanism for guiding semi-supervised learning. While the nested optimization adds some complexity, the resulting performance improvements—particularly in data-starved settings—mark a significant step forward for the field.

Summary updated

Abstract

In this work, we propose a simple yet effective meta-learning algorithm in semi-supervised learning. We notice that most existing consistency-based approaches suffer from overfitting and limited model generalization ability, especially when training with only a small number of labeled data. To alleviate this issue, we propose a learn-to-generalize regularization term by utilizing the label information and optimize the problem in a meta-learning fashion. Specifically, we seek the pseudo labels of the unlabeled data so that the model can generalize well on the labeled data, which is formulated as a nested optimization problem. We address this problem using the meta-gradient that bridges between the pseudo label and the regularization term. In addition, we introduce a simple first-order approximation to avoid computing higher-order derivatives and provide theoretic convergence analysis. Extensive evaluations on the SVHN, CIFAR, and ImageNet datasets demonstrate that the proposed algorithm performs favorably against state-of-the-art methods.
BibTeX
@inproceedings{zhang2021semi,
  author = {Xin-Yu Zhang and Hao-Lin Jia and Taihong Xiao and Ming-Ming Cheng and Ming-Hsuan Yang},
  title = {{Semi-Supervised Learning with Meta-Gradient}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2021},
}
Figure