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

Shuo Lei, Xuchao Zhang, Jianfeng He, Fanglan Chen, Chang-Tien Lu
6/3/2023
cs.CL

No official code found. Best implementation: slei109/TART (6 stars, MIT, last commit 2023-09-19).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

slei109/TARTCommunity100%
MIT

PyTorch Implementation of TART: Improved Few-shot Text Classification Using Task-Adaptive Reference Transformation, ACL 2023

61Shell, PythonMay 25, 20233 years agoMIT

Similar Papers

Cite this paper

@article{lei2023tart,
  title  = {TART: Improved Few-shot Text Classification Using Task-Adaptive Reference Transformation},
  author = {Shuo Lei and Xuchao Zhang and Jianfeng He and Fanglan Chen and Chang-Tien Lu},
  year   = {2023},
  eprint = {2306.02175},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.02175v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.02175.svg)](https://codeofpaper.com/paper/2306.02175)

Discussion