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

SuperPos-Prompt:通过多令牌嵌入叠加增强语言模型的软提示微调

SuperPos-Prompt: Enhancing Soft Prompt Tuning of Language Models with Superposition of Multi Token Embeddings

Sharif University of Technology(谢里夫理工大学);Qatar Computing Research Institute(卡塔尔计算研究所);Helmholtz Center for Infection Research(亥姆霍兹感染研究中心)

MohammadAli SadraeiJavaeri, Ehsaneddin Asgari, Alice Carolyn McHardy, Hamid Reza Rabiee

AI总结:

本文提出 SuperPos-Prompt 技术,通过叠加多个预训练词汇嵌入改进软提示学习,在 GLUE/SuperGLUE 上优于残差提示微调并加速收敛,同时发现冻结网络中省略 dropout 可进一步提升性能。

摘要:

软提示微调技术近年来作为一种参数高效微调预训练语言模型的有效策略而受到关注,尤其能最大限度地减少模型参数的调整需求。尽管其应用日益广泛,但利用软提示实现最优微调,尤其是在较小数据集上,仍然是一项重大挑战。本研究在该领域做出了两点贡献:(i)我们提出了 SuperPos-Prompt,这是一种新的重参数化技术,利用多个预训练词汇嵌入的叠加来改进软提示的学习。我们在多个 GLUE 和 SuperGLUE 基准上的实验一致表明,SuperPos-Prompt 优于残差提示微调(Residual Prompt tuning),在 T5-Small 上平均得分提高 +6.4,在 T5-Base 上平均得分提高 +5.0,同时收敛速度更快。值得注意的是,SuperPos-Prompt 有时甚至优于完全微调方法。(ii)此外,我们证明了通过从冻结网络中省略 dropout 可以获得更好的性能和快速收敛,在各种场景和微调方法中均带来一致的改进。

英文摘要:

Soft prompt tuning techniques have recently gained traction as an effective strategy for the parameter-efficient tuning of pretrained language models, particularly minimizing the required adjustment of model parameters. Despite their growing use, achieving optimal tuning with soft prompts, especially for smaller datasets, remains a substantial challenge. This study makes two contributions in this domain: (i) we introduce SuperPos-Prompt, a new reparameterization technique employing the superposition of multiple pretrained vocabulary embeddings to improve the learning of soft prompts. Our experiments across several GLUE and SuperGLUE benchmarks consistently highlight SuperPos-Prompt's superiority over Residual Prompt tuning, exhibiting an average score increase of $+6.4$ in T5-Small and $+5.0$ in T5-Base along with a faster convergence. Remarkably, SuperPos-Prompt occasionally outperforms even full fine-tuning methods. (ii) Additionally, we demonstrate enhanced performance and rapid convergence by omitting dropouts from the frozen network, yielding consistent improvements across various scenarios and tuning methods.

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

↑