arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2201.11576cs.CLcs.AI
收藏

Grad2Task:一种改进的基于任务表示的Few-Shot文本分类算法

Grad2Task: Improved Few-shot Text Classification Using Gradients for Task Representation

University of Toronto(多伦多大学);Vector Institute(向量研究所);University Health Network(大学健康网络);Unity Health Toronto(统一健康多伦多)

Jixuan Wang, Kuan-Chieh Wang, Frank Rudzicz, Michael Brudno

摘要:

像BERT这样的大型预训练语言模型(LM)在许多不同的自然语言处理(NLP)任务中提高了性能。然而,微调这样的模型需要针对每个目标任务的大量训练样本。同时,许多现实的NLP问题是“Few Shot”,没有足够大的训练集。在这项工作中,我们提出了一种新的基于条件神经过程的方法,用于Few-Shot文本分类,该方法学习从具有丰富注释的其他不同任务中转移。我们的主要思想是代表每个任务使用梯度信息从一个基本模型和训练适应网络,调制的文本分类器的任务表示的条件。虽然以前的任务感知Few-Shot学习器通过输入编码表示任务,但我们的新任务表示更强大,因为梯度捕获了任务的输入输出关系。实验结果表明,我们的方法优于传统的微调,顺序迁移学习,和国家的最先进的Meta学习方法上的各种Few-Shot任务的集合。我们进一步进行了分析和消融,以证明我们的设计选择。

英文摘要:

Large pretrained language models (LMs) like BERT have improved performance in many disparate natural language processing (NLP) tasks. However, fine tuning such models requires a large number of training examples for each target task. Simultaneously, many realistic NLP problems are "few shot", without a sufficiently large training set. In this work, we propose a novel conditional neural process-based approach for few-shot text classification that learns to transfer from other diverse tasks with rich annotation. Our key idea is to represent each task using gradient information from a base model and to train an adaptation network that modulates a text classifier conditioned on the task representation. While previous task-aware few-shot learners represent tasks by input encoding, our novel task representation is more powerful, as the gradient captures input-output relationships of a task. Experimental results show that our approach outperforms traditional fine-tuning, sequential transfer learning, and state-of-the-art meta learning approaches on a collection of diverse few-shot tasks. We further conducted analysis and ablations to justify our design choices.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑