Liberating Seen Classes: Boosting Few-Shot and Zero-Shot Text Classification via Anchor Generation and Classification Reframing

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Liu, Han, Zhao, Siyang, Zhang, Xiaotong, Zhang, Feng, Wang, Wei, Ma, Fenglong, Chen, Hongyang, Yu, Hong, Zhang, Xianchao
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866911868646326272
author Liu, Han
Zhao, Siyang
Zhang, Xiaotong
Zhang, Feng
Wang, Wei
Ma, Fenglong
Chen, Hongyang
Yu, Hong
Zhang, Xianchao
author_facet Liu, Han
Zhao, Siyang
Zhang, Xiaotong
Zhang, Feng
Wang, Wei
Ma, Fenglong
Chen, Hongyang
Yu, Hong
Zhang, Xianchao
contents Few-shot and zero-shot text classification aim to recognize samples from novel classes with limited labeled samples or no labeled samples at all. While prevailing methods have shown promising performance via transferring knowledge from seen classes to unseen classes, they are still limited by (1) Inherent dissimilarities among classes make the transformation of features learned from seen classes to unseen classes both difficult and inefficient. (2) Rare labeled novel samples usually cannot provide enough supervision signals to enable the model to adjust from the source distribution to the target distribution, especially for complicated scenarios. To alleviate the above issues, we propose a simple and effective strategy for few-shot and zero-shot text classification. We aim to liberate the model from the confines of seen classes, thereby enabling it to predict unseen categories without the necessity of training on seen classes. Specifically, for mining more related unseen category knowledge, we utilize a large pre-trained language model to generate pseudo novel samples, and select the most representative ones as category anchors. After that, we convert the multi-class classification task into a binary classification task and use the similarities of query-anchor pairs for prediction to fully leverage the limited supervision signals. Extensive experiments on six widely used public datasets show that our proposed method can outperform other strong baselines significantly in few-shot and zero-shot tasks, even without using any seen class samples.
format Preprint
id arxiv_https___arxiv_org_abs_2405_03565
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Liberating Seen Classes: Boosting Few-Shot and Zero-Shot Text Classification via Anchor Generation and Classification Reframing
Liu, Han
Zhao, Siyang
Zhang, Xiaotong
Zhang, Feng
Wang, Wei
Ma, Fenglong
Chen, Hongyang
Yu, Hong
Zhang, Xianchao
Computer Vision and Pattern Recognition
Few-shot and zero-shot text classification aim to recognize samples from novel classes with limited labeled samples or no labeled samples at all. While prevailing methods have shown promising performance via transferring knowledge from seen classes to unseen classes, they are still limited by (1) Inherent dissimilarities among classes make the transformation of features learned from seen classes to unseen classes both difficult and inefficient. (2) Rare labeled novel samples usually cannot provide enough supervision signals to enable the model to adjust from the source distribution to the target distribution, especially for complicated scenarios. To alleviate the above issues, we propose a simple and effective strategy for few-shot and zero-shot text classification. We aim to liberate the model from the confines of seen classes, thereby enabling it to predict unseen categories without the necessity of training on seen classes. Specifically, for mining more related unseen category knowledge, we utilize a large pre-trained language model to generate pseudo novel samples, and select the most representative ones as category anchors. After that, we convert the multi-class classification task into a binary classification task and use the similarities of query-anchor pairs for prediction to fully leverage the limited supervision signals. Extensive experiments on six widely used public datasets show that our proposed method can outperform other strong baselines significantly in few-shot and zero-shot tasks, even without using any seen class samples.
title Liberating Seen Classes: Boosting Few-Shot and Zero-Shot Text Classification via Anchor Generation and Classification Reframing
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2405.03565