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

Bergeron:通过基于良知的对齐框架对抗对抗性攻击

Bergeron: Combating Adversarial Attacks through a Conscience-Based Alignment Framework

Rensselaer Polytechnic Institute(伦斯勒理工学院);Northeastern University(东北大学)

Matthew Pisano, Peter Ly, Abraham Sanders, Bingsheng Yao, Dakuo Wang, Tomek Strzalkowski, Mei Si

AI总结:

针对大语言模型易被对抗攻击生成有害内容的问题,提出无需微调的双层Bergeron对齐框架,用次级LLM守护主模型,可使模型平均抗攻击能力提升近7倍。

摘要:

随着近期能力日益强大的大语言模型(Large Language Models, LLMs)的出现,AI对齐研究已大幅增长。遗憾的是,当模型遭到蓄意攻击时,现代对齐方法仍无法完全阻止有害响应。这类漏洞可能导致LLM被操纵生成危险内容:从制造危险材料的操作说明到煽动暴力或支持不道德行为。为帮助缓解这一问题,我们提出Bergeron:一个无需额外参数微调即可提升LLM抗攻击鲁棒性的框架。Bergeron分为两层;由一个次级LLM充当主LLM的守护者。该框架既能更好地保护主模型抵御传入攻击,又能监测其输出中的任何有害内容。实证分析表明,通过使用Bergeron补充已完成现有对齐训练的模型,我们能显著提升多种常用商业及开源LLM的鲁棒性与安全性。具体而言,我们发现集成了Bergeron的模型与无此类支持的模型相比,平均抗攻击能力提升近7倍。

英文摘要:

Research into AI alignment has grown considerably since the recent introduction of increasingly capable Large Language Models (LLMs). Unfortunately, modern methods of alignment still fail to fully prevent harmful responses when models are deliberately attacked. Such vulnerabilities can lead to LLMs being manipulated into generating hazardous content: from instructions for creating dangerous materials to inciting violence or endorsing unethical behaviors. To help mitigate this issue, we introduce Bergeron: a framework designed to improve the robustness of LLMs against attacks without any additional parameter fine-tuning. Bergeron is organized into two tiers; with a secondary LLM acting as a guardian to the primary LLM. This framework better safeguards the primary model against incoming attacks while monitoring its output for any harmful content. Empirical analysis reviews that by using Bergeron to complement models with existing alignment training, we can significantly improve the robustness and safety of multiple, commonly used commercial and open-source LLMs. Specifically, we found that models integrated with Bergeron are, on average, nearly seven times more resistant to attacks compared to models without such support.

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

↑