Abstract
This study addresses the limitations of existing dynamic pseudo-labeling (DPL) techniques, which often utilize static or dynamic thresholds for confident sample selection. The existing methods fail to capture the non-linear relationship between task accuracy and model confidence, particularly in the context of overconfidence. This can limit the model's learning opportunities for high entropy samples that significantly influence a model's generalization ability. To solve this, we propose a novel gradient pass-based DPL technique that incorporates the high-entropy samples, which are typically overlooked. Our approach introduces two classifiers—low gradient pass (LGP) and high gradient pass (HGP)—to derive over- and under-confident dynamic thresholds that indicate the class-wise overconfidence acceleration, respectively. By combining the under- and over-confident states from the GP classifiers, we create a more adaptive and accurate PL method. Our main contributions highlight the importance of considering both low and high-confidence samples in enhancing the model's robustness and generalization for improved PL performance.
Introduction: The Overconfidence Trap
In semi-supervised learning (SSL), Pseudo-Labeling (PL) is a cornerstone technique where a model generates labels for unlabeled data to expand its training set. However, standard PL methods often fall into the "overconfidence trap," where the model becomes highly certain of its predictions before they are actually correct. This leads to confirmation bias, reinforcing initial errors.
Furthermore, traditional methods prioritize low-entropy samples—those the model is already certain about. This strategy ignores high-entropy samples near the decision boundary, which are critical for generalization. As illustrated in Figure 1, samples can be categorized into four states. While "Converged" samples are easy to handle, "Underconfident" and "Diverged" samples (high entropy) are often discarded despite being vital for robust learning.
Methodology: Gradient Cutting Dynamics (GCD)
To address these issues, we propose Gradient Cutting Dynamics (GCD). The core idea is to use gradients as a proxy for confidence and learning status. The architecture employs a shared encoder and three distinct classification heads:
- Main Classifier ($f$): The primary model being optimized.
- High Gradient Pass (HGP) Classifier: This head "cuts" (ignores) small gradients, focusing exclusively on large gradients from uncertain, high-entropy samples. This causes it to converge rapidly toward an overconfident state.
- Low Gradient Pass (LGP) Classifier: Conversely, this head "cuts" large gradients, focusing on stable, small gradients. It converges slowly and remains underconfident.
By monitoring the learning states of the HGP and LGP classifiers, the system estimates "class-wise confidence acceleration." This allows for dynamic adjustment of the pseudo-labeling threshold for the main classifier. If the auxiliary heads indicate premature overconfidence in a specific class, the threshold is raised to encourage the exploration of more difficult, high-entropy samples.
Experimental Results
The GCD method was evaluated on standard benchmarks including CIFAR-10, CIFAR-100, SVHN, and STL-10. Across various "labels-per-class" settings, GCD consistently outperformed state-of-the-art (SOTA) methods like FreeMatch.
- CIFAR-10 (40 labels): GCD achieved a 4.57% error rate (vs. 4.90% for FreeMatch).
- CIFAR-100 (400 labels): GCD reached a 31.84% error rate, a significant improvement over the ~35.7% baseline.
- STL-10 (40 labels): The error rate was reduced to 13.5% from 15.5%.
Beyond accuracy, GCD significantly improved model calibration. By aligning confidence scores more closely with actual accuracy, the method reduces Expected Calibration Error (ECE), resulting in more reliable predictions.
Conclusion and Future Work
GCD introduces a robust framework for SSL by leveraging gradient information to navigate the trade-off between exploration and exploitation. By simulating over- and under-confident states, it effectively incorporates high-entropy samples that traditional PL methods ignore.
While the auxiliary heads introduce some computational overhead, they are lightweight MLP structures. Future research will focus on scaling this gradient-cutting logic to large-scale foundation models and extending its application to complex tasks such as object detection and semantic segmentation.
Summary updated