A Unified Contrastive Loss for Self-Training
Not on the map. Why?
Abstract (arXiv)
Self-training methods have proven to be effective in exploiting abundant unlabeled data in semi-supervised learning, particularly when labeled data is scarce. While many of these approaches rely on a cross-entropy loss function (CE), recent advances have shown that the supervised contrastive loss function (SupCon) can be more effective. Additionally, unsupervised contrastive learning approaches have also been shown to capture high quality data representations in the unsupervised setting. To benefit from these advantages in a semi-supervised setting, we propose a general framework to enhance self-training methods, which replaces all instances of CE losses with a unique contrastive loss. By using class prototypes, which are a set of class-wise trainable parameters, we recover the probability distributions of the CE setting and show a theoretical equivalence with it. Our framework, when applied to popular self-training methods, results in significant performance improvements across three different datasets with a limited number of labeled data. Additionally, we demonstrate further improvements in convergence speed, transfer ability, and hyperparameter stability. The code is available at urlhttps://github.com/AurelienGauffre/semisupcon/.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 29 of its 38 references that are in the map. First posted on arXiv 11 Sep 2024.
Builds on
29 of 38 references.
References · 29
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
- 2016Wide Residual Networkscited by 3,057
- 2020Supervised Contrastive Learningcited by 2,803
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
- 2020FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidencecited by 2,080
- 2019MixMatch: A Holistic Approach to Semi-Supervised Learningcited by 1,390
- 2019Unsupervised Data Augmentation for Consistency Trainingcited by 1,057
- 2016Temporal Ensembling for Semi-Supervised Learningcited by 1,054
- 2017Virtual Adversarial Training: A Regularization Method for Supervised and Semi-Supervised Learningcited by 918
- 2021FlexMatch: Boosting Semi-Supervised Learning with Curriculum Pseudo Labelingcited by 537
17 more
- 2019ReMixMatch: Semi-Supervised Learning with Distribution Alignment and Augmentation Anchoringcited by 349
- 2019S4L: Self-Supervised Semi-Supervised Learningcited by 335
- 2020Supervised Contrastive Learning for Pre-trained Language Model Fine-tuningcited by 275
- 2022FreeMatch: Self-adaptive Thresholding for Semi-supervised Learningcited by 232
- 2021Parametric Contrastive Learningcited by 217
- 2020CoMatch: Semi-supervised Learning with Contrastive Graph Regularizationcited by 167
- 2021Dash: Semi-Supervised Learning with Dynamic Thresholdingcited by 147
- 2022Balanced Contrastive Learning for Long-Tailed Visual Recognitioncited by 143
- 2023SoftMatch: Addressing the Quantity-Quality Trade-off in Semi-supervised Learningcited by 133
- 2022SimMatch: Semi-supervised Learning with Similarity Matchingcited by 118
- 2021Semi-Supervised Learning of Visual Features by Non-Parametrically Predicting View Assignments with Support Samplescited by 114
- 2021AdaMatch: A Unified Approach to Semi-Supervised Learning and Domain Adaptationcited by 104
- 2022USB: A Unified Semi-supervised Learning Benchmark for Classificationcited by 95
- 2021A Broad Study on the Transferability of Visual Representations with Contrastive Learningcited by 78
- 2021Dissecting Supervised Contrastive Learningcited by 64
- 2023Semi-supervised learning made simple with self-supervised clusteringcited by 20
- 2023DualMatch: Robust Semi-Supervised Learning with Dual-Level Interactioncited by 3
Built on by
Citing papers per year: 2026: 2.
2 papers.