解放已见类别:通过锚点生成与分类重构提升少样本与零样本文本分类
Liberating Seen Classes: Boosting Few-Shot and Zero-Shot Text Classification via Anchor Generation and Classification Reframing
AI总结:
本文提出一种少样本和零样本文本分类策略,通过预训练语言模型生成伪新类别样本并选取类别锚点,将多分类重构为二分类,从而摆脱对已见类别的依赖并显著提升分类性能。
摘要:
少样本和零样本文本分类旨在利用极少标注样本或完全没有标注样本的情况下识别新类别的样本。尽管主流方法通过将知识从已见类别迁移到未见类别取得了有前景的性能,但它们仍然受到以下限制:(1)类别之间固有的差异性使得将从已见类别学到的特征转换到未见类别既困难又低效;(2)稀有的标注新类别样本通常无法提供足够的监督信号,使模型难以从源分布调整到目标分布,尤其是在复杂场景下。为了缓解上述问题,我们提出了一种简单有效的少样本和零样本文本分类策略。我们旨在将模型从已见类别的限制中解放出来,从而使其无需在已见类别上训练即可预测未见类别。具体而言,为了挖掘更多相关的未见类别知识,我们利用一个大型预训练语言模型生成伪新类别样本,并选择最具代表性的样本作为类别锚点。之后,我们将多分类任务转换为二分类任务,并利用查询-锚点对的相似性进行预测,以充分利用有限的监督信号。在六个广泛使用的公开数据集上的大量实验表明,我们提出的方法在少样本和零样本任务中能够显著优于其他强基线方法,即使不使用任何已见类别样本。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。