FastClass: A Time-Efficient Approach to Weakly-Supervised Text Classification

Tingyu Xia, Yue Wang, Yuan Tian, Yi Chang
12/11/2022
cs.CL

Official code: xiatingyu/FastClass (7 stars, Python, last commit 2023-02-20).

Abstract

Weakly-supervised text classification aims to train a classifier using only class descriptions and unlabeled data. Recent research shows that keyword-driven methods can achieve state-of-the-art performance on various tasks.

Show full abstract

However, these methods not only rely on carefully-crafted class descriptions to obtain class-specific keywords but also require substantial amount of unlabeled data and takes a long time to train. This paper proposes FastClass, an efficient weakly-supervised classification approach. It uses dense text representation to retrieve class-relevant documents from external unlabeled corpus and selects an optimal subset to train a classifier. Compared to keyword-driven methods, our approach is less reliant on initial class descriptions as it no longer needs to expand each class description into a set of class-specific keywords. Experiments on a wide range of classification tasks show that the proposed approach frequently outperforms keyword-driven models in terms of classification accuracy and often enjoys orders-of-magnitude faster training speed.

View on arXivView PDF

Code Implementations(1)

71Python, ShellOct 11, 20223 years ago

Similar Papers

Cite this paper

@article{xia2022fastclass,
  title  = {FastClass: A Time-Efficient Approach to Weakly-Supervised Text Classification},
  author = {Tingyu Xia and Yue Wang and Yuan Tian and Yi Chang},
  year   = {2022},
  eprint = {2212.05506},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.05506}
}

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/2212.05506.svg)](https://codeofpaper.com/paper/2212.05506)

Discussion