arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.01376cs.LGcs.AIcs.CLcs.CR
收藏

Badllama 3:在数分钟内移除 Llama 3 的安全微调

Badllama 3: removing safety finetuning from Llama 3 in minutes

Palisade Research(帕利塞德研究院)

Dmitrii Volkov

AI总结:

本文证明攻击者可在单 GPU 上以极低算力快速移除 Llama 3 的安全微调,并评估了 QLoRA、ReFT 和 Ortho 三种微调方法的越狱效果。

摘要:

我们表明,当攻击者能够访问模型权重时,大规模 LLM 安全微调很容易被颠覆。我们评估了三种最先进的微调方法——QLoRA、ReFT 和 Ortho——并展示了算法进步如何在削减 FLOPs 和优化算力的情况下实现持续的越狱性能。我们在单个 GPU 上用一分钟剥离 Llama 3 8B 的安全微调,用 30 分钟剥离 Llama 3 70B 的安全微调,并概述了进一步缩短这一时间的方法。

英文摘要:

We show that extensive LLM safety fine-tuning is easily subverted when an attacker has access to model weights. We evaluate three state-of-the-art fine-tuning methods-QLoRA, ReFT, and Ortho-and show how algorithmic advances enable constant jailbreaking performance with cuts in FLOPs and optimisation power. We strip safety fine-tuning from Llama 3 8B in one minute and Llama 3 70B in 30 minutes on a single GPU, and sketch ways to reduce this further.

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

↑