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

学习初始化:元学习能否提升提示调优中的跨任务泛化能力?

Learning to Initialize: Can Meta Learning Improve Cross-task Generalization in Prompt Tuning?

Nanyang Technological University(南洋理工大学);Northeastern University(东北大学);Salesforce AI(Salesforce人工智能)

Chengwei Qin, Qian Li, Ruochen Zhao, Shafiq Joty

AI总结:

研究元提示调优(MPT)通过从相关任务学习初始化提升提示调优跨任务泛化,实验证明其在分类任务上提升显著,在问答等任务上多数情况优于PT但不总优于多任务学习。

摘要:

提示调优(PT)仅调整每个任务额外添加的 token 序列的嵌入,同时保持预训练语言模型(PLM)冻结,在少样本学习中表现出色。尽管如此,PT 被证明严重依赖于提示嵌入的良好初始化。在本研究中,我们研究元提示调优(MPT),系统探讨元学习能否通过从其他相关任务中学习初始化提示嵌入,来提升 PT 的跨任务泛化能力。我们在大量少样本任务上,针对不同的源/目标任务配置,在多种适应设置下实证分析了一组代表性的元学习算法。通过大量实验与分析,我们证明了 MPT 的有效性。我们发现这种提升在分类任务上尤为显著。对于问答等其他类型的任务,我们观察到尽管 MPT 在多数情况下优于 PT,但并不总是优于多任务学习。我们进一步从任务相似性的角度提供了深入分析。

英文摘要:

Prompt tuning (PT) which only tunes the embeddings of an additional sequence of tokens per task, keeping the pre-trained language model (PLM) frozen, has shown remarkable performance in few-shot learning. Despite this, PT has been shown to rely heavily on good initialization of the prompt embeddings. In this work, we study meta prompt tuning (MPT) to systematically explore how meta-learning can help improve (if it can) cross-task generalization in PT through learning to initialize the prompt embeddings from other relevant tasks. We empirically analyze a representative set of meta learning algorithms in a wide range of adaptation settings with different source/target task configurations on a large set of few-shot tasks. With extensive experiments and analysis, we demonstrate the effectiveness of MPT. We find the improvement to be significant particularly on classification tasks. For other kinds of tasks such as question answering, we observe that while MPT can outperform PT in most cases, it does not always outperform multi-task learning. We further provide an in-depth analysis from the perspective of task similarity.

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

↑