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

Prompt Tuning 中技能神经元与鲁棒性的关系

On the Relationship between Skill Neurons and Robustness in Prompt Tuning

University of Osnabrueck(奥斯纳布吕克大学)

Leon Ackermann, Xenia Ohmer

AI总结:

本文研究了 Prompt Tuning 中技能神经元与模型鲁棒性的关系,发现 T5 的技能神经元在对抗数据上表现更稳定,鲁棒性优于 RoBERTa。

摘要:

Prompt Tuning 是一种用于预训练大型语言模型(PLMs)的流行参数高效微调方法。基于 RoBERTa 的实验表明,Prompt Tuning 会激活 transformer 前馈网络中的特定神经元,这些神经元对给定任务具有高度的预测性和选择性。在本文中,我们使用 RoBERTa 和 T5 研究了 Prompt Tuning 与这些“技能神经元”相关的鲁棒性。我们表明,针对特定任务调整的 prompt 可以迁移到同类型的任务中,但对对抗性数据的鲁棒性不强。虽然为 RoBERTa 调整的 prompt 在对抗性数据上的表现低于随机水平,但为 T5 调整的 prompt 略具鲁棒性,在三种情况中有两种保持了高于随机水平的表现。同时,我们重现了技能神经元存在于 RoBERTa 中的发现,并进一步表明技能神经元也存在于 T5 中。有趣的是,在非对抗性数据上确定的 T5 技能神经元也是对抗性数据上最具预测性的神经元之一,而 RoBERTa 则不然。我们得出结论,较高的对抗鲁棒性可能与模型在对抗性数据上持续激活相关技能神经元的能力有关。

英文摘要:

Prompt Tuning is a popular parameter-efficient finetuning method for pre-trained large language models (PLMs). Based on experiments with RoBERTa, it has been suggested that Prompt Tuning activates specific neurons in the transformer's feed-forward networks, that are highly predictive and selective for the given task. In this paper, we study the robustness of Prompt Tuning in relation to these "skill neurons", using RoBERTa and T5. We show that prompts tuned for a specific task are transferable to tasks of the same type but are not very robust to adversarial data. While prompts tuned for RoBERTa yield below-chance performance on adversarial data, prompts tuned for T5 are slightly more robust and retain above-chance performance in two out of three cases. At the same time, we replicate the finding that skill neurons exist in RoBERTa and further show that skill neurons also exist in T5. Interestingly, the skill neurons of T5 determined on non-adversarial data are also among the most predictive neurons on the adversarial data, which is not the case for RoBERTa. We conclude that higher adversarial robustness may be related to a model's ability to consistently activate the relevant skill neurons on adversarial data.

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

↑