学习从任务描述中生成特定于任务的适配器
Learning to Generate Task-Specific Adapters from Task Description
摘要:
预先训练的文本到文本Transformers,如BART,在一系列NLP任务中取得了令人印象深刻的性能。最近的研究进一步表明,他们可以通过将任务描述作为源序列的一部分并使用(源,目标)示例训练模型来学习推广到新任务。在测试时,这些微调的模型可以使用新的任务描述作为输入的一部分来推断新的任务。然而,这种方法具有潜在的局限性,因为模型学习解决单个(源,目标)示例(即,在实例级),而不是通过将任务内的所有示例作为一个整体来学习解决任务(即,在任务层面)。为此,我们引入Hypter,一个框架,提高文本到文本的Transformer的泛化能力,看不见的任务,通过训练超网络生成特定于任务的,轻量级的适配器从任务描述。在ZEST数据集和合成SQuAD数据集上的实验表明,Hypter在微调基线时有所改进。值得注意的是,当使用BART-Large作为主要网络时,Hypter在ZEST数据集上带来了11.3%的相对改进。
英文摘要:
Pre-trained text-to-text transformers such as BART have achieved impressive performance across a range of NLP tasks. Recent study further shows that they can learn to generalize to novel tasks, by including task descriptions as part of the source sequence and training the model with (source, target) examples. At test time, these fine-tuned models can make inferences on new tasks using the new task descriptions as part of the input. However, this approach has potential limitations, as the model learns to solve individual (source, target) examples (i.e., at the instance level), instead of learning to solve tasks by taking all examples within a task as a whole (i.e., at the task level). To this end, we introduce Hypter, a framework that improves text-to-text transformer's generalization ability to unseen tasks by training a hypernetwork to generate task-specific, light-weight adapters from task descriptions. Experiments on ZEST dataset and a synthetic SQuAD dataset demonstrate that Hypter improves upon fine-tuning baselines. Notably, when using BART-Large as the main network, Hypter brings 11.3% comparative improvement on ZEST dataset.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。