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 条
  • [41] ContrastNet: A Contrastive Learning Framework for Few-Shot Text Classification
    Chen, Junfan
    Zhang, Richong
    Mao, Yongyi
    Xu, Jie
    THIRTY-SIXTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE / THIRTY-FOURTH CONFERENCE ON INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE / TWELVETH SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2022, : 10492 - 10500
  • [42] An Effective Deployment of Contrastive Learning in Multi-label Text Classification
    Lin, Nankai
    Qin, Guanqiu
    Wang, Jigang
    Zhou, Dong
    Yang, Aimin
    FINDINGS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2023), 2023, : 8730 - 8744
  • [43] Spatio-Temporal Contrastive Learning-Based Adaptive Graph Augmentation for Traffic Flow Prediction
    Zhang, Dingkai
    Wang, Pengfei
    Ding, Lu
    Wang, Xiaoling
    He, Jifeng
    IEEE TRANSACTIONS ON INTELLIGENT TRANSPORTATION SYSTEMS, 2025, 26 (01) : 1304 - 1318
  • [44] Supervised Contrastive Learning with Term Weighting for Improving Chinese Text Classification
    Guo, Jiabao
    Zhao, Bo
    Liu, Hui
    Liu, Yifan
    Zhong, Qian
    TSINGHUA SCIENCE AND TECHNOLOGY, 2023, 28 (01): : 59 - 68
  • [45] Description-Enhanced Label Embedding Contrastive Learning for Text Classification
    Zhang, Kun
    Wu, Le
    Lv, Guangyi
    Chen, Enhong
    Ruan, Shulan
    Liu, Jing
    Zhang, Zhiqiang
    Zhou, Jun
    Wang, Meng
    IEEE TRANSACTIONS ON NEURAL NETWORKS AND LEARNING SYSTEMS, 2024, 35 (10) : 14889 - 14902
  • [46] Contrastive Learning with Heterogeneous Graph Attention Networks on Short Text Classification
    Sun, Zhongtian
    Harit, Anoushka
    Cristea, Alexandra, I
    Yu, Jialin
    Shi, Lei
    Al Moubayed, Noura
    2022 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2022,
  • [47] 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
  • [48] Hierarchical text classification with multi-label contrastive learning and KNN
    Zhang, Jun
    Li, Yubin
    Shen, Fanfan
    He, Yueshun
    Tan, Hai
    He, Yanxiang
    NEUROCOMPUTING, 2024, 577
  • [49] Unsupervised Domain Adaptation with Contrastive Learning-Based Discriminative Feature Augmentation for RS Image Classification
    Xu, Ren
    Samat, Alim
    Zhu, Enzhao
    Li, Erzhu
    Li, Wei
    REMOTE SENSING, 2024, 16 (11)
  • [50] Adaptive Knowledge Contrastive Learning with Dynamic Attention for Recommender Systems
    Li, Hongchan
    Zheng, Jinming
    Jin, Baohua
    Zhu, Haodong
    ELECTRONICS, 2024, 13 (18)