安全微调能否更有原则性?从网络安全中汲取的经验教训
Can Safety Fine-Tuning Be More Principled? Lessons Learned from Cybersecurity
AI总结:
本文类比网络安全中的攻防军备竞赛,指出当前LLM安全微调缺乏原则性,易被越狱、奖励黑客等攻击绕过,并借鉴历史经验提出需从架构层面设计更安全模型。
摘要:
随着大型语言模型(LLMs)能力的不断增强,减少某些模型输出可能对社会造成的危害的需求日益增加;因此,大多数LLMs通过微调等方式添加了安全护栏。本文主张,当前的安全微调与网络安全中攻击者和防御者之间的传统猫鼠游戏(或军备竞赛)非常相似。模型越狱和攻击通过针对特定攻击机制的“创可贴”式修补来解决,但许多类似的攻击向量可能仍然存在。当防御者未能主动提出有原则性的机制时,攻击者很容易绕过任何新的防御措施。我们展示了当前防御措施不足以阻止新的对抗性越狱攻击、奖励黑客(reward hacking)和失控问题。为了从网络安全领域的过往错误中吸取教训,我们与历史案例进行类比,并总结出可应用于LLM安全性的经验教训。这些论点支持需要新的、更有原则的方法来设计安全模型,这些模型从一开始就为安全性而架构。我们描述了AI文献中的几种此类方法。
英文摘要:
As LLMs develop increasingly advanced capabilities, there is an increased need to minimize the harm that could be caused to society by certain model outputs; hence, most LLMs have safety guardrails added, for example via fine-tuning. In this paper, we argue the position that current safety fine-tuning is very similar to a traditional cat-and-mouse game (or arms race) between attackers and defenders in cybersecurity. Model jailbreaks and attacks are patched with bandaids to target the specific attack mechanism, but many similar attack vectors might remain. When defenders are not proactively coming up with principled mechanisms, it becomes very easy for attackers to sidestep any new defenses. We show how current defenses are insufficient to prevent new adversarial jailbreak attacks, reward hacking, and loss of control problems. In order to learn from past mistakes in cybersecurity, we draw analogies with historical examples and develop lessons learned that can be applied to LLM safety. These arguments support the need for new and more principled approaches to designing safe models, which are architected for security from the beginning. We describe several such approaches from the AI literature.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。