arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.02969cs.CL
收藏

猜测指令!翻转学习使语言模型成为更强的零样本学习者

Guess the Instruction! Flipped Learning Makes Language Models Stronger Zero-Shot Learners

KAIST(韩国科学技术院);LG AI Research(LG人工智能研究院)

Seonghyeon Ye, Doyoung Kim, Joel Jang, Joongbo Shin, Minjoon Seo

AI总结:

本文提出 Flipped Learning,通过让语言模型依据输入和标签反推任务指令,显著提升其对未见新标签的零样本泛化能力。

摘要:

元训练通过在给定任务指令和输入实例的情况下最大化目标标签的似然,在各种下游任务上微调语言模型(LM),已经提升了零样本任务泛化性能。然而,经过元训练的语言模型仍然难以泛化到包含元训练期间未见的新颖标签的挑战性任务。在本文中,我们提出了 Flipped Learning(翻转学习),这是元训练的一种替代方法,它训练语言模型在给定输入实例和标签的情况下生成任务指令。在推理期间,使用 Flipped Learning 训练的语言模型(称为 Flipped)选择最有可能生成任务指令的标签选项。在 BIG-bench 基准的 14 项任务上,11B 规模的 Flipped 平均分别比零样本 T0-11B 甚至规模大 16 倍的 3-shot GPT-3(175B)高出 8.4 个百分点和 9.7 个百分点。Flipped 在具有未见标签的任务上带来了尤其显著的提升,平均 F1 分数最高超过 T0-11B 达 +20%。这表明 Flipped 强大的任务泛化能力来自对新颖标签泛化能力的改善。我们在 https://github.com/seonghyeonye/Flipped-Learning 发布了代码。

英文摘要:

Meta-training, which fine-tunes the language model (LM) on various downstream tasks by maximizing the likelihood of the target label given the task instruction and input instance, has improved the zero-shot task generalization performance. However, meta-trained LMs still struggle to generalize to challenging tasks containing novel labels unseen during meta-training. In this paper, we propose Flipped Learning, an alternative method of meta-training which trains the LM to generate the task instruction given the input instance and label. During inference, the LM trained with Flipped Learning, referred to as Flipped, selects the label option that is most likely to generate the task instruction. On 14 tasks of the BIG-bench benchmark, the 11B-sized Flipped outperforms zero-shot T0-11B and even a 16 times larger 3-shot GPT-3 (175B) on average by 8.4% and 9.7% points, respectively. Flipped gives particularly large improvements on tasks with unseen labels, outperforming T0-11B by up to +20% average F1 score. This indicates that the strong task generalization of Flipped comes from improved generalization to novel labels. We release our code at https://github.com/seonghyeonye/Flipped-Learning.

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

↑