arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.03507cs.CLcs.AI
收藏

用于Few-Shot文本分类的元学习Siamese网络

Meta-Learning Siamese Network for Few-Shot Text Classification

East China Normal University(华东师范大学);Alibaba Group(阿里巴巴集团)

Chengcheng Han, Yuhe Wang, Yingnan Fu, Xiang Li, Minghui Qiu, Ming Gao, Aoying Zhou

摘要:

少样本学习已被用于解决文本分类中的标签稀缺问题,其中基于元学习的方法已被证明是有效的,例如原型网络(PROTO)。尽管PROTO取得了很大的成功,但仍存在三个主要问题:(1)在计算原型向量时忽略了样本支持集的随机性;(2)忽略了标记样本的重要性;(3)以纯随机的方式构造元任务。在本文中,我们提出了一个元学习连体网络,即元SN,来解决这些问题。具体地说,Meta-SN不是从采样的支持集计算原型向量,而是利用外部知识(例如类名和描述性文本)进行类标签,这些知识被编码为原型向量的低维嵌入。此外,Meta-SN提出了一种新的元任务采样策略,该策略对难以分类的样本提供了更高的采样概率。在六个基准数据集上进行了大量的实验,以显示Meta-SN相对于其他最先进的模型的明显优势。为了重现性,所有数据集和代码均在https://github.com/hccngu/Meta-SN上提供。

英文摘要:

Few-shot learning has been used to tackle the problem of label scarcity in text classification, of which meta-learning based methods have shown to be effective, such as the prototypical networks (PROTO). Despite the success of PROTO, there still exist three main problems: (1) ignore the randomness of the sampled support sets when computing prototype vectors; (2) disregard the importance of labeled samples; (3) construct meta-tasks in a purely random manner. In this paper, we propose a Meta-Learning Siamese Network, namely, Meta-SN, to address these issues. Specifically, instead of computing prototype vectors from the sampled support sets, Meta-SN utilizes external knowledge (e.g. class names and descriptive texts) for class labels, which is encoded as the low-dimensional embeddings of prototype vectors. In addition, Meta-SN presents a novel sampling strategy for constructing meta-tasks, which gives higher sampling probabilities to hard-to-classify samples. Extensive experiments are conducted on six benchmark datasets to show the clear superiority of Meta-SN over other state-of-the-art models. For reproducibility, all the datasets and codes are provided at https://github.com/hccngu/Meta-SN.

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

↑