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 条
[41]   Learning to Compare: Relation Network for Few-Shot Learning [J].
Sung, Flood ;
Yang, Yongxin ;
Zhang, Li ;
Xiang, Tao ;
Torr, Philip H. S. ;
Hospedales, Timothy M. .
2018 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2018, :1199-1208
[42]  
Tam D., 2021, arXiv, DOI 10.48550/arXiv.2103.11955
[43]  
van der Maaten L, 2008, J MACH LEARN RES, V9, P2579
[44]  
Voorhees E. M., 2000, SIGIR Forum, V34, P200
[45]  
Wang AL, 2019, Arxiv, DOI arXiv:1804.07461
[46]  
Wang YJ, 2020, PROCEEDINGS OF THE 2020 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING (EMNLP), P1692
[47]   Dynamic Curriculum Learning for Imbalanced Data Classification [J].
Wang, Yiru ;
Gan, Weihao ;
Yang, Jie ;
Wu, Wei ;
Yan, Junjie .
2019 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV 2019), 2019, :5016-5025
[48]  
Wang Ziqi, 2021, arXiv
[49]   Neural Network Acceptability Judgments [J].
Warstadt, Alex ;
Singh, Amanpreet ;
Bowman, Samuel R. .
TRANSACTIONS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, 2019, 7 :625-641
[50]   Annotating expressions of opinions and emotions in language [J].
Wiebe, J ;
Wilson, T ;
Cardie, C .
LANGUAGE RESOURCES AND EVALUATION, 2005, 39 (2-3) :165-210