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 条
  • [1] Contrastive Enhanced Learning for Multi-Label Text Classification
    Wu, Tianxiang
    Yang, Shuqun
    APPLIED SCIENCES-BASEL, 2024, 14 (19):
  • [2] Multi-Label Text Classification Based on Contrastive and Correlation Learning
    Yang, Shuo
    Gao, Shu
    PROCEEDINGS OF 2024 3RD INTERNATIONAL CONFERENCE ON CYBER SECURITY, ARTIFICIAL INTELLIGENCE AND DIGITAL ECONOMY, CSAIDE 2024, 2024, : 325 - 330
  • [3] An Effective Deployment of Contrastive Learning in Multi-label Text Classification
    Lin, Nankai
    Qin, Guanqiu
    Wang, Jigang
    Zhou, Dong
    Yang, Aimin
    Proceedings of the Annual Meeting of the Association for Computational Linguistics, 2023, : 8730 - 8744
  • [4] Hierarchical Transfer Learning for Multi-label Text Classification
    Banerjee, Siddhartha
    Akkaya, Cem
    Perez-Sorrosal, Francisco
    Tsioutsiouliklis, Kostas
    57TH ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2019), 2019, : 6295 - 6300
  • [5] A multi-label social short text classification method based on contrastive learning and improved ml-KNN
    Tian, Gang
    Wang, Jiachang
    Wang, Rui
    Zhao, Guangxin
    He, Cheng
    EXPERT SYSTEMS, 2024, 41 (07)
  • [6] Exploring Contrastive Learning for Long-Tailed Multi-label Text Classification
    Audibert, Alexandre
    Gauffre, Aurelien
    Amini, Massih-Reza
    MACHINE LEARNING AND KNOWLEDGE DISCOVERY IN DATABASES: RESEARCH TRACK, PT VII, ECML PKDD 2024, 2024, 14947 : 245 - 261
  • [7] Cognitive structure learning model for hierarchical multi-label text classification
    Wang, Boyan
    Hu, Xuegang
    Li, Peipei
    Yu, Philip S.
    KNOWLEDGE-BASED SYSTEMS, 2021, 218
  • [8] LSPCL: Label-specific supervised prototype contrastive learning for multi-label text classification
    Wang, Gang
    Du, Yajun
    Jiang, Yurui
    Knowledge-Based Systems, 2025, 309
  • [9] Hierarchical Multi-label Classification of Text with Capsule Networks
    Aly, Rami
    Remus, Steffen
    Biemann, Chris
    57TH ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2019:): STUDENT RESEARCH WORKSHOP, 2019, : 323 - 330
  • [10] Academic Resource Text Hierarchical Multi-Label Classification
    Wang, Yue
    Li, Yawen
    Li, Ang
    Computer Engineering and Applications, 2023, 59 (13): : 92 - 98