Abstract
Semi-supervised learning (SSL) has recently proven to be an effective paradigm for leveraging a huge amount of unlabeled data while mitigating the reliance on large labeled data. Conventional methods focused on extracting a pseudo label from individual unlabeled data sample and thus they mostly struggled to handle inaccurate or noisy pseudo labels, which degenerate performance. In this paper, we address this limitation with a novel SSL framework for aggregating pseudo labels, called AggMatch, which refines initial pseudo labels by using different confident instances. Specifically, we introduce an aggregation module for consistency regularization framework that aggregates the initial pseudo labels based on the similarity between the instances. To enlarge the aggregation candidates beyond the mini-batch, we present a class-balanced confidence-aware queue built with the momentum model, encouraging to provide more stable and consistent aggregation. We also propose a novel uncertainty-based confidence measure for the pseudo label by considering the consensus among multiple hypotheses with different subsets of the queue. We conduct experiments to demonstrate the effectiveness of AggMatch over the latest methods on standard benchmarks and provide extensive analyses.
1. Introduction
Semi-supervised learning (SSL) aims to train powerful models using a small amount of labeled data and a vast pool of unlabeled data. Most modern state-of-the-art (SOTA) methods, such as FixMatch, rely on "pseudo-labeling": the model predicts a label for a weakly-augmented image and then uses that prediction as a "ground truth" to train on a strongly-augmented version of the same image.
However, this approach has two major flaws. First, confirmation bias occurs when a model makes an incorrect but confident prediction early in training, reinforcing its own error. Second, noise sensitivity arises because standard methods treat each data point in isolation. If a specific sample is an outlier or particularly difficult, the model struggles to generate a reliable pseudo-label.
AggMatch addresses these by moving away from "individual" pseudo-labeling toward a "collective" approach that considers the relationships between different data instances. By leveraging an "aggregated sample" derived from similar neighbors, the model can refine its predictions and mitigate the impact of individual sample noise.
2. The AggMatch Framework
The core of AggMatch is the Aggregation Module, which refines a sample's initial pseudo-label by looking at its "neighbors" in the feature space. This process is supported by several key architectural innovations.
2.1 Class-Balanced Confidence-Aware Queue
To find neighbors beyond the current mini-batch, AggMatch maintains a large queue of previous samples. To ensure stability, features in the queue are generated by a momentum model (an exponential moving average of the training model). The queue is strictly class-balanced to prevent the model from becoming biased toward dominant classes, which is a common failure mode in SSL.
2.2 Similarity-Based Aggregation
Inspired by the self-attention mechanism in Transformers, AggMatch calculates the similarity between a new unlabeled sample and the samples in the queue. The similarity function $S$ is a hybrid of Feature Similarity (cosine similarity between high-level feature embeddings) and Class Similarity (Jensen-Shannon divergence between predicted class distributions). By combining these, the model finds neighbors that are similar both in appearance and in semantic meaning.
2.3 Multi-Hypothesis Confidence Estimation
Instead of using a simple, fixed confidence threshold, AggMatch estimates uncertainty through consensus. It partitions the queue into $M$ disjoint subsets and generates $M$ different aggregated predictions. If these "multiple hypotheses" agree (resulting in low entropy), the pseudo-label is considered high-confidence and is used to supervise the model.
3. Experimental Evaluation
The authors evaluated AggMatch on standard SSL benchmarks including CIFAR-10, CIFAR-100, and SVHN. They also tested robustness by adding 25% and 50% asymmetric label noise.
Key Results
AggMatch shows a dramatic improvement over FixMatch, particularly when labels are scarce:
- CIFAR-10 (40 labels): Achieved 92.54% accuracy, a massive +6.35% improvement over FixMatch (86.19%).
- CIFAR-100 (400 labels): Achieved 55.58% (vs. 51.15% for FixMatch).
- Robustness to Noise: In a 50% noise setting on CIFAR-10, AggMatch maintained 85.41% accuracy, while FixMatch dropped to 79.68%.
Qualitative analysis showed that AggMatch is significantly better at distinguishing between visually similar classes (like "cat" vs. "dog") where individual pseudo-labeling often fails due to high intra-class variance.
4. Discussion and Conclusion
AggMatch demonstrates the power of "Wisdom of the Crowd" in semi-supervised learning. By averaging predictions from similar instances, the noise in individual predictions cancels out, leaving a cleaner, more accurate signal. This acts as a form of "scaffolding," providing the model with more reliable guidance during the early, immature stages of training.
While the method introduces some computational overhead due to the queue and multi-hypothesis testing, the performance gains—especially in low-label and high-noise regimes—make it a compelling alternative to standard consistency regularization techniques. Future work may explore AggMatch in fully self-supervised settings, where the aggregation module could potentially replace standard contrastive learning objectives.
Summary updated