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

Hyperdecoders:用于多任务NLP的实例特定解码器

Hyperdecoders: Instance-specific decoders for multi-task NLP

Allen Institute for AI(艾伦人工智能研究所)

Hamish Ivison, Matthew E. Peters

摘要:

我们研究了NLP中多任务的输入条件超网络,使用编码器输出条件的超网络为解码器生成参数有效的自适应。这种方法为每个输入实例产生一个唯一的解码器自适应,使网络比以前的工作更大程度的灵活性,每个任务只产生一个解码器自适应。我们将我们的方法应用于序列分类任务,提取QA和总结,并发现它超越了以前的参数高效微调方法,并经常优于完全微调的基础模型。对我们的超网络所使用的嵌入的分析表明,它们对输出标签和类型敏感,这表明我们的方法可以更好地从编码器表示映射到输出标签。我们的代码可在https://github.com/allenai/hyperdecoders上公开获取。

英文摘要:

We investigate input-conditioned hypernetworks for multi-tasking in NLP, generating parameter-efficient adaptations for a decoder using a hypernetwork conditioned on the output of an encoder. This approach produces a unique decoder adaptation for every input instance, allowing the network a larger degree of flexibility than prior work that only produces one decoder adaptation per task. We apply our method to sequence classification tasks, extractive QA, and summarisation and find that it surpasses previous parameter efficient fine-tuning methods and often outperforms fully finetuning the underlying model. An analysis of the embeddings used by our hypernetwork shows that they are sensitive to output label and type, suggesting that our approach better maps from encoder representations to output labels. Our code is publicly available at https://github.com/allenai/hyperdecoders.

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

↑