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

IDPG:一种基于实例的提示生成方法

IDPG: An Instance-Dependent Prompt Generation Method

University of Michigan(密歇根大学);Meta AI;Tsinghua University(清华大学)

Zhuofeng Wu, Sinong Wang, Jiatao Gu, Rui Hou, Yuxiao Dong, V. G. Vinod Vydiswaran, Hao Ma

摘要:

提示微调是一种新的、高效的NLP迁移学习范例,它在模型训练阶段的每个输入实例中添加了一个特定于任务的提示。它冻结了预训练的语言模型,只优化了一些特定于任务的提示。在本文中,我们提出了一个条件提示生成方法,为每个输入实例生成提示,称为实例相关提示生成(IDPG)。与使用固定提示符的传统提示微调方法不同,IDPG引入了一个轻量级的可训练组件来基于每个输入句子生成提示符。对十个自然语言理解(NLU)任务的广泛实验表明,所提出的策略始终优于各种提示微调基线,并与其他有效的迁移学习方法(如Compacter)相当,同时调整更少的模型参数。

英文摘要:

Prompt tuning is a new, efficient NLP transfer learning paradigm that adds a task-specific prompt in each input instance during the model training stage. It freezes the pre-trained language model and only optimizes a few task-specific prompts. In this paper, we propose a conditional prompt generation method to generate prompts for each input instance, referred to as the Instance-Dependent Prompt Generation (IDPG). Unlike traditional prompt tuning methods that use a fixed prompt, IDPG introduces a lightweight and trainable component to generate prompts based on each input sentence. Extensive experiments on ten natural language understanding (NLU) tasks show that the proposed strategy consistently outperforms various prompt tuning baselines and is on par with other efficient transfer learning methods such as Compacter while tuning far fewer model parameters.

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

↑