ConMatch: Semi-supervised Learning with Confidence-Guided Consistency Regularization

Jiwon Kim, Youngjo Min, Daehwan Kim, Gyuseong Lee, Junyoung Seo, Kwangrok Ryoo, Seungryong Kim

Abstract

We present a novel semi-supervised learning framework that intelligently leverages the consistency regularization between the model’s predictions from two strongly-augmented views of an image, weighted by a confidence of pseudo-label, dubbed ConMatch. While the latest semi-supervised learning methods use weakly- and strongly-augmented views of an image to define a directional consistency loss, how to define such direction for the consistency regularization between two strongly-augmented views remains unexplored. To account for this, we present novel confidence measures for pseudo-labels from strongly-augmented views by means of weakly-augmented view as an anchor in non-parametric and parametric approaches. Especially, in parametric approach, we present, for the first time, to learn the confidence of pseudo-label within the networks, which is learned with backbone model in an end-to-end manner. In addition, we also present a stage-wise training to boost the convergence of training. When incorporated in existing semi-supervised learners, ConMatch consistently boosts the performance. We conduct experiments to demonstrate the effectiveness of our ConMatch over the latest methods and provide extensive ablation studies.

Introduction

Semi-Supervised Learning (SSL) aims to maximize information extraction from limited labeled data and vast unlabeled datasets. Modern "holistic" methods like FixMatch typically follow a "weak-to-strong" paradigm: a model generates a pseudo-label from a weakly augmented image to supervise its prediction on a strongly augmented version. However, self-supervised learning has demonstrated that comparing two strong augmentations is highly effective for learning robust features.

Comparison of Semi-supervised, Self-supervised, and the proposed ConMatch paradigms.

The challenge in SSL is that forcing logit-level consistency between two heavily distorted views can lead to confirmation bias or network collapse. ConMatch addresses this by introducing a confidence-weighting mechanism that ensures the model only learns from reliable pseudo-labels, bridging the gap between semi-supervised and self-supervised paradigms.

Methodology

ConMatch introduces a second "strong" branch to the standard SSL pipeline and applies consistency regularization between these two strong branches. The core innovation lies in how this consistency is weighted.

Confidence-Guided Consistency

Unlike standard directional consistency (weak to strong), strong-to-strong consistency requires a mechanism to determine which branch should act as the "teacher." ConMatch uses confidence measures to decide this dynamically.

Measuring Confidence

The framework offers two approaches to confidence estimation:

  1. Non-parametric: Uses the weakly augmented branch as an anchor. A strong branch is considered more confident if its prediction aligns closely with the weak branch.
  2. Parametric (ConMatch-P): A dedicated Confidence Estimator Block (an MLP) is integrated into the network. This block processes image features and classifier outputs to predict a confidence score, trained in a supervised manner on labeled data.
The overall architecture of ConMatch and the detailed Confidence Estimator Block.

Stage-Wise Training

To ensure stability, a three-stage training schedule is employed: warming up the feature encoder, pre-training the confidence estimator, and finally joint fine-tuning. This prevents the model from learning from noisy, low-confidence predictions early in training.

Experimental Results

ConMatch was evaluated on standard benchmarks including CIFAR-10, CIFAR-100, SVHN, and STL-10, with a focus on extremely low-label regimes.

  • Performance Gains: On CIFAR-10 with only 40 labels, ConMatch achieved a 4.43% error rate, significantly outperforming FixMatch (13.81%) and FlexMatch (4.97%).
  • Robustness: Ablation studies confirmed that without confidence weighting, error rates on CIFAR-10 spiked from ~18% to ~77%, highlighting the importance of the confidence "safety valve" in preventing network collapse.
  • Versatility: ConMatch acts as a "plug-and-play" module, providing consistent boosts when integrated into existing learners like FixMatch or FlexMatch.

Conclusion

ConMatch demonstrates that learning confidence measures within the network is a powerful strategy for SSL. By intelligently weighting consistency between multiple strong augmentations, it achieves state-of-the-art results in data-starved scenarios. While the parametric approach adds some architectural complexity and requires stage-wise training, the resulting gains in accuracy and convergence speed make it a compelling framework for practical semi-supervised applications.

Summary updated

BibTeX
@inproceedings{kim2022conmatch,
  author = {Jiwon Kim and Youngjo Min and Daehwan Kim and Gyuseong Lee and Junyoung Seo and Kwangrok Ryoo and Seungryong Kim},
  title = {{ConMatch: Semi-supervised Learning with Confidence-Guided Consistency Regularization}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  url = {https://openreview.net/forum?id=BcDQnHUBub},
}
Figure