arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.27642cs.CLcs.LG
收藏

学习从软提示到硬提示的翻译

Learning to Translate from Soft to Hard LLM Prompts

Worcester Polytechnic Institute(沃斯特理工学院)

Pitipat Kongsomjit, Suryansh Goyal, Jacob Whitehill

AI总结:

本文通过训练一个专用的软提示到自然语言翻译模型,提高了翻译质量,并展示了软提示可以转化为可移植的文本提示,在大型闭源模型上超越原软提示甚至少样本学习。

摘要:

软提示调优是一种参数高效的方法,用于使大型语言模型适应特定任务,但缺乏可解释性。基于最近关于解释软提示的工作(Ramati et al., 2024),我们探索了如何训练一个专用的软提示到自然语言翻译模型,以获得更高的翻译质量。特别是在多个数据集(DoDs)的定量和定性比较中,我们证明了我们的翻译器能够生成流畅、准确的表述,优于现有的无训练方法如InSPEcT。除了提高可解释性外,我们的工作还暗示了一个有前景的下游应用:在小规模开源模型上优化的软提示可以转化为可移植的文本提示,当部署在更大的闭源API模型上时,其性能超过了原始软提示,在某些情况下甚至超过了少样本学习。

英文摘要:

Soft prompting, also known as continuous prompting, is a parameter-efficient method for tuning LLMs to specific tasks. Like other machine learning techniques, its parameters encode some hidden procedure: is it possible to train a model to decode this procedure---to "translate" raw parameters into natural language? In this work, we present a promising proof-of-concept: a translator model capable of verbalizing soft prompt's learned embeddings into fluent natural language descriptions. We show that these verbalizations when used as standalone prompts for inference surpasses baselines, suggesting that they are not just plausible-sounding descriptions, but genuinely relevant to the task. On average, verbalizations retain a modest but significant 32\% of the original soft prompt's performance. We speculate on future directions for how this could be used for interpretability or inference or perhaps even extended to other ML techniques.

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

↑