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

遗忘:大型语言模型中的对抗性语义层特定激活引导

Amnesia: Adversarial Semantic Layer Specific Activation Steering in Large Language Models

Honda Research Institute Europe(本田欧洲研究院)

Ali Raza, Gurang Gupta, Nikolay Matyunin, Jibesh Patra

AI总结:

本文提出Amnesia攻击,通过操纵transformer内部状态绕过开放式大语言模型的安全机制,展示其能生成有害内容而无需微调。研究强调了对开放式大语言模型安全性的迫切需求。

摘要:

警告:本文包含红队实验,包含被篡改的LLM响应示例,可能具有冒犯性或令人不安的内容。大型语言模型(LLMs)有生成有害内容的潜力,如生成复杂的钓鱼邮件和协助编写有害计算机病毒的代码。因此,确保其安全和负责任的响应生成至关重要。为降低生成有害或不负责任内容的风险,研究者开发了诸如人类反馈强化学习等技术,以使LLM的输出与人类价值观和偏好一致。然而,尚不确定这些措施是否足以防止LLM生成有趣响应。在本研究中,我们提出Amnesia,一种轻量级的激活空间对抗性攻击,通过操纵内部transformer状态来绕过开放式LLM中的现有安全机制。通过对最先进的开放式LLM进行实验分析,我们证明该攻击能有效绕过现有防护措施,无需任何微调或额外训练即可生成有害内容。在基准数据集上的实验表明,所提出的攻击能诱导LLM产生各种反社会行为。这些发现突显了对开放式LLM安全性的紧迫需求,并强调了继续研究以防止其潜在滥用的重要性。

英文摘要:

Warning: This article includes red-teaming experiments, which contain examples of compromised LLM responses that may be offensive or upsetting. Large Language Models (LLMs) have the potential to create harmful content, such as generating sophisticated phishing emails and assisting in writing code of harmful computer viruses. Thus, it is crucial to ensure their safe and responsible response generation. To reduce the risk of generating harmful or irresponsible content, researchers have developed techniques such as reinforcement learning with human feedback to align LLM's outputs with human values and preferences. However, it is still undetermined whether such measures are sufficient to prevent LLMs from generating interesting responses. In this study, we propose Amnesia, a lightweight activation-space adversarial attack that manipulates internal transformer states to bypass existing safety mechanisms in open-weight LLMs. Through experimental analysis on state-of-the-art, open-weight LLMs, we demonstrate that our attack effectively circumvents existing safeguards, enabling the generation of harmful content without the need for any fine-tuning or additional training. Our experiments on benchmark datasets show that the proposed attack can induce various antisocial behaviors in LLMs. These findings highlight the urgent need for more robust security measures in open-weight LLMs and underscore the importance of continued research to prevent their potential misuse.

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

↑