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

被引:0
|
作者
Wang, Zihan [1 ]
Wang, Peiyi [1 ]
Huang, Lianzhe [1 ]
Sun, Xin [1 ]
Wang, Houfeng [1 ]
机构
[1] Peking Univ, Key Lab Computat Linguist, MOE, Beijing, Peoples R China
基金
中国国家自然科学基金;
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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.
引用
收藏
页码:7109 / 7119
页数:11
相关论文
共 50 条
  • [1] Contrastive learning with text augmentation for text classification
    Jia, Ouyang
    Huang, Huimin
    Ren, Jiaxin
    Xie, Luodi
    Xiao, Yinyin
    [J]. APPLIED INTELLIGENCE, 2023, 53 (16) : 19522 - 19531
  • [2] Contrastive learning with text augmentation for text classification
    Ouyang Jia
    Huimin Huang
    Jiaxin Ren
    Luodi Xie
    Yinyin Xiao
    [J]. Applied Intelligence, 2023, 53 : 19522 - 19531
  • [3] Hierarchical text classification with multi-label contrastive learning and KNN
    Zhang, Jun
    Li, Yubin
    Shen, Fanfan
    He, Yueshun
    Tan, Hai
    He, Yanxiang
    [J]. NEUROCOMPUTING, 2024, 577
  • [4] Contrastive adversarial learning in text classification tasks
    He, Jia-long
    Zhang, Xiao-Lin
    Wang, Yong-Ping
    Zhang, Huan-Xiang
    Gao, Lu
    Xu, En-Hui
    [J]. JOURNAL OF INTELLIGENT & FUZZY SYSTEMS, 2023, 45 (02) : 3473 - 3484
  • [5] Hierarchical Text Classification Incremental Learning
    Song, Shengli
    Qiao, Xiaofei
    Chen, Ping
    [J]. NEURAL INFORMATION PROCESSING, PT 1, PROCEEDINGS, 2009, 5863 : 247 - 258
  • [6] An approach of multi-hierarchy text classification
    Liu, SH
    Dong, MK
    Zhang, HJ
    Li, R
    Shi, ZZ
    [J]. 2001 INTERNATIONAL CONFERENCES ON INFO-TECH AND INFO-NET PROCEEDINGS, CONFERENCE A-G: INFO-TECH & INFO-NET: A KEY TO BETTER LIFE, 2001, : C95 - C100
  • [7] Improving Gradient-based Adversarial Training for Text Classification by Contrastive Learning and Auto-Encoder
    Qiu, Yao
    Zhang, Jinchao
    Zhou, Jie
    [J]. FINDINGS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, ACL-IJCNLP 2021, 2021, : 1698 - 1707
  • [8] TextGCL: Graph Contrastive Learning for Transductive Text Classification
    Zhao, Yawei
    Song, Xiaoyang
    [J]. 2023 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS, IJCNN, 2023,
  • [9] Improved Graph Contrastive Learning for Short Text Classification
    Liu, Yonghao
    Huang, Lan
    Giunchiglia, Fausto
    Feng, Xiaoyue
    Guan, Renchu
    [J]. THIRTY-EIGHTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOL 38 NO 17, 2024, : 18716 - 18724
  • [10] Hierarchy-Aware Global Model for Hierarchical Text Classification
    Zhou, Jie
    Ma, Chunping
    Long, Dingkun
    Xu, Guangwei
    Ding, Ning
    Zhang, Haoyu
    Xie, Pengjun
    Liu, Gongshen
    [J]. 58TH ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2020), 2020, : 1106 - 1117