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

提示扰动及其对攻击成功率影响的方法论分析

A methodological analysis of prompt perturbations and their effect on attack success rates

Tiago Machado, Maysa Malfiza Garcia de Macedo, Rogerio Abreu de Paula, Marcelo Carpinette Grave, Aminat Adebiyi, Luan Soares de Souza, Enrico Santarelli, Claudio Pinhanez

AI总结:

本文针对采用SFT、DPO、RLHF三类对齐方法的开源大语言模型,通过统计方法分析提示扰动对攻击成功率的影响,发现微小提示改动即可显著改变ASR,指出现有攻击基准不足以覆盖全部漏洞,为模型攻击评估提供支撑。

摘要:

本研究旨在探究不同大语言模型(LLMs)对齐方法会如何影响模型对提示攻击的响应。我们选取了基于三类最常见对齐方法的开源模型,分别是监督微调(SFT)、直接偏好优化(DPO)以及基于人类反馈的强化学习(RLHF)。我们采用统计方法开展系统性分析,以验证当我们对用于诱导LLMs生成不当内容的提示施加变体时,攻击成功率(ASR)的敏感程度。实验结果显示,根据我们开展的统计检验,即便微小的提示修改也能显著改变攻击成功率(ASR),使得模型对不同类型攻击的易感程度出现升降。关键的是,我们的结果表明,仅运行现有“攻击基准”可能不足以充分发掘模型与对齐方法存在的所有潜在漏洞。因此,本文通过对不同对齐方法及其ASR对提示变体的敏感度开展系统性、基于统计的分析,为当前正在推进的模型攻击评估工作提供了支撑。

英文摘要:

This work aims to investigate how different Large Language Models (LLMs) alignment methods affect the models' responses to prompt attacks. We selected open source models based on the most common alignment methods, namely, Supervised Fine-Tuning (SFT), Direct Preference Optimization (DPO), and Reinforcement Learning with Human Feedback (RLHF). We conducted a systematic analysis using statistical methods to verify how sensitive the Attack Success Rate (ASR) is when we apply variations to prompts designed to elicit inappropriate content from LLMs. Our results show that even small prompt modifications can significantly change the Attack Success Rate (ASR) according to the statistical tests we run, making the models more or less susceptible to types of attack. Critically, our results demonstrate that running existing 'attack benchmarks' alone may not be sufficient to elicit all possible vulnerabilities of both models and alignment methods. This paper thus contributes to ongoing efforts on model attack evaluation by means of systematic and statistically-based analyses of the different alignment methods and how sensitive their ASR is to prompt variation.

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

↑