模型合并可提升针对越狱攻击的自我批判能力
Merging Improves Self-Critique Against Jailbreak Attacks
AI总结:
针对大语言模型易受越狱攻击的鲁棒性问题,本研究提出引入可合并的外部批判模型并结合净化合成数据微调的方法,显著降低攻击成功率,为越狱攻击防御提供新方案。
摘要:
大语言模型(LLM)对抗越狱攻击等对抗性操纵的鲁棒性仍是重大挑战。本研究提出一种增强LLM自我批判能力的方法,并基于经过净化的合成数据对其进一步微调。该方法引入可与原模型合并的外部批判模型,以此强化自我批判能力,提升LLM对对抗性提示的响应鲁棒性。实验结果表明,模型合并与自我批判相结合可显著降低攻击者的成功率,为抵御越狱攻击提供了一种有前景的防御机制。代码、数据和模型发布于https://github.com/vicgalle/merging-self-critique-jailbreaks 。
英文摘要:
The robustness of large language models (LLMs) against adversarial manipulations, such as jailbreak attacks, remains a significant challenge. In this work, we propose an approach that enhances the self-critique capability of the LLM and further fine-tunes it over sanitized synthetic data. This is done with the addition of an external critic model that can be merged with the original, thus bolstering self-critique capabilities and improving the robustness of the LLMs response to adversarial prompts. Our results demonstrate that the combination of merging and self-critique can reduce the attack success rate of adversaries significantly, thus offering a promising defense mechanism against jailbreak attacks. Code, data and models released at https://github.com/vicgalle/merging-self-critique-jailbreaks .
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。