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

针对基于潜在扩散模型的图像编辑的灰盒攻击

A Gray-box Attack against Latent Diffusion Model-based Image Editing by Posterior Collapse

School of Computer Science, University of St Andrews(圣安德鲁大学计算机科学学院);Department of Data Science, City University of Hong Kong(香港城市大学数据科学系);College of Computing and Data Science, Nanyang Technological University(南洋理工大学计算与数据科学学院);School of Computer Science, University of Nottingham(诺丁汉大学计算机科学学院);Department of Data Science and Artificial Intelligence, Monash University(墨尔本大学数据科学与人工智能系);College of Information Science & Electronic Engineering, Zhejiang University(浙江大学信息科学与电子工程学院)

Zhongliang Guo, Chun Tong Lei, Lei Fang, Shuai Zhao, Yifei Qian, Jingyu Lin, Zeyu Wang, Cunjian Chen, Ognjen Arandjelović, Chun Pong Lau

AI总结:

本文提出了一种基于后验崩溃现象的灰盒攻击方法,通过调整参数实现两种崩溃类型,有效防止未经授权的图像编辑,且对模型依赖低,计算效率高。

摘要:

近年来,潜在扩散模型(LDMs)的进步革新了图像合成和操控,引发了对数据滥用和知识产权侵权的重大担忧。尽管对抗性攻击已被广泛研究作为对抗生成AI滥用的防护措施,但现有方法严重受限于其对模型特定知识的依赖和巨大的计算成本。受VAE训练中观察到的后验崩溃现象启发,我们提出了后验崩溃攻击(PCA),一种新的保护图像免受未经授权篡改的框架。通过全面的理论分析和实证验证,我们发现VAE推理过程中存在两种不同的崩溃现象:扩散崩溃和集中崩溃。基于这一发现,我们设计了一个统一的损失函数,通过参数调整可以灵活实现两种崩溃类型,分别对应于防止图像篡改的不同保护目标。我们的方法通过仅需要访问VAE编码器(占LDM参数的不到4%)显著减少了对模型特定知识的依赖。值得注意的是,PCA通过在文本条件化之前操作VAE编码器实现提示不变的保护,消除了现有方法所需的空提示优化。这种最低要求使PCA能够在各种基于VAE的LDM架构之间保持足够的可迁移性,同时有效防止未经授权的图像编辑。广泛的实验表明,PCA在保护效果、计算效率(运行时间和VRAM)以及跨VAE-based LDM变体的泛化能力方面均优于现有技术。我们的代码可在https://github.com/ZhongliangGuo/PosteriorCollapseAttack上获得。

英文摘要:

Recent advancements in Latent Diffusion Models (LDMs) have revolutionized image synthesis and manipulation, raising significant concerns about data misappropriation and intellectual property infringement. While adversarial attacks have been extensively explored as a protective measure against such misuse of generative AI, current approaches are severely limited by their heavy reliance on model-specific knowledge and substantial computational costs. Drawing inspiration from the posterior collapse phenomenon observed in VAE training, we propose the Posterior Collapse Attack (PCA), a novel framework for protecting images from unauthorized manipulation. Through comprehensive theoretical analysis and empirical validation, we identify two distinct collapse phenomena during VAE inference: diffusion collapse and concentration collapse. Based on this discovery, we design a unified loss function that can flexibly achieve both types of collapse through parameter adjustment, each corresponding to different protection objectives in preventing image manipulation. Our method significantly reduces dependence on model-specific knowledge by requiring access to only the VAE encoder, which constitutes less than 4\% of LDM parameters. Notably, PCA achieves prompt-invariant protection by operating on the VAE encoder before text conditioning occurs, eliminating the need for empty prompt optimization required by existing methods. This minimal requirement enables PCA to maintain adequate transferability across various VAE-based LDM architectures while effectively preventing unauthorized image editing. Extensive experiments show PCA outperforms existing techniques in protection effectiveness, computational efficiency (runtime and VRAM), and generalization across VAE-based LDM variants. Our code is available at https://github.com/ZhongliangGuo/PosteriorCollapseAttack.

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

↑