BAGM:一种用于操纵文本到图像生成模型的后门攻击
BAGM: A Backdoor Attack for Manipulating Text-to-Image Generative Models
AI总结:
提出一种针对文本到图像生成模型的后门攻击方法BAGM,通过修改分词器、语言模型或图像生成模型,在触发时注入操纵性细节,显著提升目标偏向性,并贡献了评估指标和数据集。
摘要:
文本到图像生成式人工智能(AI)的日益普及引起了公众的广泛兴趣。我们证明,这项技术可能被攻击,从而生成微妙操纵用户的内容。我们提出了一种针对文本到图像生成模型的后门攻击(BAGM),该攻击在触发时,会将操纵性细节注入生成的图像中,这些细节自然融入内容之中。我们的攻击是首个针对三种流行的文本到图像生成模型,在生成过程的三个阶段中,通过修改嵌入分词器、语言模型或图像生成模型的行为来实施攻击。根据渗透深度,BAGM 采取一系列攻击形式,在本文中分别称为表面攻击、浅层攻击和深层攻击。鉴于该领域内现有的空白,我们还贡献了一套专门用于评估文本到图像模型后门攻击有效性的综合定量指标。BAGM 的有效性通过攻击最先进的生成模型,以营销场景为目标领域来验证。为此,我们贡献了一个品牌产品图像数据集。我们嵌入的后门使目标输出的偏向性增加了五倍以上,且不影响模型鲁棒性或生成内容的实用性。通过暴露生成式 AI 的脆弱性,我们鼓励研究人员应对这些挑战,并建议从业者在使用预训练模型时保持谨慎。相关代码、输入提示和补充材料可在 https://github.com/JJ-Vice/BAGM 获取,数据集可在 https://ieee-dataport.org/documents/marketable-foods-mf-dataset 获取。关键词:生成式人工智能,生成模型,文本到图像生成,后门攻击,木马,稳定扩散。
英文摘要:
The rise in popularity of text-to-image generative artificial intelligence (AI) has attracted widespread public interest. We demonstrate that this technology can be attacked to generate content that subtly manipulates its users. We propose a Backdoor Attack on text-to-image Generative Models (BAGM), which upon triggering, infuses the generated images with manipulative details that are naturally blended in the content. Our attack is the first to target three popular text-to-image generative models across three stages of the generative process by modifying the behaviour of the embedded tokenizer, the language model or the image generative model. Based on the penetration level, BAGM takes the form of a suite of attacks that are referred to as surface, shallow and deep attacks in this article. Given the existing gap within this domain, we also contribute a comprehensive set of quantitative metrics designed specifically for assessing the effectiveness of backdoor attacks on text-to-image models. The efficacy of BAGM is established by attacking state-of-the-art generative models, using a marketing scenario as the target domain. To that end, we contribute a dataset of branded product images. Our embedded backdoors increase the bias towards the target outputs by more than five times the usual, without compromising the model robustness or the generated content utility. By exposing generative AI's vulnerabilities, we encourage researchers to tackle these challenges and practitioners to exercise caution when using pre-trained models. Relevant code, input prompts and supplementary material can be found at https://github.com/JJ-Vice/BAGM, and the dataset is available at: https://ieee-dataport.org/documents/marketable-foods-mf-dataset. Keywords: Generative Artificial Intelligence, Generative Models, Text-to-Image generation, Backdoor Attacks, Trojan, Stable Diffusion.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。