Class-Aware Contrastive Semi-Supervised Learning

Fan Yang, Kai Wu, Shuyi Zhang, Guannan Jiang, Yong Liu +4 more
3/4/2022
cs.CV

Official code: TencentYoutuResearch/Classification-SemiCLS (99 stars, Python, last commit 2022-12-19).

Abstract

Pseudo-label-based semi-supervised learning (SSL) has achieved great success on raw data utilization. However, its training procedure suffers from confirmation bias due to the noise contained in self-generated artificial labels.

Show full abstract

Moreover, the model's judgment becomes noisier in real-world applications with extensive out-of-distribution data. To address this issue, we propose a general method named Class-aware Contrastive Semi-Supervised Learning (CCSSL), which is a drop-in helper to improve the pseudo-label quality and enhance the model's robustness in the real-world setting. Rather than treating real-world data as a union set, our method separately handles reliable in-distribution data with class-wise clustering for blending into downstream tasks and noisy out-of-distribution data with image-wise contrastive for better generalization. Furthermore, by applying target re-weighting, we successfully emphasize clean label learning and simultaneously reduce noisy label learning. Despite its simplicity, our proposed CCSSL has significant performance improvements over the state-of-the-art SSL methods on the standard datasets CIFAR100 and STL10. On the real-world dataset Semi-iNat 2021, we improve FixMatch by 9.80% and CoMatch by 3.18%. Code is available https://github.com/TencentYoutuResearch/Classification-SemiCLS.

View on arXivView PDF

Code Implementations(1)

Code for CVPR 2022 paper “Class-Aware Contrastive Semi-Supervised Learning”

9914PythonMar 22, 20223 years agoNOASSERTION

Similar Papers

Cite this paper

@article{yang2022classaware,
  title  = {Class-Aware Contrastive Semi-Supervised Learning},
  author = {Fan Yang and Kai Wu and Shuyi Zhang and Guannan Jiang and Yong Liu and Feng Zheng and Wei Zhang and Chengjie Wang and Long Zeng},
  year   = {2022},
  eprint = {2203.02261},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.02261}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.02261.svg)](https://codeofpaper.com/paper/2203.02261)

Discussion