arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2305.09269cs.CL
收藏

ContrastNet:用于少样本文本分类的对比学习框架

ContrastNet: A Contrastive Learning Framework for Few-Shot Text Classification

Beihang University(北京航空航天大学);University of Ottawa(渥太华大学);University of Leeds(利兹大学)

Junfan Chen, Richong Zhang, Yongyi Mao, Jie Xu

AI总结:

提出对比学习框架ContrastNet,通过拉近同类、推开异类表示学习判别性特征,并在任务级和实例级引入无监督对比正则化防止过拟合,在8个数据集上超越现有最先进模型。

摘要:

少样本文本分类近期受到元学习范式的推动,该范式旨在通过从源类别迁移知识,利用称为episodes的小任务集合来识别目标类别。尽管取得了成功,但现有基于Prototypical Networks构建元学习器的工作在学习相似类别间的判别性文本表示方面仍不理想,这可能导致标签预测时出现矛盾。此外,由少量训练样本引起的少样本文本分类中的任务级和实例级过拟合问题也未得到充分解决。在本工作中,我们提出了一个名为ContrastNet的对比学习框架,以同时解决少样本文本分类中的判别性表示和过拟合问题。ContrastNet学习拉近属于同一类别的文本表示,并推开属于不同类别的文本表示,同时在任务级和实例级引入无监督对比正则化以防止过拟合。在8个少样本文本分类数据集上的实验表明,ContrastNet优于当前最先进的模型。

英文摘要:

Few-shot text classification has recently been promoted by the meta-learning paradigm which aims to identify target classes with knowledge transferred from source classes with sets of small tasks named episodes. Despite their success, existing works building their meta-learner based on Prototypical Networks are unsatisfactory in learning discriminative text representations between similar classes, which may lead to contradictions during label prediction. In addition, the tasklevel and instance-level overfitting problems in few-shot text classification caused by a few training examples are not sufficiently tackled. In this work, we propose a contrastive learning framework named ContrastNet to tackle both discriminative representation and overfitting problems in few-shot text classification. ContrastNet learns to pull closer text representations belonging to the same class and push away text representations belonging to different classes, while simultaneously introducing unsupervised contrastive regularization at both task-level and instance-level to prevent overfitting. Experiments on 8 few-shot text classification datasets show that ContrastNet outperforms the current state-of-the-art models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑