Abstract
Semi-supervised learning (SSL) leverages small amounts of labeled data alongside large unlabeled datasets. A common failure mode in SSL is the propagation of incorrect pseudo-labels due to model overconfidence. This paper introduces STOCO (Stochastic Consensus), a framework that mitigates this by requiring agreement among multiple stochastic classifiers sampled from a learned distribution. By combining this consensus mechanism with deep discriminative clustering, STOCO achieves state-of-the-art performance in extremely label-scarce scenarios, significantly reducing error rates on standard benchmarks like CIFAR-10 and SVHN.
Introduction
In deep learning, the high cost of data labeling often limits model performance. Semi-supervised learning (SSL) addresses this by using a small labeled set to guide the learning process on a much larger unlabeled set. The current state-of-the-art approach, self-training (e.g., FixMatch), relies on generating "pseudo-labels" for unlabeled data when the model's confidence exceeds a certain threshold.
However, deep neural networks are prone to overconfidence, especially when trained on limited data. If a model incorrectly labels an unlabeled sample with high confidence, this error is reinforced during training, leading to poor generalization. The authors of "Stochastic Consensus" identify this reliance on a single classifier's confidence as a primary bottleneck and propose a more robust filtering mechanism.
Methodology: The STOCO Framework
The proposed method, STOCO, introduces two key innovations to improve the reliability of pseudo-labels:
1. Stochastic Consensus
Instead of a single deterministic classifier, STOCO models the classifier's parameters as a Gaussian distribution $\mathcal{N}(\mu, \Sigma)$. During training, $m$ different "stochastic classifiers" are sampled from this distribution using the reparameterization trick. A pseudo-label is only assigned to an unlabeled sample if all $m$ sampled classifiers agree on the same class with high confidence. This "committee" approach acts as a rigorous filter, ensuring that only samples far from the decision boundary—where the model is most stable—are used for training.
2. Deep Discriminative Clustering
To complement the local confidence-based filtering, STOCO incorporates a clustering framework. While standard pseudo-labeling treats samples independently, clustering considers the global structure of the dataset. This helps generate "soft" pseudo-labels that maintain class balance and prevent the model from collapsing into a few easy-to-predict categories.
Experimental Evaluation
The researchers evaluated STOCO on four standard computer vision benchmarks, focusing on "label-scarce" regimes where labels are extremely limited:
- CIFAR-10: 40 labels (4 per class).
- CIFAR-100: 400, 2500, and 10,000 labels.
- SVHN: 40, 250, and 1000 labels.
- STL-10: 5,000 labeled and 100,000 unlabeled images.
Key Results
STOCO demonstrates significant improvements over baselines like FixMatch, particularly when labels are most scarce.
- CIFAR-10 (40 labels): STOCO achieved an error rate of 7.17%, a substantial improvement over FixMatch's ~13.81%.
- SVHN (40 labels): The method reached a remarkably low 2.85% error rate.
- CIFAR-100 (400 labels): STOCO recorded a 41.45% error rate, outperforming FixMatch (48.85%).
Ablation studies confirmed that both the stochastic consensus mechanism and the clustering component are vital; removing either led to a significant increase in error rates.
Discussion and Conclusion
The success of STOCO highlights the value of distribution-based regularization in SSL. By treating the classifier as a distribution rather than a point estimate, the model is forced to find decision boundaries that are robust to perturbations. Furthermore, the strict consensus requirement effectively reduces the "noise rate" in the pseudo-labeled set, preventing the self-reinforcement of errors.
While STOCO introduces some computational overhead due to multiple sampling and clustering, these costs are primarily confined to the final layers of the network. As labeled data becomes more abundant, the performance gap between STOCO and simpler methods narrows, suggesting that its primary utility lies in the most challenging, label-starved environments. Future work may explore dynamic adjustment of the consensus strictness as the model matures during training.
Summary updated