Abstract
Semi-supervised learning (SSL) leverages unlabeled data to improve model performance, typically through self-learning and pseudo-labeling. However, in imbalanced datasets, SSL methods often suffer from confirmation bias, where majority classes dominate the pseudo-labeling process and effectively erase minority classes. We introduce SemiGPC, a label refinement strategy based on Gaussian Processes (GP). SemiGPC utilizes the GP posterior mean and an inverse covariance matrix to provide global normalization, preventing majority classes from "crowding out" minority ones. With an efficient $7.5\times$ faster update rule, SemiGPC sets new state-of-the-art benchmarks on long-tailed and fine-grained visual categorization datasets.
Introduction
The primary challenge in imbalanced semi-supervised learning is the "rich get richer" phenomenon. When a model is trained on a dataset where one class significantly outnumbers another, the model naturally develops a bias toward the majority class. During pseudo-labeling, the model is more likely to misclassify unlabeled minority samples as majority samples. This reinforces the initial bias, leading to a cycle of confirmation bias that degrades performance on minority classes.
Existing solutions often employ similarity-based label smoothing using a memory buffer. However, as shown in Figure 2(b), these methods still tend to expand majority class regions into minority clusters. SemiGPC addresses this by replacing simple heuristics with a theoretically grounded GP framework that maintains high sensitivity to local data clusters while accounting for global distribution.
Methodology
SemiGPC integrates a Gaussian Process module into the standard SSL pipeline to refine pseudo-labels dynamically during training.
GP-based Label Refinement
Unlike standard similarity-based methods that use a simple weighted average of neighbors, SemiGPC derives predictions from the GP posterior distribution. The inclusion of the inverse covariance matrix ($K^{-1}$) acts as a global normalization factor. This term reweighs similarities based on the overall data distribution in the memory buffer, effectively "pushing back" against the dominance of majority classes.
System Architecture
The SemiGPC module operates alongside a standard Teacher-Student SSL framework. It maintains a class-balanced memory buffer ($h_Q$) to ensure representative samples of all classes are available for the GP, regardless of the raw data distribution.
Computational Efficiency
A significant hurdle for GPs in deep learning is the $O(N^3)$ complexity of matrix inversion. SemiGPC overcomes this using a batched online update rule based on the Woodbury matrix identity. This optimization provides a $7.5\times$ speedup over naive implementations, making the GP refinement computationally feasible with negligible overhead.
Experimental Results
The authors evaluated SemiGPC across several imbalanced benchmarks, demonstrating its robustness and "plug-and-play" utility when added to existing methods like FixMatch or SimMatch.
- Long-Tailed Benchmarks: On CIFAR10-LT, SemiGPC achieved a performance boost of up to +7.65% over baselines. On CIFAR100-LT, it improved accuracy by +1.84%.
- Fine-Grained Visual Categorization (FGVC): In naturally imbalanced datasets like SemiFungi, SemiGPC outperformed the competitive SimMatch baseline by +3.49%. These datasets are particularly challenging as classes (e.g., different mushroom species) often appear very similar.
- Low-Data Regime: The method is particularly potent when labeled data is extremely scarce, narrowing the performance gap by 32-45% compared to standard SSL approaches.
Conclusion
SemiGPC provides a principled approach to mitigating confirmation bias in imbalanced SSL. By leveraging the distributional awareness of Gaussian Processes and optimizing for training efficiency, it offers a scalable solution for real-world datasets where class distributions are rarely uniform. Future work will explore scaling the memory buffer beyond current limits and implementing learnable kernel hyperparameters to further enhance refinement accuracy.
Summary updated