InfoPrompt:面向自然语言理解的信息论软提示调优
InfoPrompt: Information-Theoretic Soft Prompt Tuning for Natural Language Understanding
AI总结:
本文提出信息论软提示调优框架 InfoPrompt,通过两个互信息损失改善提示初始化与任务信息编码,显著提升少样本自然语言理解的收敛速度、性能和鲁棒性。
摘要:
软提示调优在广泛的少样本任务中取得了优异性能。然而,提示调优的性能可能对提示的初始化高度敏感。我们还通过实验观察到,传统提示调优方法无法从提示 token 中编码并学习足够的任务相关信息。在本研究中,我们提出了一个信息论框架,将软提示调优表述为最大化提示与其他模型参数(或编码表示)之间的互信息。这一新视角帮助我们开发了一种更高效、准确且鲁棒的软提示调优方法 InfoPrompt。基于该框架,我们设计了两个新颖的基于互信息的损失函数,以:(i)为下游任务找到合适的提示初始化,并从提示 token 中学习足够的任务相关信息;(ii)促使预训练语言模型的输出表示更加关注所学提示中捕获的任务相关信息。大量实验验证,InfoPrompt 能够显著加快提示调优的收敛,并优于传统提示调优方法。最后,我们给出了一个正式的理论结果,用以表明梯度下降类算法可用于训练我们的互信息损失。
英文摘要:
Soft prompt tuning achieves superior performances across a wide range of few-shot tasks. However, the performances of prompt tuning can be highly sensitive to the initialization of the prompts. We also empirically observe that conventional prompt tuning methods cannot encode and learn sufficient task-relevant information from prompt tokens. In this work, we develop an information-theoretic framework that formulates soft prompt tuning as maximizing mutual information between prompts and other model parameters (or encoded representations). This novel view helps us to develop a more efficient, accurate and robust soft prompt tuning method InfoPrompt. With this framework, we develop two novel mutual information based loss functions, to (i) discover proper prompt initialization for the downstream tasks and learn sufficient task-relevant information from prompt tokens and (ii) encourage the output representation from the pretrained language model to be more aware of the task-relevant information captured in the learnt prompt. Extensive experiments validate that InfoPrompt can significantly accelerate the convergence of the prompt tuning and outperform traditional prompt tuning methods. Finally, we provide a formal theoretical result for showing to show that gradient descent type algorithm can be used to train our mutual information loss.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。