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

TART: Improved Few-shot Text Classification Using Task-Adaptive Reference Transformation

About

Meta-learning has emerged as a trending technique to tackle few-shot text classification and achieve state-of-the-art performance. However, the performance of existing approaches heavily depends on the inter-class variance of the support set. As a result, it can perform well on tasks when the semantics of sampled classes are distinct while failing to differentiate classes with similar semantics. In this paper, we propose a novel Task-Adaptive Reference Transformation (TART) network, aiming to enhance the generalization by transforming the class prototypes to per-class fixed reference points in task-adaptive metric spaces. To further maximize divergence between transformed prototypes in task-adaptive metric spaces, TART introduces a discriminative reference regularization among transformed prototypes. Extensive experiments are conducted on four benchmark datasets and our method demonstrates clear superiority over the state-of-the-art models in all the datasets. In particular, our model surpasses the state-of-the-art method by 7.4% and 5.4% in 1-shot and 5-shot classification on the 20 Newsgroups dataset, respectively.

Shuo Lei, Xuchao Zhang, Jianfeng He, Fanglan Chen, Chang-Tien Lu• 2023

Related benchmarks

TaskDatasetResultRank
5-way few-shot text classificationHuffPost (test)
Accuracy66.8
20
5-way few-shot text classification20 Newsgroups (test)
Accuracy83.2
20
5-way few-shot text classificationReuters (test)
Accuracy96.7
20
5-way few-shot text classificationAmazon (test)
Accuracy83.5
20
Showing 4 of 4 rows

Other info

Code

Follow for update