[Paper Review] MixText: Linguistically-Informed Interpolation of Hidden Space for Semi-Supervised Text Classification
MixText proposes a semi-supervised text classification method that uses TMix, a linguistically-informed interpolation technique in hidden space, to generate augmented training samples by mixing labeled, unlabeled, and synthetic data. It significantly improves performance—especially under low-label regimes—by enforcing linear behavior between examples and leveraging consistency regularization, outperforming state-of-the-art pre-trained and fine-tuned models on multiple benchmarks.
This paper presents MixText, a semi-supervised learning method for text classification, which uses our newly designed data augmentation method called TMix. TMix creates a large amount of augmented training samples by interpolating text in hidden space. Moreover, we leverage recent advances in data augmentation to guess low-entropy labels for unlabeled data, hence making them as easy to use as labeled data.By mixing labeled, unlabeled and augmented data, MixText significantly outperformed current pre-trained and fined-tuned models and other state-of-the-art semi-supervised learning methods on several text classification benchmarks. The improvement is especially prominent when supervision is extremely limited. We have publicly released our code at https://github.com/GT-SALT/MixText.
Motivation & Objective
- Address the overfitting problem in deep learning when labeled data is scarce in text classification tasks.
- Overcome the limitation of prior semi-supervised models that treat labeled and unlabeled data separately without cross-supervision.
- Leverage abundant unlabeled data effectively by creating synthetic training samples through interpolation in the hidden space.
- Improve model generalization by enforcing linear behavior between data points in the representation space.
- Develop a unified framework that integrates data augmentation, self-training, and consistency regularization for improved performance on low-resource settings.
Proposed method
- Introduce TMix, a data augmentation method that interpolates hidden representations of two text samples at a chosen layer in the neural network using a mixing coefficient λ.
- Use a pre-trained BERT-based model to generate low-entropy pseudo-labels for unlabeled data, enabling self-training with confidence.
- Apply consistency regularization by augmenting unlabeled data via back-translation and enforcing consistent predictions across views.
- Combine labeled data, unlabeled data, and TMix-augmented samples in a single training objective to encourage linear interpolation behavior in the hidden space.
- Perform mixup at multiple layers (e.g., {7,9,12}) to capture syntactic and semantic information, with ablation studies identifying optimal layer sets.
- Use weighted averaging of predictions from multiple views (original and augmented) to stabilize training and improve robustness.
Experimental results
Research questions
- RQ1Can interpolating hidden representations of text samples improve generalization in semi-supervised text classification?
- RQ2How does the choice of mixing layer(s) in the network architecture affect model performance?
- RQ3To what extent does combining TMix with self-training and consistency regularization outperform existing semi-supervised methods under low-label settings?
- RQ4Can TMix effectively reduce overfitting when only a small number of labeled examples are available?
- RQ5What is the relative contribution of each component (e.g., unlabeled data, TMix, pseudo-labeling) to the final performance of MixText?
Key findings
- MixText achieved state-of-the-art performance on four benchmark text classification datasets, including AG News and Yahoo! Answers, especially under low-label regimes (e.g., 10 labeled examples per class).
- On AG News with 10 labeled examples per class, MixText achieved 67.6% test accuracy, outperforming the next best method by 4.4 percentage points.
- The ablation study showed that removing the TMix component caused the largest performance drop (from 67.6% to 63.5%), confirming its critical role in model improvement.
- Loss curves demonstrated that MixText and TMix exhibited more stable training dynamics with lower and flatter development loss compared to BERT and UDA, especially when training with only 200 labeled examples per class.
- The optimal mixup layer set {7,9,12} in BERT-based models yielded the highest accuracy (74.1%) on AG News, indicating that higher layers capturing semantic and syntactic structure are most beneficial for interpolation.
- Performance dropped significantly when unlabeled data was removed (to 58.6%), confirming that unlabeled data is essential for the method’s success, but its impact is amplified by TMix and pseudo-labeling.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.