TamperBench:系统化压力测试微调和篡改下的LLM安全性
TamperBench: Systematically Stress-Testing LLM Safety Under Fine-Tuning and Tampering
AI总结:
提出统一框架TamperBench,通过系统化超参数扫描评估21个开源LLM在9种篡改威胁下的安全性和实用性,发现越狱微调是最严重攻击,当前对齐阶段防御基本失效。
摘要:
随着能力日益增强的开源大语言模型(LLMs)的部署,提高其抵抗意外或故意不安全修改的篡改能力对于最小化风险变得至关重要。然而,目前没有标准方法来评估篡改抵抗性。不同的数据集、指标和篡改配置使得难以比较不同模型和防御之间的安全性、实用性和鲁棒性。为解决这一问题,我们引入了TamperBench,这是第一个系统评估LLM篡改抵抗性的统一框架。TamperBench (i) 整理了最先进的权重空间微调攻击、潜在空间表示攻击和对齐阶段防御的仓库;(ii) 通过每个攻击-模型对的系统化超参数扫描实现现实的对抗性评估;(iii) 提供安全性和实用性评估。我们使用TamperBench评估了21个开源LLM,包括增强防御的变体,针对九种篡改威胁,使用标准化的安全性和能力指标,并对每个模型-攻击对进行超参数扫描。结果提供了包括后训练对篡改抵抗性的影响、越狱微调通常是最严重的攻击以及当前对齐阶段防御基本无法抵御攻击扫描等见解。代码可在 https://github.com/criticalml-uw/TamperBench 获取。
英文摘要:
As increasingly capable open-weight large language models (LLMs) are deployed, improving their tamper resistance against unsafe modifications, whether accidental or intentional, becomes critical to minimize risks. However, there is no standard approach to evaluate tamper resistance. Varied datasets, metrics, and tampering configurations make it difficult to compare safety, utility, and robustness across different models and defenses. To address this, we introduce TamperBench, the first unified framework to systematically evaluate the tamper resistance of LLMs. TamperBench (i) curates a repository of state-of-the-art weight-space fine-tuning attacks, latent-space representation attacks, and alignment-stage defenses; (ii) enables realistic adversarial evaluation through systematic hyperparameter sweeps per attack-model pair; and (iii) provides both safety and utility evaluations. We use TamperBench to evaluate 21 open-weight LLMs, including defense-augmented variants, across nine tampering threats using standardized safety and capability metrics with hyperparameter sweeps per model-attack pair. The results provide insights including effects of post-training on tamper resistance, that jailbreak-tuning is typically the most severe attack, and that current alignment-stage defenses largely fail to withstand attack sweeps. Code is available at https://github.com/criticalml-uw/TamperBench.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。