Lune

ACL2022Top-tier venue

Incorporating Hierarchy into Text Encoder: a Contrastive Learning Approach for Hierarchical Text Classification

Zihan Wang, Peiyi Wang, Lianzhe Huang, Xin Sun, Houfeng Wang

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 independently. Therefore, after training, the HGCLR enhanced text encoder can dispense with the redundant hierarchy. Extensive experiments on three benchmark datasets verify the effectiveness of HGCLR.

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.

19 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

  • Hierarchical Text Classification as Sub-hierarchy Sequence Generation cites Hierarchy-Aware Global Model for Hierarchical Text Classification
  • Hierarchical Text Classification as Sub-hierarchy Sequence Generation cites Do Transformers Really Perform Badly for Graph Representation?
  • COCO-LM: Correcting and Contrasting Text Sequences for Language Model Pretraining cites A Simple Framework for Contrastive Learning of Visual Representations
  • COCO-LM: Correcting and Contrasting Text Sequences for Language Model Pretraining cites SimCSE: Simple Contrastive Learning of Sentence Embeddings
  • SimCSE: Simple Contrastive Learning of Sentence Embeddings cites COCO-LM: Correcting and Contrasting Text Sequences for Language Model Pretraining
  • Mitigating Idiom Inconsistency: A Multi-Semantic Contrastive Learning Method for Chinese Idiom Reading Comprehension cites SimCSE: Simple Contrastive Learning of Sentence Embeddings
  • Hierarchical Verbalizer for Few-Shot Hierarchical Text Classification cites Hierarchy-Aware Global Model for Hierarchical Text Classification
  • Hierarchical Verbalizer for Few-Shot Hierarchical Text Classification cites SimCSE: Simple Contrastive Learning of Sentence Embeddings
  • Exploiting Global and Local Hierarchies for Hierarchical Text Classification cites Hierarchy-Aware Global Model for Hierarchical Text Classification
  • Exploiting Global and Local Hierarchies for Hierarchical Text Classification cites Do Transformers Really Perform Badly for Graph Representation?
  • SimCSE: Simple Contrastive Learning of Sentence Embeddings cites A Simple Framework for Contrastive Learning of Visual Representations
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers19

  1. HPT: Hierarchy-aware Prompt Tuning for Hierarchical Text ClassificationZihan Wang, Peiyi Wang, Tianyu Liu, Binghuai Lin et al.EMNLP 2022 · 42 citations
  2. Exploiting Global and Local Hierarchies for Hierarchical Text ClassificationTing Jiang, Deqing Wang, Leilei Sun, Zhongzhi Chen et al.EMNLP 2022 · 29 citations
  3. Hierarchical Verbalizer for Few-Shot Hierarchical Text ClassificationKe Ji, Yixin Lian, Jingsheng Gao, Baoyuan WangACL 2023 · 17 citations
  4. Hierarchical Text Classification as Sub-hierarchy Sequence GenerationSanghun Im, Gibaeg Kim, Heung-Seon Oh, Seongung Jo et al.AAAI 2023 · 11 citations
  5. Mitigating Idiom Inconsistency: A Multi-Semantic Contrastive Learning Method for Chinese Idiom Reading ComprehensionMingmin Wu, Yuxue Hu, Yongcheng Zhang, Zhi Zeng et al.AAAI 2024 · 10 citations

Builds on11

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. SimCSE: Simple Contrastive Learning of Sentence EmbeddingsTianyu Gao, Xingcheng Yao, Danqi ChenEMNLP 2021 · 2,496 citations
  3. Do Transformers Really Perform Badly for Graph Representation?Chengxuan Ying, Tianle Cai, Shengjie Luo, Shuxin Zheng et al.NeurIPS 2021 · 1,632 citations
  4. COCO-LM: Correcting and Contrasting Text Sequences for Language Model PretrainingYu Meng, Chenyan Xiong, Payal Bajaj, Saurabh Tiwary et al.NeurIPS 2021 · 231 citations
  5. Hierarchy-Aware Global Model for Hierarchical Text ClassificationJie Zhou, Chunping Ma, Dingkun Long, Guangwei Xu et al.ACL 2020 · 171 citations

Related papers

  1. Instances and Labels: Hierarchy-aware Joint Supervised Contrastive Learning for Hierarchical Multi-Label Text ClassificationSimon Chi Lok U, Jie He, Víctor Gutiérrez-Basulto, Jeff Z. PanEMNLP Findings 2023 · 18 citations
  2. Use All The Labels: A Hierarchical Multi-Label Contrastive Learning FrameworkShu Zhang, Ran Xu, Caiming Xiong, Chetan RamaiahCVPR 2022 · 71 citations
  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. Enhancing Hierarchical Text Classification through Knowledge Graph IntegrationYe Liu, Kai Zhang, Zhenya Huang, Kehang Wang et al.ACL Findings 2023 · 26 citations
  5. Hierarchy-aware Label Semantics Matching Network for Hierarchical Text ClassificationHaibin Chen, Qianli Ma, Zhenxi Lin, Jiangyue YanACL 2021
Dusk over the sea between two cliffs drawn in fine vertical lines