arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.15213cs.LGcs.AIcs.CR
收藏

将偏见后门($B^2$)植入 Stable Diffusion 模型

Backdooring Bias ($B^2$) into Stable Diffusion Models

University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校)

Ali Naseh, Jaechul Roh, Eugene Bagdasarian, Amir Houmansadr

AI总结:

本文提出一种低成本后门攻击方法,通过少量恶意样本中的自然文本触发器向 Stable Diffusion 模型注入任意偏见,实验证明其可行且难以检测,凸显了扩散模型安全防御的紧迫性。

摘要:

近年来,大型文本条件扩散模型的进展彻底改变了图像生成方式,使用户能够根据文本提示创建逼真、高质量的图像,显著增强了艺术创作和视觉传达。然而,这些进展也带来了一个尚未被充分探索的攻击机会:对手可能出于恶意目的在生成图像中诱导偏见,例如影响公众舆论和传播宣传。本文研究了一种攻击向量,允许对手向目标模型注入任意偏见。该攻击利用低成本的后门技术,使用一组有针对性的自然文本触发器,这些触发器嵌入在由公共生成模型产生的少量恶意数据样本中。对手可以挑选常见的词语序列,这些序列随后可能在推理过程中被良性用户无意激活。我们研究了此类攻击的可行性和挑战,展示了现代生成模型如何使这一对抗过程变得更加容易且更具适应性。另一方面,我们探讨了此类攻击可检测性的各个方面,并证明在没有触发器的情况下,模型的实用性保持完好。我们使用超过 200,000 张生成图像并对数百个微调模型进行了广泛实验,证明了所提出的后门攻击的可行性。我们说明了这些偏见如何保持强大的文本-图像对齐,突显了在事先不知道偏见的情况下检测有偏图像的挑战。我们的成本分析确认了执行此类攻击的低财务门槛(10-15 美元),强调了针对扩散模型中此类脆弱性制定稳健防御策略的必要性。

英文摘要:

Recent advances in large text-conditional diffusion models have revolutionized image generation by enabling users to create realistic, high-quality images from textual prompts, significantly enhancing artistic creation and visual communication. However, these advancements also introduce an underexplored attack opportunity: the possibility of inducing biases by an adversary into the generated images for malicious intentions, e.g., to influence public opinion and spread propaganda. In this paper, we study an attack vector that allows an adversary to inject arbitrary bias into a target model. The attack leverages low-cost backdooring techniques using a targeted set of natural textual triggers embedded within a small number of malicious data samples produced with public generative models. An adversary could pick common sequences of words that can then be inadvertently activated by benign users during inference. We investigate the feasibility and challenges of such attacks, demonstrating how modern generative models have made this adversarial process both easier and more adaptable. On the other hand, we explore various aspects of the detectability of such attacks and demonstrate that the model's utility remains intact in the absence of the triggers. Our extensive experiments using over 200,000 generated images and against hundreds of fine-tuned models demonstrate the feasibility of the presented backdoor attack. We illustrate how these biases maintain strong text-image alignment, highlighting the challenges in detecting biased images without knowing that bias in advance. Our cost analysis confirms the low financial barrier (\$10-\$15) to executing such attacks, underscoring the need for robust defensive strategies against such vulnerabilities in diffusion models.

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

↑