[Paper Review] Text Classification Using Label Names Only: A Language Model Self-Training Approach
This paper proposes LOTClass, a weakly-supervised text classification model that trains on purely unlabeled data using only label names (e.g., 'sports', 'politics') as supervision. By leveraging a pre-trained language model to identify category-indicative words and self-train via contextualized word-level category prediction, LOTClass achieves ~90% accuracy on benchmark datasets like AG News and IMDB without any labeled documents, outperforming existing weakly-supervised methods and rivaling supervised baselines.
Current text classification methods typically require a good number of human-labeled documents as training data, which can be costly and difficult to obtain in real applications. Humans can perform classification without seeing any labeled examples but only based on a small set of words describing the categories to be classified. In this paper, we explore the potential of only using the label name of each class to train classification models on unlabeled data, without using any labeled documents. We use pre-trained neural language models both as general linguistic knowledge sources for category understanding and as representation learning models for document classification. Our method (1) associates semantically related words with the label names, (2) finds category-indicative words and trains the model to predict their implied categories, and (3) generalizes the model via self-training. We show that our model achieves around 90% accuracy on four benchmark datasets including topic and sentiment classification without using any labeled documents but learning from unlabeled data supervised by at most 3 words (1 in most cases) per class as the label name.
Motivation & Objective
- To address the high cost of human-labeled data in text classification by enabling models to learn from only label names.
- To explore whether pre-trained language models can perform effective classification using only label names and unlabeled data.
- To develop a self-training framework that generalizes word-level category understanding to document-level classification.
- To outperform existing weakly-supervised methods that rely on distant supervision or data augmentation.
Proposed method
- Construct a category vocabulary per class by identifying semantically related words to the label name using a pre-trained language model.
- Train the language model to predict the implied category of a word based on its context via a masked category prediction (MCP) task.
- Use the trained model to generate high-confidence predictions on unlabeled documents for self-training.
- Iteratively refine the target distribution of predictions during self-training to improve generalization.
- Apply a self-training objective that updates the model using predictions from the most recent version of the model on unlabeled data.
- Leverage the contextualized representations of the pre-trained language model to capture long-range semantic dependencies for accurate classification.
Experimental results
Research questions
- RQ1Can a text classification model achieve high accuracy using only label names and no labeled documents?
- RQ2Can a pre-trained language model effectively learn category distinctions from word-level supervision derived from label names?
- RQ3Does self-training on unlabeled data significantly improve performance when only label names are available as supervision?
- RQ4How does the proposed method compare to existing weakly-supervised and semi-supervised approaches in low-resource settings?
Key findings
- LOTClass achieves approximately 90% accuracy on four benchmark datasets—AG News, DBPedia, IMDB, and Amazon—without using any labeled documents.
- The model outperforms existing weakly-supervised methods that rely on distant supervision or data augmentation techniques.
- Self-training significantly improves performance, with accuracy gradually increasing over iterative updates as the model refines its predictions.
- The method surpasses BERT fine-tuned with simple label name matching, demonstrating the necessity of contextualized word-level supervision.
- The model generalizes well to document-level classification after learning category-indicative words through masked category prediction.
- Performance remains strong even when only one word per class is used as the label name, highlighting the effectiveness of label names as supervision.
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.