Lune

EMNLP2022Top-tier venue

HPT: Hierarchy-aware Prompt Tuning for Hierarchical Text Classification

Zihan Wang, Peiyi Wang, Tianyu Liu, Binghuai Lin, Yunbo Cao, Zhifang Sui, Houfeng Wang

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 finetuning 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 of soft prompts to fuse the label hierarchy knowledge and introduce a zero-bounded multi-label cross-entropy loss to harmonize the objectives of HTC and MLM. Extensive experiments show HPT achieves state-of-the-art performances on 3 popular HTC datasets and is adept at handling the imbalance and low resource situations. Our code is available at https://github.com/wzh9969/HPT .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Incorporating Hierarchy into Text Encoder: a Contrastive Learning Approach for Hierarchical Text Classification cites Hyperbolic Interaction Model for Hierarchical Multi-Label Classification
  • How Sememic Components Can Benefit Link Prediction for Lexico-Semantic Knowledge Graphs? cites WARP: Word-level Adversarial ReProgramming
  • KnowPrompt: Knowledge-aware Prompt-tuning with Synergistic Optimization for Relation Extraction cites WARP: Word-level Adversarial ReProgramming
  • KnowPrompt: Knowledge-aware Prompt-tuning with Synergistic Optimization for Relation Extraction cites AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts
  • WARP: Word-level Adversarial ReProgramming cites AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts
  • Ensembling Prompting Strategies for Zero-Shot Hierarchical Text Classification with Large Language Models cites Incorporating Hierarchy into Text Encoder: a Contrastive Learning Approach for Hierarchical Text Classification
  • LH-Mix: Local Hierarchy Correlation Guided Mixup over Hierarchical Prompt Tuning cites Incorporating Hierarchy into Text Encoder: a Contrastive Learning Approach for Hierarchical Text Classification
  • LH-Mix: Local Hierarchy Correlation Guided Mixup over Hierarchical Prompt Tuning cites Hyperbolic Interaction Model for Hierarchical Multi-Label Classification
  • Labels Need Prompts Too: Mask Matching for Natural Language Understanding Tasks cites KnowPrompt: Knowledge-aware Prompt-tuning with Synergistic Optimization for Relation Extraction
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. DETree: DEtecting Human-AI Collaborative Texts via Tree-Structured Hierarchical Representation LearningYongxin He, Shan Zhang, Yixuan Cao, Lei Ma et al.NeurIPS 2025 · 13 citations
  2. Labels Need Prompts Too: Mask Matching for Natural Language Understanding TasksBo Li, Wei Ye, Quansen Wang, Wen Zhao et al.AAAI 2024 · 4 citations
  3. Ensembling Prompting Strategies for Zero-Shot Hierarchical Text Classification with Large Language ModelsMingxuan Xia, Zhijie Jiang, Haobo Wang, Junbo Zhao et al.EMNLP 2025 · 1 citation
  4. LH-Mix: Local Hierarchy Correlation Guided Mixup over Hierarchical Prompt TuningFanshuang Kong, Richong Zhang, Ziqiao WangKDD 2025 · 1 citation
  5. How Sememic Components Can Benefit Link Prediction for Lexico-Semantic Knowledge Graphs?Hansi Wang, Yue Wang, Qiliang Liang, Yang LiuEMNLP 2025

Builds on8

  1. AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated PromptsTaylor Shin, Yasaman Razeghi, Robert L. Logan IV, Eric Wallace et al.EMNLP 2020 · 1,162 citations
  2. KnowPrompt: Knowledge-aware Prompt-tuning with Synergistic Optimization for Relation ExtractionXiang Chen, Ningyu Zhang, Xin Xie, Shumin Deng et al.WWW 2022 · 488 citations
  3. Incorporating Hierarchy into Text Encoder: a Contrastive Learning Approach for Hierarchical Text ClassificationZihan Wang, Peiyi Wang, Lianzhe Huang, Xin Sun et al.ACL 2022 · 157 citations
  4. Hyperbolic Interaction Model for Hierarchical Multi-Label ClassificationBoli Chen, Xin Huang, Lin Xiao, Zixin Cai et al.AAAI 2020 · 78 citations
  5. WARP: Word-level Adversarial ReProgrammingKaren Hambardzumyan, Hrant Khachatrian, Jonathan MayACL 2021

Related papers

  1. Hierarchical Verbalizer for Few-Shot Hierarchical Text ClassificationKe Ji, Yixin Lian, Jingsheng Gao, Baoyuan WangACL 2023 · 17 citations
  2. HierPrompt: Zero-Shot Hierarchical Text Classification with LLM-Enhanced PrototypesQian Zhang, Qinliang Su, Wei Zhu, Pang YachunEMNLP Findings 2025 · 1 citation
  3. Dual Prompt Tuning based Contrastive Learning for Hierarchical Text ClassificationSishi Xiong, Yu Zhao, Jie Zhang, Mengxiang Li et al.ACL Findings 2024 · 21 citations
  4. Knowledgeable Prompt-tuning: Incorporating Knowledge into Prompt Verbalizer for Text ClassificationShengding Hu, Ning Ding, Huadong Wang, Zhiyuan Liu et al.ACL 2022
  5. Few-Shot Fine-Grained Entity Typing with Automatic Label Interpretation and Instance GenerationJiaxin Huang, Yu Meng, Jiawei HanKDD 2022 · 17 citations
Dusk over the sea between two cliffs drawn in fine vertical lines