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

AI控制:在存在蓄意破坏的情况下提升安全性

AI Control: Improving Safety Despite Intentional Subversion

Redwood Research(红木研究机构)

Ryan Greenblatt, Buck Shlegeris, Kshitij Sachan, Fabien Roger

AI总结:

本文研究在模型可能蓄意破坏安全机制时如何提升LLM安全性,提出并评估了受信任编辑和不可信监控等协议,有效防止不可信模型提交含后门的代码。

摘要:

随着大型语言模型(LLMs)变得越来越强大并被更加自主地部署,防止它们造成有害结果将变得越来越重要。研究人员为此研究了多种安全技术,例如使用模型来审查其他模型的输出,或使用红队技术来暴露细微的失败模式。然而,研究人员尚未评估如果模型本身蓄意试图破坏这些技术,它们是否仍能确保安全。在本文中,我们开发并评估了对蓄意破坏具有鲁棒性的安全技术流水线(“协议”)。我们研究了一个场景,在该场景中,我们希望解决一系列编程问题,使用一个强大但不可信的模型(在我们的例子中为GPT-4)、一个较弱的受信任模型(在我们的例子中为GPT-3.5)以及有限的高质量受信任劳动力。我们研究了旨在永不提交包含后门的解决方案的协议,我们在此将其操作化为测试用例无法捕获的逻辑错误。我们研究了一系列协议,并针对不可信模型可能用来破坏它们的策略对每个协议进行了测试。一种协议是我们所称的受信任编辑。该协议首先要求GPT-4编写代码,然后要求GPT-3.5对代码的可疑度进行评分。如果代码低于某个可疑度阈值,则提交。否则,GPT-3.5编辑解决方案以移除看似可疑的部分,然后提交编辑后的代码。另一种协议是不可信监控。该协议要求GPT-4编写代码,然后询问另一个GPT-4实例代码是否包含后门,并使用多种技术防止这些GPT-4实例串通。这些协议在简单的基线上有了大幅改进。

英文摘要:

As large language models (LLMs) become more powerful and are deployed more autonomously, it will be increasingly important to prevent them from causing harmful outcomes. Researchers have investigated a variety of safety techniques for this purpose, e.g. using models to review the outputs of other models, or red-teaming techniques to surface subtle failure modes. However, researchers have not evaluated whether such techniques still ensure safety if the model is itself intentionally trying to subvert them. In this paper, we develop and evaluate pipelines of safety techniques ("protocols") that are robust to intentional subversion. We investigate a scenario in which we want to solve a sequence of programming problems, using access to a powerful but untrusted model (in our case, GPT-4), access to a less powerful trusted model (in our case, GPT-3.5), and limited access to high-quality trusted labor. We investigate protocols that aim to never submit solutions containing backdoors, which we operationalize here as logical errors that are not caught by test cases. We investigate a range of protocols and test each against strategies that the untrusted model could use to subvert them. One protocol is what we call trusted editing. This protocol first asks GPT-4 to write code, and then asks GPT-3.5 to rate the suspiciousness of that code. If the code is below some suspiciousness threshold, it is submitted. Otherwise, GPT-3.5 edits the solution to remove parts that seem suspicious and then submits the edited code. Another protocol is untrusted monitoring. This protocol asks GPT-4 to write code, and then asks another instance of GPT-4 whether the code is backdoored, using various techniques to prevent the GPT-4 instances from colluding. These protocols improve substantially on simple baselines.

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

↑