TL;DR
Self-training in semi-supervised text classification often stumbles because the model generates inaccurate pseudo-labels due to "margin bias"—a distortion caused by unequal representation variances across different classes. This paper introduces $S^2TC-BDD$, a novel framework that uses Gaussian linear transformations to balance these variances in angular space, significantly boosting pseudo-label accuracy. The method achieves state-of-the-art performance across both multi-class and multi-label text classification tasks, particularly when labeled data is extremely scarce.
What Problem Does This Paper Address?
Deep self-training is a powerful paradigm for Semi-Supervised Text Classification (SSTC). A model is initially trained on a small set of labeled data, and then it iteratively predicts "pseudo-labels" for a large pool of unlabeled data, gradually retraining itself on the combined dataset. However, the success of this loop hinges entirely on the accuracy of those pseudo-labels.
The authors identify a critical bottleneck in current approaches: margin bias. When using popular angular margin losses—which project text representations onto a hypersphere to separate classes by angle—the variance of these angles within each class can differ wildly in semi-supervised settings. Standard models ignore this discrepancy and draw rigid decision boundaries based solely on ranking angles. This causes massive misclassifications of unlabeled data near class borders because the boundary is unaligned with the true distribution.
Methods
To eliminate margin bias, the authors propose Semi-Supervised Text Classification with Balanced Deep Representation Distributions ($S^2TC-BDD$).
- Balanced Deep Representation Distribution (BDD) Loss: Assuming that label angles follow class-specific Gaussian distributions, the authors introduce a set of linear transformations to dynamically normalize and balance the variances across all classes. This effectively shifts the decision boundary to its optimal position.
- Dual-Mode Adaptability: The framework is uniquely tailored to handle both standard and complex classification paradigms:
- Multi-Class Classification: Integrates sharpening functions and conditional entropy regularization to make predictions more distinct and confident.
- Multi-Label Classification: Incorporates Class-distribution-Aware Pseudo-labeling (CAP) to align pseudo-label distributions with ground-truth frequencies, alongside a low-rank regularization constraint solved via the Alternating Direction Method of Multipliers (ADMM) to capture label correlations.
Datasets
The authors evaluated their approach on six standard text classification benchmarks:
- Multi-class classification: AG News, Yelp, and Yahoo.
- Multi-label classification: Ohsumed, AAPD, and RCV1-V2.
No new benchmarks were introduced, but the selection spans varying granularities, document lengths, and label densities to rigorously test the model's versatility.
Key Insights and Ideas
- The Angular Variance Gap: In semi-supervised learning, the difference in label angle variances is much more volatile than in supervised learning. This insight explains why standard angular margin losses fail when unlabeled data dominates the training process.
- Boundary Shifting via Normalization: Instead of altering the core neural architecture, simply adjusting the angular space via simple Gaussian linear transformations can correct the decision boundary.
- Self-Training Synergy: By estimating class prototypes and variances dynamically using a moving average over both labeled and pseudo-labeled data, the model progressively refines its own distribution estimates as training advances.
Key Results
- Dominating the Baselines: $S^2TC-BDD$ consistently outperformed state-of-the-art semi-supervised baselines (including UDA, FreeMatch, VAT, and MetaExpert) across all datasets.
- Scarce Data Triumph: When only 100 labeled texts were available, $S^2TC-BDD$ achieved massive gains. For instance, on the Yahoo dataset (multi-class), its Micro-F1 score was roughly 14% higher than Virtual Adversarial Training (VAT).
- Ablation Validation: Stripping the BDD component from the model resulted in a significant performance drop, confirming that variance balancing—rather than standard regularization—was the primary driver of the accuracy boost.
Limitations and Future Work
Despite its strong performance, the authors acknowledge a few limitations:
- Imbalanced & Long-Tailed Data: If a dataset has naturally highly skewed class distributions, assuming a uniform target variance might lead to under- or over-estimating class variances.
- Out-of-Distribution (OOD) & Noisy Data: The presence of OOD samples or noisy initial labels can distort the estimation of Gaussian parameters, introducing errors into the pseudo-labeling loop.
- Future Directions: The authors suggest exploring more complex distribution models, such as truncated Gaussians, Mixture-of-Gaussians, or von Mises-Fisher distributions, to handle complex, multi-modal class structures in future work.
Summary updated