arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2406.09289cs.CLcs.AIcs.LG
收藏

理解越狱成功:大语言模型潜空间动力学研究

Understanding Jailbreak Success: A Study of Latent Space Dynamics in Large Language Models

Ludwig-Maximilians-University Munich(慕尼黑大学);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心);University of Maryland(马里兰大学);Anthropic(Anthropic公司)

Sarah Ball, Frauke Kreuter, Nina Panickssery

AI总结:

该研究通过分析大语言模型在不同越狱输入下的激活情况,发现不同有效越狱可能共享相似内部机制,可提取跨类别生效的越狱向量,且有效越狱会抑制模型对提示有害性的感知,为开发更 robust 的越狱对策提供依据。

摘要:

对话式大语言模型经过训练,会拒绝回答有害问题。然而,新兴的越狱技术仍能诱导出不安全输出,对模型对齐构成持续挑战。为更好地理解不同类型的越狱如何绕过安全防护,本文分析了模型在不同越狱输入下的激活情况。我们发现,可以从单一种类的越狱中提取出一个越狱向量,该向量能够削弱其他语义不相关类别的越狱效果。这可能表明,不同类型的有效越狱通过相似的内部机制发挥作用。我们研究了一种潜在的共同机制——有害性特征抑制,并发现证据表明有效越狱会显著降低模型对提示有害性的感知。这些发现为开发更 robust 的越狱对策提供了可行见解,并为更深入、从机制层面理解语言模型中的越狱动力学奠定了基础。

英文摘要:

Conversational large language models are trained to refuse to answer harmful questions. However, emergent jailbreaking techniques can still elicit unsafe outputs, presenting an ongoing challenge for model alignment. To better understand how different jailbreak types circumvent safeguards, this paper analyses model activations on different jailbreak inputs. We find that it is possible to extract a jailbreak vector from a single class of jailbreaks that works to mitigate jailbreak effectiveness from other semantically-dissimilar classes. This may indicate that different kinds of effective jailbreaks operate via a similar internal mechanism. We investigate a potential common mechanism of harmfulness feature suppression, and find evidence that effective jailbreaks noticeably reduce a model's perception of prompt harmfulness. These findings offer actionable insights for developing more robust jailbreak countermeasures and lay the groundwork for a deeper, mechanistic understanding of jailbreak dynamics in language models.

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

↑