Introduction
In the world of machine learning, we often have mountains of data but only a molehill of labels. Semi-supervised learning (SSL) tries to bridge this gap by using a small set of labeled data to "teach" the model how to label the rest—a process called self-training or pseudo-labeling.
The Achilles' heel of self-training is confirmation bias. If a model is slightly wrong about an unlabeled sample, it assigns a confident but incorrect "pseudo-label." The model then trains on its own mistake, reinforcing the error. Standard SSL methods usually rely on KL-divergence (cross-entropy), which can be overly sensitive to these incorrect labels.
This paper introduces a generalized framework for SSL by replacing standard cross-entropy loss with $f$-divergence-based empirical risk functions. By leveraging divergences like Jensen-Shannon (JS) and $\chi^2$, the authors create self-training algorithms that are significantly more robust to the "noisy" pseudo-labels that often plague semi-supervised models.
Methods: $f$-Divergence Framework
The authors propose two primary algorithmic variations based on the mathematical family of $f$-divergences:
- FDP-SSL (f-divergence-based pseudo-labeling): Instead of the standard cross-entropy loss, the model minimizes an empirical risk function based on a chosen $f$-divergence (like JS or $\chi^2$) between the model's predictions and a convex combination of labeled and pseudo-labeled data.
- FDEM-SSL (f-divergence-based entropy minimization): This approach treats the $f$-divergence as a regularizer. It introduces D-entropy, a generalized version of entropy. By minimizing D-entropy, the model is encouraged to produce confident predictions, while an additional divergence term prevents the model from collapsing (i.e., predicting the same class for every sample).
The core innovation is the flexibility to swap the "distance" metric ($f$) used during training. While KL-divergence is the industry standard, the authors show it isn't always the best choice for noisy, self-generated data.
Key Insights
- The Power of Jensen-Shannon (JS): The JS-divergence emerged as a clear winner. Unlike KL-divergence, which is asymmetric and can be unbounded, JS-divergence is symmetric and bounded. This makes it much more "forgiving" when the model encounters a noisy pseudo-label.
- Robustness to Noise: The authors found that $f$-divergence-based risks are naturally more robust to the "label noise" generated during the iterative pseudo-labeling process.
- Balancing is Critical: The paper emphasizes the need to "balance" the pseudo-labeled dataset. If one class becomes over-represented in the pseudo-labels, the model can quickly spiral into a biased state. Their algorithm includes an explicit balancing step to mitigate this.
- Generalization of SSL: This work shows that many existing SSL techniques are actually specific cases of a broader $f$-divergence framework. By viewing SSL through this lens, researchers can systematically pick the best divergence for their specific data noise profile.
Experimental Results
The researchers evaluated their framework on two distinct types of data: CIFAR-100 (a classic computer vision benchmark) and LETTER (a character recognition dataset). In their setup, they used a very small fraction of labeled data (e.g., 400 labels for CIFAR-100) to simulate a true semi-supervised environment.
The $f$-divergence approach consistently outperformed the standard KL-divergence baseline:
- CIFAR-100: The JS-ERM (Jensen-Shannon) approach achieved an accuracy of 72.43%, significantly outperforming the KL-based baseline of 67.80%.
- LETTER: Again, JS-ERM led the pack with 61.67% accuracy, compared to the baseline's 58.87%.
- Stability: The JS-based models showed lower variance across different confidence thresholds ($\tau_p$), suggesting they are easier to tune in practice.
Limitations and Future Work
As a foundational exploration of risk functions, the scope is focused on core mechanisms rather than building a massive, state-of-the-art system.
- Integration with SOTA: The authors acknowledge that while their risk functions are superior, they haven't yet integrated them into "heavyweight" SSL pipelines like FixMatch or MixMatch. They suggest this as a primary direction for future work.
- Hyperparameter Sensitivity: While JS is more robust, the algorithm still relies on $\tau_p$ (the confidence threshold for choosing pseudo-labels). Finding the optimal threshold remains a challenge.
- Computational Overhead: Depending on the $f$-divergence chosen, the loss function can become more complex to calculate than simple cross-entropy, though this is usually a minor concern in modern deep learning.
Summary updated