CoMatch: Semi-supervised Learning with Contrastive Graph Regularization

Junnan Li, Caiming Xiong, Steven Hoi
11/23/2020
cs.LGcs.CV

Official code: salesforce/CoMatch (133 stars, BSD-3-Clause, last commit 2025-05-01).

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.

View on arXivView PDF

Code Implementations(1)

salesforce/CoMatchOfficial100%
BSD-3-Clause

Code for CoMatch: Semi-supervised Learning with Contrastive Graph Regularization

13321PythonFeb 25, 20211 years agoBSD-3-Clause
contrastive-learningrepresentation-learningself-supervised-learningsemi-supervised-learning

Cite this paper

@article{li2020comatch,
  title  = {CoMatch: Semi-supervised Learning with Contrastive Graph Regularization},
  author = {Junnan Li and Caiming Xiong and Steven Hoi},
  year   = {2020},
  eprint = {2011.11183},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2011.11183}
}

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/2011.11183.svg)](https://codeofpaper.com/paper/2011.11183)

Discussion