计算机科学
人工智能
图形
分类器(UML)
编码
班级(哲学)
透视图(图形)
集合(抽象数据类型)
构造(python库)
对比度(视觉)
机器学习
模式识别(心理学)
理论计算机科学
基因
生物化学
化学
程序设计语言
标识
DOI:10.1016/j.eswa.2021.114795
摘要
Few-shot text classification aims to learn a classifier from very few labeled text instances per class. Previous few-shot research works in NLP are mainly based on Prototypical Networks, which encode support set samples of each class to prototype representations and compute distance between query and each class prototype. In the prototype aggregation progress, much useful information of support set and discrepancy between samples from different class are ignored. In contrast, our model focuses on all query-support pairs without information loss. In this paper, we propose a multi-perspective aggregation based graph neural network (Frog-GNN) that observes through eyes (support and query instance) and speaks by mouth (pair) for few-shot text classification. We construct a graph by pre-trained pair representations and aggregate information from neighborhoods by instance-level representations for message-passing. The final relational features of pairs imply intra-class similarity and inter-class dissimilarity after iteratively interactions among instances. In addition, our Frog-GNN with meta-learning strategy can well generalize to unseen class. Experimental results demonstrate that the proposed GNN model outperforms existing few-shot approaches in both few-shot text classification and relation classification on three benchmark datasets.
科研通智能强力驱动
Strongly Powered by AbleSci AI