HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

CoMatch: Semi-supervised Learning with Contrastive Graph Regularization

Junnan Li Caiming Xiong Steven Hoi

CoMatch: Semi-supervised Learning with Contrastive Graph Regularization

Abstract

Semi-supervised learning has been an effective paradigm for leveraging unlabeled data to reduce the reliance on labeled data. We propose CoMatch, a new semi-supervised learning method that unifies dominant approaches and addresses their limitations. CoMatch jointly learns two representations of the training data, their class probabilities and low-dimensional embeddings. The two representations interact with each other to jointly evolve. The embeddings impose a smoothness constraint on the class probabilities to improve the pseudo-labels, whereas the pseudo-labels regularize the structure of the embeddings through graph-based contrastive learning. CoMatch achieves state-of-the-art performance on multiple datasets. It achieves substantial accuracy improvements on the label-scarce CIFAR-10 and STL-10. On ImageNet with 1% labels, CoMatch achieves a top-1 accuracy of 66.0%, outperforming FixMatch by 12.6%. Furthermore, CoMatch achieves better representation learning performance on downstream tasks, outperforming both supervised learning and self-supervised learning. Code and pre-trained models are available at https://github.com/salesforce/CoMatch.

Code Repositories

LKLQQ/ssc_resnet50
mindspore
Mentioned in GitHub
salesforce/CoMatch
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
semi-supervised-image-classification-on-1CoMatch (w. MoCo v2)
Top 1 Accuracy: 67.1%
Top 5 Accuracy: 87.1%
semi-supervised-image-classification-on-2CoMatch (w. MoCo v2)
Top 1 Accuracy: 73.7%
Top 5 Accuracy: 91.4%
semi-supervised-image-classification-on-cifar-15CoMatch (SimCLR)
Percentage error: 12.33±8.47
semi-supervised-image-classification-on-cifar-16SimCLR (CoMatch)
Percentage error: 5.98
semi-supervised-image-classification-on-cifar-7CoMatch (w. SimCLR)
Percentage error: 6.91±1.39
semi-supervised-image-classification-on-stl-1SimCLR (CoMatch)
Accuracy: 77.46

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp