Hierarchical text classification with multi-label contrastive learning and KNN

被引:3
|
作者
Zhang, Jun [1 ]
Li, Yubin [1 ]
Shen, Fanfan [2 ]
He, Yueshun [1 ]
Tan, Hai [2 ]
He, Yanxiang [3 ]
机构
[1] East China Univ Technol, Sch Informat Engn, Nanchang 330013, Peoples R China
[2] Nanjing Audit Univ, Sch Informat Engn, Nanjing 211815, Peoples R China
[3] Wuhan Univ, Comp Sch, Wuhan 430072, Peoples R China
基金
中国国家自然科学基金;
关键词
Hierarchical text classification; Label hierarchy; Multi -label contrastive learning; KNN;
D O I
10.1016/j.neucom.2024.127323
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Given the complicated label hierarchy, hierarchical text classification (HTC) has emerged as a challenging subtask in the realm of multi -label text classification. Existing methods enhance the quality of text representations by contrastive learning, but this supervised contrastive learning is designed for single -label setting and has two main limitations. On one hand, sample pairs with completely identical labels which should be treated as positive pairs are ignored. On the other hand, a simple pair is deemed as an absolutely positive or negative pair, which lacks consideration about the situation where sample pairs share some labels while having labels unique to each sample. Therefore, we propose a method combining multi -label contrastive learning with KNN (MLCL-KNN) for HTC. The proposed multi -label contrastive learning method can make text representations of sample pairs having more shared labels closer and separate those with no labels in common. During inference, we employ KNN to retrieve several neighbor samples and regard their labels as additional prediction, which is interpolated into the model output to further improve the performance of MLCL-KNN. Compared with the strongest baseline, MLCL-KNN achieves average improvements of 0.31%, 0.76%, 0.83%, and 0.43% on Micro -F1, Macro -F1, accuracy, and HiF respectively, which demonstrates its effectiveness.
引用
收藏
页数:13
相关论文
共 50 条
  • [21] Effective Multi-Label Active Learning for Text Classification
    Yang, Bishan
    Sun, Jian-Tao
    Wang, Tengjiao
    Chen, Zheng
    KDD-09: 15TH ACM SIGKDD CONFERENCE ON KNOWLEDGE DISCOVERY AND DATA MINING, 2009, : 917 - 925
  • [22] Active Learning Strategies for Multi-Label Text Classification
    Esuli, Andrea
    Sebastiani, Fabrizio
    ADVANCES IN INFORMATION RETRIEVAL, PROCEEDINGS, 2009, 5478 : 102 - +
  • [23] Use All The Labels: A Hierarchical Multi-Label Contrastive Learning Framework
    Zhang, Shu
    Xu, Ran
    Xiong, Caiming
    Ramaiah, Chetan
    2022 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2022), 2022, : 16639 - 16648
  • [24] Multi-Label Supervised Contrastive Learning
    Zhang, Pingyue
    Wu, Mengyue
    THIRTY-EIGHTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOL 38 NO 15, 2024, : 16786 - 16793
  • [25] Variational Continuous Label Distribution Learning for Multi-Label Text Classification
    Zhao, Xingyu
    An, Yuexuan
    Xu, Ning
    Geng, Xin
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2024, 36 (06) : 2716 - 2729
  • [26] Joint Learning of Hyperbolic Label Embeddings for Hierarchical Multi-label Classification
    Chatterjee, Soumya
    Maheshwari, Ayush
    Ramakrishnan, Ganesh
    Jagarlapudi, Saketha Nath
    16TH CONFERENCE OF THE EUROPEAN CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (EACL 2021), 2021, : 2829 - 2841
  • [27] Label prompt for multi-label text classification
    Song, Rui
    Liu, Zelong
    Chen, Xingbing
    An, Haining
    Zhang, Zhiqi
    Wang, Xiaoguang
    Xu, Hao
    APPLIED INTELLIGENCE, 2023, 53 (08) : 8761 - 8775
  • [28] Label prompt for multi-label text classification
    Rui Song
    Zelong Liu
    Xingbing Chen
    Haining An
    Zhiqi Zhang
    Xiaoguang Wang
    Hao Xu
    Applied Intelligence, 2023, 53 : 8761 - 8775
  • [29] Gaussian Mixture Variational Autoencoder with Contrastive Learning for Multi-Label Classification
    Bai, Junwen
    Kong, Shufeng
    Gomes, Carla
    INTERNATIONAL CONFERENCE ON MACHINE LEARNING, VOL 162, 2022,
  • [30] Hierarchical Sequence-to-Sequence Model for Multi-Label Text Classification
    Yang, Zhenyu
    Liu, Guojing
    IEEE ACCESS, 2019, 7 : 153012 - 153020