arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.10558cs.CLcs.AIcs.LG
收藏

太大而难以愚弄:语言模型中的抗欺骗性

Too Big to Fool: Resisting Deception in Language Models

ServiceNow Research(ServiceNow研究院);Mila(米拉研究所);Université de Montréal(蒙特利尔大学);École de technologie supérieure(高等技术学院);Polytechnique Montréal(蒙特利尔理工学院)

Mohammad Reza Samsami, Mats Leon Richter, Juan Rodriguez, Megh Thakkar, Sarath Chandar, Maxime Gasse

AI总结:

本文研究大型语言模型对欺骗性提示的抵抗力,发现较大模型更能平衡内部知识与上下文信息,从而有效抵御误导并遵循合法指令。

摘要:

大型语言模型必须平衡其权重编码知识与提示中的上下文信息,以生成准确的响应。本文通过分析同一家族内不同能力规模的模型如何处理故意误导的上下文信息,来研究这种相互作用。我们的实验表明,较大规模的模型对欺骗性提示表现出更高的韧性,展示了将提示信息与其内部知识进行解释和整合的高级能力。此外,我们发现较大模型在遵循合法指令方面优于较小模型,这表明其韧性并非源于忽视上下文信息。我们还表明,这一现象可能并非记忆的结果,而是源于模型能够更好地利用提示中隐含的任务相关信息,并结合其内部存储的知识。

英文摘要:

Large language models must balance their weight-encoded knowledge with in-context information from prompts to generate accurate responses. This paper investigates this interplay by analyzing how models of varying capacities within the same family handle intentionally misleading in-context information. Our experiments demonstrate that larger models exhibit higher resilience to deceptive prompts, showcasing an advanced ability to interpret and integrate prompt information with their internal knowledge. Furthermore, we find that larger models outperform smaller ones in following legitimate instructions, indicating that their resilience is not due to disregarding in-context information. We also show that this phenomenon is likely not a result of memorization but stems from the models' ability to better leverage implicit task-relevant information from the prompt alongside their internally stored knowledge.

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

↑