动态调整不信任大模型部署策略,有效降低隐蔽后门风险
Adaptive Deployment of Untrusted LLMs Reduces Distributed Threats
- 分层架构:用可信小模型监控不信任大模型,宏观策略随行为动态调整信任度
- 实测显示,在相同有用性水平下,后门数量减少80%比静态策略
- 适合关注模型安全部署的AI研发与安全团队,尤其对抗性测试场景
随着大语言模型能力增强,需评估其在故意规避安全措施时防护机制是否依然有效。已有研究提出控制评估框架,用于测试不信任模型(可能试图绕过安全限制)的部署策略。以往方法将任何一次失败视为不可接受,本文则在‘分布式威胁场景’中进行评估——单次行为不致命,也无明显越界证据。为此提出两级部署框架:宏观协议基于历史行为动态调整对不信任模型的信任度,选择更安全或更高风险的微观协议;微观协议在单任务中使用较弱但经过充分验证的可信模型来引导和监控不信任模型。我们在代码生成测试环境中评估该方法,红队尝试生成隐蔽后门代码,蓝队采用此策略防护。绘制了安全性(非后门解数量)与实用性(正确解数量)的帕累托前沿。在同等实用性下,本方法使后门数量较非自适应基线减少80%。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。