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

KDA:一种知识蒸馏攻击者,用于生成多样化提示以突破LLM的安全限制

KDA: A Knowledge-Distilled Attacker for Generating Diverse Prompts to Jailbreak LLMs

University of Pennsylvania(宾夕法尼亚大学)

Buyun Liang, Kwan Ho Ryan Chan, Darshan Thaker, Jinqi Luo, René Vidal

AI总结:

针对现有LLM突破方法成本高、不实用的问题,提出知识蒸馏攻击者(KDA),将多个SOTA攻击者知识蒸馏到单一开源模型,自动生成多样攻击提示,提升攻击成功率与效率,为大规模红队测试提供实用工具。

摘要:

突破攻击利用特定提示绕过LLM的安全防护,导致LLM生成有害、不当和偏离规范的内容。当前的突破方法严重依赖精心设计的系统提示和大量查询来实现单次成功攻击,成本高昂且对大规模红队测试不切实际。为应对这一挑战,我们提出将多个最先进(SOTA)攻击者的集成知识蒸馏到一个名为知识蒸馏攻击者(KDA)的单一开源模型中,该模型通过微调可自动生成连贯且多样化的攻击提示,无需细致的系统提示工程。与现有攻击者相比,KDA在针对多个SOTA开源和商业黑盒LLM时实现了更高的攻击成功率和更优的成本时间效率。此外,我们对基线方法和KDA生成的提示进行了定量多样性分析,发现多样化和集成攻击是KDA有效性和效率的关键因素。

英文摘要:

Jailbreak attacks exploit specific prompts to bypass LLM safeguards, causing the LLM to generate harmful, inappropriate, and misaligned content. Current jailbreaking methods rely heavily on carefully designed system prompts and numerous queries to achieve a single successful attack, which is costly and impractical for large-scale red-teaming. To address this challenge, we propose to distill the knowledge of an ensemble of SOTA attackers into a single open-source model, called Knowledge-Distilled Attacker (KDA), which is finetuned to automatically generate coherent and diverse attack prompts without the need for meticulous system prompt engineering. Compared to existing attackers, KDA achieves higher attack success rates and greater cost-time efficiency when targeting multiple SOTA open-source and commercial black-box LLMs. Furthermore, we conducted a quantitative diversity analysis of prompts generated by baseline methods and KDA, identifying diverse and ensemble attacks as key factors behind KDA's effectiveness and efficiency.

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

↑