TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Class-Aware Contrastive Semi-Supervised Learning

Class-Aware Contrastive Semi-Supervised Learning

Fan Yang, Kai Wu, Shuyi Zhang, Guannan Jiang, Yong liu, Feng Zheng, Wei zhang, Chengjie Wang, Long Zeng

2022-03-04CVPR 2022 1Image ClassificationSemi-Supervised Image Classification
PaperPDFCode(official)

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. 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.

Results

TaskDatasetMetricValueModel
Image ClassificationCIFAR-10 (40 Labels, ImageNet-100 Unlabeled)Accuarcy30.89CCSSL
Image ClassificationSVHN (40 Labels, ImageNet-100 Unlabeled)Accuracy50.02CCSSL
Image ClassificationSTL-10 (1000 Labels, ImageNet-100 Unlabeled)Accuracy82CCSSL
Image ClassificationCIFAR-100 (10000 Labels, ImageNet-100 Unlabeled)Accuracy71.12CCSSL
Image ClassificationSVHN (1000 Labels, ImageNet-100 Unlabeled)Accuracy88.6CCSSL
Image ClassificationCIFAR-100, 2500 LabelsPercentage error24.3CCSSL(FixMatch)
Image ClassificationCIFAR-10 (4000 Labels, ImageNet-100 Unlabeled)Accuracy88.77CCSSL
Image ClassificationCIFAR-10 (250 Labels, ImageNet-100 Unlabeled)Accuracy67.2CCSSL
Image Classificationcifar-100, 10000 LabelsPercentage error19.32CCSSL(FixMatch)
Image ClassificationCIFAR-100 (250 Labels, ImageNet-100 Unlabeled)Accuarcy56.3CCSSL
Image ClassificationCIFAR-100, 400 LabelsPercentage error38.81CCSSL(FixMatch)
Image ClassificationCIFAR-100 (400 Labels, ImageNet-100 Unlabeled)Accuracy24.53CCSSL
Image ClassificationSVHN (250 Labels, ImageNet-100 Unlabeled)Accuracy80.39CCSSL
Semi-Supervised Image ClassificationSVHN (40 Labels, ImageNet-100 Unlabeled)Accuracy50.02CCSSL
Semi-Supervised Image ClassificationSTL-10 (1000 Labels, ImageNet-100 Unlabeled)Accuracy82CCSSL
Semi-Supervised Image ClassificationCIFAR-100 (10000 Labels, ImageNet-100 Unlabeled)Accuracy71.12CCSSL
Semi-Supervised Image ClassificationSVHN (1000 Labels, ImageNet-100 Unlabeled)Accuracy88.6CCSSL
Semi-Supervised Image ClassificationCIFAR-100, 2500 LabelsPercentage error24.3CCSSL(FixMatch)
Semi-Supervised Image ClassificationCIFAR-10 (4000 Labels, ImageNet-100 Unlabeled)Accuracy88.77CCSSL
Semi-Supervised Image ClassificationCIFAR-10 (250 Labels, ImageNet-100 Unlabeled)Accuracy67.2CCSSL
Semi-Supervised Image Classificationcifar-100, 10000 LabelsPercentage error19.32CCSSL(FixMatch)
Semi-Supervised Image ClassificationCIFAR-100 (250 Labels, ImageNet-100 Unlabeled)Accuarcy56.3CCSSL
Semi-Supervised Image ClassificationCIFAR-100, 400 LabelsPercentage error38.81CCSSL(FixMatch)
Semi-Supervised Image ClassificationCIFAR-100 (400 Labels, ImageNet-100 Unlabeled)Accuracy24.53CCSSL
Semi-Supervised Image ClassificationSVHN (250 Labels, ImageNet-100 Unlabeled)Accuracy80.39CCSSL

Related Papers

Automatic Classification and Segmentation of Tunnel Cracks Based on Deep Learning and Visual Explanations2025-07-18Adversarial attacks to image classification systems using evolutionary algorithms2025-07-17Efficient Adaptation of Pre-trained Vision Transformer underpinned by Approximately Orthogonal Fine-Tuning Strategy2025-07-17Federated Learning for Commercial Image Sources2025-07-17MUPAX: Multidimensional Problem Agnostic eXplainable AI2025-07-17Hashed Watermark as a Filter: Defeating Forging and Overwriting Attacks in Weight-based Neural Network Watermarking2025-07-15Transferring Styles for Reduced Texture Bias and Improved Robustness in Semantic Segmentation Networks2025-07-14FedGSCA: Medical Federated Learning with Global Sample Selector and Client Adaptive Adjuster under Label Noise2025-07-13