Text Classification Using Label Names Only: A Language Model Self-Training Approach

Yu Meng, Yunyi Zhang, Jiaxin Huang, Chenyan Xiong, Heng Ji +2 more
10/14/2020
84 citations
cs.CLcs.LG

Official code: yumeng5/LOTClass (299 stars, Python, Apache-2.0, last commit 2022-02-02).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

yumeng5/LOTClassOfficial100%
Apache-2.0

[EMNLP 2020] Text Classification Using Label Names Only: A Language Model Self-Training Approach

29962Python, ShellOct 14, 20204 years agoApache-2.0
language-modeltext-classificationweakly-supervised-learning

Similar Papers

Cite this paper

@article{meng2020text,
  title  = {Text Classification Using Label Names Only: A Language Model Self-Training Approach},
  author = {Yu Meng and Yunyi Zhang and Jiaxin Huang and Chenyan Xiong and Heng Ji and Chao Zhang and Jiawei Han},
  year   = {2020},
  eprint = {2010.07245},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.07245}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2010.07245.svg)](https://codeofpaper.com/paper/2010.07245)

Discussion