AI summary · arXiv: 2305.16885v1 · cs.CL

Hierarchical Verbalizer for Few-Shot Hierarchical Text Classification

Ke Ji, Yixin Lian, Jingsheng Gao, Baoyuan Wang
Original paper · DOI 10.18653/v1/2023.acl-long.164 Submitted to arXiv on 26 May. 2023 Published in Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) (2023) 14 pages, 8 figures, Accepted by ACL 2023 License: NONEXCLUSIVE-DISTRIB 1.0

How to read this summary? Illustrated guide

The essentials

  • Performance in hierarchical text classification (HTC) is hindered by complex label hierarchy and high labeling cost, especially in low-resource or few-shot scenarios.
  • Researchers have explored the use of prompts on pre-trained language models (PLMs) for few-shot flat text classification tasks, but limited research exists on applying prompt-based learning to HTC problems with scarce training data.
  • The authors propose a path-based few-shot setting and establish a strict path-based evaluation metric to investigate few-shot HTC tasks further.
  • They introduce a framework called "HierVerb" that treats HTC as a single or multi-label classification problem at multiple layers using vectors as verbalizers constrained by hierarchical structure and hierarchical contrastive learning.
  • HierVerb outperforms existing methods that inject hierarchy through graph encoders by incorporating label hierarchy knowledge into verbalizers, maximizing the benefits of PLMs in HTC tasks.
  • Extensive experiments on three popular HTC datasets under few-shot settings demonstrate that using prompts with HierVerb significantly improves HTC performance.
  • This approach provides an elegant solution to bridge the gap between large pre-trained models and downstream hierarchical classification tasks.
  • The code and few-shot dataset used in this study are publicly available for further exploration.

Key points written by AI: they may contain errors, check them against the paper.

AI-generated keywords: Hierarchical Text Classification Prompt-based Learning HierVerb Pre-trained Language Models Label Hierarchy

Read further

  • Comprehensive Summary
  • Layman's Summary
  • Blog article
  • Original abstract
In the field of hierarchical text classification (HTC), performance is often hindered by the complex label hierarchy and high labeling cost, especially in low-resource or few-shot scenarios. To address this issue, researchers have started exploring the use of prompts on pre-trained language models (PLMs) for few-shot flat text classification tasks. However, there is limited research on applying prompt-based learning to HTC problems with extremely scarce training data. In this study, the authors propose a path-based few-shot setting and establish a strict path-based evaluation metric to further investigate few-shot HTC tasks. They introduce a framework called "HierVerb," which is a multi-verbalizer approach that treats HTC as a single or multi-label classification problem at multiple layers. The vectors are used as verbalizers and are constrained by the hierarchical structure and hierarchical contrastive learning. By incorporating label hierarchy knowledge into verbalizers, HierVerb outperforms existing methods that inject hierarchy through graph encoders. This approach maximizes the benefits of PLMs in HTC tasks. The authors conduct extensive experiments on three popular HTC datasets under few-shot settings and demonstrate that using prompts with HierVerb significantly improves HTC performance. Additionally, they highlight that this approach provides an elegant solution to bridge the gap between large pre-trained models and downstream hierarchical classification tasks. The code and few-shot dataset used in this study are publicly available for further exploration. The paper has been accepted by ACL 2023 and consists of 14 pages with 8 figures. The authors of this work are Ke Ji, Yixin Lian, Jingsheng Gao, and Baoyuan Wang.

Was this synthesis useful?

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Figures and plots

Ask about a figure by number or use its question button to request visual analysis. Up to two figures and four image panels per question. Values read from plots are approximate; check the original data.

AI assistant instructions?

Tools for this paper

Explain it differently 1 free rewrite left today
Save to a collection Group papers in collections to compare them, chat with them and export them. Continue with Google Create a free account Log in

Advanced tools Premium

For researchers who follow a field closely: citation alerts, journal-club slides, version comparison and Zotero export. Discover Premium

Zotero Zotero guide
Citation alerts 39 papers already cite it: be emailed each new one. Citation alerts guide
Who works on it?

Among the 31 papers around this one, the name that comes back most: Zihan Wang (3 papers)

10 more people sign several of them. The full map adds their institutions and approaches, from the papers of the last years.

Continue with Google Create a free account: your first map is free
Weekly letter The latest letter of its field, "Artificial intelligence this week" of 23 November 2026: Artificial intelligence this week: The difference between looking right and getting it right · Receive one by email for free

Papers around this one

See them on a map

Ranked by how close their title and abstract are to this paper’s. Select some to read them together.

Closest papers

  1. Very close Another approach to the problem
    Prompt-Guided Few-Shot Hierarchical Text Classification via Example Retrieval and Structured Decoding
    Zhi-Jing Wu, Lian-Fang Tian, Yu-Heng Huang · 2025 · 2025 6th International Conference on Computer Engineering and Intelligent Control (ICCEIC) · Not summarized yet

    Prompt-Guided Few-Shot Hierarchical Text Classification combines retrieved in-context examples with structured decoding to predict consistent label paths in few-shot HTC.

    Abstract

    Hierarchical text classification (HTC) aims to assign each document to a path of labels in a predefined taxonomy, reflecting both high-level semantic categories and fine-grained subtopics. Traditional HTC methods depend on supervised training at every node of the hierarchy and thus require extensive labeled data. Large language models (LLMs) provide new opportunities for training-free few-shot learning through in-context examples and structured prompts. However, LLMs often struggle to maintain hierarchical consistency, producing label paths that skip levels or diverge from valid branches. This paper presents a simple yet effective framework that combines hierarchical prompting with semantic …

  2. Very close Groundwork for this paper Cited by this paper Used in depth by this paper A method it uses
    HPT: Hierarchy-aware Prompt Tuning for Hierarchical Text Classification
    Zihan Wang, Peiyi Wang, Tianyu Liu et al. · 2022 · Conference on Empirical Methods in Natural Language Processing · cited 80 times · Not summarized yet

    HPT introduces hierarchy-aware prompt tuning for HTC by using a dynamic virtual template and label words to connect PLM predictions with the label hierarchy.

    Abstract

    Hierarchical text classification (HTC) is a challenging subtask of multi-label classification due to its complex label hierarchy.Recently, the pretrained language models (PLM)have been widely adopted in HTC through a fine-tuning paradigm. However, in this paradigm, there exists a huge gap between the classification tasks with sophisticated label hierarchy and the masked language model (MLM) pretraining tasks of PLMs and thus the potential of PLMs cannot be fully tapped.To bridge the gap, in this paper, we propose HPT, a Hierarchy-aware Prompt Tuning method to handle HTC from a multi-label MLM perspective.Specifically, we construct a dynamic virtual template and label words that take the form…

  3. Very close Builds on this paper Cites this paper Uses this paper in depth
    SCHK-HTC: Sibling Contrastive Learning with Hierarchical Knowledge-Aware Prompt Tuning for Hierarchical Text Classification
    Ke Xiong, Qian Wu, Wang-Jie Gan et al. · 2026 · arXiv.org · preprint, not peer reviewed · Not summarized yet

    SCHK-HTC cites HierVerb and extends few-shot HTC prompting with sibling contrastive learning to distinguish semantically similar sibling classes.

    Abstract

    Few-shot Hierarchical Text Classification (few-shot HTC) is a challenging task that involves mapping texts to a predefined tree-structured label hierarchy under data-scarce conditions. While current approaches utilize structural constraints from the label hierarchy to maintain parent-child prediction consistency, they face a critical bottleneck, the difficulty in distinguishing semantically similar sibling classes due to insufficient domain knowledge. We introduce an innovative method named Sibling Contrastive Learning with Hierarchical Knowledge-aware Prompt Tuning for few-shot HTC tasks (SCHK-HTC). Our work enhances the model's perception of subtle differences between sibling classes at de…

  4. Very close Builds on this paper Cites this paper
    COPHTC: Contrastive Learning with Prompt Tuning for Hierarchical Text Classification
    Fuhan Cai, Zhongqiang Zhang, Duo Liu et al. · 2024 · IEEE International Conference on Acoustics, Speech, and Signal Processing · cited 5 times · Not summarized yet

    COPHTC cites HierVerb and adds contrastive learning, momentum updates, and a dynamic queue to prompt tuning for HTC.

    Abstract

    Hierarchical Text Classification (HTC) is an essential yet challenging task in natural language processing (NLP) due to its complex label structure. Recently, a number of approaches have employed prompt learning in HTC, achieving noteworthy outcomes. However, prompt-based HTC does not further optimize the representation of samples based on label relationships, nor does it dynamically adjust the relative positions of sample pairs from the perspective of the embedding space. In this work, we propose a COntrastive-enhanced Promptbased model for HTC tasks (COPHTC). More specifically, we integrate contrastive learning into prompt tuning while employing momentum updates and a dynamic queue to offe…

  5. Very close Broader context
    HGSVerb: Improving Zero-shot Text Classification via Hierarchical Generative Semantic-Aware Verbalizer
    Zi-Feng Liu, Xu Huang, Weipeng Chen et al. · 2024 · IEEE International Joint Conference on Neural Network · Not summarized yet

    HGSVerb uses hierarchical verbalizers for fully zero-shot text classification, rather than HierVerb’s few-shot hierarchical text classification setting.

    Abstract

    Prompt-based methods with Pre-trained Language Models (PLMs) have demonstrated remarkable zero-shot performance in text classification tasks. Among these methods, verbalizers are employed to convert model-predicted vocabulary logits into task-specific labels. However, most existing zero-shot approaches face several challenges: (1) a reliance on unlabeled data or additional knowledge bases, which limits their effectiveness in varied data scenarios; (2) a disregard for semantic ambiguity issues in verbalizer construction. This paper presents a novel fully zero-shot approach named Hierarchical Generative Semantic-Aware Generative Verbalizer (HGSVerb). (1) We propose a prompt-based module, Hiera…

  6. Very close Builds on this paper Cites this paper Uses this paper in depth
    Domain-Hierarchy Adaptation via Chain of Iterative Reasoning for Few-shot Hierarchical Text Classification
    Ke Ji, Peng Wang, Wenjun Ke et al. · 2024 · International Joint Conference on Artificial Intelligence · cited 9 times · Not summarized yet

    Domain-Hierarchy Adaptation cites HierVerb and studies few-shot HTC by iteratively reasoning over domain hierarchies instead of using hierarchical verbalizers.

    Abstract

    Recently, various pre-trained language models (PLMs) have been proposed to prove their impressive performances on a wide range of few-shot tasks. However, limited by the unstructured prior knowledge in PLMs, it is difficult to maintain consistent performance on complex hierarchically dependent tasks, especially when the downstream data is extremely scarce. The main challenge is how to transfer the unstructured semantic space in PLMs to the downstream domain hierarchy. Unlike previous work on hierarchical text classification (HTC) which directly performs multi-label classification or uses graph neural network (GNN) to inject label hierarchy, in this work, we study the HTC problem under a few-…

  7. Very close Builds on this paper Cites this paper Uses this paper in depth
    NER-guided Comprehensive Hierarchy-aware Prompt Tuning for Hierarchical Text Classification
    Fuhan Cai, Duo Liu, Zhongqiang Zhang et al. · 2024 · International Conference on Language Resources and Evaluation · cited 9 times · Not summarized yet

    NER-guided prompt tuning cites HierVerb and formulates prompt-based HTC as named entity recognition with CRF and Global Pointer components.

    Abstract

    Hierarchical text classification (HTC) is a significant but challenging task in natural language processing (NLP) due to its complex taxonomic label hierarchy. Recently, there have been a number of approaches that applied prompt learning to HTC problems, demonstrating impressive efficacy. The majority of prompt-based studies emphasize global hierarchical features by employing graph networks to represent the hierarchical structure as a whole, with limited research on maintaining path consistency within the internal hierarchy of the structure. In this paper, we formulate prompt-based HTC as a named entity recognition (NER) task and introduce conditional random fields (CRF) and Global Pointer t…

  8. Very close Builds on this paper Cites this paper Uses this paper in depth
    Hierarchical Text Classification Optimization via Structural Entropy and Singular Smoothing
    Qi-Tong Liu, Hao Peng, Xiang Huang et al. · 2025 · IEEE Transactions on Knowledge and Data Engineering · cited 18 times · Not summarized yet

    Structural Entropy and Singular Smoothing cites HierVerb and targets tail-label performance in prompt-based HTC through embedding and smoothing techniques.

    Abstract

    With long-tailed data and complex label hierarchy, hierarchical text classification (HTC) is a challenging multi-label text classification task. Applying prompts to pre-trained language models (PLMs) has recently become a mainstream approach in HTC. However, existing prompt-based models experience a significant drop in classification performance on tail labels. Due to the imbalanced data, HTC models still face two challenges. First, text embeddings, learned for classification, often lack distinctiveness for tail categories. Second, label embeddings suffer from significant degeneration, especially for tail labels. To address these issues, in this paper, we propose a novel Hierarchical Text Cl…

Prior work it builds on

  1. Close Another approach to the problem Used in depth by this paper A method it uses
    Hierarchical Text Classification with Reinforced Label Assignment
    Yuning Mao, Jingjing Tian, Jiawei Han et al. · 2019 · Conference on Empirical Methods in Natural Language Processing · cited 115 times · Not summarized yet

    HiLAP formulates HTC as a Markov decision process and learns a label-assignment policy, unlike HierVerb’s prompt-based verbalizers.

    Abstract

    While existing hierarchical text classification (HTC) methods attempt to capture label hierarchies for model training, they either make local decisions regarding each label or completely ignore the hierarchy information during inference. To solve the mismatch between training and inference as well as modeling label dependencies in a more principled way, we formulate HTC as a Markov decision process and propose to learn a Label Assignment Policy via deep reinforcement learning to determine where to place an object and when to stop the assignment process. The proposed method, HiLAP, explores the hierarchy during both training and inference time in a consistent manner and makes inter-dependent …

  2. Close Another approach to the problem Used in depth by this paper A method it uses
    Incorporating Hierarchy into Text Encoder: a Contrastive Learning Approach for Hierarchical Text Classification
    Zihan Wang, Peiyi Wang, Lianzhe Huang et al. · 2022 · Annual Meeting of the Association for Computational Linguistics · cited 175 times · Not summarized yet

    HGCLR embeds label hierarchy into a text encoder through hierarchy-guided contrastive examples, whereas HierVerb constrains learned verbalizers with hierarchy.

    Abstract

    Hierarchical text classification is a challenging subtask of multi-label classification due to its complex label hierarchy. Existing methods encode text and label hierarchy separately and mix their representations for classification, where the hierarchy remains unchanged for all input text. Instead of modeling them separately, in this work, we propose Hierarchy-guided Contrastive Learning (HGCLR) to directly embed the hierarchy into a text encoder. During training, HGCLR constructs positive samples for input text under the guidance of the label hierarchy. By pulling together the input text and its positive sample, the text encoder can learn to generate the hierarchy-aware text representation…

  3. Close Another approach to the problem A method it uses
    Constrained Sequence-to-Tree Generation for Hierarchical Text Classification
    Chao Yu, Yi Shen, Yue Mao et al. · 2022 · Annual International ACM SIGIR Conference on Research and Development in Information Retrieval · cited 36 times · Not summarized yet

    Seq2Tree generates hierarchical labels as a sequence and uses constrained decoding, rather than classifying through HierVerb’s prompt verbalizers.

    Abstract

    Hierarchical Text Classification (HTC) is a challenging task where a document can be assigned to multiple hierarchically structured categories within a taxonomy. The majority of prior studies consider HTC as a flat multi-label classification problem, which inevitably leads to ''label inconsistency'' problem. In this paper, we formulate HTC as a sequence generation task and introduce a sequence-to-tree framework (Seq2Tree) for modeling the hierarchical label structure. Moreover, we design a constrained decoding strategy with dynamic vocabulary to secure the label consistency of the results. Compared with previous works, the proposed approach achieves significant and consistent improvements on…

  4. Close Another approach to the problem A method it uses
    Concept-Based Label Embedding via Dynamic Routing for Hierarchical Text Classification
    Xuepeng Wang, Li Zhao, Bing Liu et al. · 2021 · Annual Meeting of the Association for Computational Linguistics · cited 17 times · Not summarized yet

    Concept-Based Label Embedding models shared fine-grained concepts in class representations for HTC, while HierVerb learns hierarchy-constrained prompt verbalizers.

    Abstract

    Hierarchical Text Classification (HTC) is a challenging task that categorizes a textual description within a taxonomic hierarchy. Most of the existing methods focus on modeling the text. Recently, researchers attempt to model the class representations with some resources (e.g., external dictionaries). However, the concept shared among classes which is a kind of domain-specific and fine-grained information has been ignored in previous work. In this paper, we propose a novel concept-based label embedding method that can explicitly represent the concept and model the sharing mechanism among classes for the hierarchical text classification. Experimental results on two widely used datasets prove …

  5. Close Another approach to the problem Used in depth by this paper A method it uses
    Hierarchy-Aware Global Model for Hierarchical Text Classification
    Jie Zhou, Chunping Ma, Ding-Kun Long et al. · 2020 · Annual Meeting of the Association for Computational Linguistics · cited 255 times · Not summarized yet

    HiAGM represents label dependencies with hierarchy-aware structure encoders and combines text and label features for HTC.

    Abstract

    Hierarchical text classification is an essential yet challenging subtask of multi-label text classification with a taxonomic hierarchy. Existing methods have difficulties in modeling the hierarchical label structure in a global view. Furthermore, they cannot make full use of the mutual interactions between the text feature space and the label space. In this paper, we formulate the hierarchy as a directed graph and introduce hierarchy-aware structure encoders for modeling label dependencies. Based on the hierarchy encoder, we propose a novel end-to-end hierarchy-aware global model (HiAGM) with two variants. A multi-label attention variant (HiAGM-LA) learns hierarchy-aware label embeddings thr…

Papers that cite it

  1. Close Builds on this paper Uses this paper in depth
    Dual Prompt Tuning based Contrastive Learning for Hierarchical Text Classification
    Si-Shi Xiong, Yu Zhao, Jie Zhang et al. · 2024 · Annual Meeting of the Association for Computational Linguistics · cited 24 times · Not summarized yet

    Dual Prompt Tuning cites HierVerb and uses layer-wise contrastive learning to reduce confusion among peer labels in HTC.

    Abstract

    Hierarchical text classification aims at catego-rizing texts into a multi-tiered tree-structured hierarchy of labels. Existing methods pay more attention to capture hierarchy-aware text feature by exploiting explicit parent-child relationships, while interactions between peer labels are rarely taken into account, resulting in severe label confusion within each layer. In this work, we propose a novel Dual Prompt Tuning (DPT) method, which emphasizes identifying discrimination among peer labels by performing contrastive learning on each hierarchical layer. We design an innovative hand-crafted prompt containing slots for both positive and negative label predictions to cooperate with contrastive…

  2. Close Groundwork for this paper
    Revisiting Hierarchical Text Classification: Inference and Metrics
    Roman Plaud, Matthieu Labeau, Antoine Saillenfest et al. · 2024 · Conference on Computational Natural Language Learning · cited 13 times · Not summarized yet

    Revisiting HTC proposes hierarchical evaluation metrics and inference analyses, a related evaluation concern to HierVerb’s path-based metric.

    Abstract

    Hierarchical text classification (HTC) is the task of assigning labels to a text within a structured space organized as a hierarchy. Recent works treat HTC as a conventional multilabel classification problem, therefore evaluating it as such. We instead propose to evaluate models based on specifically designed hierarchical metrics and we demonstrate the intricacy of metric choice and prediction inference method. We introduce a new challenging dataset and we evaluate fairly, recent sophisticated models, comparing them with a range of simple but strong baselines, including a new theoretically motivated loss. Finally, we show that those baselines are very often competitive with the latest models…

  3. Close Builds on this paper
    SPIRIT: Structural Entropy Guided Prefix Tuning for Hierarchical Text Classification
    He Zhu, Jinxiang Xia, Ruo-Mei Liu et al. · 2025 · Entropy · cited 2 times · Not summarized yet

    SPIRIT cites HierVerb and applies structural-entropy-guided prefix tuning to connect language-model prompts with HTC label hierarchies.

    Abstract

    Hierarchical text classification (HTC) is a challenging task that requires classifiers to solve a series of multi-label subtasks considering hierarchical dependencies among labels. Recent studies have introduced prompt tuning to create closer connections between the language model (LM) and the complex label hierarchy. However, we find that the model’s attention to the prompt gradually decreases as the prompt moves from the input to the output layer, revealing the limitations of previous prompt tuning methods for HTC. Given the success of prefix tuning-based studies in natural language understanding tasks, we introduce Structural entroPy guIded pRefIx Tuning (SPIRIT). Specifically, we extract…

  4. Close Groundwork for this paper
    Prompt-Based Label-Aware Framework for Few-Shot Multi-Label Text Classification
    Thanakorn Thaminkaew, Piyawat Lertvittayakumjorn, P. Vateekul · 2024 · IEEE Access · cited 16 times · Not summarized yet

    Prompt-Based Label-Aware Framework studies prompt-based few-shot multi-label classification, a setting related to HierVerb’s few-shot hierarchical classification.

    Abstract

    Prompt-based learning has demonstrated remarkable success in few-shot text classification, outperforming the traditional fine-tuning approach. This method transforms a text input into a masked language modeling prompt using a template, queries a fine-tuned language model to fill in the mask, and then uses a verbalizer to map the model’s output to a predicted class. Previous prompt-based text classification approaches were primarily designed for multi-class classification, taking advantage of the fact that the classes are mutually exclusive and one example belongs to only one class. However, these assumptions do not hold in the context of multi-label text classification, where labels often ex…

  5. Close Same question
    Prompt-Tuned Muti-Task Taxonomic Transformer (PTMTTaxoFormer)
    R. Vasantha, N. Nguyen, Yue Zhang · 2024 · Conference on Empirical Methods in Natural Language Processing · cited 11 times · Not summarized yet

    PTMTTaxoFormer uses prompt tuning and a multi-task objective to predict hierarchical text labels, addressing the same HTC task.

    Abstract

    Hierarchical Text Classification (HTC) is a subclass of multi-label classification, it is challenging because the hierarchy typically has a large number of diverse topics. Existing methods for HTC fall within two categories, local methods (a classifier for each level, node, or parent) or global methods (a single classifier for everything). Local methods are computationally expensive, whereas global methods often require complex explicit injection of the hierarchy, verbalizers, and/or prompt engineering. In this work, we propose Prompt Tuned Multi Task Taxonomic Transformer, a single classifier that uses a multi-task objective to predict one or more topics. The approach is capable of understa…

How are these papers found?

We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.

Updated on 5 November 2026.

The illustrated guide to the papers around a paper

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.