Abstract
Semi-supervised text classification (SSTC) often suffers from "margin bias," where uneven data distributions across categories lead to inaccurate pseudo-labeling. This paper introduces S²TC-BDD, a method that balances deep representation distributions using a Gaussian linear transformation. By equalizing label angle variances, the model stabilizes decision boundaries and improves pseudo-label accuracy. Experimental results on AG News, Yelp, and Yahoo datasets demonstrate that S²TC-BDD achieves state-of-the-art performance, particularly in low-resource scenarios with as few as 100 labeled examples.
Introduction: The Challenge of Margin Bias
Semi-supervised text classification (SSTC) is a critical area of NLP research, aiming to leverage vast amounts of unlabeled data to supplement small labeled datasets. Most modern SSTC methods utilize self-training, where a model iteratively generates pseudo-labels for unlabeled data to expand its training set.
However, the effectiveness of self-training is limited by the accuracy of these pseudo-labels. The authors identify margin bias as a primary source of error. In deep learning models using Angular Margin (AM) loss, representations are learned based on the angle between text features and category prototypes. In semi-supervised settings, different categories often exhibit significantly different angular variances. Without correction, the decision boundary naturally shifts toward classes with wider spreads, leading to systematic misclassification of unlabeled data.
Methodology: S²TC-BDD
The proposed S²TC-BDD (Semi-Supervised Text Classification with Balanced Deep representation Distributions) framework addresses margin bias through several integrated components:
- Angular Margin (AM) Loss: The model uses AM loss to force representations into an angular space based on cosine similarity.
- Label Angle Variance Estimation: The system dynamically calculates the mean and variance of angles for each class using both labeled and pseudo-labeled data.
- Gaussian Linear Transformation: This core innovation assumes label angles follow a Gaussian distribution. It applies a linear transformation to "squash" or "stretch" these angles, ensuring all classes share a uniform variance and an unbiased decision boundary.
- Sharpening and Regularization: To ensure confident predictions, the model employs a sharpening function on pseudo-labels and an entropy penalty.
Experimental Setup
The model was evaluated on three standard benchmarks: AG News (4 classes), Yelp (5 classes), and Yahoo (10 classes). To test robustness in data-scarce environments, the number of labeled samples ($N_l$) was varied from 100 to 10,000.
Key Results and Insights
S²TC-BDD consistently outperformed major baselines, including UDA and VAT. The balancing mechanism proved essential; ablation studies showed that removing the distribution balancing component led to a significant drop in performance.
Key findings include:
- Superior Ranking: S²TC-BDD achieved an average rank of 1.1 across all metrics and datasets.
- Low-Data Efficiency: The model showed the most significant gains when labeled data was extremely scarce (e.g., achieving a Macro-F1 of 0.872 on AG News with only 100 samples).
- The Variance Gap: The authors confirmed that the difference in label angle variances is much more pronounced in semi-supervised learning than in fully supervised learning, necessitating the BDD approach.
Conclusion and Future Work
S²TC-BDD demonstrates that balancing the distributions of classes is more effective for stabilizing decision boundaries than simply increasing margins. While the current model relies on a Gaussian assumption for label angles, future work could explore more flexible distribution models or extend this balancing principle to other domains like computer vision.
Summary updated