Fine-grained and coarse-grained contrastive learning for text classification

被引:1
|
作者
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
基金
中国国家自然科学基金;
关键词
Contrastive learning; Text classification; Pre-trained language model;
D O I
10.1016/j.neucom.2024.128084
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Pre-trained language models based on contrastive learning have shown to be effective in text classification. Although its great success, contrastive learning still has shortcomings. First, most of the existing contrastive learning methods neglect to consider linguistic knowledge, which can improve the performance of contrastive learning. Second, hard negatives have been proven to improve the quality of visual representations. However, generating hard negatives still needs to be explored in the field of text classification. In this paper, we propose a novel fine-grained (word-level) and coarse-grained (sentence-level) contrastive learning that can obtain high- quality sentence representations to improve the performance of text classification. Specifically, we construct word-level positive and negative sample pairs by WordNet and perform fine-grained contrastive learning to inject linguistic knowledge. Then we utilize the mixup to generate hard negatives while eliminating false negatives and use coarse-grained contrastive learning to train the model. Experiments on multiple public datasets demonstrate that our method outperforms state-of-the-art methods.
引用
收藏
页数:10
相关论文
共 50 条
  • [1] Fine-grained Angular Contrastive Learning with Coarse Labels
    Bukchin, Guy
    Schwartz, Eli
    Saenko, Kate
    Shahar, Ori
    Feris, Rogerio
    Giryes, Raja
    Karlinsky, Leonid
    [J]. 2021 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, CVPR 2021, 2021, : 8726 - 8736
  • [2] Modeling Both Coarse-grained and Fine-grained Topics in Massive Text Data
    Zhang, Weifan
    Zhang, Hui
    Zuo, Yuan
    Wang, Deqing
    [J]. 2015 IEEE FIRST INTERNATIONAL CONFERENCE ON BIG DATA COMPUTING SERVICE AND APPLICATIONS (BIGDATASERVICE 2015), 2015, : 378 - 383
  • [3] No Subclass Left Behind: Fine-Grained Robustness in Coarse-Grained Classification Problems
    Sohoni, Nimit
    Dunnmon, Jared A.
    Angus, Geoffrey
    Gu, Albert
    Re, Christopher
    [J]. ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 33, NEURIPS 2020, 2020, 33
  • [4] Fine-Grained Contrastive Learning for Pulmonary Nodule Classification
    Zheng, Yubin
    Tang, Peng
    Ju, Tianjie
    Qiu, Weidong
    Yan, Bo
    [J]. Proceedings of the International Joint Conference on Neural Networks, 2024,
  • [5] Scratch Testing of Coarse-Grained and Ultra Fine-Grained Copper
    Filippov, A. V.
    Tarasov, S. Yu.
    Fortuna, S. V.
    Podgornyh, O. A.
    Shamarin, N. N.
    Filippova, E. O.
    [J]. PROCEEDINGS OF THE ADVANCED MATERIALS WITH HIERARCHICAL STRUCTURE FOR NEW TECHNOLOGIES AND RELIABLE STRUCTURES, 2018, 2051
  • [6] Fine-grained and coarse-grained entropy in problems of statistical mechanics
    V. V. Kozlov
    D. V. Treshchev
    [J]. Theoretical and Mathematical Physics, 2007, 151 : 539 - 555
  • [7] Fine-grained and coarse-grained entropy in problems of statistical mechanics
    Kozlov, V. V.
    Treshchev, D. V.
    [J]. THEORETICAL AND MATHEMATICAL PHYSICS, 2007, 151 (01) : 539 - 555
  • [8] Fine-Grained Scalable Streaming from Coarse-Grained Videos
    Ni, Pengpeng
    Eichhorn, Alexander
    Griwodz, Carsten
    Halvorsen, Pal
    [J]. NOSSDAV 09: 18TH INTERNATIONAL WORKSHOP ON NETWORK AND OPERATING SYSTEMS SUPPORT FOR DIGITAL AUDIO AND VIDEO, 2009, : 103 - 108
  • [9] Contrastive Learning of Coarse-Grained Force Fields
    Ding, Xinqiang
    Zhang, Bin
    [J]. JOURNAL OF CHEMICAL THEORY AND COMPUTATION, 2022, : 6334 - 6344
  • [10] Coarse2Fine: Fine-grained Text Classification on Coarsely-grained Annotated Data
    Mekala, Dheeraj
    Gangal, Varun
    Shang, Jingbo
    [J]. 2021 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING (EMNLP 2021), 2021, : 583 - 594