Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Induction Networks for Few-Shot Text Classification

About

Text classification tends to struggle when data is deficient or when it needs to adapt to unseen classes. In such challenging scenarios, recent studies have used meta-learning to simulate the few-shot task, in which new queries are compared to a small support set at the sample-wise level. However, this sample-wise comparison may be severely disturbed by the various expressions in the same class. Therefore, we should be able to learn a general representation of each class in the support set and then compare it to new queries. In this paper, we propose a novel Induction Network to learn such a generalized class-wise representation, by innovatively leveraging the dynamic routing algorithm in meta-learning. In this way, we find the model is able to induce and generalize better. We evaluate the proposed model on a well-studied sentiment classification dataset (English) and a real-world dialogue intent classification dataset (Chinese). Experiment results show that on both datasets, the proposed model significantly outperforms the existing state-of-the-art approaches, proving the effectiveness of class-wise generalization in few-shot text classification.

Ruiying Geng, Binhua Li, Yongbin Li, Xiaodan Zhu, Ping Jian, Jian Sun• 2019

Related benchmarks

TaskDatasetResultRank
Intent ClassificationODIC (test)
Mean Accuracy0.8849
24
5-way few-shot text classificationHuffPost (test)
Accuracy49.1
20
5-way few-shot text classificationReuters (test)
Accuracy67.9
20
5-way few-shot text classificationAmazon (test)
Accuracy41.3
20
5-way few-shot text classification20 Newsgroups (test)
Accuracy33.3
20
Few-shot Sentiment ClassificationAmazon Review Sentiment Classification (ARSC) (test)
Mean Accuracy85.63
7
Showing 6 of 6 rows

Other info

Follow for update