Contrastive learning based on linguistic knowledge and adaptive augmentation for text classification

被引:0
|
作者
Zhang, Shaokang [1 ]
Ran, Ning [2 ]
机构
[1] Hebei Univ, Sch Cyber Secur & Comp, Baoding, Peoples R China
[2] Hebei Univ, Coll Elect & Informat Engn, Baoding, Peoples R China
基金
中国国家自然科学基金;
关键词
Text classification; Contrastive learning; Linguistic knowledge; Adaptive data augmentation; REPRESENTATION;
D O I
10.1016/j.knosys.2024.112189
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Pre-trained language models based on contrastive learning have shown to be effective in text classification. Despite its great success, contrastive learning still has some limitations. First, external linguistic knowledge has been shown to improve the performance of pre-trained language models, but how to use it in contrastive learning is still unclear. Second, general contrastive learning generates training samples with fixed data augmentation during the whole training period, while different augmentation methods are suitable for different downstream tasks. Fixed data augmentation can lead to suboptimal settings. In this paper, we propose contrastive learning based on linguistic knowledge and adaptive augmentation, which can obtain high-quality sentence representations to improve the performance of text classification. Specifically, we construct wordlevel positive and negative sample pairs by WordNet and propose a novel word-level contrastive learning function to inject linguistic knowledge. Then we dynamically select the augmentation policy by alignment and uniformity. This adaptive augmentation policy can acquire more generalized sentence representations with little computational overhead. Experiments on multiple public datasets demonstrate that our method outperforms state-of-the-art methods.
引用
收藏
页数:10
相关论文
共 50 条
  • [21] Dual Contrastive Learning Framework for Incremental Text Classification
    Wang, Yigong
    Wang, Zhuoyi
    Lin, Yu
    Guo, Jinghui
    Halim, Sadaf Md
    Khan, Latifur
    FINDINGS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS - EMNLP 2023, 2023, : 194 - 206
  • [22] Adaptive Unified Contrastive Learning for Imbalanced Classification
    Cong, Cong
    Yang, Yixing
    Liu, Sidong
    Pagnucco, Maurice
    Di Ieva, Antonio
    Berkovsky, Shlomo
    Song, Yang
    MACHINE LEARNING IN MEDICAL IMAGING, MLMI 2022, 2022, 13583 : 348 - 357
  • [23] CLZT: A Contrastive Learning Based Framework for Zero-Shot Text Classification
    Li, Kun
    Lin, Meng
    Hu, Songlin
    Li, Ruixuan
    DATABASE SYSTEMS FOR ADVANCED APPLICATIONS, DASFAA 2022, PT II, 2022, : 623 - 630
  • [24] Supervised Contrast Learning Text Classification Model Based on DataQuality Augmentation
    Wu, Liang
    Zhang, Fangfang
    Cheng, Chao
    Song, Shinan
    ACM TRANSACTIONS ON ASIAN AND LOW-RESOURCE LANGUAGE INFORMATION PROCESSING, 2024, 23 (05)
  • [25] Text AutoAugment: Learning Compositional Augmentation Policy for Text Classification
    Ren, Shuhuai
    Zhang, Jinchao
    Li, Lei
    Sun, Xu
    Zhou, Jie
    2021 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING (EMNLP 2021), 2021, : 9029 - 9043
  • [26] MPCNN with Knowledge Augmentation: A Model for Chinese Text Classification
    Zhang, Xiaozeng
    Fang, Ailian
    INTELLIGENT COMPUTING METHODOLOGIES, PT III, 2022, 13395 : 141 - 149
  • [27] Graph contrastive learning based on negative-sample-free loss and adaptive augmentation
    Zhou T.-Q.
    Yang Y.
    Zhang J.-J.
    Yin S.-W.
    Guo Z.-Q.
    Zhejiang Daxue Xuebao (Gongxue Ban)/Journal of Zhejiang University (Engineering Science), 2023, 57 (02): : 259 - 266
  • [28] Incorporating Hierarchy into Text Encoder: a Contrastive Learning Approach for Hierarchical Text Classification
    Wang, Zihan
    Wang, Peiyi
    Huang, Lianzhe
    Sun, Xin
    Wang, Houfeng
    PROCEEDINGS OF THE 60TH ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2022), VOL 1: (LONG PAPERS), 2022, : 7109 - 7119
  • [29] Text semantic matching algorithm based on the introduction of external knowledge under contrastive learning
    Hu, Jie
    Zhu, Yinglian
    Wu, Lishan
    Luo, Qilei
    Teng, Fei
    Li, Tianrui
    INTERNATIONAL JOURNAL OF MACHINE LEARNING AND CYBERNETICS, 2025, 16 (01) : 741 - 753
  • [30] Contrastive Enhanced Learning for Multi-Label Text Classification
    Wu, Tianxiang
    Yang, Shuqun
    APPLIED SCIENCES-BASEL, 2024, 14 (19):