arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.04313cs.LGcs.AIcs.CLcs.CVcs.CY
收藏

利用Circuit Breakers(断路器)提升对齐性与鲁棒性

Improving Alignment and Robustness with Circuit Breakers

Gray Swan AI(格雷天鹅AI);Carnegie Mellon University(卡内基梅隆大学);Center for AI Safety(AI安全中心)

Andy Zou, Long Phan, Justin Wang, Derek Duenas, Maxwell Lin, Maksym Andriushchenko, Rowan Wang, Zico Kolter, Matt Fredrikson, Dan Hendrycks

AI总结:

针对AI系统易产生有害行为、易遭对抗攻击的问题,提出基于表征工程的断路器方法,直接管控有害输出相关表征,可在不牺牲实用性的前提下提升文本、多模态模型及AI智能体的对齐性与鲁棒性。

摘要:

AI系统可能采取有害行为,且极易受到对抗攻击。受表征工程领域最新进展的启发,我们提出了一种借助“circuit breakers(断路器)”在模型生成有害输出时中断其响应的方法。现有的提升对齐性的技术(如拒绝训练)往往容易被绕过,而对抗训练等技术则试图通过抵御特定攻击来弥补这些漏洞。作为拒绝训练和对抗训练的替代方案,断路器方法从根源上直接管控导致有害输出的表征。我们的技术可应用于纯文本和多模态语言模型,在不牺牲实用性的前提下防止有害输出生成——即便在遭遇强大的未知攻击时依然有效。值得注意的是,尽管独立图像识别中的对抗鲁棒性仍是一项开放挑战,但断路器能让更大规模的多模态系统可靠抵御旨在生成有害内容的图像“劫持”攻击。最后,我们将该方法拓展至AI智能体场景,证明其可大幅降低智能体在遭受攻击时的有害行为发生率。我们的方法为开发针对有害行为和对抗攻击的可靠安全防护机制迈出了重要一步。

英文摘要:

AI systems can take harmful actions and are highly vulnerable to adversarial attacks. We present an approach, inspired by recent advances in representation engineering, that interrupts the models as they respond with harmful outputs with "circuit breakers." Existing techniques aimed at improving alignment, such as refusal training, are often bypassed. Techniques such as adversarial training try to plug these holes by countering specific attacks. As an alternative to refusal training and adversarial training, circuit-breaking directly controls the representations that are responsible for harmful outputs in the first place. Our technique can be applied to both text-only and multimodal language models to prevent the generation of harmful outputs without sacrificing utility -- even in the presence of powerful unseen attacks. Notably, while adversarial robustness in standalone image recognition remains an open challenge, circuit breakers allow the larger multimodal system to reliably withstand image "hijacks" that aim to produce harmful content. Finally, we extend our approach to AI agents, demonstrating considerable reductions in the rate of harmful actions when they are under attack. Our approach represents a significant step forward in the development of reliable safeguards to harmful behavior and adversarial attacks.

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

↑