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

不可信LLM的自适应部署减少分布式威胁

Adaptive Deployment of Untrusted LLMs Reduces Distributed Threats

Tsinghua University(清华大学);Redwood Research(雷德伍德研究院);Anthropic(Anthropic公司);MATS(MATS研究院);George Washington University(乔治华盛顿大学);New York University(纽约大学);UCL(伦敦大学学院)

Jiaxin Wen, Vivek Hebbar, Caleb Larson, Aryan Bhatt, Ansh Radhakrishnan, Mrinank Sharma, Henry Sleight, Shi Feng, He He, Ethan Perez, Buck Shlegeris, Akbir Khan

AI总结:

针对分布式威胁场景下不可信LLM的安全部署问题,提出两级自适应部署框架,通过宏协议选择微协议(用可信模型监控不可信模型),在代码生成测试中使后门数量较基线减少80%,提升安全与有用性平衡能力。

摘要:

随着大型语言模型(LLMs)能力日益增强,审慎评估即使LLM故意尝试绕过安全措施时,安全措施是否仍有效十分必要。先前研究引入控制评估——一种用于测试不可信模型(即可能试图绕过安全措施的模型)部署策略的对抗性框架。尽管先前研究将单次失败视为不可接受,但我们在“分布式威胁场景”中执行控制评估:该场景下无单一行动具有灾难性,也无单一行动能提供压倒性的错位证据。我们通过两级部署框架解决此问题,该框架使用自适应宏协议在微协议间选择。微协议针对单个任务运行,利用能力较弱但经过广泛测试的(可信)模型来驾驭和监控不可信模型;同时,宏协议基于不可信模型的过往行动维持对其对齐度的自适应可信度,以此在更安全和风险更高的微协议间进行选择。我们在代码生成测试平台中评估该方法:红队试图使用LLM生成带有微妙后门的代码,而该LLM的部署由蓝队保障。我们绘制了安全性(无后门解决方案数量)和有用性(正确解决方案数量)的帕累托前沿。在给定有用性水平下,与非自适应基线相比,我们的自适应部署策略将后门数量减少了80%。

英文摘要:

As large language models (LLMs) become increasingly capable, it is prudent to assess whether safety measures remain effective even if LLMs intentionally try to bypass them. Previous work introduced control evaluations, an adversarial framework for testing deployment strategies of untrusted models (i.e., models which might be trying to bypass safety measures). While prior work treats a single failure as unacceptable, we perform control evaluations in a "distributed threat setting" -- a setting where no single action is catastrophic and no single action provides overwhelming evidence of misalignment. We approach this problem with a two-level deployment framework that uses an adaptive macro-protocol to choose between micro-protocols. Micro-protocols operate on a single task, using a less capable, but extensively tested (trusted) model to harness and monitor the untrusted model. Meanwhile, the macro-protocol maintains an adaptive credence on the untrusted model's alignment based on its past actions, using it to pick between safer and riskier micro-protocols. We evaluate our method in a code generation testbed where a red team attempts to generate subtly backdoored code with an LLM whose deployment is safeguarded by a blue team. We plot Pareto frontiers of safety (# of non-backdoored solutions) and usefulness (# of correct solutions). At a given level of usefulness, our adaptive deployment strategy reduces the number of backdoors by 80% compared to non-adaptive baselines.

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

↑