CoMatch: Semi-supervised Learning with Contrastive Graph Regularization
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Classification | CIFAR-100 (test) | Accuracy58.55 | 3518 | |
| Image Classification | CIFAR-10 (test) | Accuracy91.51 | 3381 | |
| Object Detection | COCO 2017 (val) | -- | 2454 | |
| Instance Segmentation | COCO 2017 (val) | -- | 1144 | |
| Image Classification | CIFAR-100 | -- | 622 | |
| Image Classification | CIFAR10 (test) | Accuracy95.44 | 585 | |
| Image Classification | CIFAR100 (test) | Top-1 Accuracy79.14 | 377 | |
| Image Classification | SVHN | -- | 359 | |
| Image Classification | STL-10 (test) | Accuracy82 | 357 | |
| Image Classification | SVHN (test) | Accuracy86.45 | 199 |