Hierarchical Verbalizer for Few-Shot Hierarchical Text Classification
Due to the complex label hierarchy and intensive labeling cost in practice, the hierarchical text classification (HTC) suffers a poor performance especially when low-resource or few-shot settings are considered. Recently, there is a growing trend of applying prompts on pre-trained language models (PLMs), which has exhibited effectiveness in the few-shot flat text classification tasks. However, limited work has studied the paradigm of prompt-based learning in the HTC problem when the training data is extremely scarce. In this work, we define a path-based few-shot setting and establish a strict path-based evaluation metric to further explore few-shot HTC tasks. To address the issue, we propose the hierarchical verbalizer ("HierVerb"), a multi-verbalizer framework treating HTC as a single- or multi-label classification problem at multiple layers and learning vectors as verbalizers constrained by hierarchical structure and hierarchical contrastive learning. In this manner, HierVerb fuses label hierarchy knowledge into verbalizers and remarkably outperforms those who inject hierarchy through graph encoders, maximizing the benefits of PLMs. Extensive experiments on three popular HTC datasets under the few-shot settings demonstrate that prompt with HierVerb significantly boosts the HTC performance, meanwhile indicating an elegant way to bridge the gap between the large pre-trained model and downstream hierarchical classification tasks. Our code and few-shot dataset are publicly available at https://github.com/1KE-JI/HierVerb.
Code (1)
Tasks
ClassificationContrastive LearningFew-shot HTCMulti-Label ClassificationMUlTI-LABEL-ClASSIFICATIONText ClassificationMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
Leveraging Hierarchical Prototypes as the Verbalizer for Implicit Discourse Relation Recognition
Implicit discourse relation recognition involves determining relationships that hold between spans of text that are not linked by an explicit discourse connective. In recent years, the pre-train, prompt, and predict para…
RelationEvolutionary Verbalizer Search for Prompt-based Few Shot Text Classification
Recent advances for few-shot text classification aim to wrap textual inputs with task-specific prompts to cloze questions. By processing them with a masked language model to predict the masked tokens and using a verbaliz…
Few-Shot Text ClassificationLanguage ModelingLanguage Modellingtext-classification+1Label-Aware Automatic Verbalizer for Few-Shot Text Classification
Prompt-based learning has shown its effectiveness in few-shot text classification. One important factor in its success is a verbalizer, which translates output from a language model into a predicted class. Notably, the s…
Few-Shot Text ClassificationLanguage ModelingLanguage Modellingtext-classification+1MetricPrompt: Prompting Model as a Relevance Metric for Few-shot Text Classification
Prompting methods have shown impressive performance in a variety of text mining tasks and applications, especially few-shot ones. Despite the promising prospects, the performance of prompting model largely depends on the…
ClassificationFew-Shot Text Classificationtext-classificationText ClassificationManual Verbalizer Enrichment for Few-Shot Text Classification
With the continuous development of pre-trained language models, prompt-based training becomes a well-adopted paradigm that drastically improves the exploitation of models for many natural language processing tasks. Promp…
BenchmarkingClassificationDocument ClassificationFew-Shot Learning+3