Joint contrastive learning for prompt-based few-shot language learners

被引:0
作者
Zhu, Zhengzhong [1 ]
Zhang, Xuejie [1 ]
Wang, Jin [1 ]
Zhou, Xiaobing [1 ]
机构
[1] Yunnan Univ, Sch Informat Sci & Engn, Kunming 650500, Yunnan, Peoples R China
关键词
Prompt; Few-shot; Contrastive learning; NEURAL-NETWORK;
D O I
10.1007/s00521-024-09502-7
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The combination of prompt learning and contrastive learning has recently been a promising approach to few-shot learning in NLP field. However, most of these studies only focus on the semantic-level relevance and intra-class information of data in the class level while ignoring the importance of fine-grained instance-level feature representations. This paper proposes a joint contrastive learning (JCL) framework that leverages instance-level contrastive learning to learn fine-grained differences of feature representations and class-level contrastive learning to learn richer intra-class information. The experimental results demonstrate that the proposed JCL method is effective and has strong generalization ability. Our code is available at https://github.com/2251821381/JCL.
引用
收藏
页码:7861 / 7875
页数:15
相关论文
共 56 条
  • [1] Bansal T, 2020, Arxiv, DOI [arXiv:1911.03863, 10.48550/arXiv.1911.03863]
  • [2] Bao YJ, 2020, Arxiv, DOI arXiv:1908.06039
  • [3] SELF-ORGANIZING NEURAL NETWORK THAT DISCOVERS SURFACES IN RANDOM-DOT STEREOGRAMS
    BECKER, S
    HINTON, GE
    [J]. NATURE, 1992, 355 (6356) : 161 - 163
  • [4] Brown TB, 2020, ADV NEUR IN, V33
  • [5] Chen CY, 2023, 17TH CONFERENCE OF THE EUROPEAN CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, EACL 2023, P562
  • [6] Chen QB, 2022, Arxiv, DOI arXiv:2201.08702
  • [7] Chen T., 2020, 25 AMERICAS C INFORM, P1607
  • [8] Cui G., 2022, arXiv
  • [9] Dogra Varun, 2021, Intelligent Computing and Innovation on Data Science: Proceedings of ICTIDS 2021. Lecture Notes in Networks and Systems (248), P455, DOI 10.1007/978-981-16-3153-5_48
  • [10] Gao TY, 2021, 2021 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING (EMNLP 2021), P6894