X-Class: Text Classification with Extremely Weak Supervision
In this paper, we explore text classification with extremely weak supervision, i.e., only relying on the surface text of class names. This is a more challenging setting than the seed-driven weak supervision, which allows a few seed words per class. We opt to attack this problem from a representation learning perspective -- ideal document representations should lead to nearly the same results between clustering and the desired classification. In particular, one can classify the same corpus differently (e.g., based on topics and locations), so document representations should be adaptive to the given class names. We propose a novel framework X-Class to realize the adaptive representations. Specifically, we first estimate class representations by incrementally adding the most similar word to each class until inconsistency arises. Following a tailored mixture of class attention mechanisms, we obtain the document representation via a weighted average of contextualized word representations. With the prior of each document assigned to its nearest class, we then cluster and align the documents to classes. Finally, we pick the most confident documents from each cluster to train a text classifier. Extensive experiments demonstrate that X-Class can rival and even outperform seed-driven weakly supervised methods on 7 benchmark datasets. Our dataset and code are released at https://github.com/ZihanWangKi/XClass/ .
Code (3)
Tasks
ClassificationClusteringGeneral ClassificationRepresentation Learningtext-classificationText ClassificationSimilar Papers 제목 키워드 기반
Few-shot Node Classification with Extremely Weak Supervision
Few-shot node classification aims at classifying nodes with limited labeled nodes as references. Recent few-shot node classification methods typically learn from classes with abundant labeled nodes (i.e., meta-training c…
ClassificationMeta-LearningNode ClassificationMEGClass: Extremely Weakly Supervised Text Classification via Mutually-Enhancing Text Granularities
Text classification is essential for organizing unstructured text. Traditional methods rely on human annotations or, more recently, a set of class seed words for supervision, which can be costly, particularly for special…
text-classificationText ClassificationCan Graph Neural Networks Learn Language with Extremely Weak Text Supervision?
While great success has been achieved in building vision models with Contrastive Language-Image Pre-training (CLIP) over internet-scale image-text pairs, building transferable Graph Neural Networks (GNNs) with CLIP pipel…
Prompt Learningzero-shot-classificationZero-Shot LearningXAI-CLASS: Explanation-Enhanced Text Classification with Extremely Weak Supervision
Text classification aims to effectively categorize documents into pre-defined categories. Traditional methods for text classification often rely on large amounts of manually annotated training data, making the process ti…
ClassificationQuestion AnsweringSaliency Predictiontext-classification+1Open-world Multi-label Text Classification with Extremely Weak Supervision
We study open-world multi-label text classification under extremely weak supervision (XWS), where the user only provides a brief description for classification objectives without any labels or ground-truth label space. S…
Keyword ExtractionLanguage ModellingLarge Language ModelMulti-Label Classification+5