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

利用语言风格作为隐藏攻击面越狱大语言模型(LLMs)

Jailbreak LLMs with Linguistic Style as a Hidden Attack Surface

KIIT Bhubaneswar(基特布巴内斯瓦尔大学);Lam Research(应用材料公司);Oracle(甲骨文公司)

Priyanshu Mohanty, Sarthakbrata Halder, Srikant Panda, Afshin Oroojlooy, Murari Mandal

AI总结:

该研究发现语言风格是LLM的隐藏攻击面,提出轻量级单轮攻击框架,经LLaMA-3.1-8B分析后开发风格感知DPO防御,可将ASR从86%降至19.5%。

摘要:

我们表明,语言风格是大语言模型(LLM)安全领域中一个系统性且此前被忽视的攻击面。在涵盖多种风格分类及多个最先进模型的实验中,对相同有害目标进行的风格改写会导致攻击成功率(ASR)产生数量级的差异,部分风格的攻击成功率可达80%,而另一些则低于6%。为利用这一漏洞,我们提出了一种轻量级单轮攻击框架,该框架结合了风格条件生成器与基于BERT的风格选择器,其性能可与成本高得多的多轮优化方法相媲美。为探究风格影响安全行为的原因,我们对LLaMA-3.1-8B进行了机制分析,发现风格改写会破坏拒绝表示,同时保留可恢复的有害意图,这表明存在分布式失效模式而非单一拒绝机制。基于这一发现,我们开发了一种感知风格的直接偏好优化(Direct Preference Optimization)防御方法,可将攻击成功率从86%降至19.5%,同时基本保留实用性。综上,我们的结果确立了语言风格是对抗鲁棒性的关键因素,并提供了机制洞察与实用防御方案。

英文摘要:

We show that linguistic style is a systematic and previously overlooked attack surface for LLM safety. Across a diverse taxonomy of styles and multiple state-of-the-art models, stylistic rewrites of identical harmful goals produce order-of-magnitude differences in Attack Success Rate (ASR), with some styles achieving up to 80\% ASR while others remain below 6\%. To exploit this vulnerability, we introduce a lightweight single-pass attack framework that combines a style-conditioned generator with a BERT-based style selector, achieving performance competitive with substantially more expensive multi-turn optimization methods. To understand why style affects safety behavior, we conduct mechanistic analysis on LLaMA-3.1-8B and find that stylistic rewrites disrupt refusal representations while preserving recoverable harmful intent, suggesting a distributed failure mode rather than a single refusal mechanism. Motivated by this finding, we develop a style-aware Direct Preference Optimization defense that reduces ASR from 86\% to 19.5\% while largely preserving utility. Together, our results establish linguistic style as a critical factor in adversarial robustness and provide both mechanistic insight and a practical defense.

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

↑