SATA: 一种通过简单辅助任务链接实现LLM劫持的范式
SATA: A Paradigm for LLM Jailbreak via Simple Assistive Task Linkage
AI总结:
SATA通过简单辅助任务链接实现LLM劫持,有效绕过安全措施并提升攻击成功率
摘要:
大型语言模型(LLMs)在各种任务上取得了显著进展,但其安全性对齐仍然是一个主要问题。探索劫持提示可以暴露LLM的漏洞并指导安全工作。现有方法主要设计复杂的指令让LLM遵循,或依赖多次迭代,这可能会阻碍劫持的性能和效率。在本工作中,我们提出了一种新的劫持范式,即简单辅助任务链接(SATA),可以有效绕过LLM的安全措施并引发有害响应。具体来说,SATA首先在恶意查询中屏蔽有害关键词,生成一个相对无害的查询,其中包含一个或多个[MASK]特殊标记。然后,它利用简单的辅助任务,如掩码语言模型任务或位置元素查找任务,来编码屏蔽关键词的语义。最后,SATA将辅助任务与屏蔽查询链接,共同进行劫持。广泛的实验显示,SATA实现了最先进的性能,并在多个基准上大幅超越基线。具体而言,在AdvBench数据集上,使用掩码语言模型(MLM)辅助任务时,SATA实现了总攻击成功率(ASR)为85%和有害分数(HS)为4.57,使用位置元素查找(ELP)辅助任务时,SATA实现了总ASR为76%和HS为4.43。
英文摘要:
Large language models (LLMs) have made significant advancements across various tasks, but their safety alignment remain a major concern. Exploring jailbreak prompts can expose LLMs' vulnerabilities and guide efforts to secure them. Existing methods primarily design sophisticated instructions for the LLM to follow, or rely on multiple iterations, which could hinder the performance and efficiency of jailbreaks. In this work, we propose a novel jailbreak paradigm, Simple Assistive Task Linkage (SATA), which can effectively circumvent LLM safeguards and elicit harmful responses. Specifically, SATA first masks harmful keywords within a malicious query to generate a relatively benign query containing one or multiple [MASK] special tokens. It then employs a simple assistive task such as a masked language model task or an element lookup by position task to encode the semantics of the masked keywords. Finally, SATA links the assistive task with the masked query to jointly perform the jailbreak. Extensive experiments show that SATA achieves state-of-the-art performance and outperforms baselines by a large margin. Specifically, on AdvBench dataset, with mask language model (MLM) assistive task, SATA achieves an overall attack success rate (ASR) of 85% and harmful score (HS) of 4.57, and with element lookup by position (ELP) assistive task, SATA attains an overall ASR of 76% and HS of 4.43.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。