arrow
返回

Contrastive learning from label distribution: A case study on text classification

delete2022-10-01
delete7
PRE
AI
Q
Qian Tao
F
Fei Li *
张
张梅山 (Meishan Zhang)
G
Guonian Jin
P
Ping Fan
W
Wenhua Dai
DOI:10.1016/j.neucom.2022.07.076delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
State-of-the-art text classification models are dominated by deep neural networks, but they still struggle to the issue of poor generalization ability when using cross entropy loss for training. One of the reasons is the training samples are usually annotated with hard labels, ignoring the inter-label relationship among these labels. This results in the outputted distributions to violate the label-correlation. Although the widely used contrastive learning is able to learn highly-expressive feature representations that generalize well across the training and test sets, contrastive learning in the embedding space is difficult to model the label correlation and may still output unreasonable label distributions. In this paper, we suggest con-trastive learning using label distributions and present a novel label-level contrastive learning (LLCL) para-digm, which can constrain the unreasonable label distributions from model outputs. We hypothesize that the label distributions of the instances in the same class are more similar than those from other classes. We introduce two label-level contrastive learning losses, namely supervised contrastive learning and self-supervised contrastive learning. After adding our proposed losses to the cross-entropy loss as regu-larizer for the training text classification model, our model obtains the average improvement of 0.74% over the strong RoBERTa-Large baseline on ten datasets. Particularly, our contrastive learning in the label space can effectively capture label correlations better than that in the embedding space, achieving an improvement of 6.2% in the top-2 accuracy on the SST-5 dataset. We also demonstrate that our proposed method is more effective, especially in the text classification tasks with a large label space or limited labeled data. Last but not least, our model does not rely on any kind of specialized architectures, data aug-mentation methods, or additional unsupervised data.CO 2022 Elsevier B.V. All rights reserved.
Keyword:
Text classification
Contrastive learning
Label distribution
Deep neural network

期刊

Neurocomputing 封面图
Neurocomputing
IF:
6.5
论文数:
2.5W
被引数:
6.5W

机构

T
tianjin university
学者数:
8.0W
论文数: 5.8W
被引数: 88
H
hubei university of science & technology
学者数:
1.9K
论文数: 1.2K
被引数: 0
W
wuhan university
学者数:
8.1W
论文数: 5.8W
被引数: 70
学者 查看更多机构
引用论文

引用论文

ContrastNet: Unsupervised feature learning by autoencoder and prototypical contrastive learning for hyperspectral imagery classification
err2021-10-01
err43
errOAAI
errCao, Zeyu; Li, Xiaorun; Feng, Yueming; Chen, Shuhan; Xia, Chaoqun; Zhao, Liaoying
err分享
err收藏
High frequency patterns play a key role in the generation of adversarial examples
err2021-10-01
err11
PREAI
errZhou, Yue; Hu, Xiaofang; Han, Jiaqi; Wang, Lidan; Duan, Shukai
err分享
err收藏
Text classification using capsules
err2020-02-01
err133
errOAAI
errKim, Jaeyoung; Jang, Sion; Park, Eunjeong; Choi, Sungchul
err分享
err收藏
学者 查看更多内容