被擦除但可被利用:针对已遗忘文本到图像扩散模型的黑盒嵌入感知提示攻击
Erased but Exploitable: Black-box Embedding-Aware Prompting Against Unlearned Text-to-Image Diffusion Models
AI总结:
提出一种黑盒嵌入感知对抗提示攻击BEAP,利用大语言模型迭代生成有效对抗提示,以恢复被遗忘概念,并在攻击成功率上提升超过60%。
摘要:
机器遗忘旨在从预训练的文本到图像扩散模型中移除特定概念,然而已有多种白盒和黑盒攻击被提出以使模型生成这些被遗忘的概念。然而,这些攻击并未假设现实的威胁模型,即它们要么假设可以访问模型权重,要么产生无意义的对抗提示,即使通过简单的基于规则的防护也能轻易检测到。本文旨在填补这一空白。我们提出BEAP,一种黑盒、嵌入感知的对抗提示攻击,利用大语言模型(LLM)迭代生成有效的对抗提示并利用这些隐藏的漏洞。BEAP在文本空间中执行嵌入感知搜索,结合多个奖励信号:被遗忘概念的存在性、文本-图像对齐和图像质量,以优化生成的提示。与之前的攻击方法不同,BEAP使其提示对安全过滤器不可检测,同时生成高质量图像。大量实验表明,BEAP的攻击成功率(ASR)比先前方法提高了60%以上,而每次成功攻击平均仅需15个提示。警告:本文包含可能具有冒犯性或令人不安性质的模型输出。
英文摘要:
Machine unlearning aims to remove specific concepts from pretrained text-to-image diffusion models, yet several white- and black-box attacks have been introduced to make the model generate such unlearned concepts. These attacks, nevertheless, do not assume a realistic threat model, i.e. they either assume access to the model weights, or result in gibberish adversarial prompts that could be easily detected even through naive rule-based safeguarding. We aim to address this gap in this paper. We introduce BEAP, a black-box, embedding-aware adversarial prompting attack that leverages a large language model (LLM) to iteratively generate effective adversarial prompts and exploit such hidden vulnerabilities. BEAP performs an embedding-aware search in text space, combining multiple reward signals: unlearned concept presence, text-image alignment, and image quality, to refine generated prompts. Unlike previous attack methods, BEAP keeps its prompts undetectable to safety filters while producing high-quality images. Across five unlearning methods, BEAP achieves a macro-averaged ASR of 97.8% under the held-out OpenNSFW2 evaluation, exceeding the white-box UDA baseline by 41.6 percentage points (56.2% to 97.8%). Counting unsuccessful searches at the full 100-query budget, BEAP uses 32.1 image-generation queries per evaluated prompt on average under this criterion.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。