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

混淆激活绕过LLM潜在空间防御

Obfuscated Activations Bypass LLM Latent-Space Defenses

Stanford University(斯坦福大学);Polytechnic University of Catalonia(加泰罗尼亚理工大学);Georgia Institute of Technology(佐治亚理工学院);Skoltech(斯科尔泰克科技大学);University of Queensland(昆士兰大学);UC Berkeley(加州大学伯克利分校);Alignment Research Center(对齐研究中心);MIT CSAIL(麻省理工学院计算机科学与人工智能实验室);Chan Zuckerberg Biohub(陈·扎克翰生物中心)

Luke Bailey, Alex Serrano, Abhay Sheshadri, Mikhail Seleznyov, Jordan Taylor, Erik Jenner, Jacob Hilton, Stephen Casper, Carlos Guestrin, Scott Emmons

AI总结:

该研究探讨模型能否通过混淆激活绕过LLM潜在空间防御,发现最先进的潜在空间防御易受此类攻击,且神经激活可塑性对潜在空间防御构成根本性挑战。

摘要:

近期的潜在空间监控技术在防御LLM攻击方面展现出潜力,这些防御作为扫描器,试图在有害激活导致不良行为前检测到它们。这引发了一个问题:模型能否通过不显眼的潜在状态执行有害行为?在此,我们研究这类混淆激活。我们发现,包括稀疏自动编码器、表示探测和潜在分布外检测在内的最先进潜在空间防御都易受混淆激活的攻击。例如,针对经训练以分类有害性的探测器,我们的攻击常能将召回率从100%降至0%,同时保持90%的越狱率。然而,混淆存在局限性:我们发现,在复杂任务(编写SQL代码)中,混淆会降低模型性能。综上,我们的结果表明神经激活具有高度可塑性:我们能以多种方式重塑激活模式,且通常能保留网络的行为。这对潜在空间防御构成了根本性挑战。

英文摘要:

Recent latent-space monitoring techniques have shown promise as defenses against LLM attacks. These defenses act as scanners that seek to detect harmful activations before they lead to undesirable actions. This prompts the question: Can models execute harmful behavior via inconspicuous latent states? Here, we study such obfuscated activations. We show that state-of-the-art latent-space defenses -- including sparse autoencoders, representation probing, and latent OOD detection -- are all vulnerable to obfuscated activations. For example, against probes trained to classify harmfulness, our attacks can often reduce recall from 100% to 0% while retaining a 90% jailbreaking rate. However, obfuscation has limits: we find that on a complex task (writing SQL code), obfuscation reduces model performance. Together, our results demonstrate that neural activations are highly malleable: we can reshape activation patterns in a variety of ways, often while preserving a network's behavior. This poses a fundamental challenge to latent-space defenses.

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

↑