arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1911.03863cs.CLcs.LG
收藏

跨多种自然语言分类任务的Few-Shot学习

Learning to Few-Shot Learn Across Diverse Natural Language Classification Tasks

University of Massachusetts, Amherst(马萨诸塞大学阿默斯特分校);Code for Science and Society(科学与社会代码)

Trapit Bansal, Rishikesh Jha, Andrew McCallum

摘要:

Transformer模型的自我监督预训练在提高许多下游任务的性能方面取得了巨大的成功。然而,对新任务进行微调仍然需要大量特定于任务的标记数据来实现良好的性能。我们认为这个问题的学习推广到新的任务很少的例子作为一个元学习问题。虽然元学习近年来取得了巨大的进展,但其应用仍然局限于模拟问题或任务多样性有限的问题。我们开发了一种新的方法,LEOPARD,它可以在具有不同类别数量的任务之间进行基于优化的元学习,并评估不同的方法对不同的NLP分类任务的推广。LEOPARD使用最先进的Transformer架构进行训练,并且对训练期间根本看不到的任务表现出更好的泛化能力,每个标签只有4个示例。在17个NLP任务中,包括实体分类,自然语言推理,情感分析和其他几个文本分类任务的不同领域,我们表明LEOPARD学习少样本学习的初始参数比自我监督预训练或多任务训练更好,优于许多强基线,例如,在每个标签只有4个示例的情况下,在看不见的任务上产生14.5%的平均相对准确度增益。

英文摘要:

Self-supervised pre-training of transformer models has shown enormous success in improving performance on a number of downstream tasks. However, fine-tuning on a new task still requires large amounts of task-specific labelled data to achieve good performance. We consider this problem of learning to generalize to new tasks with few examples as a meta-learning problem. While meta-learning has shown tremendous progress in recent years, its application is still limited to simulated problems or problems with limited diversity across tasks. We develop a novel method, LEOPARD, which enables optimization-based meta-learning across tasks with different number of classes, and evaluate different methods on generalization to diverse NLP classification tasks. LEOPARD is trained with the state-of-the-art transformer architecture and shows better generalization to tasks not seen at all during training, with as few as 4 examples per label. Across 17 NLP tasks, including diverse domains of entity typing, natural language inference, sentiment analysis, and several other text classification tasks, we show that LEOPARD learns better initial parameters for few-shot learning than self-supervised pre-training or multi-task training, outperforming many strong baselines, for example, yielding 14.5% average relative gain in accuracy on unseen tasks with only 4 examples per label.

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

↑