arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.02574cs.CRcs.AIcs.LG
收藏

理解安全对齐偏差对大语言模型的影响

Understanding the Effects of Safety Unalignment on Large Language Models

Leidos(Leidos公司)

John T. Halloran

AI总结:

研究通过JT和WO方法评估六种大模型在恶意和良性任务中的表现,发现WO方法使模型更易执行恶意活动,而JT方法则更易产生幻觉。通过监督微调有效限制WO带来的攻击能力。

摘要:

安全对齐已成为确保LLM拒绝有害请求同时提供有益响应的关键步骤。然而,尽管安全对齐广泛应用于部署的前沿模型,近期两项工作——越狱微调(JT)和权重正交化(WO)——表明安全护栏可能被大幅削弱,导致LLM接受其通常拒绝的有害请求。尽管有深远的安全影响,分析大多局限于每种对齐方法的拒绝率,其对对抗性LLM能力的相对影响尚不清楚。为填补这一空白,我们研究了在大量恶意和良性任务中,对六种不同大小的流行LLM进行对齐偏差的影响,使用JT和WO。在评估的模型中,我们发现虽然拒绝降级在两种方法之间有所分布,但WO产生的LLM在协助恶意活动方面能力远超;与JT相比,大多数WO对齐偏差模型更少产生幻觉,更好地保留原始自然语言性能,并在最先进的对抗性和网络攻击中更有效。为了帮助缓解WO对齐偏差的恶意风险,我们通过展示监督微调能有效限制由WO启用的对抗性攻击能力,而不显著影响幻觉率或自然语言性能。

英文摘要:

Safety alignment has become a critical step to ensure LLMs refuse harmful requests while providing helpful and harmless responses. However, despite the ubiquity of safety alignment for deployed frontier models, two separate lines of recent work--jailbreak-tuning (JT) and weight orthogonalization (WO)--have shown that safety guardrails may be largely disabled, resulting in LLMs which comply with harmful requests they would normally refuse. In spite of far-reaching safety implications, analysis has largely been limited to refusal rates of each unalignment method in isolation, leaving their relative effects on adversarial LLM capabilities unknown. To fill this gap, we study the impact of unaligning six popular LLMs of various sizes across a large number of malicious and benign tasks, using both JT and WO. Across the evaluated models, we show that while refusal degradation is split between the two methods, WO produces LLMs far more capable of aiding in malicious activity; in contrast to JT, the majority of WO unaligned models are far less prone to hallucinations, better retain their original natural-language performance, and are more effective at state-of-the-art adversarial and cyber attacks. To thus help mitigate the malicious risks of WO unalignment, we conclude by showing that supervised fine-tuning effectively limits the adversarial attack abilities enabled by WO, without drastically affecting hallucination rates or natural language performance.

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

↑