arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.19320cs.CLcs.AIcs.CRcs.LGstat.ML
收藏

Shh, don't say that! LLMs中的域认证

Shh, don't say that! Domain Certification in LLMs

University of Oxford(牛津大学);Vienna University of Technology(维也纳技术大学);King Abdullah University of Science and Technology (KAUST)(阿卜杜拉国王科技大学)

Cornelius Emde, Alasdair Paren, Preetham Arvind, Maxime Kayser, Tom Rainforth, Thomas Lukasiewicz, Bernard Ghanem, Philip H. S. Torr, Adel Bibi

AI总结:

本文针对LLMs在受限域任务中易受对抗攻击生成域外输出的问题,提出了域认证概念及有效方法VALID,通过提供对抗性边界来紧密界定域外样本概率,且对拒绝行为惩罚最小。

摘要:

大型语言模型(LLMs)常被部署以执行具有狭窄域的受限任务。例如,客服机器人可基于LLMs构建,依赖其广泛的语言理解与能力来提升性能。然而,这些LLMs易受对抗性攻击,可能生成预期域之外的输出。为形式化、评估并减轻此风险,我们引入了域认证;这是一种准确表征语言模型域外行为的保证。随后,我们提出了一种简单而有效的方法,称为VALID,它提供对抗性边界作为认证。最后,我们在多样化的数据集上评估了该方法,证明其能产生有意义的认证,将域外样本的概率紧密界定,且对拒绝行为的惩罚最小。

英文摘要:

Large language models (LLMs) are often deployed to perform constrained tasks, with narrow domains. For example, customer support bots can be built on top of LLMs, relying on their broad language understanding and capabilities to enhance performance. However, these LLMs are adversarially susceptible, potentially generating outputs outside the intended domain. To formalize, assess, and mitigate this risk, we introduce domain certification; a guarantee that accurately characterizes the out-of-domain behavior of language models. We then propose a simple yet effective approach, which we call VALID that provides adversarial bounds as a certificate. Finally, we evaluate our method across a diverse set of datasets, demonstrating that it yields meaningful certificates, which bound the probability of out-of-domain samples tightly with minimum penalty to refusal behavior.

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

↑