arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.10871cs.CLcs.AI
收藏

将拒绝向量消融应用于 Llama 3.1 70B 智能体

Applying Refusal-Vector Ablation to Llama 3.1 70B Agents

Apart Research(阿帕特研究所);UCLA(加利福尼亚大学洛杉矶分校)

Simon Lermen, Mateusz Dziemian, Govind Pimpale

AI总结:

本研究将拒绝向量消融应用于 Llama 3.1 70B 并构建简单智能体脚手架,发现现有安全微调无法泛化至智能体行为,凸显了语言模型智能体安全框架改进的紧迫性。

摘要:

近期,Llama 3.1 Instruct 等语言模型在智能体行为方面的能力日益增强,使其能够执行需要短期规划和工具使用的任务。在本研究中,我们将 refusal-vector ablation(拒绝向量消融)应用于 Llama 3.1 70B,并实现了一个简单的智能体脚手架,以创建一个不受限制的智能体。我们的研究结果表明,这些经过拒绝向量消融的模型能够成功完成有害任务,例如贿赂官员或精心制作网络钓鱼攻击,揭示了当前安全机制中存在的重大漏洞。为了进一步探索这一点,我们引入了一个小型的 Safe Agent Benchmark,旨在测试智能体场景中的有害和良性任务。我们的结果意味着,聊天模型中的安全微调并不能很好地泛化到智能体行为上,因为我们发现 Llama 3.1 Instruct 模型在未经修改的情况下愿意执行大多数有害任务。同时,当被要求进行聊天补全时,这些模型会拒绝提供如何执行相同任务的建议。这凸显了随着模型能力的增强,滥用风险也在不断增加,强调了为语言模型智能体改进安全框架的必要性。

英文摘要:

Recently, language models like Llama 3.1 Instruct have become increasingly capable of agentic behavior, enabling them to perform tasks requiring short-term planning and tool use. In this study, we apply refusal-vector ablation to Llama 3.1 70B and implement a simple agent scaffolding to create an unrestricted agent. Our findings imply that these refusal-vector ablated models can successfully complete harmful tasks, such as bribing officials or crafting phishing attacks, revealing significant vulnerabilities in current safety mechanisms. To further explore this, we introduce a small Safe Agent Benchmark, designed to test both harmful and benign tasks in agentic scenarios. Our results imply that safety fine-tuning in chat models does not generalize well to agentic behavior, as we find that Llama 3.1 Instruct models are willing to perform most harmful tasks without modifications. At the same time, these models will refuse to give advice on how to perform the same tasks when asked for a chat completion. This highlights the growing risk of misuse as models become more capable, underscoring the need for improved safety frameworks for language model agents.

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

↑