arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2302.10447cs.CLcs.AI
收藏

用于少样本文本分类的掩码引导BERT

Mask-guided BERT for Few Shot Text Classification

South China University of Technology(华南理工大学);University of Georgia(佐治亚大学);University of Electronic Science and Technology(电子科技大学);Mayo Clinic(梅奥诊所);University of Texas at Arlington(德克萨斯大学阿灵顿分校);University of Virginia(弗吉尼亚大学);Massachusetts General Hospital(麻省总医院);Harvard Medical School(哈佛医学院)

Wenxiong Liao, Zhengliang Liu, Haixing Dai, Zihao Wu, Yiyang Zhang, Xiaoke Huang, Yuzhong Chen, Xi Jiang, Wei Liu, Dajiang Zhu, Tianming Liu, Sheng Li, Xiang Li, Hongmin Cai

AI总结:

针对少样本学习易过拟合的问题,提出Mask-BERT框架,通过选择性掩码过滤无关信息并引入对比学习损失,引导模型聚焦判别性token,有效提升了少样本文本分类性能。

摘要:

基于Transformer的语言模型在各个领域取得了显著成功。然而,Transformer架构数据密集的特性需要大量标注数据,这在低资源场景(即少样本学习(FSL))中颇具挑战。FSL的主要挑战在于难以在小样本上训练出鲁棒的模型,这经常导致过拟合。在此,我们提出Mask-BERT,一个简单且模块化的框架,以帮助基于BERT的架构应对FSL。所提方法与现有的FSL策略(如prompt tuning和meta-learning)存在根本性差异。其核心思想是选择性地对文本输入应用掩码并过滤无关信息,从而引导模型关注影响预测结果的判别性token。此外,为使不同类别的文本表示更具可分性,且同类别的文本表示更紧凑,我们引入了对比学习损失函数。在公共领域基准数据集上的实验结果证明了Mask-BERT的有效性。

英文摘要:

Transformer-based language models have achieved significant success in various domains. However, the data-intensive nature of the transformer architecture requires much labeled data, which is challenging in low-resource scenarios (i.e., few-shot learning (FSL)). The main challenge of FSL is the difficulty of training robust models on small amounts of samples, which frequently leads to overfitting. Here we present Mask-BERT, a simple and modular framework to help BERT-based architectures tackle FSL. The proposed approach fundamentally differs from existing FSL strategies such as prompt tuning and meta-learning. The core idea is to selectively apply masks on text inputs and filter out irrelevant information, which guides the model to focus on discriminative tokens that influence prediction results. In addition, to make the text representations from different categories more separable and the text representations from the same category more compact, we introduce a contrastive learning loss function. Experimental results on public-domain benchmark datasets demonstrate the effectiveness of Mask-BERT.

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

↑