CGMatch: A Different Perspective of Semi-supervised Learning

Bo Cheng, Jueqing Lu, Yuan Tian, Haifeng Zhao, Yi Chang +1 more
3/1/2025
26 citations

Official code: BoCheng-96/CGMatch (26 stars, Python, MIT, last commit 2025-06-20).

Abstract

Semi-supervised learning (SSL) has garnered significant attention due to its ability to leverage limited labeled data and a large amount of unlabeled data to improve model generalization performance. Recent approaches achieve impressive successes by combining ideas from both consistency regularization and pseudo-labeling.

Show full abstract

However, these methods tend to underperform in the more realistic situations with relatively scarce labeled data. We argue that this issue arises because existing methods rely solely on the model’s confidence, making them challenging to accurately assess the model’s state and identify unlabeled examples contributing to the training phase when supervision information is limited, especially during the early stages of model training. In this paper, we propose a novel SSL model called CGMatch, which, for the first time, incorporates a new metric known as Count-Gap (CG). We demonstrate that CG is effective in discovering unlabeled examples beneficial for model training. Along with confidence, a commonly used metric in SSL, we propose a fine-grained dynamic selection (FDS) strategy. This strategy dynamically divides the unlabeled dataset into three subsets with different characteristics: easy-to-learn set, ambiguous set, and hard-to-learn set. By selective filtering subsets, and applying corresponding regularization with selected subsets, we mitigate the negative impact of incorrect pseudo-labels on model optimization and generalization. Extensive experimental results on several common SSL benchmarks indicate the effectiveness of CGMatch especially when the labeled data are particularly limited. Source code is available at https://github.com/BoCheng-96/CGMatch.

View on arXivView PDF

Code Implementations(1)

BoCheng-96/CGMatchOfficial100%
MIT
264PythonFeb 28, 20251 years agoMIT

Similar Papers

Cite this paper

@article{cheng2025cgmatch,
  title  = {CGMatch: A Different Perspective of Semi-supervised Learning},
  author = {Bo Cheng and Jueqing Lu and Yuan Tian and Haifeng Zhao and Yi Chang and Lan Du},
  year   = {2025},
  eprint = {2503.02231},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2503.02231},
  journal = {CVPR 2025 2025}
}

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

Discussion